Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Shout Box Help Please (http://www.mysidiaadoptables.com/forum/showthread.php?t=2437)

Abronsyth 10-15-2011 04:10 PM

Shout Box Help Please
 
How do you make it so guests can not post shouts? I have an annoying guest who keeps spamming up my shout box, very irritating.

Hall of Famer 10-15-2011 05:49 PM

Well this has been a problem since the release of Mys v1.2.0, I plan on resolving it for Mys v1.2.4, the last maintenance release for Mys v1.2.x series before Mys v1.3.0 is released. For quick fix, go to your shoutbox.php file and make the following changes:

Right below you see the 'Start Script' Block, add:

PHP Code:

if($isloggedin == "yes"){ 

Then delete these lines:

PHP Code:

    if ($isloggedin!="yes") {
        
$user "Guest";
        } 

And add the following codes right above the 'Output page' block:

PHP Code:

}
else{
$article_title $accden;
$article_content $reqlogin;


This should be able to prevent any guests from using shoutbox, give a try on your site and lemme know if it does not work.

KaceKuma 10-16-2011 10:35 AM

I tried it aand the page just said that there was a programming error :(

Abronsyth 10-16-2011 03:10 PM

Thanks so very much, HOF, it worked! Blah, a guest had been posting inappropriate links in the Shoutbox, but never shall again!

Thanks!
Iris

Hall of Famer 10-16-2011 05:01 PM

You are very welcome, glad it works. I must say it is indeed annoying to have advertisers spamming links in shoutbox, so we will make sure in future releases guests will not be able to post comments, too.

Abronsyth 10-16-2011 06:03 PM

I suggest adding a feature were the admin can either check Yes or No to allow guests ;)

Hall of Famer 10-16-2011 11:50 PM

Well yeah, I do plan to add this feature to Mys v1.3.0. I am sure most owners do not want guests to be able to post comments though.


All times are GMT -5. The time now is 04:56 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.