Version: 1.4, by dominicricci
Developer Last Online: Oct 2009
Category: Add-On Releases -
Version: 3.8.2
Rating:
Released: 04-23-2009
Last Update: Never
Installs: 10
Template Edits
Re-useable Code Code Changes
No support by the author.
Guest Register Message Box
What it Does:
This modification will have anyone not logged in/Guests navigate anywhere on your site and a Message box will appear asking them to login or to register and it redirects them to your registration page where than can do either of those things.
Features:
-Easy Redirects
-Easy Coding
-Does not loop
-The message box does not appear on the Register pages
-You can edit to your own message
1. Go to AdminCp>>Styles and Templates>>Edit Templates>>"footer"
2. Go to the very last bit of your footer and add this to the end:
Code:
<if condition="$show['guest']"> {
<script type="text/javascript">
if(document.location != "http://we-cheat.com/register.php" && document.location != "http://we-cheat.com/register.php?do=register" &&
"http://we-cheat.com/register.php?do=addmember") {
if((Math.round((Math.random()*1))) == 1) {
var r=confirm("Welcome Guest, please click OK to Register or Cancel to Login or continue.");
if (r==true){
document.location = "http://we-cheat.com/register.php";
}
else
{
alert("Feel free to login, if you are a Guest you will continue to see this message");
}
}
}
</script>
</if>
3. Change the URLS within the code to YOUR URLS
4. Edit the Message in Green to your liking!
5. YOUR DONE!
*****NOTES: Please if your forum is in a subdirectory like http://example.com/forums/ Than be sure to set your URL like that.*****
I have to agree. This is not a great tactic to use if you are looking to get people to register. I lasted one page on the demo site before I stopped looking around. This thing loads on every page load. It WILL drive away traffic!
Very annoying. This mod is perfect for driving traffic away form your site
Quote:
Originally Posted by Akademiks
dont install it will make guest close the windows is freaking annoying.
Quote:
Originally Posted by Rich
I have to agree. This is not a great tactic to use if you are looking to get people to register. I lasted one page on the demo site before I stopped looking around. This thing loads on every page load. It WILL drive away traffic!
Agreed.
Additionally, have you considered what this will do to search engine spiders? Spiders can't click message boxes...
Additionally, have you considered what this will do to search engine spiders? Spiders can't click message boxes...
This wont affect spiders since as you pointed out they cant click buttons - they also dont run javascript so this will not affect anything in any way.
However, I have to agree this mod is ultra annoying - this will seriously harm the growth of any website.
If it popped up just the one time per visit, and only after so many seconds or perhaps so many page views then I could see the value in it... but as it stands it's only useful to annoy the crap outta people.
Good idea, nice effort, but needs more thought and work :up:
Feel free to add it to other templates then besides the footer. Try the index so it's on the front page. I have gotten more members to join within the next few days though. It's a work in progress, thank you for the constructive criticism. I am doing the best I can.
I am now making it show up 15% of the time a guest loads the page. So If a guest visits your site 100 times, than the message will pop up APROX. 15 times. I may change the percentage, I am not sure yet. Pleaes give it a chance though it's a work in progress