Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #1  
Old 27th November 2012, 19:43
robbie's Avatar
robbie robbie is offline
Member
 
Join Date: Nov 2012
United Kingdom
Posts: 6
Exclamation Forums Shoutbox Bot
ok... ive an issue i need help with..

in forums ive got this code in 2 parts...

PHP Code:
$message "".$CURUSER['username']." Replied To The Thread [url=$BASEURL/forums.php?action=viewtopic&topicid=$topicid&page=p$postid#$postid]".$subject."[/url]";

  if (
in_array($forumid,$staffforum))
  
//if (in_array($forumid))
  
{
  echo 
"";
  } else {
  
autoshout($message);
  } 

and this part

PHP Code:
$message "".$CURUSER['username']." Started A New Thread [url=$BASEURL/forums.php?action=viewtopic&topicid=$topicid&page=p$postid#$postid]".$subject."[/url]";
  if (
in_array($forumid,$staffforum))
  
//if (in_array($forumid))
  
{
  echo 
"";
  } else {
  
autoshout($message);
  } 

my aim... is to stop any posts and new topics from announcing into the shoutbox......
On some of the staff forums its ok... but theres a few it still does it...

any thoughts or suggestiuons would be appreciated...


thanks
Reply With Quote
Reply

Tags
bot , forums , shoutbox


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:24. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.