vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Ultimate Side Columns (https://vborg.vbsupport.ru/showthread.php?t=141870)

mhammed 03-15-2007 03:18 AM

conditions don't work with this hack

for example
<if condition="$show['guest']">
<if condition="$show['registerbutton']">
<if condition="$show['contactus']"

any idea??

FRANKTHETANK 2 03-15-2007 03:24 AM

Good Mod. Thanks

dizzy100 03-15-2007 08:00 AM

Is there anyway to get conditions and include other templates in this hack ? It works great but if i add

$leftcolumn_advertisement (from the advertising mod which is global) to either the left or right column boxes or indeed the templates themselves they just display as $leftcolumn_advertisement instead of the content. Also phrases etc do not parse. Anyone any ideas how to modify that ?

Hornstar 03-15-2007 10:59 AM

Quote:

Originally Posted by kkordas (Post 1203683)
I have problem, look image!!! Why?

Same thing happens to me. Glad im not the only one. still waiting on a reply as well. Hopefully this bug will be fixed.

kkordas 03-15-2007 11:52 AM

Quote:

Originally Posted by hornstar1337 (Post 1204056)
Same thing happens to me. Glad im not the only one. still waiting on a reply as well. Hopefully this bug will be fixed.

Understand also did it the same problem? As we hope us they answer shortly!!!:( :confused: :confused:

Smoothie 03-15-2007 12:45 PM

Quote:

Originally Posted by The Bish (Post 1203838)
Images work fine... check out my site.

PL

I simply put the link to the image and it shows...

Some of the sites I visited (ncluding the one above) that had this installed and showing in thread view, your postbit has shrunk.

KHALIK 03-15-2007 01:19 PM

Quote:

Originally Posted by The Bish (Post 1203838)
Images work fine... check out my site.

PL

I simply put the link to the image and it shows...


Bish, can you provide me a "example" of the code used to get the image. A screenshot will help me alot.

Thanks.



p.s. I even tried both methods without success

https://vborg.vbsupport.ru/
<img>XXXX http://www.fragmasters.co.uk/images/HGFMAD2.jpg</img>

armagan 03-15-2007 01:25 PM

Quote:

Originally Posted by kkordas (Post 1203683)
I have problem, look image!!! Why?

I have same problem, anyone any ideas how to fix ..

kkordas 03-15-2007 04:10 PM

Quote:

Originally Posted by hornstar1337 (Post 1204056)
Same thing happens to me. Glad im not the only one. still waiting on a reply as well. Hopefully this bug will be fixed.

i have tha same problem with a rigth bar!!!

gregfindley 03-15-2007 04:37 PM

Hi Kerry-Anne,

Thanks for this mod, was just what I was looking for :)
I'm just having an issue with the posts being reduced in width when you view messages, I know you mentioned just using it on forum home to solve this, but on my site the same thing happens even when set to just forum home?

My site is: www.ChessForums.org

EDIT: Please ignore just found Survivors reply on Page 1 :) all sorted now

Thanks!
Greg

TitanPK 03-15-2007 06:02 PM

Great Hack, however when installed as noted it seems to randomly throw the forum posts out of alignment...the forum home is good but the actually forum posts in a thread are off (boxes are different sizes.)
I unistalled the hack itself, no change.
Removed the template updates and it's fine.
Any thoughts?

Get Shorty 03-15-2007 08:05 PM

Is there any way to keep this from making threads narrower than the navbar?

https://vborg.vbsupport.ru/attachmen...6&d=1173724090

nix 03-15-2007 08:17 PM

Quote:

Originally Posted by Get Shorty (Post 1204365)
Is there any way to keep this from making threads narrower than the navbar?

https://vborg.vbsupport.ru/attachmen...6&d=1173724090

Try this.

https://vborg.vbsupport.ru/showpost....2&postcount=12

KHALIK 03-15-2007 11:58 PM

Quote:

Originally Posted by KHALIK (Post 1204123)
Bish, can you provide me a "example" of the code used to get the image. A screenshot will help me alot.

