vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   VB3 pop-up on all pages for non-registered users??? (https://vborg.vbsupport.ru/showthread.php?t=74706)

mikehawk 01-20-2005 02:09 AM

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.... /

Andreas 01-20-2005 02:27 AM

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.

mikehawk 01-20-2005 03:46 AM

In all honesty, it really doesn't matter to me.

Tekton 01-20-2005 03:53 AM

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>


mikehawk 01-20-2005 06:59 AM

Quote:

Originally Posted by Tekton
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>



added it to header template and nothing happened...?

Tekton 01-20-2005 07:06 AM

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.

mikehawk 01-20-2005 07:06 AM

Is there a file to edit other than index.php to do this then?

Quote:

Originally Posted by Tekton
er, headinclude. Sorry~

Still a no go man...

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>

Where would I put it in? There are no body/head tags?

Tekton 01-20-2005 07:20 AM

the headinclude is INSIDE head tags from the other templating. see edit above.

mikehawk 01-20-2005 07:35 AM

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:

Tekton 01-20-2005 08:23 AM

If you want it on showthread, do what it says for the forumhome for the showthread.php and the showthread template.

mikehawk 01-20-2005 08:35 AM

Quote:

Originally Posted by Tekton
If you want it on showthread, do what it says for the forumhome for the showthread.php and the showthread template.


Did exactly that and still absolutely nothin. :disappointed:

Tekton 01-20-2005 08:45 AM

Are you following all the steps here? (replacing forumhome/index stuff with the showthread)

https://vborg.vbsupport.ru/showthread.php?t=61647

mikehawk 01-20-2005 08:49 AM

Quote:

Originally Posted by Tekton
Are you following all the steps here? (replacing forumhome/index stuff with the showthread)

https://vborg.vbsupport.ru/showthread.php?t=61647

I've had the "install.txt" open for the past 4 hours. lol Yes man... I updated showthread.php and then edited showthread template.

Does anything pop up for you?

http://www.realopinion.com/realboard...ead.php?p=1638

Showthread template

HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <title>$vboptions[bbtitle] - $thread[title]</title>
$headinclude
 
<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>
<body onload="$onload">
$header
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="36" align="left" valign="top" nowrap background="images/hardwired/misc/vborgmiddle_01.gif"><img src="images/hardwired/misc/vborgmiddle_01.gif" width="36" height="57" alt=""></td>
<td width="100%" valign="top">
$navbar
 
$poll
 
<a name="poststop" id="poststop"></a>
 
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
        <if condition="$show['largereplybutton']">
                <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a></td>
        </if>       
        <if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
 
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
        <td class="tcat" width="100%">
                <div class="smallfont">
                <if condition="$show['firstunreadlink']">
                        <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
                        <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
                </if>
                &nbsp;
                </div>
        </td>
        <td class="vbmenu_control" id="threadtools">
                <a href="#goto_threadtools">$vbphrase[thread_tools]</a>
                <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
        </td>
        <if condition="$show['search']">
                <td class="vbmenu_control" id="threadsearch">
                        <a href="#goto_threadsearch">$vbphrase[search_this_thread]</a>
                        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
                </td>
        </if>
        <if condition="$show['threadrating']">
                <td class="vbmenu_control" id="threadrating">
                        <a href="#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
                        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
                </td>
        </if>
        <if condition="$vboptions['allowthreadedmode']">
        <td class="vbmenu_control" id="displaymodes">
                <a href="#goto_displaymodes">$vbphrase[display_modes]</a>
                <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
        </td>
        </if>
</tr>
</table>
<!-- / toolbar -->
 
<!-- end content table -->
$spacer_close
<!-- / end content table -->
 
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
 
<div id="posts">$postbits</div>
 
<!-- start content table -->
$spacer_open
<!-- / start content table -->
 
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
        <if condition="$show['largereplybutton']">
                <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a></td>
        </if>       
        <if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls below postbits -->
 
<br />
 
<div class="smallfont" align="center">
        <strong>&laquo;</strong>
                <a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest">$vbphrase[prev_thread]</a>
                |
                <a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest">$vbphrase[next_thread]</a>
        <strong>&raquo;</strong>
</div>
 
<br />
 
$quickreply
 
<!-- currently active users -->
<if condition="$show['activeusers']">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="tcat" colspan="2">
                        <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
                </td>
        </tr>
        <tr>
                <td class="alt1" colspan="2">
                        <span class="smallfont">$activeusers</span>
                </td>
        </tr>
        </table>
</if>
<!-- currently active users -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
 
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
        </tr>
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p">$vbphrase[show_printable_version]</a></td>
        </tr>
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid">$vbphrase[email_this_page]</a></td>
        </tr>
        <if condition="$show['member']">
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
                <if condition="$show['subscribed']">
                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                <else />
                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                </if>
                </td>
        </tr>
        </if>
        <if condition="$show['addpoll']">
        <tr>
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
        </tr>
        </if>
        <if condition="$show['adminoptions']">
        <tr>
                <td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
        </tr>
        <tr>
                <td class="vbmenu_option" title="nohilite">
                <div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div>
                <div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div>
                <div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
                <div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div>
                <div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div>
                <div><label for="ao_dlp"><input type="radio" name="do" id="ao_dlp" value="deleteposts" />$vbphrase[delete_posts]</label></div>
                <div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
                <div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>
                <div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
                <if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
                </td>
        </tr>
        <tr>
                <td class="vbmenu_option" title="nohilite" align="center">
                        <input type="hidden" name="s" value="$session[sessionhash]" />
                        <input type="hidden" name="t" value="$threadid" />
                        <input type="hidden" name="pollid" value="$pollid" />
                        <input type="submit" class="button" value="$vbphrase[perform_action]" />
                </td>
        </tr>
        </if>
        </table>
</form>
</div>
<!-- / thread tools menu -->
 
<!-- **************************************************** -->
 
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
        </tr>
        <tr>
        <if condition="$show['linearmode']">
                <td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
        <else />
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
        </if>
        </tr>
        <tr>
        <if condition="$show['hybridmode']">
                <td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
        <else />
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]">$vbphrase[switch_to_hybrid_mode]</a></td>
        </if>
        </tr>
        <tr>
        <if condition="$show['threadedmode']">
                <td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
        <else />
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
        </if>
        </tr>
        </table>
