Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: 1.00, by TECK TECK is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-20-2002 Last Update: Never Installs: 54
 
No support by the author.

vbPopup will determine your guests to signup to your forums in an elegant way.
If a guest visit your forum (or a specific area of it), a popup will show (for a setable period of time) a message (you decide what you want, from hotest info in your forum, or simply an advertising banner) and an option to register. The great part of this hack is that it cannot be disabled by classic popup killers.

The hack is designed to make the popup show only to guests.
You can set the timer value by modifying vbpopup.js parameters and the popup's look by editing the vbpopup template. Also, all you have to add in your templates (the ones you want the popup to show) is: $vbpopup, so it doesn't take alot of time to edit the forums look. I recommend you to insert it only in showthread template, but that is up to you.

ESTIMATED INSTALL TIME: 4 minutes

A 'vbpopup' template installer is included in the package. I tried to make your life easy.
IMPORTANT: Run the template installer in root/forum/admin.

FILES TO MODIFY:
- root/forum/global.php
- headinclude template

A screenshoot is shown below. I recommend you to keep small the popup window size. In this way the newcommers will not get annoyed by the popup.

Comments, likes, dislikes are welcome. Fell free to post them all here. Also, post a link to your forums to show off your vbPopup integration (it might give ideas to others).

NOTE: The java code was inspired and modified to suit the VB needs from this script (you can see it in action). My hack will produce a similar efect on the forums pages. The only difference is a cleaner code to improve the load time and integration of VB variables.

UPDATE
-------------------------------
Ok, I eliminated the confusion in readme.txt file about the template installer.
The hack is attached in Post #9.
It seems to be a problem updating the attachments here. Anyway, I fixed this issue by reposting the .zip file below. Sorry about the inconvenience.

UPDATE
-------------------------------
As I said before, this hack is extremly easy to adjust to suit your forum needs. A good example is shown below:
https://vborg.vbsupport.ru/showthrea...821#post222821

Show Your Support

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

Comments
  #52  
Old 04-17-2002, 05:11 PM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well vBpopup does close after a set time - I had to raise it to a minute so that guests would have time register - I do like the idea of the colors though - it wouldn't take anything to change and your right it would make it alot easier to use in the future - I could definently put in a link to sign in - that way I wouldn't p-off members with it! Thanks for the great pointers!
Reply With Quote
  #53  
Old 04-27-2002, 07:30 PM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I have alot of members complaining about the popup when they come in to log in - why they refuse the board to use cookies is beyond me - can anyone help me put up a quick log in box to add to the popup window?
Reply With Quote
  #54  
Old 05-12-2002, 06:03 PM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by akaler
Maybe there should be a place to login on your form.
Ok I added a login box at the bottom - I had alot of members complaining about it so now you can either login or register. Here is the updated vbpopup template:

PHP Code:
<script language="JavaScript" src="vbpopup.js"></script>
<
div id="vbplocation">
<
table border="5" bordercolor="#0198C2" width="450" height="300" bgcolor="#0198C2" 5class="vbpmainframe">
<
tr>
<
td>
<
table width="100%" height="100%" bgcolor="#21C4EA" align="center" class="vbpcontentframe">
<
tr>
<
td align="center">
<
font size="4">Welcome To The Hobby Forum!</font>
</
td>
</
tr>

<
tr>
<
td align="center"><font size="2">
If 
this is your first time here then please take the time to register.  Registration is <b>FREE</b> and afterwards you can take advantage of all the great features this site has to offer!  If you have any questions please refer to the <a href="http://www.thehobbyforum.com/modules.php?op=modload&name=FAQ&file=index&s=">FAQ</asection.</font>
</
td>
</
tr>
<
tr><td><HR WIDTH="90%" ALIGN="center" color="#0198C2"></td></tr>
<
tr>
<
td align="center"><font size="1.5" color="purple">
REGISTER NOW FOR YOUR CHANCE TO WIN A MIG-15 DUCTED FAN JET KIT!
</
font>
</
td>
</
tr>
<
tr><td><HR WIDTH="90%" ALIGN="center" color="#0198C2"></td></tr>
<
tr><td>
<
form action="http://www.thehobbyforum.com/forum/register.php" method="post">
<
input type="hidden" name="s" value="">

<
table border="0" cellspacing="1" cellpadding="4" width="100%" bgcolor="#21C4EA">
<!-- *** -->
<
div align="center">
<
tr>
    <
td bgcolor="#21C4EA" colspan="2"><font face="verdana" size="2" color="000000"><b><center>Registration is FREE!</center></b></font>
    </
