Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Left side column on forum home and forum display Details »»
Left 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-12-2009 Last Update: 01-18-2010 Installs: 64
Template Edits
 
No support by the author.

Left 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)


Find in navbar template:
HTML Code:
<div class="body_wrapper">
Add below:
HTML Code:
{vb:raw ss_leftcolumn_start}




Add the code below to the first line of footer template:
HTML Code:
{vb:raw ss_leftcolumn_end}


Footer template after adding the code:
Code:
{vb:raw ss_leftcolumn_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_leftcolumn_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_leftcolumn_start and ss_leftcolumn_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:
15 Jan 10: Updated
- Save the code from "ss_leftcolumn_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_leftcolumn_contents" template.


15 Jan 10: Updated for vBulletin 4.0.1
2 templates has been changed.
- Save the code from "ss_leftcolumn_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_leftcolumn_contents" template.


22 Dec 09: Working with vBulletin 4.0.0 (Gold)


.

Download Now

File Type: xml product-sevenskins_left_column_1.2.0.xml (5.8 KB, 452 views)

Screenshots

File Type: png lc01.png (97.5 KB, 0 views)
File Type: png lc02.png (89.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-08-2010, 03:27 PM
greenchicken greenchicken is offline
 
Join Date: May 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have 2 skins... 1 adfree and one regular... how do I remove this from only the ad free style?
Reply With Quote
  #33  
Old 01-08-2010, 08:25 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

revert the template edits you done to the ads free style.
Reply With Quote
  #34  
Old 01-08-2010, 08:34 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 Doctor Death View Post
Thats a great idea... I am trying to have pictures with their names below them, two across.

can you give me a sample of what that HTML code would look like?

Thank you again.
If you are going to add members photo's manually you can make a widget with "Static HTML" and use something similar to this code below.

HTML Code:
<table cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td>Image 1</td>
    <td>Image 2</td>
  </tr>
  <tr>
    <td>Image 3</td>
    <td>Image 4</td>
  </tr>
</table>

But if you to add the images automatically then you will have to make a PHP Direct Execution widget.


.
Reply With Quote
  #35  
Old 01-20-2010, 08:57 AM
openmind openmind is offline
 
Join Date: Feb 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Wished I'd found this sooner and I would have got two hours of my life back
Reply With Quote
  #36  
Old 03-09-2010, 08:58 AM
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Location: Still On Earth
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed again work great on Vb 4.0.2 PL 1
Reply With Quote
  #37  
Old 03-14-2010, 09:25 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tafreeh View Post
this feature is now default by Vb
Yes for the CMS, but also for the forum.php?

Is there a simple way to enable/disable the column? I want the users give the possibility to click it away or get it back.

Thanks for the Add!
Bruno
Reply With Quote
  #38  
Old 03-16-2010, 11:08 AM
nirvana43's Avatar
nirvana43 nirvana43 is offline
 
Join Date: Oct 2007
Location: Pune, India
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not displaying correct style on vBulletin 4.0.2
Can you please help?
Reply With Quote
  #39  
Old 03-16-2010, 08:17 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

What seems to be the issue?
Reply With Quote
  #40  
Old 03-17-2010, 01:33 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great,

Thank You.

I too would like this to be inline with my Main Forum ** Please see a 'before' and 'after' screenshot of how I would like it.

I would also like the "What's going on box" to be 100% width of the forum too.


Would you be kind enough as to tell me how I would do this please?

As soon as I am able to do Both of the above, I will Rate and Nominate.


Many Thanks.
Attached Images
File Type: gif Left-Ad-before.gif (43.7 KB, 0 views)
File Type: gif Left-Ad-after.GIF (43.6 KB, 0 views)
Reply With Quote
  #41  
Old 03-17-2010, 02:21 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use FireBug to get into the Html-Code and test margins etc.
Reply With Quote
Reply

Thread Tools

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:09 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.07283 seconds
  • Memory Usage 2,339KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_html
  • (2)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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