</div>
<!-- / thread display mode menu -->
 
<!-- **************************************************** -->
 
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
        </tr>
        <tr>
                <td class="vbmenu_option" title="nohilite">
                        <input type="hidden" name="s" value="$session[sessionhash]" />
                        <input type="hidden" name="do" value="process" />
                        <input type="hidden" name="searchthread" value="1" />
                        <input type="hidden" name="showposts" value="1" />
                        <input type="hidden" name="searchthreadid" value="$threadid" />
                        <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
                </td>
        </tr>
        <tr>
                <td class="vbmenu_option"><a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a></td>
        </tr>
        </table>
</form>
</div>
<!-- / thread search menu -->
</if>
 
<!-- **************************************************** -->
 
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
        </tr>
        <if condition="$show['ratethread']">
        <tr>
                <td class="vbmenu_option" title="nohilite">
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
                </td>
        </tr>
        <tr>
                <td class="vbmenu_option" title="nohilite" align="center">
                        <input type="hidden" name="s" value="$session[dbsessionhash]" />
                        <input type="hidden" name="t" value="$threadid" />
                        <input type="hidden" name="pp" value="$perpage" />
                        <input type="hidden" name="page" value="$pagenumber" />
                        <input type="submit" class="button" value="$vbphrase[vote_now]" />
                </td>
        </tr>
        <else />
        <tr>
                <td>$vbphrase[already_rated_this_thread]</td>
        </tr>
        </if>
        </table>
</form>
</div>
<!-- / thread rating menu -->
 
 
<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->
 
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
        <td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
        <td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr valign="top">
        <td class="alt1">
 
        <!-- thread tools -->
        <div class="smallfont">
                <div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p">$vbphrase[show_printable_version]</a></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid">$vbphrase[email_this_page]</a></div>
                <if condition="$show['member']">
                        <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
                                <if condition="$show['subscribed']">
                                        <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
                                <else />
                                        <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
                                </if>
                        </div>
                </if>
                <if condition="$show['addpoll']">
                        <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
                </if>
        </div>
        <!-- / thread tools -->
 
        </td>
        <td class="alt1">
 
        <!-- search this thread -->
        <form action="search.php" method="post">
        <div class="smallfont">
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="process" />
                <input type="hidden" name="searchthread" value="1" />
                <input type="hidden" name="showposts" value="1" />
                <input type="hidden" name="searchthreadid" value="$threadid" />
                <strong>$vbphrase[search_this_thread]</strong>:<br />
                <input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
                <a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a>
        </div>
        </form>
        <!-- / search this thread -->
 
        </td>
