-
Posts
75 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by MGeek
-
-
12 minutes ago, fosters said:
Could you please clarify where you want to see what exactly? I'm sorry, but I don't get what you exactly mean
add icon in the user bar. Clicking on the icon, a window appears to copy the referral link. Now link must go to your account settings, and so will be faster.
example:
-
-
@Adriano Faria Sorry! Confused about the styles. Removed in need and the numbers disappeared
-
1 minute ago, Adriano Faria said:
Sorry, I'm on a mobile device, saturday night. Will take a look when I'm able tomorrow or monday.
Thank you! I'll be waiting!
-
14 minutes ago, Adriano Faria said:
Just delete those spans. It was a test. Forgot to remove them. Fixed in next version.
I deleted but they still appear in front of the name of awards in the mobile and tablet version
-
@Adriano Faria template Rows
{{$size = explode( 'x', settings.award_settings_front_size );}} {{foreach $awards as $award}} {{if $award['award_enabled'] }} <li class="ipsDataItem "> <div class="ipsResponsive_showPhone ipsResponsive_block"> <div class='ipsColumns ipsColumns_bothSpacing ipsColumns_halfSpacing'> <div class='ipsColumn ipsColumn_fluid ipsType_center'> <img src="{file="$award['award_icon']" extension="awards_Awards"}" style="width:{$size[0]}px; height: {$size[1]}px;"> <br> <a href="{url="app=awards&module=awards&controller=awards&do=awarded&id={$award['award_id']}"}" data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-modal='true' data-ipsDialog-title='{lang="award_awarded_awarded" sprintf="$award['award_title']"}'> <span class='right'>1111</span> <h2 class="ipsType_sectionHead ipsCursor_pointer">{$award['award_title']|raw}</h2> </a> </div> </div> <div class='ipsColumns ipsColumns_bothSpacing ipsColumns_halfSpacing'> <div class='ipsColumn ipsColumn_fluid ipsType_left'> <hr class="awardsHr"> {$award['award_desc']|raw} </div> </div> </div> <div class="ipsResponsive_showTablet ipsResponsive_block"> <div class='ipsColumns ipsColumns_bothSpacing ipsColumns_halfSpacing'> <div class='ipsColumn {{if $size[0] > 40}}ipsColumn_narrow{{else}}ipsColumn_narrow{{endif}} ipsType_center'> <img src="{file="$award['award_icon']" extension="awards_Awards"}" style="width:{$size[0]}px; height: {$size[1]}px;"> </div> <div class='ipsColumn ipsColumn_fluid ipsType_left' style="width: 80%;"> <span class='right'>222</span> <h2 class="ipsType_sectionHead ipsCursor_pointer" style="cursor: default;">{$award['award_title']|raw}</h2> <hr class="awardsHr"> {$award['award_desc']|raw} </div> <div class='ipsColumn ipsColumn_veryNarrow ipsDataItem_stats ipsDataItem_statsLarge ipsType_center' style="text-align: center;"> <dl> <dt class="ipsDataItem_stats_number"><a href="{url="app=awards&module=awards&controller=awards&do=awarded&id={$award['award_id']}"}" data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-modal='true' data-ipsDialog-title='{lang="award_awarded_awarded" sprintf="$award['award_title']"}'>{number="$award['award_count']"}</a></dt> <dd class="ipsDataItem_stats_type ipsType_light"><br>{lang="award_awarded"}</dd> </dl> </div> </div> </div> <div class="ipsResponsive_showDesktop ipsResponsive_block ipsPad_half"> <div class='ipsColumns ipsColumns_bothSpacing ipsColumns_halfSpacing'> <div class='ipsColumn {{if $size[0] > 40}}ipsColumn_narrow{{else}}ipsColumn_narrow{{endif}} ipsType_center'> <img src="{file="$award['award_icon']" extension="awards_Awards"}" style="width:{$size[0]}px; height: {$size[1]}px;"> </div> <div class='ipsColumn ipsColumn_fluid ipsType_left'> {{$awardLoad = \IPS\awards\Awards::load( $award['award_id'] );}} {{if $awardLoad->can('add' )}} <span class='ipsPos_right'> <a class='ipsButton ipsButton_veryVerySmall ipsButton_light' href="{url="app=awards&module=awards&controller=ajaxcreate&do=newAward&catid={$awardLoad->cat_id}&awid={$award['award_id']}" seoTemplate="awards_new"}" data-ipsDialog data-ipsDialog-title='{lang="new_award"}'>{lang="new_award"}</a> </span> {{endif}} <h2 class="ipsType_sectionHead ipsCursor_pointer">{$award['award_title']|raw}</h2> <hr class="awardsHr"> {$award['award_desc']|raw} {{if $award['award_obtainable_enabled']}} {{if $award['award_obtainable']}} <strong class='ipsOnlineStatus ipsOnlineStatus_online'><i class='fa fa-circle'></i> {$award['award_obtainable_yes_message']|raw}</strong> {{else}} <strong class='ipsOnlineStatus ipsOnlineStatus_offline'><i class='fa fa-circle'></i> {$award['award_obtainable_no_message']|raw}</strong> {{endif}} {{endif}} </div> <div class='ipsColumn ipsColumn_narrow ipsDataItem_stats ipsDataItem_statsLarge ipsType_center'> <dt class="ipsDataItem_stats_number"><a href="{url="app=awards&module=awards&controller=awards&do=awarded&id={$award['award_id']}"}" data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-modal='true' data-ipsDialog-title='{lang="award_awarded_awarded" sprintf="$award['award_title']"}'>{number="$award['award_count']"}</a></dt> <dd class="ipsDataItem_stats_type ipsType_light">{lang="award_awarded"}</dd> </div> </div> </div> </li> {{endif}} {{endforeach}}
What is it?
<span class='right'>1111</span>
<span class='right'>222</span>
How to get rid of these numbers when you view the awards in the mobile and tablet version?
-
@HeadStand The last problem was my fault. The new version has corrected the error and everything works fine! Thank You very much!
-
23 minutes ago, HeadStand said:
I pushed another fix. If this one doesn't work, I quit.
Updated. The field is created without error. When you create a topic with the given field - error 500. The theme is created, but when viewing its error 500
-
@HeadStand I create the field. I have an error
UPDATE `templates_fields` templates_fields SET `field_id`=2,`field_key`='test_test',`field_searchable`=0,`field_type`='Select',`field_content`='["test1","test2","test3"]',`field_multiple`=false,`field_not_null`=true,`field_max_input`=0,`field_input_format`=NULL,`field_search_type`=NULL WHERE field_id=2 IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054) #0 /home/ih184629/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('UPDATE `templat...', Array) #1 /home/ih184629/public_html/system/Patterns/ActiveRecord.php(491): IPS\_Db->update('templates_field...', Array, Array) #2 /home/ih184629/public_html/system/Node/Model.php(2014): IPS\Patterns\_ActiveRecord->save() #3 /home/ih184629/public_html/system/Node/Model.php(2691): IPS\Node\_Model->save() #4 /home/ih184629/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array) #5 [internal function]: IPS\Node\_Controller->form() #6 /home/ih184629/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array) #7 /home/ih184629/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #8 /home/ih184629/public_html/applications/templates/modules/admin/templates/fields.php(30): IPS\Node\_Controller->execute() #9 /home/ih184629/public_html/system/Dispatcher/Dispatcher.php(129): IPS\templates\modules\admin\templates\_fields->execute() #10 /home/ih184629/public_html/admin/index.php(14): IPS\_Dispatcher->run() #11 {main}
The field is created:
After all the action I'm going to clear the cache (something is not working correctly). Shows me that there are errors in the database. I push the button and shows me in the window this error
-
@HeadStand when creating the field
UPDATE `templates_fields` templates_fields SET `field_id`=2,`field_key`='test_test',`field_searchable`=0,`field_type`='Select',`field_content`='["test1","test2","test3"]',`field_multiple`=false,`field_not_null`=true,`field_max_input`=0,`field_input_format`=NULL,`field_search_type`=NULL WHERE field_id=2 IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054) #0 /home/ih184629/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('UPDATE `templat...', Array) #1 /home/ih184629/public_html/system/Patterns/ActiveRecord.php(491): IPS\_Db->update('templates_field...', Array, Array) #2 /home/ih184629/public_html/system/Node/Model.php(2014): IPS\Patterns\_ActiveRecord->save() #3 /home/ih184629/public_html/system/Node/Model.php(2691): IPS\Node\_Model->save() #4 /home/ih184629/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array) #5 [internal function]: IPS\Node\_Controller->form() #6 /home/ih184629/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array) #7 /home/ih184629/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #8 /home/ih184629/public_html/applications/templates/modules/admin/templates/fields.php(30): IPS\Node\_Controller->execute() #9 /home/ih184629/public_html/system/Dispatcher/Dispatcher.php(129): IPS\templates\modules\admin\templates\_fields->execute() #10 /home/ih184629/public_html/admin/index.php(14): IPS\_Dispatcher->run() #11 {main}
After going to clear the cache and see this error
-
-
-
48 minutes ago, HeadStand said:
@MGeek, I'm not having any issues on 4.1.18.1. Can you please be more specific in describing the issue? What steps are you taking? Where is the field not created? What error message are you getting? Is this an issue with creating the field in the ACP or is it an issue with putting the field on the form on the front end? If it's the front end, which component are you looking at (topics/calendar/etc)?
There are so many different things at play here, you're going to have to give me as much detail as possible.
Thanks.
the problem is when you create a field in the ACP. With the selection list. After saving this field very much:
UPDATE `templates_fields` templates_fields SET `field_id`=2,`field_key`='test_test',`field_searchable`=0,`field_type`='Select',`field_content`='["test1","test2","test3"]',`field_multiple`=false,`field_not_null`=true,`field_max_input`=0,`field_input_format`=NULL,`field_search_type`='exact' WHERE field_id=2 IPS\Db\Exception: Unknown column 'field_search_type' in 'field list' (1054) #0 /home/ih184629/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('UPDATE `templat...', Array) #1 /home/ih184629/public_html/system/Patterns/ActiveRecord.php(491): IPS\_Db->update('templates_field...', Array, Array) #2 /home/ih184629/public_html/system/Node/Model.php(2014): IPS\Patterns\_ActiveRecord->save() #3 /home/ih184629/public_html/system/Node/Model.php(2691): IPS\Node\_Model->save() #4 /home/ih184629/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array) #5 [internal function]: IPS\Node\_Controller->form() #6 /home/ih184629/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array) #7 /home/ih184629/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #8 /home/ih184629/public_html/applications/templates/modules/admin/templates/fields.php(30): IPS\Node\_Controller->execute() #9 /home/ih184629/public_html/system/Dispatcher/Dispatcher.php(129): IPS\templates\modules\admin\templates\_fields->execute() #10 /home/ih184629/public_html/admin/index.php(14): IPS\_Dispatcher->run() #11 {main}
-
@HeadStand Hello! IPS 4.1.18.1 - not creates a field with a selection list
-
9 minutes ago, Adriano Faria said:
Fixed. That was really my error.
Thank you very much! Waiting for new version!
-
1 minute ago, Adriano Faria said:
It was a problem on settings itself.
1 hour ago, MGeek said:UPD: it Turned out that after entering the percent of the site they are not saved. After a reboot, the settings page is set to 0%
I then noticed in settings that you entered of 5%, saved, showed all normal. When I went again to settings, it was already 0%.
-
6 minutes ago, Adriano Faria said:
OK, I'll take a look on those things. I will release a new version later this week. Those will be there.
UPD: it Turned out that after entering the percent of the site they are not saved. After a reboot, the settings page is set to 0%
Thank you!
-
Hello.
1. When creating ads I specify a number greater than one. After buying one copy and confirm the transaction, the announcement gets the status "Completed". The user cannot sell on. He is forced to create a new ad. And if the ad was paid, there will be claims.
2. If sales happen through a website and the Commission website, it should appear to the user under the input window prices. It was made in the sale files and need to add here. Otherwise there will be claims. Example:
3. If the Commission of the site, it is not removed from the sum when the sale of goods. 100% go to the account user.
Such flaws I can't put the app on a working forum
-
5 minutes ago, HeadStand said:
That will work. Please PM me with credentials.
I sent to PM
-
1 minute ago, HeadStand said:
What are the values that are currently in the database?
What version of IPS are you running?
I can give you access to the admin panel. See?
IPS 4.1.13.2
-
when viewed from the database, the values change. And on the container page is still not added
-
1 hour ago, HeadStand said:
can you try removing the container from this list and then re-adding it?
Does not help. still does not save.
-
-
29 minutes ago, HeadStand said:
- В АСР , перейдите в Сообщество -> Шаблон System -> Контейнеры
- Найти форум, который вы хотите работать и нажмите Изменить
- Выберите шаблон из "Default Set" выпадающего списка
- Включите "обязательное" поле
- Нажмите Сохранить
Это должно сделать это.
Unfortunately it did not help. Still shows the list and an empty field by default
Referrals - Support topic
in Marketplace
Posted
This problem appeared in 4.1.18
Solution:
/applications/referrals/hooks/register.php
find:
public static function _createMember( $values )
replace with:
public static function _createMember( $values, $profileFields )
find:
return parent::_createMember( $values );
replace with:
return parent::_createMember( $values, $profileFields );
After the changes everything should work