Thanks.



p.s. I even tried both methods without success

[img].http://www.fragmasters.co.uk/images/HGFMAD2.jpg[/img]
<img. http://www.fragmasters.co.uk/images/HGFMAD2.jpg</img>

any ideas ? how to place a image / photo instead

mtlcore 03-16-2007 02:12 AM

Guys, once again, I had the same problem (the menu appearing above forums instead of being on the side. I just put the first code in navbar at the very end instead of header. It worked for me.

The Bish 03-16-2007 05:14 AM

Quote:

Originally Posted by KHALIK (Post 1204123)
Bish, can you provide me a "example" of the code used to get the image. A screenshot will help me alot.

Thanks.



p.s. I even tried both methods without success

https://vborg.vbsupport.ru/
<img>XXXX http://www.fragmasters.co.uk/images/HGFMAD2.jpg</img>

I am actually using a Banner Rotator... here ya go.

HTML Code:

<!-- Banner Rotator by Redline -->
<SCRIPT LANGUAGE="Javascript"><!--
function banner() {
};
banner = new banner();
number = 0;
 
// bannerArray
banner[number++] = "<a href='http://maid-2-order.net' target='_blank'><img src='images/m2o_logo.gif' border='1'></a>"
banner[number++] = "<a href='http://prizefitness.com/' target='_blank'><img src='images/prize_fitness.gif' border='1'></a>"

increment = Math.floor(Math.random() * number);
document.write(banner[increment]);
//-->
</SCRIPT>
</td>   
<!-- End Banner Rotator by Redline -->


Capper5016 03-16-2007 06:25 AM

Anyway to maybe add RSS feeds, polls, and/or stats within the blocks?

dizzy100 03-16-2007 07:57 AM

Quote:

Originally Posted by Capper5016 (Post 1204679)
Anyway to maybe add RSS feeds, polls, and/or stats within the blocks?

rss feeds from your forum is possible

Heres one for pulling the latest threads from your vbulletin board (make sure you have Vbulletin Options > External Data Provider > Enable External Javascript enabled)

PHP Code:

<script type="text/javascript" src="external.php?&amp;type=js"></script>
<
script language="" type="text/javascript">
<!--
for (var 
x in threads)
{
document.writeln("<img class=\"inlineimg\" src=\"YOUWEBSITEADDRESS/images/buttons/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <span class=\"time\">(Posted By : "+threads[x].poster+")</span><hr />");
}
//-->
</script

Substitute YOUWEBSITEADDRESS with the full url to your forum (assumes using ther default theme).

Its not phrased because this mod seems to ignore them :( This is a shame as stats, banner etc can't be used through internal vbulletin options. However javascript seems to work well.

Hornstar 03-16-2007 10:42 AM

Well it seems several people are now having the same problem as I first had.

Just incase Amy Misses all the other posts

Confirmend Bug

Please read the posts before this, as there has been a bug confirmed by several members now, not just by me.

Thanks.

ps. running vb 3.6.5

Capper5016 03-16-2007 04:28 PM

Well, its not the latest posts, its the most recent threads.......which is my biggest gripe with VB

http://forums.hardwarelogic.com/

I know this is more of a template issue, but can someone help me figure out how to make the side panel move under the navbar?
I've had an awful time trying to get this to play nice with my template, I can't get things to resize correctly, and can only get one or the other to work, not both sides

BrandiDup 03-17-2007 12:01 AM

VERY nice. Thanks!

Brandon Sheley 03-17-2007 12:07 AM

woah, guess I should check out vb.org more often.

Great looking hack.. will see what I can do with it soon :)

Thanks Kerry-Ann

armagan 03-17-2007 10:45 AM

Quote:

Originally Posted by nix (Post 1204376)



I read the info that written in the link you gave
But I dıdnt understand how and where we do those things
Can you explain little bit

peterska2 03-17-2007 04:19 PM

Quote:

Originally Posted by Bellinis (Post 1202512)
looks GREAT!

One question though...

I would like to use the sidebar for guests only (advertistement placing)
Is this already an option or can I somehow add this easily?

Thanks! :)

