autoshout

Started by autotron, September 13, 2011, 02:16:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stoner

#3
or remove the " and "  like this..

     $message = $CURUSER['username'] . " replied to topic [url={$INSTALLER09['baseurl']}/forums.php?action=view_topic&topic_id=$topic_id&page=9999]{$topic_name}[/url]";
    //////remember to edit the ids to your staffforum ids :)
    if (!in_array($arr['real_forum_id'], array(3,4,5,11))) {
    autoshout($message);
    }
}


I think what would be better, rather than doing it on forum_id.  Is checking against the overforum ID.  As this would then extend to each sub forum within it.  Maybe i'm just lazy though lol.   Not fully looked into this.  But couldnt see that being called.  I really dont like messing with these forum files :-)  So if anyone has an idea.  Let me know

MrRep

try this

//////remember to edit the ids to your staffforum ids :)
       if (!in_array($arr['real_forum_id'], array("1","6","25","4"))) {
       autoshout($message);

;)

autotron

in post_reply.php and new_topic.php I have this

//////remember to edit the ids to your staffforum ids :)
    if (!in_array($arr['real_forum_id'], array("1,6,25,4"))) {
    autoshout($message);


my staff forums



I have tried adding the over forum id ( 6 ) the thread id ( 25 ) and the post id ( 4 ) and still get



from what I can see there is only 2 places to add these ID and thats line 98-100 in post_reply.php and line 126-128 in new_topic.php

am I missing something or is this a bug?