</tr>
<tr>
        <td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
        <td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<tr valign="top">
        <td class="alt2">
 
        <!-- thread display modes -->
 
        <div class="smallfont">
                <div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]">$vbphrase[switch_to_hybrid_mode]</a></if></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
        </div>
 
        <!-- / thread display modes -->
 
        </td>
        <td class="alt2">
 
        <!-- rate this thread -->
        <form action="threadrate.php" method="post">
        <div class="smallfont">
                <input type="hidden" name="s" value="$session[dbsessionhash]" />
                <input type="hidden" name="t" value="$threadid" />
                <input type="hidden" name="pp" value="$perpage" />
                <input type="hidden" name="page" value="$pagenumber" />
                <strong>$vbphrase[rate_this_thread]</strong>:<br />
                <select name="vote" onchange="this.form.submit()" style="width:175px">
                        <optgroup label="$vbphrase[choose_a_rating]">
                                <option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
                                <option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
                                <option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
                                <option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
                                <option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
                        </optgroup>
                </select>$gobutton
        </div>
        </form>
        <!-- / rate this thread -->
 
        </td>
</tr>
</table>
<br />
 
 
<!-- / controls for non-popup browsers -->
</if>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
        <td class="smallfont" align="$stylevar[left]">
                $forumrules
        </td>
        <td class="smallfont" align="$stylevar[right]">
                <table cellpadding="0" cellspacing="0" border="0">
                <if condition="!$show['popups'] AND $show['adminoptions']">
                <tr>
                        <td>
                        <div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
                        <form action="postings.php" method="post" name="adminoptionsform">
                        <input type="hidden" name="s" value="$session[sessionhash]" />
                        <input type="hidden" name="t" value="$threadid" />
                        <strong>$vbphrase[admin_tools]</strong>:<br />
                        <select name="do" onchange="this.form.submit()">
                                <optgroup label="$vbphrase[thread_admin_tools]">
                                        <option value="openclosethread" seelcted="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option>
                                        <option value="movethread">$vbphrase[move_copy_thread]</option>
                                        <option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
                                        <option value="editthread">$vbphrase[edit_thread]</option>
                                        <option value="deletethread">$vbphrase[delete_thread]</option>
                                        <option value="deleteposts">$vbphrase[delete_posts]</option>
                                        <option value="mergethread">$vbphrase[merge_threads]</option>
                                        <option value="splitthread">$vbphrase[split_thread]</option>
                                        <option value="removeredirect">$vbphrase[remove_redirects]</option>
                                </optgroup>
                        </select>$gobutton
                        </form>
                        </div>
                        </td>
                </tr>
                <br />
                </if>
                <tr>
                        <td>
                        $forumjump
                        </td>
                </tr>               
                </table>
        </td>
</tr>
</table>
<!-- /forum rules and admin links -->
 
<br />
 
$similarthreads
 
<br />
</center></td>
<td width="37" align="right" valign="top" nowrap background="images/hardwired/misc/vborgmiddle_03.gif"><img src="images/hardwired/misc/vborgmiddle_03.gif" width="37" height="57" alt=""></td>
</tr>
</table>
$footer
 
<!-- temp -->
<div style="display:none">
        <!-- thread rate -->
        <if condition="$show['ratethread']">
                <!-- thread ratings form here -->
        <else />
                <if condition="$show['threadrating']">
                        $vbphrase[you_rated_this_thread]: <b>$threadinfo[vote]</b>
                </if>
        </if>
        <!-- / thread rate -->
</div>
$vbpopup
</body>
</html>

also attached showthread.php

Tekton 01-20-2005 08:53 AM

No, so you must be doing something wrong :)

mikehawk 01-20-2005 09:06 AM

Can you notice anything wrong with the code?

AN-net 01-20-2005 05:01 PM

no attaching complete vB files!

please remove;)

Zachery 01-20-2005 06:37 PM

Quote:

Originally Posted by mikehawk
Can you notice anything wrong with the code?

Mike please note that redistrubting full vBulletin files in any way shape or form on any website even a vBulletin sister site is breaking the license agreement, please never do so again anywhere.

mikehawk 01-20-2005 09:08 PM

sorry! didn't know!! Definately won't do that again. :squareeyed:

as for the problem at hand... anyone??? plz??

C'mon guys, I hate to be all imposing and everything but geez.... this seems like it would be extremely easy to do... i tried everythign that was explained in the above posts and nothing had worked.

my board is a news site and, as like the New York Times and the such, I would like it so members are asked to sign up before reading the news story (aka post)....hence I don't mind it being popping up for every thread.


All times are GMT. The time now is 05:23 AM.

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.02163 seconds
  • Memory Usage 2,018KB
  • 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
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete