Jump to content

MGeek

Members
  • 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

Everything posted by MGeek

  1. 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
  2. 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:
  3. Offer: 1. To add to the user panel to the left of the notifications icon, when clicked shows a window with the referral link 2. To integrate with the application Rules. To be able to create rules.
  4. MGeek

    iAwards

    @Adriano Faria Sorry! Confused about the styles. Removed in need and the numbers disappeared
  5. MGeek

    iAwards

    Thank you! I'll be waiting!
  6. MGeek

    iAwards

    I deleted but they still appear in front of the name of awards in the mobile and tablet version
  7. MGeek

    iAwards

    @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?
  8. @HeadStand The last problem was my fault. The new version has corrected the error and everything works fine! Thank You very much!
  9. 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
  10. @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
  11. @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
  12. @HeadStand The problem remained When the field is created the same error
  13. 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}
  14. @HeadStand Hello! IPS 4.1.18.1 - not creates a field with a selection list
  15. Thank you very much! Waiting for new version!
  16. I then noticed in settings that you entered of 5%, saved, showed all normal. When I went again to settings, it was already 0%.
  17. 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!
  18. 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
  19. I can give you access to the admin panel. See? IPS 4.1.13.2
  20. when viewed from the database, the values change. And on the container page is still not added
  21. Does not help. still does not save.
  22. Unfortunately it did not help. Still shows the list and an empty field by default
×
×
  • Create New...