Jump to content

MGeek

Members
  • Posts

    75
  • Joined

  • Last visited

2 Followers

Recent Profile Visitors

2,774 profile views

MGeek's Achievements

  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. @HeadStand The problem remained
  14. 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}
  15. @HeadStand Hello! IPS 4.1.18.1 - not creates a field with a selection list
×
×
  • Create New...