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)

Wential 08-22-2004 03:09 PM

Quote:

Originally Posted by Ryan McBain
Great mod, but how do I turn off the pop up when people go to register?

Any chance of a VB 3.0.3 version?

djjeffa 10-25-2004 01:26 AM

Quote:

Originally Posted by Wential
Any chance of a VB 3.0.3 version?

bump taht i just installed it and relized why it didnt work lol

Latic 10-31-2004 10:13 PM

so this doesnt work for 3.0.3 ?

Wential 10-31-2004 11:09 PM

It works very well in 3.0.3!

mikehawk 12-16-2004 09:01 AM

Perfect addition to my board, thanks for the hack.

Works great. :)

mikehawk 12-16-2004 08:28 PM

Hey all -

I usually get loads of guests to certain threads in my site. Is there anyway I can add this to all pages of my board; not just the forumhome? Or can I designate it to pop-up only on certain threads?

thx

boo.3 12-20-2004 12:26 PM

wow thanks pretty neat!

Installed :)

http://www.b3playground.com/forums

jluerken 12-30-2004 12:53 AM

At the moment its only poping up on the forumhome page.

I want this to work on all forumpages AND on my portal page of CMPS.
Can anyone help me?

shadiguy1 12-30-2004 01:01 AM

works great

jluerken 12-30-2004 03:35 PM

Quote:

Originally Posted by jluerken
At the moment its only poping up on the forumhome page.

I want this to work on all forumpages AND on my portal page of CMPS.
Can anyone help me?

While not logged in my users get an error on the CMPS Portal page when this hack is installed.

Can anyone tell me what to do that CMPS loads the popup also?

SHANE-D-PAIN 12-31-2004 10:55 PM

kewl, was just going to attempt make something like this myself then i saw this thread!

thank you so much!

saree 01-12-2005 03:26 AM

The box work great thank you I installed it in my forum. The problem that I found is the look of the box it came fanny not a square box it came like vertically long box. Any advice in how to fix that or where to look for numbers to fix.

Thank you for that great hack. And the easy organized tutorial

mikehawk 01-21-2005 05:16 AM

Can someone please help me by telling me how to get to pop-up on all threads... i direct alot of guests to individual threads on my site and they never end up going to the forumhome... please please please help... i've asked this in multiple threads but none of the solutions works. :ermm:

crocket 01-21-2005 06:05 PM

Hey!

Ive installed this however, it doesnt work! I do have a custom skin, and ive checked and rechecked ive done every step but it doesnt show.

If someone would check over my installation, i would be greatful, and paypal you a bit of cash too as its annoying me now!

MSN / Email: P{AT}TEL.VU

The site is: http://forums.addictedtogaming.com (You can check it out to see if you can figure out why it aint working?)

mikehawk gave this a try but couldnt fix it, he even double checked everything! Help still needed :)

mikehawk 01-21-2005 07:26 PM

Quote:

Originally Posted by mikehawk
Can someone please help me by telling me how to get to pop-up on all threads... i direct alot of guests to individual threads on my site and they never end up going to the forumhome... please please please help... i've asked this in multiple threads but none of the solutions works. :ermm:


Anyone? Please help thy sovereign coders!

MajorFm.com 01-22-2005 11:46 AM

Great hack, installed... modified the pop up a bit to include the login form... let me know if u need it...

mikehawk 01-22-2005 10:08 PM

Quote:

Originally Posted by MajorFm.com
Great hack, installed... modified the pop up a bit to include the login form... let me know if u need it...


..is there anyway you could modify it to pop up on showthread???? :nervous:

dave kaye 01-22-2005 10:46 PM

Clicks Install

mikehawk 01-23-2005 06:11 PM

I'll paypal someone if they can make this damn vbpopup show on SHOWTHREAD.

PM or e-mail me.
puckfans(at)mts.net

Sweet Evil 01-27-2005 05:33 PM

I got it to also show under froumdisplay, but not showthread yet.. let me know if you figure it out!

MajorFm.com 01-29-2005 06:49 PM

Quote:

Originally Posted by Sweet Evil
I got it to also show under froumdisplay, but not showthread yet.. let me know if you figure it out!

Ok, theory tells me this should work, but i can't actually get it to work on mine yet, can a coder please let me know what im doing wrong to get it to popup in showthread...

i did this...

opened showthread.php

found:
Code:

        'pollresults_table',
and replaced with
Code:

        'pollresults_table',
        'forumhome_vbpopup',

found:
Code:

eval('$navbar = "' . fetch_template('navbar') . '";');
Above that put:
Code:

eval('$vbpopup = "' . fetch_template('forumhome_vbpopup') . '";');
I opened SHOWTHREAD template:

replaced:
Code:

</head>
with
Code:

<style type="text/css">
        #vbpopup { position:absolute; height:1; width:1px; top:0; left:0; }
        </style>
        <if condition="$show['guest']"><script type="text/javascript" src="clientscript/vbulletin_vbpopup.js"></script></if>
</head>

Found:
Code:

</body>
Replaced with:
Code:

$vbpopup
</body>

Theory tells me this should work as its the same hack but for showthread... but it doesnt seem to pop up...

MajorFm.com 01-29-2005 07:11 PM

