Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Little Mod: Emails Only For Registered Users To Prevent Spam 
 
Emails only for registered users to prevent spam based on links only for registered users from ACP:

Open bbcode.php, search for:

Code: [Download] [Hide] [Select]
$html = BBCODE_NOSMILIES_START . '<script type="text/javascript">' . "\n" . '<!--' . "\n";


Add before:


Code: [Download] [Hide] [Select]
if ( !$userdata['session_logged_in'] )
                   {
                    return array(
                    'valid' => true,
                    'html' => $lang['Email_For_Guests'],
                    'allow_nested' => false,
                            );
                   }


Open lang_main.php:

Search for:

Code: [Download] [Hide] [Select]
$lang['Links_For_Guests']


Add before:

Code: [Download] [Hide] [Select]
//If you are spanish
$lang['Email_For_Guests'] = '<b>"Debes <a href="./profile.php?mode=register">registrarte</a> para ver este email."</b>';

//In you are english
$lang['Email_For_Guests'] = '<b>"You have to<a href="./profile.php?mode=register">Register</a> to see this email."</b>';




That is all....


Demo:
http://www.portalanunciosgratis.com...ada-vt5388.html


Please, backup your files before test this little mod...
 




____________
Acuarios, mascotas
Forografia, fotos
Informatica, pc
 
Edited by Chaotic, Sat 04 Jul, 2009 13:37: Wrapped code in Code BBCode.
portalpez - View user's profileSend private messageVisit poster's website 
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Little Mod: Emails Only For Registered Users To Prevent Spam 
 
Interesting.

Is this MOD for .27c or RC2?

Can someone else test this to see if it works?  If it does indeed work, we'll move it to the Customizations forum.

Thanks for your contribution, portalpez!
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
Chaotic - View user's profileSend private messageVisit poster's websitePersonal Gallery 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Little Mod: Emails Only For Registered Users To Prevent Spam 
 
Hello,

It is for .27c but i think that this mod will run on rc2 because is a little modification... but i will test in the final release.

I test this mod for a long time without problems...
 




____________
Acuarios, mascotas
Forografia, fotos
Informatica, pc
 
portalpez - View user's profileSend private messageVisit poster's website 
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

cron