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

Posts posted by MGeek

  1. 2 hours ago, Square Wheels said:

    I'm done using this for what I wanted it for.  I had it installed still.  I updated to 4.1.19 and then 4.1.19.1.  When I had it installed it was blocking the sending of required profile fields on registration.  As soon as I disabled this it starting working again.

    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. 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:

    2017-03-19_18-29-00.png.3496a572e2e3381e9136b01a6bcbf7a4.png

  3. 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

  4. @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?

  5. 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

  6. @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:

    2017-02-08_00-05-45.png.ac056eb03b8e7c9e

    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

    2017-02-08_03-56-56.png.f2d7b696ab72f13d

  7. @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

    2017-02-08_03-56-56.thumb.png.67f52311b98c2083f8b49fa77d237c5c.png

  8. 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}

     

  9. 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%.

  10. 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!

  11. 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:

    1.png

    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 :(  

  12. 29 minutes ago, HeadStand said:
    1. В АСР , перейдите в Сообщество -> Шаблон System -> Контейнеры
    2. Найти форум, который вы хотите работать и нажмите Изменить
    3. Выберите шаблон из "Default Set" выпадающего списка
    4. Включите "обязательное" поле
    5. Нажмите Сохранить

    Это должно сделать это.

    Unfortunately it did not help. Still shows the list and an empty field by default :( 

×
×
  • Create New...