Jump to content

virap

Friends
  • Posts

    110
  • 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 virap

  1. How is include/exclude list checked? like through a regular expression?

    I have about 100.000 urls to be excluded that might violate adsense tos. 

    How adding such large list of urls will effect performance?

    Thank you.

  2. I have this code in the settings 

    {{if request.app == 'forums' and request.module == 'forums' and request.controller == 'topic'}}
    {{$topic = \IPS\Output::i()->hiddenElements['nbenhadverts_item_item'];}}
    {{if $topic and $topic->topic_meta_data == 2}}
    1
    {{endif}}
    {{endif}}

    so it checks the topic_meta_data field in the topics table and if the value is 2 shows the ad code. While sometimes it works, there are many topics where the value is 2 and the ad code is now showing in the html.

    Thank you

  3. My members are alerting me that when an anonymous user quotes them or liked their post they can see the anonymous user's username in the notification.

    Give the nature of the feature I hope this will be addressed promptly.

  4. I currently work on custom php block that retrieves topics from the API.

    How can I check if the a given topic has unread content for the end usr?

    I see that within templates  this is used

    Quote

    $topic->unread()

    Can this somehow be used within custom php blocks? 

    Thanks.

  5. In my custom php block I am simply trying to include a php file and echo a variable from the external file like this:

     

    Quote

    include(/path/public_html/test.php);

    echo $ztest3;

    But I include the path I get errors, see attached. If I don't include a full pth and simply say include (test.php); then there is no output from the variable. 

    What am I doing wrong? Thanks.

    Screenshot 2021-04-25 082333.jpg

  6. My forums h1 tags simply say topics. See the attached screenshot. IS there a way to display the actual forum name in h1 instead of simply saying topics?

     

    I see that invisioncommunity.com does it as it appears in the second screenshot. 

     

    Thank you.

    Screenshot 2021-04-18 214926.jpg

    Screenshot 2021-04-18 220139.jpg

×
×
  • Create New...