This may be included in a future version, although there are no guarantees or pressing plans for updates.

Quote:

Originally Posted by wottech (Post 1202543)
I can't remember which sidebar hack I am currently using (yours or someone else's), but one thing I did due to requests by members was to make the sidebars collapsable. This way, if people want to see them, then they can. If their screen size doesn't work well with the sidebars, then they can collapse the sidebars when they don't want them and expand when they do need or want them. Just a suggestion... I'd definately be up for it if you did that, as I'm not 100% impressed with the way I did it.

Again, this may be included in a future version.

Quote:

Originally Posted by UncoderMom (Post 1202578)
Quick question! Does this show on portal, photoplog or groups etc.. (subdirectories).

Yes, unless you choose one of the <this page> only options.

Quote:

Originally Posted by beachinxj (Post 1202866)
Does this work with VB 3.5.4?

Edit: I got it installed on 3.5.4 by removing the execution order lines from the xml. The only issue I am having is in the configuration options page, instead of showing radio buttons to choose where the menus are displayed, it just blurbs out text, with no way to choose.

example:
Code:

Display Pages For Left Column
Using this setting you can determine the pages where the left column will be displayed.
    radio:piped 0|all pages 1|forumhome only 2|all pages except forumhome 3|all pages except forumhome and usercp 4|forum display only 5|showthread only 6|adsense appropriate

Does the same thing for the right.

This is not for 3.5.x and is not supported.

peterska2 03-17-2007 04:21 PM

Quote:

Originally Posted by project-Buckfas (Post 1203256)
Can colums be shown/hidden to individual usergroups?

This would come in handy for my mods for links to there email e.t.c..

This may be included in a future version.

Quote:

Originally Posted by mhammed (Post 1203847)
conditions don't work with this hack

for example
<if condition="$show['guest']">
<if condition="$show['registerbutton']">
<if condition="$show['contactus']"

any idea??

These will only work with direct editing of the templates and not in the easy edit blocks provided.

Quote:

Originally Posted by dizzy100 (Post 1203957)
Is there anyway to get conditions and include other templates in this hack ? It works great but if i add

$leftcolumn_advertisement (from the advertising mod which is global) to either the left or right column boxes or indeed the templates themselves they just display as $leftcolumn_advertisement instead of the content. Also phrases etc do not parse. Anyone any ideas how to modify that ?

Again, these will only work with direct template editing and not with the easy edit blocks provided.

peterska2 03-17-2007 04:23 PM

Quote:

Originally Posted by KHALIK (Post 1204123)
Bish, can you provide me a "example" of the code used to get the image. A screenshot will help me alot.

Thanks.



p.s. I even tried both methods without success

[img]XXX http://www.fragmasters.co.uk/images/HGFMAD2.jpg[/img]
<img>XXXX http://www.fragmasters.co.uk/images/HGFMAD2.jpg</img>

Use
Code:

<img src="url to your image" />
Quote:

Originally Posted by Capper5016 (Post 1204679)
Anyway to maybe add RSS feeds, polls, and/or stats within the blocks?

There are no plans for this.

peterska2 03-17-2007 04:25 PM

Quote:

Originally Posted by hornstar1337 (Post 1204767)
Well it seems several people are now having the same problem as I first had.

Just incase Amy Misses all the other posts

Confirmend Bug

Please read the posts before this, as there has been a bug confirmed by several members now, not just by me.

Thanks.

ps. running vb 3.6.5

I cannot replicate this on a default style. Therefore, this is either due to custom styles which I do not support, or due to the contents of your easy edit blocks in the vB Options. As no-one to date has provided details of exactly what they have used there, or a link to a site where the problem is visible, I cannot even attempt to guess at what the problem is.

Smoothie 03-17-2007 08:59 PM

Installed, as easy as a walk in the park.

KHALIK 03-17-2007 09:31 PM

Increased delayed of loading time of forum when this mod is installed.

I installed this mod with out any problems, with default columes. Only used one right-handside colum with no text or image.

I noticed there was a significent delayin the load time when that hack is installed. When I uninstalled this hack, the delay was removed.

Are you getting the same problem?

GruntHalo 03-17-2007 09:32 PM

Wow thanks installing now! :D

Hornstar 03-18-2007 06:47 AM

Quote:

Originally Posted by Kerry-Anne (Post 1205691)
I cannot replicate this on a default style. Therefore, this is either due to custom styles which I do not support, or due to the contents of your easy edit blocks in the vB Options. As no-one to date has provided details of exactly what they have used there, or a link to a site where the problem is visible, I cannot even attempt to guess at what the problem is.


Site where the problem is occuring: www.gamerzneeds.net/forums (instead of the bar being on the right it is down the bottom of the site.)

Post where i outlined the contents of my 2 templates: https://vborg.vbsupport.ru/showpost....6&postcount=35

Content of easy edit blocks: Even when this was the default text that came with this, it still happened, so the content of this is not the problem. also several other people have had this problem, and they posted a screen shot, and you can see they still had the default text displayed.

Hopefully someone will know a fix for this shortly, as my site looks very tacky currently. thanks.



Edit:

i installed a new skin, kept it 100% clean fully reverted. and it works.

i then tried disabling products and seeing if any of those interfed, and they dont.

I then saved the contents of my navbar template and then reverted it, and it works.

so it is the contents of the navbar template that is causing problems.

i then tried putting the contents back into the clean navbar template 1 by 1 and seeing which parts affected the code. i found out that several parts affect it and those parts are fairly common on lots of sites, because they are popular hacks.

contents of my navbar template:
Code:

<if condition="is_array($navbits)">
<h2>$navbits[lastelement]</h2>
<else />
<h2>$vboptions[bbtitle] & Entertainment Needs!</h2>
</if>
<!--VBSEO_RR_1--></td>




<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>

<br />

<!-- Start nav 2 -->
$nav2
<!-- / End nav 2-->

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="alt1" width="100%">
                <if condition="is_array($navbits)">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr valign="bottom">
                                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                <td>&nbsp;</td>
                                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                        </tr>
                        <tr>
                                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
                        </tr>
                        </table>                       
                <else />
                        <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a>

<strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>       
       
        <if condition="$show['member']">
       
                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
                </div>
                </td>
               
        <else />
               
                <td class="alt2" nowrap="nowrap" style="padding:0px">
                       
                <!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" 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="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />

<if condition="$show['registerbutton']"><span class="smallfont">
<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></span></if></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                       
                </td>
               
        </if>       
       
</tr>
</table>

<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center">
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
                <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

<!-- vBlogetin Edit -->
                <if condition="$show['blogmenu']"><td id="blogmenu" class="vbmenu_control"><a href="$show[nojs_link]#blogmenu">$vbphrase[blog_blogging]</a> <script type="text/javascript"> vbmenu_register("blogmenu"); </script></td></if>
                <!-- End vBlogetin Edit -->
               

                <if condition="$show['popups']">       

                               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
                        </if>
                        <if condition="$show['member']">
                                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$show['member']">                       
                                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
        </tr>
        </table>
</div>

<!-- / nav buttons bar -->


<br />
<if condition="$show['forumdesc']">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
        </tr>
        </table>
        <br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
       
        <if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
                <form action="search.php?do=process" method="post">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                                <input type="hidden" name="do" value="process" />
                                <input type="hidden" name="quicksearch" value="1" />
                                <input type="hidden" name="childforums" value="1" />
                                <input type="hidden" name="exactname" value="1" />
                                <input type="hidden" name="s" value="$session[sessionhash]" />
                                <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                                <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
                                &nbsp;
                                <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
<!-- Start Post Thank You Hack -->
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=findallthanks">$vbphrase[post_thanks_search]</a></td>
<!-- End Post Thank You Hack -->
                </tr>
                </table>
                </form>
        </div>
        <!-- / header quick search form -->
        </if>

        <if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
               
                <tr><td class="thead">$vbphrase[quick_links]</td></tr>               
                <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
                               
                <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
                <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
                <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
               
                <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
                <if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
                <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="calendar.php$session[sessionurl_q]" rel="nofollow">$vbphrase[calendar]</a></td></tr>

               
                </table>
        </div>
        <!-- / user cp tools menu -->
        </if>

        <!-- vBlogetin Edit -->
        <if condition="$show['blogmenu']">
        <div class="vbmenu_popup" id="blogmenu_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">

                <tr><td class="thead">$vbphrase[blog_blogging]</td></tr>

                <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/$sIDq">$vbphrase[blog_blog_directory]</a></td></tr>

                <if condition="$vboptions['blog_top_blogs_limit']">
                        <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/top.php?$session[sessionurl]do=topblogs">$vbphrase[blog_top_blogs]</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/top.php?$session[sessionurl]do=topentries">$vbphrase[blog_top_entries]</a></td></tr>
                </if>

                <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/search.php$sIDq">$vbphrase[blog_search_blogs]</a></td></tr>

                <!-- Blog Manager -->
                <if condition="$show['member'] and $show['navbar_blogmanager']">
                        <tr><td class="thead"><a href="$vboptions[blog_url]/manage.php?$session[sessionurl]userid=$bbuserinfo[userid]">$vbphrase[blog_manager]</a></td></tr>
                <if condition="$show['yourblog']"><tr><td class="vbmenu_option"><a href="$bbuserinfo[blogURL]">$vbphrase[blog_view_your_blog]</a></td></tr></if>
                        <if condition="$show['navbar_createentry']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/entry.php?$session[sessionurl]userid=$bbuserinfo[userid]">$vbphrase[blog_create_new_entry]</a></td></tr></if>
                        <if condition="$show['navbar_manageentries']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/entry.php?$session[sessionurl]do=entries&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_manage_entries]</a></td></tr></if>
                        <if condition="$show['navbar_moderatecomments']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/comment.php?$session[sessionurl]do=moderate&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_moderate_comments]</a></td></tr></if>

                        <if condition="$show['navbar_editblog']">
                                <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/manage.php?$session[sessionurl]do=settings&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_modify_settings]</a></td></tr>
                                <if condition="$show['blogblocks']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/manage_blocks.php?$session[sessionurl]do=blocks&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_manage_blocks]</a></td></tr></if>
                        </if>

                <!-- Create Blog -->
                <else />
                        <if condition="$show['member']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/manage.php?$session[sessionurl]do=setup">$vbphrase[blog_setup_your_blog]</a></td></tr></if>
                </if>

                </table>
        </div>
        </if>
        <!-- End vBlogetin Edit -->
<!-- / NAVBAR POPUP MENUS -->


<!-- PAGENAV POPUP -->

        <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
                        </form>
                        </td>
                </tr>
                </table>
        </div>

<!-- / PAGENAV POPUP -->
</if>

<!-- bravenet adcode -->
<if condition="!is_member_of($bbuserinfo,9,10,21)">
<div align="center">
<script>
document.write('<scr'+'ipt src="http://jupiter.bravenet.com/rover/f?cid=gamerzneeds&ctype=0&refurl='+escape((document.location==top.location)?document.location:document.referrer)+'"></scr'+'ipt>');
</script>
</if>
</div>
<!-- / bravenet adcode -->

$welcomeheaders

The problem with this hack working on many boards resides in the navbar template. i really want to use this awesome hack, so i hope the information i have posted helps someone hopefully find a solution to fixing this.

thanks.

dizzy100 03-18-2007 07:00 AM

OK guys, how can we get the control panel entries for the sidebars to parse vbulletin phrases and / or variables ? Kerry Ann has said we need to support each other so lets try some solutions.

Is the plugin parsing them out or simply not including them ? Do we maybe need to global something ? Anyone any ideas ?

kkordas 03-18-2007 10:33 AM

please help me!!!

peterska2 03-18-2007 11:45 AM

Quote:

Originally Posted by hornstar1337 (Post 1206133)
Site where the problem is occuring: www.gamerzneeds.net/forums (instead of the bar being on the right it is down the bottom of the site.)

Post where i outlined the contents of my 2 templates: https://vborg.vbsupport.ru/showpost....6&postcount=35

Content of easy edit blocks: Even when this was the default text that came with this, it still happened, so the content of this is not the problem. also several other people have had this problem, and they posted a screen shot, and you can see they still had the default text displayed.

Hopefully someone will know a fix for this shortly, as my site looks very tacky currently. thanks.



Edit:

i installed a new skin, kept it 100% clean fully reverted. and it works.

i then tried disabling products and seeing if any of those interfed, and they dont.

I then saved the contents of my navbar template and then reverted it, and it works.

so it is the contents of the navbar template that is causing problems.

i then tried putting the contents back into the clean navbar template 1 by 1 and seeing which parts affected the code. i found out that several parts affect it and those parts are fairly common on lots of sites, because they are popular hacks.

contents of my navbar template:
Code:

<if condition="is_array($navbits)">
<h2>$navbits[lastelement]</h2>
<else />
<h2>$vboptions[bbtitle] & Entertainment Needs!</h2>
</if>
<!--VBSEO_RR_1--></td>




<script type="text/javascript">
<!--
function log_out()
{
    ht = document.getElementsByTagName("html");
    ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
    if (confirm('$vbphrase[sure_you_want_to_log_out]'))
    {
        return true;
    }
    else
    {
        ht[0].style.filter = "";
        return false;
    }
}
//-->
</script>

<br />

<!-- Start nav 2 -->
$nav2
<!-- / End nav 2-->

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="alt1" width="100%">
        <if condition="is_array($navbits)">
            <table cellpadding="0" cellspacing="0" border="0">
            <tr valign="bottom">
                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                <td>&nbsp;</td>
                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
            </tr>
            <tr>
                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
            </tr>
            </table>           
        <else />
            <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a>

<strong>$vboptions[bbtitle]</strong></div>
        </if>
    </td>   
   
    <if condition="$show['member']">
   
        <td class="alt2" valign="top" nowrap="nowrap">
        <div class="smallfont">
            <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
            <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
            <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
            <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
        </div>
        </td>
       
    <else />
       
        <td class="alt2" nowrap="nowrap" style="padding:0px">
           
        <!-- login form -->
        <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
        <tr>
            <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
            <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" 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="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
        </tr>
        <tr>
            <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
            <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
            <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />

<if condition="$show['registerbutton']"><span class="smallfont">
<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></span></if></td>
        </tr>
        </table>
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="do" value="login" />       
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
        </form>
        <!-- / login form -->
           
        </td>
       
    </if>   
   
</tr>
</table>

<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div align="center">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <tr align="center">
        <if condition="$show['member']">
            <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if condition="$show['registerbutton']">
            <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
        </if>
        <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
        <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

<!-- vBlogetin Edit -->
        <if condition="$show['blogmenu']"><td id="blogmenu" class="vbmenu_control"><a href="$show[nojs_link]#blogmenu">$vbphrase[blog_blogging]</a> <script type="text/javascript"> vbmenu_register("blogmenu"); </script></td></if>
        <!-- End vBlogetin Edit -->
       

        <if condition="$show['popups']">   

               
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if condition="$show['member']">
                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>       
            </if>
        <else />       
            <if condition="$show['searchbuttons']">
                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                <if condition="$show['member']">
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if condition="$show['member']">           
                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>           
            </if>           
        </if>
        <if condition="$show['member']">
            <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
        </if>
    </tr>
    </table>
</div>

<!-- / nav buttons bar -->


<br />
<if condition="$show['forumdesc']">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
    </tr>
    </table>
    <br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
   
    <if condition="$show['searchbuttons']">
    <!-- header quick search form -->
    <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
        <form action="search.php?do=process" method="post">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">$vbphrase[search_forums]</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
                <input type="hidden" name="do" value="process" />
                <input type="hidden" name="quicksearch" value="1" />
                <input type="hidden" name="childforums" value="1" />
                <input type="hidden" name="exactname" value="1" />
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
            </td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
                <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
                &nbsp;
                <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
            </td>
        </tr>
        <tr>
            <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
<!-- Start Post Thank You Hack -->
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=findallthanks">$vbphrase[post_thanks_search]</a></td>
<!-- End Post Thank You Hack -->
        </tr>
        </table>
        </form>
    </div>
    <!-- / header quick search form -->
    </if>

    <if condition="$show['member']">
    <!-- user cp tools menu -->
    <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
       
        <tr><td class="thead">$vbphrase[quick_links]</td></tr>       
        <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
        <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
        <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
               
        <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
        <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
        <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
       
        <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
        <if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
        <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
        <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
        <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="calendar.php$session[sessionurl_q]" rel="nofollow">$vbphrase[calendar]</a></td></tr>

       
        </table>
    </div>
    <!-- / user cp tools menu -->
    </if>

    <!-- vBlogetin Edit -->
    <if condition="$show['blogmenu']">
    <div class="vbmenu_popup" id="blogmenu_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">

        <tr><td class="thead">$vbphrase[blog_blogging]</td></tr>

        <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/$sIDq">$vbphrase[blog_blog_directory]</a></td></tr>

        <if condition="$vboptions['blog_top_blogs_limit']">
            <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/top.php?$session[sessionurl]do=topblogs">$vbphrase[blog_top_blogs]</a></td></tr>
            <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/top.php?$session[sessionurl]do=topentries">$vbphrase[blog_top_entries]</a></td></tr>
        </if>

        <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/search.php$sIDq">$vbphrase[blog_search_blogs]</a></td></tr>

        <!-- Blog Manager -->
        <if condition="$show['member'] and $show['navbar_blogmanager']">
            <tr><td class="thead"><a href="$vboptions[blog_url]/manage.php?$session[sessionurl]userid=$bbuserinfo[userid]">$vbphrase[blog_manager]</a></td></tr>
            <if condition="$show['yourblog']"><tr><td class="vbmenu_option"><a href="$bbuserinfo[blogURL]">$vbphrase[blog_view_your_blog]</a></td></tr></if>
            <if condition="$show['navbar_createentry']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/entry.php?$session[sessionurl]userid=$bbuserinfo[userid]">$vbphrase[blog_create_new_entry]</a></td></tr></if>
            <if condition="$show['navbar_manageentries']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/entry.php?$session[sessionurl]do=entries&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_manage_entries]</a></td></tr></if>
            <if condition="$show['navbar_moderatecomments']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/comment.php?$session[sessionurl]do=moderate&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_moderate_comments]</a></td></tr></if>

            <if condition="$show['navbar_editblog']">
                <tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/manage.php?$session[sessionurl]do=settings&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_modify_settings]</a></td></tr>
                <if condition="$show['blogblocks']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/manage_blocks.php?$session[sessionurl]do=blocks&amp;userid=$bbuserinfo[userid]">$vbphrase[blog_manage_blocks]</a></td></tr></if>
            </if>

        <!-- Create Blog -->
        <else />
            <if condition="$show['member']"><tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/manage.php?$session[sessionurl]do=setup">$vbphrase[blog_setup_your_blog]</a></td></tr></if>
        </if>

        </table>
    </div>
    </if>
    <!-- End vBlogetin Edit -->
<!-- / NAVBAR POPUP MENUS -->


<!-- PAGENAV POPUP -->

    <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
            <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
            </form>
            </td>
        </tr>
        </table>
    </div>

<!-- / PAGENAV POPUP -->
</if>

<!-- bravenet adcode -->
<if condition="!is_member_of($bbuserinfo,9,10,21)">
<div align="center">
<script>
document.write('<scr'+'ipt src="http://jupiter.bravenet.com/rover/f?cid=gamerzneeds&ctype=0&refurl='+escape((document.location==top.location)?document.location:document.referrer)+'"></scr'+'ipt>');
</script>
</if>
</div>
<!-- / bravenet adcode -->

