Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Right side column on forum home and forum display Details »»
Right side column on forum home and forum display
Version: 1.2.0, by Seven Skins Seven Skins is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.x Rating:
Released: 12-03-2009 Last Update: 01-18-2010 Installs: 223
Uses Plugins Template Edits
 
No support by the author.

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}
PS. After edit the code above must be the last line in the navbar template.



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

File Type: xml product-sevenskins_right_column_1.2.0.xml (6.0 KB, 1105 views)

Screenshots

File Type: png rc01.png (102.2 KB, 0 views)
File Type: png rc02.png (89.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
planetMitch

Comments
  #142  
Old 02-24-2010, 08:57 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by childfun View Post
If I want to change the color of the headers in the right column, do you know what I change in stylevars? I have been trying for a long time and am not getting it...
forumhead_background
Reply With Quote
  #143  
Old 03-07-2010, 04:03 PM
Suzie Suzie is offline
 
Join Date: May 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BAJR View Post
Hi there... great mod... installed and happy.. apart from one thing



http://www.bajrfed.co.uk/forum.php

notice that the google ads and footer are directly under the righthand column.

I placed this code
{vb:raw ss_rightcolumn_start} at teh bottom of the navbar template
and this
{vb:raw ss_rightcolumn_end} at the start of footer template

baffled? I am
I have the same issue, did you find a fix?
Reply With Quote
  #144  
Old 03-07-2010, 05:19 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See the screenshot of vBulletin 402 it works without any problem.
There is an issue with other edited you have done.
Attached Images
File Type: png 1498.png (34.6 KB, 0 views)
Reply With Quote
  #145  
Old 03-07-2010, 09:21 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
See the screenshot of vBulletin 402 it works without any problem.
There is an issue with other edited you have done.
Any way to be able to have this 'before' the forum block, or even better, the forum block to be underneath?

It seems to be taking up too much screen realestate if they are side by side.

Ideally, I would like the 'Forum Sponsors' section to be just to the right of the normal forum, then to have the 'Forum Block's' under the 'Forum Sponsors'..

Any help appreciated.
Reply With Quote
  #146  
Old 03-16-2010, 01:53 PM
mdoliwa mdoliwa is offline
 
Join Date: Jan 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I'm trying to show some banners for one forum only, I'm doing something like this in content template:
<vb:if condition="$forum[forumid] == 46"> WORKS</vb:if>

But it doesn't work, I heard something about variables registering ... any idea how to make it work ?

Thanks for help.
Reply With Quote
  #147  
Old 03-16-2010, 08:24 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this.

Code:
<vb:if condition="$GLOBALS['forumid'] == 5"> Hello this is forum 5</vb:if>
Reply With Quote
  #148  
Old 03-17-2010, 09:09 AM
mdoliwa mdoliwa is offline
 
Join Date: Jan 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working now, thank you.
Reply With Quote
  #149  
Old 04-03-2010, 01:49 PM
sarangan sarangan is offline
 
Join Date: Jun 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thieu.bocap View Post
Error when i import this Mod!

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/xxx/public_html/xxx/includes/adminfunctions_template.php(5116) : eval()'d code on line 3

Parse error: syntax error, unexpected $end in /home/xxx/public_html/xxx/includes/adminfunctions_template.php(5116) : eval()'d code on line 4


Please help!
I have exactly the same problem. Anyone have a fix for this..
Reply With Quote
  #150  
Old 04-22-2010, 02:51 PM
NolanChart NolanChart is offline
 
Join Date: Apr 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kiddo1cnc View Post
Installation:
Download the attached XML file.
Import the product. <-- how do I import?

I am in my admin and styles/templates
then Download/Upload Styles.
I tried to import but keeps giving me an error saying it is an invalid file specified.
Am I installing correctly?
For others who run into this same problem in vb4...

You need to upload the xml file using:
Plugins & Products > Manage Products

not
"Styles & Templates > Style Manager"

or
"Plugins & Products > Add New Plugin"
Reply With Quote
  #151  
Old 06-07-2010, 04:05 AM
unfv unfv is offline
 
Join Date: Apr 2008
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, thanks for the mod, is there any way to solve this? the moderation check is been almost hidden by the Google Adsense add
Attached Images
File Type: jpg VP031.jpg (9.3 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06497 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete