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

Reply
 
Thread Tools
vbPopup for vB3 Details »»
vbPopup for vB3
Version: 1.00, by LordJMann LordJMann is offline
Developer Last Online: Jul 2010 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-16-2004 Last Update: 02-17-2004 Installs: 111
Template Edits
Code Changes Additional Files  
No support by the author.

What does this hack do?
This hack will display a dhtml popup box with a message for unregistered users.
You can adjust the length of time that the popup box appears and the chance that the box will appear.

A dhtml popup is not a new window. It stays in the current window but acts like a popup box, it will disappear after a set amount of time and is not affected by popup stoppers. The popup box appears for all unregistered users and can be re-designed to your liking.

Hack Details
Version: 1.1

Installation Overview
Files to edit: 1
Files to upload: 1
Templates to edit: 2

Install time: 2 minutes

I would personally like to hand all credit to the original author of this hack in vB 2.x, TECK. Again, this hack is inspired by a dhtml script located here.

Check out the original thread here.

Updates
2-17-04
Converted the popup box code into a template.

PLEASE CLICK INSTALL IF YOU LIKE THIS HACK!

Show Your Support

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

Comments
  #12  
Old 02-18-2004, 12:39 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like to like it!
Reply With Quote
  #13  
Old 02-18-2004, 09:46 PM
mello_mike mello_mike is offline
 
Join Date: Jan 2004
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PET
i don't see why is this so awansome ! It's a POPUP ! USERS HATE POPUP's...
Speak for your own users. My users actually made a topic saying how kool it was.
Reply With Quote
  #14  
Old 02-22-2004, 06:26 PM
enginethatcan't enginethatcan't is offline
 
Join Date: Jul 2003
Location: MA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack! *installs* works fine
Reply With Quote
  #15  
Old 02-22-2004, 06:44 PM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works nicely. 2 Questions.

1- How can I put the box in the middle of the page instead of at the top. I tried to play with the settings in 'FORUMHOME' top:0; left:0; } but it didn't work? Right now I added some <p> before the table to push it down.

2- Is it possible to ad a countdown like "This window will close in 10 - 9 -8 etc seconds" ?

Thanks for the great hack!

If anyone is interested in doing a 10 sec. countdown I made a small animated gif you can use for the countdown.

and change the template to something like
<font class="smallfont">(This window will close automaticly in <img src="images/countdown.gif"> seconds)</font>
Reply With Quote
  #16  
Old 02-22-2004, 10:48 PM
LordJMann LordJMann is offline
 
Join Date: Jan 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ryancooper
Installed and works nicely. 2 Questions.

1- How can I put the box in the middle of the page instead of at the top. I tried to play with the settings in 'FORUMHOME' top:0; left:0; } but it didn't work? Right now I added some <p> before the table to push it down.

2- Is it possible to ad a countdown like "This window will close in 10 - 9 -8 etc seconds" ?

Thanks for the great hack!

If anyone is interested in doing a 10 sec. countdown I made a small animated gif you can use for the countdown.

and change the template to something like
<font class="smallfont">(This window will close automaticly in <img src="images/countdown.gif"> seconds)</font>
Hello ryan,

1. If you absolutely wanted it in the middle of the page there are CSS tutorials out there that allow for this. Though using <br> or <p> should work fine.

2. I have tried this and it did not turn out well in conjunction with the original javascript. So its up to you on this one.

Thanks for the questions.
Reply With Quote
  #17  
Old 02-22-2004, 10:54 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ryancooper
Installed and works nicely. 2 Questions.

1- How can I put the box in the middle of the page instead of at the top. I tried to play with the settings in 'FORUMHOME' top:0; left:0; } but it didn't work? Right now I added some <p> before the table to push it down.

2- Is it possible to ad a countdown like "This window will close in 10 - 9 -8 etc seconds" ?

Thanks for the great hack!

If anyone is interested in doing a 10 sec. countdown I made a small animated gif you can use for the countdown.

and change the template to something like
<font class="smallfont">(This window will close automaticly in <img src="images/countdown.gif"> seconds)</font>
Where's the thumbnail? All I see is a 0 where the thumbnail should be.
Reply With Quote
  #18  
Old 02-23-2004, 12:29 AM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LordJMann
Hello ryan,

1. If you absolutely wanted it in the middle of the page there are CSS tutorials out there that allow for this. Though using <br> or <p> should work fine.

2. I have tried this and it did not turn out well in conjunction with the original javascript. So its up to you on this one.

Thanks for the questions.
Thanks,
The animated gif works perfectly. It hits "0" and then closes. If you change the timer, however, it obviously will not work :-)

Thanks for a great hack
Reply With Quote
  #19  
Old 02-25-2004, 01:32 AM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Where's the thumbnail? All I see is a 0 where the thumbnail should be.

The 0 is the thumbnail. It counts from 10 - 0 then stops so if you reload the page and scrool down you will see it counting down.
Reply With Quote
  #20  
Old 03-23-2004, 10:08 PM
himerus himerus is offline
 
Join Date: Nov 2003
Location: Denver, CO
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed...

However, if I try to change the chance of it popping up, the window appears in the upper left hand corner, and never closes...

I tried values 1-10, and 1 was the only one that worked.
Reply With Quote
  #21  
Old 03-23-2004, 10:16 PM
himerus himerus is offline
 
Join Date: Nov 2003
Location: Denver, CO
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And how can I make the window semi-transparent?
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 11: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.05270 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
  • (5)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
  • (3)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