The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
VB3 pop-up on all pages for non-registered users???
I direct many guests to certain threads and they never check the forum home so it defeats the popup register.... /
|
#2
|
||||
|
||||
I hate (DHTML) popups, and I tend to think that I am not the only one.
Keep in mind that this might just getting on the nerves of your guests ... an alternative board is always just 2 clicks away. |
#3
|
||||
|
||||
In all honesty, it really doesn't matter to me.
|
#4
|
|||
|
|||
glad to hear you want guest to have a positive experience :P
with the js file uploaded can't you just include the showing part in the header template instead of a normal one? 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> |
#5
|
||||
|
||||
Quote:
added it to header template and nothing happened...? |
#6
|
|||
|
|||
er, headinclude. Sorry~
edit: you might need like a eval('$vbpopup = "' . fetch_template('forumhome_vbpopup') . '";'); at the (near?) end of the global.php file if that's possible, or in the php files that you want it included in... It might be simpler to just add it to the specific files and templates. |
#7
|
||||
|
||||
Is there a file to edit other than index.php to do this then?
Quote:
HTML Code:
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" /> <meta name="generator" content="vBulletin $versionnumber" /> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> <!-- CSS Stylesheet --> $style[css] <if condition="is_browser('opera')"> <style type="text/css"> ul, ol { padding-left:20px; } </style> </if> <!-- / CSS Stylesheet --> <script type="text/javascript"> <!-- var SESSIONURL = "$session[sessionurl]"; var IMGDIR_MISC = "$stylevar[imgdir_misc]"; // --> </script> <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> <script type="text/javascript" src="clientscript/vbulletin_global.js"></script> <if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if> |
#8
|
|||
|
|||
the headinclude is INSIDE head tags from the other templating. see edit above.
|
#9
|
||||
|
||||
ok so...
1.. edit global.php 2. put the code in headinclude? Basically I want vbpopup on all thread pages... could I edit showthread and then edit showthread template? Still haven't gotten this to work.... i'm gonna go to bed.. hopefully someone can clear this up... i want the popup to show on forumhome and showthread pages... I did the same edits to "showthread.php" as I did to "index.php" and then the same edits to "showthread" template as I did to "forumhome" template... it only shows up on forum home.... :disappointed: |
#10
|
|||
|
|||
If you want it on showthread, do what it says for the forumhome for the showthread.php and the showthread template.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|