Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #72  
Old 02-07-2003, 02:23 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]reinstalled hack... found out I had too many guests anyway, why not irritate them a bit?
Reply With Quote
  #73  
Old 04-25-2003, 08:11 AM
solent solent is offline
 
Join Date: May 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you again TECK

install this one too
Reply With Quote
  #74  
Old 04-27-2003, 05:12 AM
phill2003 phill2003 is offline
 
Join Date: Apr 2003
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

teck i am using this excellent hack on my board but i need some assistance if you have time..

the thing is i have your other brill hack vbhome light and would like this to appear on the home page also (or instead of the forumhome) i have tried to modify the php to fit into the homelight global.php i also tried to get it into the index.php but i am only just staring to learn this and have run up against a brick wall could you give me a pointer as to what modification would be needed..

thanks
phill
Reply With Quote
  #75  
Old 05-16-2003, 05:22 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teck - I've been looking for something like this to let people know about certain things on the board, such as a new quiz. Can your code be altered so that:

1. Its not just for guests
2. It is based on a cookie so that if they've seen the popup once they don't see it again?

Thx.
Reply With Quote
  #76  
Old 06-29-2003, 10:16 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx so much 4 that hack!

iam using this to announce specials events like in this case the formular 1 competition today

see it in action: www.sportboard.de/v2
Reply With Quote
  #77  
Old 07-06-2003, 05:26 AM
Joe Mac Joe Mac is offline
 
Join Date: Jul 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!!!! Anyway, I know this was mentioned, but I don't see the code. Is there anyway of adjusting it so the people who signed up but did not send back their email confirmation will get the popup as well?
Reply With Quote
  #78  
Old 07-23-2003, 10:14 PM
wolfgang2 wolfgang2 is offline
 
Join Date: Apr 2003
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!
installed without problems in 2.3.0
Exactly what i need to get some people registrated.
i also out the $popup in the showthread template hehe....

What i would need would be an add on which overcomes pop up filters.
do u think that is possible?
Reply With Quote
  #79  
Old 10-06-2003, 10:16 AM
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Location: Russia
Posts: 523
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pfft, we need this for vB3 now :P
Reply With Quote
  #80  
Old 03-18-2004, 11:50 AM
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Teck,

cool hack, but i get this error

Warning: Cannot modify header information - headers already sent by (output started at /home/glo/public_html/forums/global.php:383) in /home/glo/public_html/forums/admin/functions.php on line 1683

Line 1683 is

setcookie($name, $value, $expire, $cookiepath, $cookiedomain, $secure);

What can i do???
(using vB2.3.0)

Thanks
Reply With Quote
  #81  
Old 03-18-2004, 12:50 PM
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teck, can you clarify about placing the $vbpopup at the bottom of the "Showthread" template? as i have placed it below $footer.

thanks.
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 01:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05935 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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)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_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