vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vbPopup for vB3 (https://vborg.vbsupport.ru/showthread.php?t=61647)

LordJMann 02-16-2004 10:00 PM

vbPopup for vB3
 
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!

mello_mike 02-17-2004 03:53 AM

This was a great hack!! Great Job.. I just installed it on my forum and I love it.

dirtymerc 02-17-2004 04:35 AM

awesome hack, I just did as well

colicab-d 02-17-2004 05:40 AM

a screenshot would be nice :D

Dark Shogun 02-17-2004 06:02 AM

Hope you don't mind mello mike but someone asked for a screen and I was too busy to make one so I am just linking to your board.

Dark Shogun

LordJMann 02-18-2004 12:44 AM

Quote:

Originally Posted by colicab-d
a screenshot would be nice :D

Hello,

http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm

This is basically how it will function, though the box is smaller and only appears for unregistered users.

mello_mike 02-18-2004 01:01 AM

Oh it's kool Dark Shogun! :-)

But I do have a question...

How can I use this for all members?

I want to make a popup that I can use to advertise different things.

LordJMann 02-18-2004 01:07 AM

Quote:

Originally Posted by mello_mike
Oh it's kool Dark Shogun! :-)

But I do have a question...

How can I use this for all members?

I want to make a popup that I can use to advertise different things.

mello_mike,

If you want this popup to show up for everybody, simply change this:

Code:

<if condition="$show['guest']"><script type="text/javascript" src="clientscript/vbulletin_vbpopup.js"></script></if>
To this:

Code:

<script type="text/javascript" src="clientscript/vbulletin_vbpopup.js"></script>
Edit: If you are using version 1.0 then just use the original javascript file name of vbulletin_adbox.js

PET 02-18-2004 01:34 AM

i don't see why is this so awansome ! It's a POPUP ! USERS HATE POPUP's...

LordJMann 02-18-2004 01:38 AM

Quote:

Originally Posted by PET
i don't see why is this so awansome ! It's a POPUP ! USERS HATE POPUP's...

Yes, it is a popup but it only lasts for a very short period of time and is a quite small box that just reminds the user to signup. This is mainly efficient to users who have never used a forum before and can simply be avoided by signing up in order to access the full features of a forum. Plus, this DHTML popup only affects the forum homepage. So it isn't as big of a nuisance as it could be and can sometimes be an effective way to get a message across.


All times are GMT. The time now is 08:11 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.01535 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete