Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Guest Register Message Box Details »»
Guest Register Message Box
Version: 1.4, by dominicricci dominicricci is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

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

DEMO>>>> http://we-cheat.com <<<<DEMO


Installation:

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.*****


Don't forget to mark as installed

Screenshots

File Type: jpg Attachment.jpg (68.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-24-2009, 12:09 PM
saltedm8 saltedm8 is offline
 
Join Date: May 2008
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a delay on this?... can we set it up so we have a delay of x seconds ?
Reply With Quote
  #13  
Old 04-24-2009, 12:21 PM
Akademiks's Avatar
Akademiks Akademiks is offline
 
Join Date: Sep 2007
Location: New York
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont install it will make guest close the windows is freaking annoying.
Reply With Quote
  #14  
Old 04-24-2009, 02:15 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #15  
Old 04-24-2009, 02:36 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vijayninel View Post
Very annoying. This mod is perfect for driving traffic away form your site
Quote:
Originally Posted by Akademiks View Post
dont install it will make guest close the windows is freaking annoying.
Quote:
Originally Posted by Rich View Post
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...
Reply With Quote
  #16  
Old 04-24-2009, 04:34 PM
smnet smnet is offline
 
Join Date: Feb 2009
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
Agreed.

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:
Reply With Quote
  #17  
Old 04-25-2009, 02:31 PM
dominicricci dominicricci is offline
 
Join Date: Jul 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 04-26-2009, 08:10 PM
dominicricci dominicricci is offline
 
Join Date: Jul 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #19  
Old 04-26-2009, 09:16 PM
dominicricci dominicricci is offline
 
Join Date: Jul 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated!!!! Please Test Works Great!
Reply With Quote
  #20  
Old 05-21-2009, 07:00 AM
ZuFett ZuFett is offline
 
Join Date: Jun 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how i can open the reg. in a new tab?
Nice work!
Reply With Quote
  #21  
Old 05-22-2009, 08:10 PM
ZuFett ZuFett is offline
 
Join Date: Jun 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone can help me pls?
Reply With Quote
Reply


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. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04407 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete