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
  #32  
Old 12-05-2009, 06:38 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

^ That is not possible to do with this hack.
Reply With Quote
  #33  
Old 12-05-2009, 08:00 PM
crashys crashys is offline
 
Join Date: Oct 2003
Location: Lisboa
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
Mod Updated ...
You can edit "sc_other" class in sc_css.css template and chnage the paddding from 0px to say 100px or 120px .... and do this till the side coulmn aligns where you want. You may need to press ctrl + f5 to see the effect in your forum.

You can add "margin-right: 230px" to your add code .. but this will move the ad on all the pages you will have to IF statement to sort this.
Thanks for your help, it worked.
Reply With Quote
  #34  
Old 12-05-2009, 08:16 PM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
Edit sc_start and sc_end template.
Find:
Code:
<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay'">
Say if want to show this on blogs:
Code:
<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'blog'">
Thanks - but since I'm no coder, I tried your workaround using 'postbit' instead of 'blog' and nothing happened.

How can I get the side column to appear on the postbit & postbit legacy templates?

Mike
Reply With Quote
  #35  
Old 12-05-2009, 09:35 PM
Baf_Jams Baf_Jams is offline
 
Join Date: Mar 2008
Location: Derby UK
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect till i login ?

Then it moves it to the bottom of the page ?
Reply With Quote
  #36  
Old 12-05-2009, 11:39 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 guvner View Post
Thanks - but since I'm no coder, I tried your workaround using 'postbit' instead of 'blog' and nothing happened.

How can I get the side column to appear on the postbit & postbit legacy templates?

Mike
Try this:
THIS_SCRIPT == 'showthread'




Quote:
Originally Posted by Baf_Jams View Post
Works perfect till i login ?

Then it moves it to the bottom of the page ?
Make sure the template edits are correct.

.
Reply With Quote
  #37  
Old 12-06-2009, 08:26 AM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
Try this:
THIS_SCRIPT == 'showthread'
Perfect - many thanks! :up:

Mike
Reply With Quote
  #38  
Old 12-06-2009, 02:08 PM
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Location: Germany~Offenburg
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!
Reply With Quote
  #39  
Old 12-06-2009, 03:55 PM
Baf_Jams Baf_Jams is offline
 
Join Date: Mar 2008
Location: Derby UK
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
Make sure the template edits are correct..
Thanks I had the navbar one at the top instead of bottom

all fully working now
I put a T/s script in the content and a clock
can be seen working here (on right obviously)

www.bafsquad.com
Reply With Quote
  #40  
Old 12-07-2009, 05:59 PM
wragge11 wragge11 is offline
 
Join Date: Jul 2007
Location: UK
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to add CMS widgets?
Reply With Quote
  #41  
Old 12-07-2009, 09:51 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mr. Seven Skins
I did some changes to the product as shown in the example on my site demo

Please help and make sure it is correct

changes:

- cancellation showing in the forumdisply
- amendment to the template to show a group of boxes and media links
- make the column appear between Navbar and Statistics of the forum

Deom
http://www.alra7ba.net/forums/forum.php?langid=1



user = vBulletin (as mod)
pass = 123456

if it is correct plzz add the product in attch. and upgrade the orignal mod
or add product as second option
________
ASIAN YOUNG
Attached Files
File Type: xml product-sevenskins_sidecolumn_Dr.xml (19.3 KB, 14 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 11:03 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.05527 seconds
  • Memory Usage 2,357KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_html
  • (6)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
  • (4)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