Jump to content

Sergey_SV

Members
  • Posts

    147
  • 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 Sergey_SV

  1. 26 minutes ago, newbie LAC said:

    Hello,

    Do you have same problem with non-app adverts?

    What caching method do you use?

    I am using Memcached

    I am only distributing the adds only via the app. 

    I also noticed that first the adds placed in sidebar by CSS dissapears. whether the add lpaced above and footer and below the header stays

  2. After I have upgraded to 4.2.9 from 4.1.19 I see a strange behavior with advertisement. 

    I set up advertisement, and they dispayed ok in all locations, but then after 1-2 days they stop showing, and only resume is I clear the cache via ACP. Then they again resume for 1-2 days.

    on 4.1.19 everything worked fine. Do you have idea why this could happend?

     

  3. Hi, got a strange bug after the upgrade to 4.2.8 recently (also upgraded FAQ to the latest version)

    in the profile user have the broken link

    image.thumb.png.fff1e85b2702448fe352bc990a6c249b.png

    and if I click it

    Sorry, there is a problem

    Something went wrong. Please try again.

    Error code: EX1064

    SELECT COUNT(*) as cnt FROM `ibf_faq_questions` AS `faq_questions` WHERE faq_questions.=37805 AND faq_questions.approved < 2 AND faq_questions.approved!=-2
    IPS\Db\Exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '=? AND faq_questions.approved < 2 AND faq_questions.approved!=-2' at line 1 (1064)
    #0 /home/landcruiser/html/system/Db/Select.php(378): IPS\_Db->preparedQuery('/*IPS\\Content\\_...', Array, true)
    #1 /home/landcruiser/html/system/Db/Select.php(440): IPS\Db\_Select->runQuery()
    #2 /home/landcruiser/html/system/Db/Select.php(361): IPS\Db\_Select->rewind()
    #3 /home/landcruiser/html/system/Content/Item.php(2585): IPS\Db\_Select->first()
    #4 /home/landcruiser/html/system/Helpers/Table/Content.php(283): IPS\Content\_Item::getItemsWithPermission(Array, ' desc', NULL, 'read', false, 0, NULL, false, false, false, true, Array, false, true, true, true, false)
    #5 /home/landcruiser/html/system/Helpers/Table/Table.php(480): IPS\Helpers\Table\_Content->getRows(Array)
    #6 /home/landcruiser/html/applications/core/modules/front/members/profile.php(581): IPS\Helpers\Table\_Table->__toString()
    #7 /home/landcruiser/html/system/Dispatcher/Controller.php(85): IPS\core\modules\front\members\_profile->content()
    #8 /home/landcruiser/html/applications/core/modules/front/members/profile.php(64): IPS\Dispatcher\_Controller->execute()
    #9 /home/landcruiser/html/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\front\members\_profile->execute()
    #10 /home/landcruiser/html/index.php(12): IPS\_Dispatcher->run()
    #11 {main}

     

  4. 5 hours ago, newbie LAC said:

    Hello,

    
    {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic' and !in_array(\IPS\Request::i()->id, array(1,2,3))}}
    	Code
    {{endif}}

     

    Thank you very much for support!

  5. Hi, I am currently using the code for restricting to several forums

    {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic'}}
    	{{$forumId = 0; try { $topic = \IPS\forums\Topic::loadAndCheckPerms( \IPS\Request::i()->id ); $topicId = $topic->topic_id; } catch( \Exception $e ) {};}}
    {{endif}}
    
    {{if !in_array($forumId, array(29,46))}}

    how can I restrict ads not to show in topics with certain IDs? 

  6. Hi,

    couple of question:

    1. is there a way to display the prefix in search results? so far i see only tags there

    2. how can merge 2 tags in to 1 (I have tags "item" and "items" and  want all those topics to be tagged "item" only, and get rid of other tag )

  7. Hi @Flitterkill 

    could you pls help with several topics

    have found the incompatibility of 2 plugins KS and

    can you pls have a look? it seems to be similar to one of the previous cases in this topic (details in the link)

    2. Could not find the language entry for "Last reply" for the topic view, added by KS. Is it possible to translate?

×
×
  • Create New...