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
  #202  
Old 10-19-2011, 11:42 AM
ofir24 ofir24 is offline
 
Join Date: Oct 2011
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is any for the left side? and for vb 4.1.7?
Reply With Quote
  #203  
Old 11-09-2011, 04:30 AM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by John Lester View Post
My only issue with this hack is that the column is a few pixels higher than my forum display and I can't figure out how to adjust it I have tried adding padding as alluded to on page 11 ... or 10 .. whatever ... and it doesn't do anything.
I still can't figure this out. The column sits a few pixels higher than the forums do and it's kind of annoying

EDIT: Figured out how to "fix" it. This is on 4.1.5 pl3 (not sure if that matters )

Open the xml file

Find (adjusts forum display page column)

Code:
.ss_rightcolumn_index {
  width: 200px;
  overflow: hidden;
  margin-top: 44px;
Change the margin-top: to fit your site, for me it was 50px.

Find (adjusts thread display page column)

Code:
.ss_rightcolumn_other {
  width: 200px;
  overflow: hidden;
  margin-top: 1px;
Change margin-top (I had to change it to 90).

After you change the xml, import the changed xml and "allow overwight". Remember to refresh the page to see how the changes affected the column.
Reply With Quote
  #204  
Old 11-13-2011, 02:42 PM
WIJI SEJATI WIJI SEJATI is offline
 
Join Date: Jan 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have same problem
Quote:
Originally Posted by haidm View Post
Does anyone have the same problem with me?
Attached Images
File Type: jpg rsc.jpg (45.8 KB, 0 views)
Reply With Quote
  #205  
Old 11-13-2011, 07:52 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

Install this on default style and see if it works. if it works then you know you will have to fix something in your custom style.

And make sure you add these in the correct place.

Code:
{vb:raw ss_rightcolumn_start}
{vb:raw ss_rightcolumn_end}
Reply With Quote
  #206  
Old 11-14-2011, 01:34 AM
mirajane mirajane is offline
 
Join Date: Nov 2011
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as I understand.. it was just like sidebar right??
Reply With Quote
  #207  
Old 11-14-2011, 03:29 AM
WIJI SEJATI WIJI SEJATI is offline
 
Join Date: Jan 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done and Thank You very much.

Quote:
Originally Posted by Seven Skins View Post
Install this on default style and see if it works. if it works then you know you will have to fix something in your custom style.

And make sure you add these in the correct place.

Code:
{vb:raw ss_rightcolumn_start}
{vb:raw ss_rightcolumn_end}
Reply With Quote
  #208  
Old 11-14-2011, 08:21 AM
MikaN MikaN is offline
 
Join Date: Aug 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just upgraded from vb3.8 to 4.1.7 Patch level 2 and noticed that there is a small error in instructions:

Quote:
Find in footer template (top of footer template):
HTML Code:
{vb:raw ad_location.ad_footer_start}
Add above:
HTML Code:
{vb:raw ss_rightcolumn_end}
As the footer is now:
Quote:
<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>
<div id="footer" class="floatcontainer footer">
.. you have to add that {vb:raw ss_rightcolumn_end}

above <div id="footer" class="floatcontainer footer">

because otherwise it is inside that if-clause and it won't work if you don't have an ad on footer.

One question: How to center title and content?
Reply With Quote
Благодарность от:
ExoticAgenda
  #209  
Old 12-28-2011, 04:46 PM
Wajow-community Wajow-community is offline
 
Join Date: Dec 2009
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a login system there and i need a avatar link.. but nothing works.

How can a fix that {vb:raw post.avatarurl} works under Right Column?
Reply With Quote
  #210  
Old 12-29-2011, 08:16 PM
lem's Avatar
lem lem is offline
 
Join Date: May 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've attached a picture of my problem. I have this problem with both the right column and left column plugins.

Any ideas? It's like something isn't being cleared out.
Attached Images
File Type: jpg rightcolumnproblem.jpg (107.2 KB, 0 views)
Reply With Quote
  #211  
Old 01-15-2012, 02:51 PM
pcalloway pcalloway is offline
 
Join Date: Dec 2003
Location: Indiana
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got this hack working perfectly - thanks muchly.

Question - is it possible to set the conditional to display on the 'get new posts' results page? My users use New Posts a ton - great opportunity for additional impressions and clickthroughs.
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 11:52 PM.


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.07874 seconds
  • Memory Usage 2,360KB
  • 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
  • (6)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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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