The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Right side column on forum home and forum display Details »» | |||||||||||||||||||||||||||||||||
Right side column on forum home and forum display
Developer Last Online: Sep 2022
Right side column on forum home and forum display
As the title says this mod simply puts a column on forumhome and forumdisplay pages. Installation: Download the attached XML file. Import the product. Edit navbar and footer templates. (See below) Add this to the very end of navbar template: HTML Code:
{vb:raw ss_rightcolumn_start} Add the code below to the first line of footer template: HTML Code:
{vb:raw ss_rightcolumn_end} Footer template after adding the code: Code:
{vb:raw ss_rightcolumn_end} <vb:if condition="!empty($ad_location['ad_footer_start']) or !empty($ad_location['global_above_footer'])"> <div style="clear: {vb:stylevar left}"> {vb:raw ad_location.ad_footer_start} {vb:raw ad_location.global_above_footer} </div> </vb:if> ...... Once you have installed the modification edit "SevenSkins - Templates > ss_rightcolumn_contents to put your advert or contents in the side column. Finally don't forget to click install. Thanks to Lynne for additional css plugin code which I used in this modification. PS. Do not use my side column mods together use only one. ================================================== == Code:
If you want to enable or disable this hack on different pages of the forum .. Edit the ss_rightcolumn_start and ss_rightcolumn_end templates: Find: <vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay'"> Edit it to ... for home page: <vb:if condition="THIS_SCRIPT == 'index'"> Edit it to ... for homepage, forumdisplay and showthread: <vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'showthread'"> ================================================== == Updates: 19 Jan 10: Upadted so the column tables can be seen on showtherad, etc pages .. - Save the code from "ss_rightcolumn_contents" template. (Code for ads, etc) - Revert template belonging to this product. - Then import the product over writting the existing installation. - Put your ad code in the "ss_rightcolumn_contents" template. 15 Jan 10: Updated for vBulletin 4.0.1 2 templates has been changed. - Save the code from "ss_rightcolumn_contents" template. (Code for ads, etc) - Revert template belonging to this product. - Then import the product over writting the existing installation. - Put your ad code in the "ss_rightcolumn_contents" template. 22 Dec 09: Working with vBulletin 4.0.0 (Gold) . Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
planetMitch |
Comments |
#52
|
|||
|
|||
Keep this alive...more options the better.
|
#53
|
|||
|
|||
Depending on the options available on vBs side column, people might still want to use a side column mod. At first glance, vBs side column may be a little to wide for my liking.
|
#54
|
|||
|
|||
Quote:
You can improve vb.com sidebar and adding another options to it like Member's Avatar |
#55
|
|||
|
|||
Quote:
|
#56
|
|||
|
|||
Please Help, i dont understand edit the navbar ? Insert the code in navbar ?
This is my code!. header HTML Code:
<div class="above_body"> <div id="header" class="floatcontainer doc_header"> {vb:raw ad_location.ad_header_logo} <div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> <div id="toplinks" class="toplinks"> <vb:if condition="$show['member']"> <ul class="isuser"> <li>{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li> <vb:if condition="$notifications_total"> <li class="popupmenu notifications" id="notifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a> <ul class="popupbody popuphover"> {vb:raw notifications_menubits} </ul> </li> <vb:else /> <li class="popupmenu nonotifications" id="nonotifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a> <div class="popupbody popuphover"> <p>{vb:rawphrase no_new_messages}</p> <p><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></p> </div> </li> </vb:if> <li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li> <li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase control_panel}</a></li> <vb:if condition="$show['registerbutton']"> <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li> </vb:if> <li><a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li> </ul> <vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment> <vb:else /> <ul class="nouser"> <vb:if condition="$show['registerbutton']"> <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li> </vb:if> <li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li> </ul> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script> <form action="login.php?{vb:raw session.sessionurl}do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})"> <fieldset id="logindetails" class="logindetails"> <div> <div> <input type="text" class="textbox default-value" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" onfocus="if (this.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>'){this.value=''; this.style.color='black';}" onblur="if (this.value == '') {this.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>'; this.style.color='#828282';}"/> <input type="password" class="textbox default-value" name="vb_login_password" id="navbar_password" size="10" tabindex="102" onfocus="this.style.color='black';" /> <input type="submit" class="loginbutton" value="{vb:rawphrase log_in}" tabindex="104" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /> </div> </div> </fieldset> <div id="remember" class="remember"> <label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" /> {vb:rawphrase remember_me}</label> </div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> </vb:if> </div> <div class="ad_global_header"> {vb:raw ad_location.global_header1} {vb:raw ad_location.global_header2} </div> <hr /> {vb:raw ad_location.ad_header_end} </div> </div> HTML Code:
<meta http-equiv="Content-Type" content="text/html; charset={vb:stylevar charset}" /> <meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="{vb:raw vboptions.bburl}" /> <base href="{vb:raw vboptions.bburl}/" /> <meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" /> <vb:if condition="$show['threadinfo']"> <vb:elseif condition="$show['foruminfo']" /> <meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" /> <meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, $pagenumber}-</vb:if>{vb:raw foruminfo.description_clean}" /> <vb:else /> <meta name="keywords" content="{vb:raw vboptions.keywords}" /> <meta name="description" content="{vb:raw vboptions.description}" /> </vb:if> <script type="text/javascript" src="{vb:stylevar yuipath}/yuiloader-dom-event/yuiloader-dom-event.js?v={vb:raw vboptions.simpleversion}"></script> <script type="text/javascript" src="{vb:stylevar yuipath}/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"></script> <script type="text/javascript"> <!-- var SESSIONURL = "{vb:raw session.sessionurl_js}"; var SECURITYTOKEN = "{vb:raw bbuserinfo.securitytoken}"; var IMGDIR_MISC = "{vb:stylevar imgdir_misc}"; var IMGDIR_BUTTON = "{vb:stylevar imgdir_button}"; var vb_disable_ajax = parseInt("{vb:raw vboptions.disable_ajax}", 10); var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}"; var BBURL = "{vb:raw vboptions.bburl}"; // --> </script> <script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script> <vb:if condition="$vboptions['externalrss']"> <link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2" /> <vb:if condition="$show['foruminfo'] OR $show['threadinfo']"> <link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} - {vb:raw foruminfo.title_clean} - {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2&forumids={vb:raw foruminfo.forumid}" /> </vb:if> </vb:if> <link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/reset-fonts/reset-fonts.css" /> <link rel="stylesheet" type="text/css" href="{vb:var vbcsspath}vbulletin.css,vbulletin-chrome.css,components.css,vbulletin-formcontrols.css<vb:if condition="$show['editor_css']">,editor.css</vb:if>" /> HTML Code:
{vb:raw ad_location.ad_footer_start} {vb:raw ad_location.global_above_footer} <div class="footercontainer"> <div class="footercontainer2"> <div id="footer" class="floatcontainer footer"> <form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select" class="footer_select"> <vb:if condition="$show['quickchooser']"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="{vb:rawphrase quick_style_chooser}"> {vb:raw quickchooserbits} </optgroup> </select> </vb:if> <vb:if condition="$show['languagechooser']"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="{vb:rawphrase quick_language_chooser}"> {vb:raw languagechooserbits} </optgroup> </select> </vb:if> </form> <ul id="footer_links" class="footer_links"> <vb:if condition="$show['contactus']"><li><a href="{vb:raw vboptions.contactuslink}" rel="nofollow" accesskey="9">{vb:rawphrase contact_us}</a></li></vb:if> <vb:if condition="$vboptions['hometitle']"><li><a href="{vb:raw vboptions.homeurl}">{vb:raw vboptions.hometitle}</a></li></vb:if> <vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if> <vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if> <vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php">{vb:rawphrase archive}</a></li></vb:if> {vb:raw template_hook.footer_links} <vb:if condition="$vboptions['privacyurl']"><li><a href="{vb:raw vboptions.privacyurl}">{vb:rawphrase privacy_statement}</a></li></vb:if> <vb:if condition="$vboptions['tosurl']"><li><a href="{vb:raw vboptions.tosurl}">{vb:rawphrase terms_of_service}</a></li></vb:if> <li><a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a></li> </ul> <vb:if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php?do=dst" method="post" name="dstform"> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff}; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </vb:if> <script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); //--> </script> </div> </div> </div> <div class="below_body"> <div id="footer_time" class="shade footer_time">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div> <div id="footer_copyright" class="shade footer_copyright"> <!-- Do not remove this copyright notice --> {vb:rawphrase powered_by_vbulletin} <!-- Do not remove this copyright notice --> </div> <div id="footer_morecopyright" class="shade footer_morecopyright"> <!-- Do not remove cronimage or your scheduled tasks will cease to function --> {vb:raw cronimage} <!-- Do not remove cronimage or your scheduled tasks will cease to function --> {vb:raw vboptions.copyrighttext} </div> {vb:raw ad_location.ad_footer_end} </div> Please exact insert code in my code. Thank you. |
#57
|
|||
|
|||
The navbar is a different template from the three you posted. You need to select "Edit Templates" instead of "Common Templates" in the Style Manager and then find the navbar template. And as it says in the instructions above add the line at the end of that template.
|
#58
|
||||
|
||||
Add this after the last line of your NAVBAR template. So this will be the last line in navbar template.
HTML Code:
{vb:raw sc_start} Add this before the first line of your footer template. So this will be the first line in the footer template. HTML Code:
{vb:raw sc_end} . |
#59
|
|||
|
|||
so on the 1st lot of text you posted add
{vb:raw sc_start} right at the very bottom ------------------------ here is the navbar location Steps as Pic 1 + 2. go edit templates 3. then Navigation / breadcrumbs template 4.navbar then at the very bottom of the text type {vb:raw sc_start} . |
#60
|
|||
|
|||
Quote:
Great attention-. The problem is very hard to add this code for people novice. Thank you. Hack Installed! |
#61
|
|||
|
|||
Quote:
Hey friend, thank you very much!!! I am very happy for yours replys. Thank you :-) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|