Incase anyone want a login box on the popup for existing members so it doesn't become annoying for members who simply are not logged in... u may use my form which i slightly edited...

forumhome_vbpopup
Code:

<div id="vbpopup" style="visibility:hidden">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="400" align="center">
                <td align="center" valign="middle" class="alt2">
                        <!-- Start Announcement Message -->
                        <p style="margin-top: 0; margin-bottom: 0"><b>Please take some time
            to register at our forum</b></p>
                        <p style="margin-top: 0; margin-bottom: 0"><b>Takes less them a
            minute...</b></p>
                        <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
                        <p style="margin-top: 0; margin-bottom: 0"><b>This pop up does not
            show for members logged in!<br><br>
                        Click <a href="register.php?$session[sessionurl]">here</a> to
            <a href="register.php?$session[sessionurl]">$vbphrase[register]</a></b></p>
                        <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
                        <p style="margin-top: 0; margin-bottom: 0"><b>or if you are a member
            already, login below...</b></p>
                        <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
                        <p style="margin-top: 0; margin-bottom: 0">                <!-- login form -->
                <form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont">$vbphrase[username]</td>
                        <td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont">$vbphrase[password]</td>
                        <td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />
                <input type="hidden" name="forceredirect" value="1" />                       
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form --></p>
                        <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
                        <p style="margin-top: 0; margin-bottom: 0">
                        <font class="smallfont">(This window will self close shortly)</font></td>
        </tr>
</table>
</div>


MajorFm.com 01-29-2005 07:15 PM

Quote:

Originally Posted by crocket
Hey!

Ive installed this however, it doesnt work! I do have a custom skin, and ive checked and rechecked ive done every step but it doesnt show.

If someone would check over my installation, i would be greatful, and paypal you a bit of cash too as its annoying me now!

MSN / Email: P{AT}TEL.VU

The site is: http://forums.addictedtogaming.com (You can check it out to see if you can figure out why it aint working?)

mikehawk gave this a try but couldnt fix it, he even double checked everything! Help still needed :)

add me to your msn, i will take a look at this for you.

gembels 01-31-2005 07:05 PM

on vb 3.0.6 cannot do $vbpopup on above </body> get error on templates message.. maybe i suggest it do at above </head> .. and in my forums it well done.. tq

oldfan 02-01-2005 01:27 AM

/me clicks install, works great on 3.06

SpankMe 03-14-2005 05:49 AM

Great hack. Helps when I'm doing a site shirt sale.


What this hack needs is a "close popup" link so members don't have to wait for it to close.

SpankMe 03-14-2005 07:06 AM

Never mind. Figured it out.

HTML Code:

<a href="javascript:closeAd();">close</a>

xtreme-mobile 03-14-2005 07:52 AM

will this work on vb 3.0.6

regards

slinky 03-19-2005 09:16 PM

This doesn't seem to work for me in vb 3.0.7. The window doesn't close and the addition above to provide a close link doesn't close the window. I get a javascript error. In order to get it to work I had to change the visibility from "hidden" to "visible" - which would make sense.

slinky 03-19-2005 10:09 PM

Figured it out but there are still issues. The "if " regarding a guest didn't work. Once I took out the if statement it works fine BUT it hits all users all the time.

(1) This should only show up only once per session. I haven't seen any mod to do this.

(2) This hack does not automatically close in Mozilla/Firefox.

slinky 03-19-2005 10:11 PM

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>

I'm interested in the countdown and would be nice to see it. To change the location, change the variables in the vbpopup template of "top" and "left."

slinky 03-20-2005 05:11 AM

<a href="http://www.dynamicdrive.com/dynamicindex11/abox2.htm" target="_blank">http://www.dynamicdrive.com/dynamicindex11/abox2.htm</a>

This is an even better popup box. It features an attractive close window button and MOST IMPORTANTLY an ability to have it display only once per session. I use this as a "latest news" popup or important announcements. It's simple -- just add the code as stated on the page above into the forumhome template. Make sure that the path to the popup javascript in step one is correct src="clientscript/popup.js" and also that you don't have any return characters in your box.

Enjoy.

xtreme-mobile 03-20-2005 03:47 PM

i cant seem to get this hack to work :(

im not getting any pop ups :(

at the bottom left of my browser it says, error on page, when i click it says something about vbpoup template is NULL and not an object

any ideas?

xtreme-mobile 03-20-2005 03:51 PM

problem solved :)

detalhe 03-24-2005 03:21 PM

Quote:

Originally Posted by xtreme-mobile
problem solved :)

What was wrong? Just installed it and it doesn't show either :ermm:

buffness 05-21-2005 07:42 PM

is this suppost to work for vb 3.0.6 as well?

BillyD 07-15-2005 10:34 PM

Any success in 3.0.7? I have not yet tried it.

jluerken 07-16-2005 08:51 AM

Quote:

Originally Posted by BillyD
Any success in 3.0.7? I have not yet tried it.

Working fine with 3.0.7

NiROE 07-16-2005 10:50 AM

Really nice hack :nervous:

Thanks :) :)

CnB 09-20-2005 09:05 PM

how about 3.5 RC3 ?


All times are GMT. The time now is 09:38 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.01396 seconds
  • Memory Usage 1,839KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_html_printable
  • (10)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
  • (40)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