The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Put a Column on the Left Side of Every Forum Page Details »» | |||||||||||||||||||||||||||
Put a Column on the Left Side of Every Forum Page
Developer Last Online: Nov 2013
This little PRODUCT will provide you with a template to put content in a column going down the left side of every forum page.
What you put there is limited only by your imagination. This can easily be combined with the right column product to have a column on both sides. To use this with the right column product , change the footer code to: Code:
<!-- Right Column Code --> </td> <td width="160" valign="top" align="left">$rightcolumn</td> </tr> </table> </td></tr> </table> <!-- End Right Column Code --> Some very important changes were made to the header and footer template changes. Please modify your header and footer code to use the new version. This is now a PRODUCT and not a plugin. Use the product manager to import it. If you are upgrading, copy the contents of your left_column template to notepad BEFORE you install the product. Then, replace the template contents with your backup. This version now includes sample html in the left_column template. Thanks to iguanairs for that code. Show Your Support
|
Comments |
#342
|
|||
|
|||
Quote:
|
#343
|
|||
|
|||
Quote:
Can you post the content of your leftcolumn template, ensuring that it is wrapped in [ code][/code] tags please. |
#344
|
||||
|
||||
yea i use it for the both templates
its not about the content even if there isnt a content in th column its still the same |
#345
|
||||
|
||||
help really needed peterska
|
#346
|
|||
|
|||
please can you post the contents of your header, footer, and leftcolumn templates, ensuring that they are wrapped in [ code][/code] tags. It has to be something local to your style as you are the only person experiencing this problem.
|
#347
|
||||
|
||||
header
HTML Code:
<!-- / CSS Stylesheet --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>E-Paylas.de Paylasim Sitesi</title> <link rel="stylesheet" type="text/css" href="http://www.e-paylas.de/forum/graymaster/style.css?rc2" /> <link rel="stylesheet" type="text/css" href="http:/www.e-paylas.de/forum/graymaster/print.css?rc2" media="print" /> <link rel="shortcut icon" href="http://www.e-paylas.de/images/ed2k.ico" /> <link rel="icon" href="http://www.e-paylas.de/images/ed2k.ico" /> <link rel="icon" type="image/png" href="http://www.e-paylas.de/images/ed2k.png" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" align="center"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a> <font size=2>E-Paylas Forum</font> </td> </tr> <form action="vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)"> <input type='hidden' name='do' value='shout' /> <input type='hidden' name='color' /> <input type='hidden' name='fontFamily' /> <input type='hidden' name='fontWeight' /> <input type='hidden' name='textDecoration' /> <input type='hidden' name='fontStyle' /> <tbody id="collapseobj_forumhome_vbshout" style="$vbcollapse[collapseobj_forumhome_vbshout]"> <tr> <td class="alt1" align="left" width="100%"> <if condition="!$vboptions[shout_editor_position]"> <if condition="$bbuserinfo[userid] > 0"> <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td width='100%'> <input type="text" name="shout" style="width: 90%" class="bginput" /> </td> <td style='white-space:nowrap' width='1%'> <input type="submit" value="Shout" class="button" /> <if condition="$vboptions[shout_extra_options]"> <input type='button' class='button' value='Clear' onclick='sb_Clear()' /> <input type='button' class='button' value='Smilies' onclick='sb_Smilies(this)' /> <input type='button' class='button' style='font-weight:bold' value='B' onclick='sb_PropChange_Button(this, "fontWeight")' /> <input type='button' class='button' style='text-decoration:underline' value='U' onclick='sb_PropChange_Button(this, "textDecoration")' /> <input type='button' class='button' style='font-style:italic' value='I' onclick='sb_PropChange_Button(this, "fontStyle")' /> <select name='font_color' onchange='sb_PropChange(this, "color")'> {$DropDowns['color_selector']} </select> <select name='font_selector' onchange='sb_PropChange(this, "fontFamily")'> {$DropDowns['font_selector']} </select> </if> </td> </tr> </table> <div style="height: 2px"></div> </if> </if> <div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;"> Loading... </div> <if condition="$vboptions[shout_editor_position]"> <if condition="$bbuserinfo[userid] > 0"> <div style="height: 2px"></div> <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td width='100%'> <input type="text" name="shout" style="width: 90%" class="bginput" /> </td> <td style='white-space:nowrap' width='1%'> <input type="submit" value="Shout" class="button" /> <if condition="$vboptions[shout_extra_options]"> <input type='button' class='button' value='Clear' onclick='sb_Clear()' /> <input type='button' class='button' value='Smilies' onclick='sb_Smilies(this)' /> <input type='button' class='button' style='font-weight:bold' value='B' onclick='sb_PropChange_Button(this, "fontWeight")' /> <input type='button' class='button' style='text-decoration:underline' value='U' onclick='sb_PropChange_Button(this, "textDecoration")' /> <input type='button' class='button' style='font-style:italic' value='I' onclick='sb_PropChange_Button(this, "fontStyle")' /> <select name='font_color' onchange='sb_PropChange(this, "color")'> {$DropDowns['color_selector']} </select> <select name='font_selector' onchange='sb_PropChange(this, "fontFamily")'> {$DropDowns['font_selector']} </select> </if> </td> </tr> </table> </if> </if> </td> </tr> </tbody> </table> </form> <script type='text/javascript'> <!-- postingShout = false function requestShouts() { if (!postingShout) { ShoutRequest = new vB_AJAX_Handler(true) ShoutRequest.onreadystatechange(showShouts) ShoutRequest.send('vbshout.php', 'nocache=' + (5 * Math.random() * 1.33) ) } } function showShouts() { if (ShoutRequest) { if (ShoutRequest.handler.readyState == 4 && ShoutRequest.handler.status == 200 && ShoutRequest.handler.responseText) { Shouts = fetch_object('vbshout') Shouts.innerHTML = '<table cellpadding="1" cellspacing="3" border="0" width="95%" align="left">' + ShoutRequest.handler.responseText + '</table>' setTimeout('requestShouts()', 10000) <if condition="$vboptions[shout_messages_order]"> document.getElementById('vbshout').scrollTop = 99999; </if> } } } function sb_CollectHV(sbForm) { rString = '' inputObjs = sbForm.getElementsByTagName('input') for (i = 0; i < inputObjs.length; i++) { if (inputObjs[i].type == 'hidden' && inputObjs[i].value != '') { rString += '&' + inputObjs[i].name + '=' + PHP.urlencode(inputObjs[i].value) } } return rString } function postShout(formObj) { doShout = new vB_AJAX_Handler(true) doShout.onreadystatechange(postedShout) if (postingShout) { alert('Posting in progress..') return false } Shout = formObj.shout.value if (Shout.replace(/ /g, '') == '') { alert('You must enter a shout!') return false } doShout.send('vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform'])) sb_Clear() postingShout = true return false } function postedShout() { if (doShout.handler.readyState == 4 && doShout.handler.status == 200) { postingShout = false requestShouts() } } function sb_Input_SC(sProperty, setting) { eval('document.forms["vbshoutform"].shout.style.' + sProperty + ' = "' + setting + '"') eval('document.forms["vbshoutform"].' + sProperty + '.value = "' + setting + '"') } function getSelectionValue(eSelector) { return eSelector.options[eSelector.options.selectedIndex].value == 'Default' ? '' : eSelector.options[eSelector.options.selectedIndex].value } function sb_PropChange(eSelector, sProperty) { sb_Input_SC(sProperty, getSelectionValue(eSelector)) } function sb_PropChange_Button_Value(sProperty) { trueValue = '' switch (sProperty) { case 'fontWeight': falseValue = 'bold' break; case 'textDecoration': falseValue = 'underline' break; case 'fontStyle': falseValue = 'italic' break; } return (eval('document.forms["vbshoutform"].' + sProperty + '.value'))? trueValue : falseValue } function sb_PropChange_Button(cButton, sProperty) { if (cButton.value.match(/\*/)) { cButton.value = cButton.value.replace(/\s+\*/, '') } else { cButton.value = cButton.value + ' *' } sb_Input_SC(sProperty, sb_PropChange_Button_Value(sProperty)) } function sb_Smilie(code) { document.forms["vbshoutform"].shout.value += ' ' + code return false } function sb_Clear() { document.forms["vbshoutform"].shout.value = '' return true; } function sb_Smilies(cButton) { if (cButton.value.match(/\*/)) { cButton.value = cButton.value.replace(/\s+\*/, '') } else { cButton.value = cButton.value + ' *' } document.getElementById('shout_emo').style.display = (document.getElementById('shout_emo').style.display == 'none')? '' : 'none' } requestShouts() --> </script> </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> <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://www.e-paylas.de/forum/vbshout.php?do=archive">Shout Arşivi</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> <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <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> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></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&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&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> <br /> <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"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="search.php" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="showposts" value="0" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="text" class="bginput" name="query" size="20" /> $gobutton<br /> </form> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </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&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['pmstats']"><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> </table> </div> <!-- / user cp tools menu --> </if> <!-- / 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></table><br/><br/><br/><br/><br/> </script></div></td><td width="100%" align="left" valign="top" style="padding-top: 10px; padding-bottom: 10px;"><div><div style="margin-bottom: 5px;"><div class="titlebg_tp" style="padding: 4px; font-weight: bold;"><a href="javascript: void(0);" onclick="toggle('19')"></a>E - R A D I O</div><hr><div style="padding: 4px; " id="block19"><div align="center"><br /><a href="http://www.sohbetim.ch:8252/listen.pls"><img src="http://www.e-paylas.de/forum/graymaster/eRadio.gif" width="224" height="119" border="0"></a><a href="http://www.e-paylas.de/forum/graymaster/winamp524_lite.exe"><img src="http://www.e-paylas.de/forum/graymaster/winamp.gif" width="117" height="118" border="0"></a><a href="http://www.e-paylas.de/forum/showthread.php?t=696"><img src="http://www.e-paylas.de/forum/graymaster/dj.gif" width="224" height="119" border="0"></a><br /></div></div></div><div style="margin-bottom: 5px;"> <script language="Javascript"> function toggle( targetId ) { var state = 0; var blockname = "block" + targetId; var blockimage = "blockcollapse" + targetId; if ( document.getElementById ) { target = document.getElementById( blockname ); if ( target.style.display == "none" ) { target.style.display = ""; state = 1; } else { target.style.display = "none"; state = 0; } document.getElementById( blockimage ).src = smf_images_url + (state ? "/collapse.gif" : "/expand.gif"); var tempImage = new Image(); tempImage.src = } } </script></div><br /><div align="center"> </div> PHP Code:
PHP Code:
|
#348
|
|||
|
|||
OK, your footer and leftcolumn are spot on.
Your column start code is completely missing from your header template though. Have you placed it somewhere else (eg navbar) or omited that step? |
#349
|
||||
|
||||
no i took it off because my site was loooking horrible and i had to take it of but usually it is there in botom of the header
|
#350
|
|||
|
|||
ok, something I just noticed. In your footer template (I missed it before) you have the end column code in there twice
Code:
<tr> <td class="footer"><div class="sdcopyright"> </div></td> </tr> </table> </td> </tr> </table> </td> </tr> </table></body> <!--EndSdFooter--> <!-- Left Column Code --> </td></tr> </table> </td></tr> </table> <!-- End Left Column Code --> After deleting that, try it again and report back with what happens. If possible, provide a link to your site and a test login if it is only affecting pages that are not accessible to guests. Also for debugging purposes, please enable HTML comments in your source as a temporary measure. This is done via vBOptions > General Settings > Add Template Name in HTML Comments > YES |
#351
|
||||
|
||||
oh i never noticed that let me see if it works when i take it off
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|