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. Hello. Is there a way to set some sort of limit on the number of posts users can hide/delete?

    Privacy is very important for our community and sometimes members might want to remove sensitive things they posted. I would love to give them that opportunity but my previous experience shows that it will be used and abused when they start deleting everything. It would be great if I could set only x% of the total posts to allowed to be deleted/hidden or only x per time frame. Something that would prevent mass deletion of all content.

    Thank you.

  2. I read the documentation on archiving, but I am not clear about where and how archived topics are listed in a forum.

    Will they still be listed in the forum? Because if they will not be linked from anywhere then that is going to eventually cause some traffic drop from search engines.

    Thank you.

  3. 7 hours ago, newbie LAC said:

    Yes

    Show the advert if the topic_meta_data value is 1

    
    {{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 == 1}}
    1
    {{endif}}
    {{endif}}

    Thank you very much for explaining and answering. Will be purchasing today.

  4. On 12/21/2020 at 10:18 AM, newbie LAC said:

    That column contains 0 (topic hasn't meta data) or 1 (topic has meta data)

    wonderful. Will I be able to read the value of the topic_meta_data? what the statement will look like?

    I can setup my robot to flag topics where ads need to appear by setting topic_meta_data=2

    If you app can read that value then I am all set and ready to purchase and implement.

  5. I really like the concept behind the plugin. IT creates so many opportunities for developers. Thank you for creating and supporting it.

    What the code would like for checking within the plugin 

    1. what the topic id is?

    2. the the usergroup id is?

    3. read the database field value for forums_topics table's topic_meta_data field?

    Thank you very much.

  6. Thank you. This is what I found. must be related to the blank page?

     

    [Tue Dec 15 23:25:01.310642 2020] [cgi:error] [pid 17979] [client 134.119.219.93:56786] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library 'xsl.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/xsl.so (libexslt.so.0: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/xsl.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/xsl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php73, 

  7. I have this js code to load ads from php . When I try to include it with analytics js code or create an ad unit the ipb pages go into loop.

    Any idea why this js code creates a loop, loading issue?

    Thank you.

     

    
    <script type="text/javascript">
    var zadajax = new XMLHttpRequest();
    zadajax.onreadystatechange = function() {
    if (zadajax.readyState == 4) {
    
    document.write(zadajax.responseText);
    }
    };
    zadajax.open("GET", "/zad.php", true);
    zadajax.send(null);
    </script>

     

  8. 17 hours ago, newbie LAC said:

    You can load the topic object and use the field if it available,

    Can you please tell me what that if statement would look like? I am not sure as it is my understanding that the meta field from the topics table can contain multiple values. Is the value stored in the meta field of the topic table an array or a variable? And if array how would the if statement in the app access it?

    Sorry I am new this all and want to make sure the app can do what I look for before I buy it.

    Thank you.

  9. On 12/16/2020 at 11:12 AM, DawPi said:

    Something SIMILAR:

    I may change it to manually change it (enable/disable) per topic if needed. PM me then.

    Thank you. Would it be possible for you to build, release another app like that specifically for adsense/ads?

    I am sure I am not the only who tries to ensure ads are placed only on user generated content that does not violate adsense TOS

×
×
  • Create New...