$welcomeheaders

The problem with this hack working on many boards resides in the navbar template. i really want to use this awesome hack, so i hope the information i have posted helps someone hopefully find a solution to fixing this.

thanks.

It's this bit thats killing it
Code:

<if condition="is_array($navbits)">
<h2>$navbits[lastelement]</h2>
<else />
<h2>$vboptions[bbtitle] & Entertainment Needs!</h2>
</if>
<!--VBSEO_RR_1--></td>

That is such bad code that isn't even correct html that this is causing the problem. If this code has been provided by vBSEO then you need to start complaining to them. Run your site through http://validator.w3.org There is no way on earth it will validate with that code and unless it is removed or fixed it will kill this modification along with a lot of other modifications.

(Hint: for those who can't be bothered to get the problem code fixed, just remove the </td> from the end of it.)

peterska2 03-18-2007 11:51 AM

Quote:

Originally Posted by dizzy100 (Post 1206134)
OK guys, how can we get the control panel entries for the sidebars to parse vbulletin phrases and / or variables ? Kerry Ann has said we need to support each other so lets try some solutions.

Is the plugin parsing them out or simply not including them ? Do we maybe need to global something ? Anyone any ideas ?

The boxes are meant for raw text and simple editing. I included them for novice users because the number 1 support issue with anything that involves modifying a template involves the actual modification. (take this thread as an example - something else (vBSEO) is messing up the navbar template with terrible code (see post above) and yet of course because this mod doesn't work it must be this so everyone complains. The fact that it is just this that has made it noticeable doesn't come into the equation.)

For advanced editing, including phrases, variables, conditionals, etc, you need to edit the templates directly.

I've made it east for you, there are lots of comments in them and it is easy to follow.

dizzy100 03-18-2007 12:04 PM

I understand Kerry Ann what your saying but i think allowing template conditionals in the edit boxes would make a great deal of sense and allow it to remain flexible.

And i can't seem to get global variables to work in the templates either.

Is your plugin stripping anything ?

Smoothie 03-18-2007 03:47 PM

Question about the spacer_open, spacer_close situation, which seems to affect the size of the postbit and calendar when the USC is enabled on those pages. The solution offered was here:
https://vborg.vbsupport.ru/showpost....2&postcount=12

It basically suggests to "Create a Plugin on parse_templates". While this works, it affects other styles that do not use the USC. Would anyone be able to offer a solution to this dilemma?

Smoothie 03-18-2007 08:38 PM

^Bump^

Hornstar 03-18-2007 09:29 PM

Quote:

Originally Posted by Kerry-Anne (Post 1206294)
It's this bit thats killing it
Code:

<if condition="is_array($navbits)">
<h2>$navbits[lastelement]</h2>
<else />
<h2>$vboptions[bbtitle] & Entertainment Needs!</h2>
</if>
<!--VBSEO_RR_1--></td>

That is such bad code that isn't even correct html that this is causing the problem. If this code has been provided by vBSEO then you need to start complaining to them. Run your site through http://validator.w3.org There is no way on earth it will validate with that code and unless it is removed or fixed it will kill this modification along with a lot of other modifications.

(Hint: for those who can't be bothered to get the problem code fixed, just remove the </td> from the end of it.)

Mainly my code, I took out the code last night, and found that it was solely that part of my code that was causing the problems for me. I will fix it up shortly, Thanks.

Future Request: Also, is there any chance of having a title for each block as well?

And is html allowed in the titles?

THanks

dizzy100 03-19-2007 02:47 PM

Another bug i've only just noticed.

I have created the plugin to stop the spacer from messing up the display with this sidebar plugin and it all works as it should.

But its knocking the layout out for vB Event Forums in the forum its posting into, the same as it would eithout the spacer plugin hack. Anyone got a solution for this ?


All times are GMT. The time now is 05:14 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.02112 seconds
  • Memory Usage 2,132KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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