td>
</
tr>
</
div>
<!-- *** -->
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>User Name:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="text" name="username" size="25" maxlength="15"></font></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Password:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="password" name="password" size="25" maxlength="15"></font></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Enter Password Again:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><input type="password" name="passwordconfirm" size="25" maxlength="15"></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Email:</b></font>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="text" name="email" size="25" maxlength="50"></font></td>
</
tr>
<
tr>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><b>Enter Email Again:</b></font></td>
    <
td bgcolor="#21C4EA" align="center"><font class="nf"><input type="text" name="emailconfirm" size="25" maxlength="50"></font></td>
</
tr>



<
tr><td bgcolor="#21C4EA" align="center">
 
</
td><td bgcolor="#21C4EA" align="center"><input type="hidden" name="allowmail" value="yes">
<
input type="hidden" name="invisible" value="no">
<
input type="hidden" name="showemail" value="yes">
<
input type="hidden" name="cookieuser" value="yes">
<
input type="hidden" name="nosessionhash" value="yes">
<
input type="hidden" name="emailonpm" value="yes">
<
input type="hidden" name="prunedays" value="-1">
<
input type="hidden" name="umaxposts" value="-1">
<
input type="hidden" name="startofweek" value="1">
<
input type="hidden" name="timezoneoffset" value="-5">
<
input type="hidden" name="emailnotification" value="yes">
<
input type="hidden" name="showsignatures" value="yes">
<
input type="hidden" name="showavatars" value="yes">
<
input type="hidden" name="showimages" value="yes">
<
input type="hidden" name="vbcode" value="yes">
<
input type="hidden" name="pmpopup" value="yes">
<
input type="hidden" name="receivepm" value="yes">
<
input type="hidden" name="url" value="http://www.thehobbyforum.com/">
<
input type="hidden" name="action" value="addmember">
<
input type="submit" name="Submit" value="Submit">
<
input type="reset" name="Reset" value="Reset"></td>
</
tr></font>
</
td></tr></table>
</
form>
<
form action="member.php" method="post">
<
div align="center"><b><smallfont>Members Login Here:</smallfont></b></div></td></tr><tr align="center">
<
td nowrap><input type="hidden" name="s" value="$session[sessionhash]">
    <
input type="hidden" name="action" value="login">
    <
b><smallfont>User: </b></smallfont><input type="text" class="bginput" name="username" size="7">
    <
b><smallfont>Pass: </b></smallfont><input type="password" class="bginput" name="password" size="7">
    <
input type="submit" class="bginput" value="Go"></td>
</
tr>
</
form>
<!-- 
End content area table -->
</
td></tr>
</
table>
</
td>
</
tr>
</
table>
</
div
Reply With Quote
  #55  
Old 06-02-2002, 06:25 PM
devilsmania devilsmania is offline
 
Join Date: Nov 2001
Location: Rome, Italy
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

JUST INSTALLED It GREAT !
check it at :
http://forum.devilsmania.com

--
still fixing something
Reply With Quote
  #56  
Old 06-05-2002, 06:30 PM
Itworx4me's Avatar
Itworx4me Itworx4me is offline
 
Join Date: Feb 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to make $vbpopup Global?
Reply With Quote
  #57  
Old 06-05-2002, 06:34 PM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey devilsmania - great lookin forum!
Reply With Quote
  #58  
Old 06-11-2002, 05:24 PM
JoshFink JoshFink is offline
 
Join Date: Nov 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow.. Looks like a great hack. Suprised I hadn't seen it before.

Question though.. My board is a closed board. No new registrations at all so it's kind of moot to use this in the current way, but.... I forsee another use for it.

I currently use this hack : vbPopup Messaging

Works great, but it looks horrible IMO. I would like to make it so it looks like it does here but contains a message I send out.

Is that possible?

Also, I only want it to show once like it does on the hack above.

Thanks

Josh
Reply With Quote
  #59  
Old 06-11-2002, 05:30 PM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just take the hack from above and take out the form for the registration - now your just left with you message! Hope this helps
Reply With Quote
  #60  
Old 06-11-2002, 06:12 PM
JoshFink JoshFink is offline
 
Join Date: Nov 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks John, but what I need to be able to do is dynamically create the message.

Any thoughts?

Thanks

Josh
Reply With Quote
  #61  
Old 06-28-2002, 05:06 AM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack
Reply With Quote
Reply

Thread Tools

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 04:55 PM.


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.02536 seconds
  • Memory Usage 2,380KB
  • Queries Executed 27 (?)
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_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete