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
Twin columns on forum home and forum display Details »»
Twin columns 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-15-2009 Last Update: 01-18-2010 Installs: 58
Uses Plugins Template Edits
 
No support by the author.

Twin columns on forum home and forum display

As the title says this mod simply puts a column on both sides forumhome and forumdisplay pages.

Great mod for google skyscrapper ads.

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_twincolumns_start}



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


Footer template after adding the code:
Code:
{vb:raw ss_twincolumns_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>

......




It is recommended that you should edit doc_minwidth to 950 and doc_margin to Top=0 Right=10 Bottom=0 Left=10 .. so that you have more space for forums and contents won't get squashed.


Once you have installed the modification edit "SevenSkins - Templates > ss_twincolumns_left_contents and ss_twincolumns_right_contents to put your advert or contents in the side columns.


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_twincolumns_start and ss_twincolumns_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: Updated
- Save the code from "ss_twincolumn_left_contents" and "ss_twincolumn_right_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_twincolumn_left_contents" and "ss_twincolumn_right_contents" template.



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



22 Dec 09: Working with vBulletin 4.0.0 (Gold)


.

Download Now

File Type: xml product-sevenskins_twin_column_1.2.0.xml (7.7 KB, 328 views)

Screenshots

File Type: png tc01.png (95.7 KB, 0 views)

Show Your Support

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

Comments
  #82  
Old 01-18-2014, 08:33 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crazyboy1661 View Post
this mod is not working on 4.2.2 any updates please?????
This mod hasn't been updated in 4 years.

You may want to try this other mod that does work with 4.2.2:
https://vborg.vbsupport.ru/showthread.php?t=236960
Reply With Quote
Благодарность от:
crazyboy1661
  #83  
Old 01-18-2014, 08:52 AM
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 crazyboy1661 View Post
this mod is not working on 4.2.2 any updates please?????

This mod works perfectly on 4.2.2 see this demo: http://www.sevenskins.com/forum/forum.php?styleid=44


Quote:
Originally Posted by bzcomputers View Post
This mod hasn't been updated in 4 years.

No need for update as it works.
If it ain't broke don't fix it
Reply With Quote
Благодарность от:
crazyboy1661
  #84  
Old 01-19-2014, 01:04 PM
crazyboy1661 crazyboy1661 is offline
 
Join Date: Jan 2011
Location: India
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Seven Skins. I have installed and edited those mentioned files. Can you pls have a look on my site? I got some error. PMed my site address.

And you have mentioned to edit this..
HTML Code:
It is recommended that you should edit doc_minwidth to 950 and doc_margin to Top=0 Right=10 Bottom=0 Left=10 .. so that you have more space for forums and contents won't get squashed.
I am confused..where to edit this? Searched in your template but found nothing.
Reply With Quote
  #85  
Old 06-20-2014, 01:43 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to use this on one side and still have the Vb forumblock on the other side?
Reply With Quote
  #86  
Old 06-20-2014, 02:23 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bzcomputers View Post
This mod hasn't been updated in 4 years.

You may want to try this other mod that does work with 4.2.2:
https://vborg.vbsupport.ru/showthread.php?t=236960
This is not a sidebar mod. It is for organizing sub forums.
Reply With Quote
  #87  
Old 06-20-2014, 02:25 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martyh View Post
Thanks SS, it works fine with a new install. I really didn't have too much installed other than the basic program on default style and a couple of mods though. As I add those mods back in I'll let you know which one causes a problem for your reference, again I appreciate the help. Thanks
Did you figure out what mod was impacting this? I am having the same issue.
Reply With Quote
  #88  
Old 06-20-2014, 04:35 PM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Quote:
Originally Posted by bzcomputers View Post
This mod hasn't been updated in 4 years.

You may want to try this other mod that does work with 4.2.2:
https://vborg.vbsupport.ru/showthread.php?t=236960


This is not a sidebar mod. It is for organizing sub forums.
The other mod I linked is a sub-forum organizer too.

Glad to hear this one still works too.
Reply With Quote
  #89  
Old 06-20-2014, 04:51 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod in this thread that has not been updated is not anything to do with subforums. It is a sidebar mod.
Reply With Quote
  #90  
Old 06-20-2014, 04:53 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
This mod works perfectly on 4.2.2 see this demo: http://www.sevenskins.com/forum/forum.php?styleid=44





No need for update as it works.
If it ain't broke don't fix it
I had the space showing but no content showing. 4.2.
Reply With Quote
  #91  
Old 06-20-2014, 09:03 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe this was due to a heavily modified site. I ended up using Vbadvanced integration. was fairly easily though took awhile to get things aligned. Not using the entire cms, just the modules on the left side of the forum page and others.

This mod would probably be easier though but just would not work on this site.
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:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06681 seconds
  • Memory Usage 2,362KB
  • Queries Executed 28 (?)
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
  • (8)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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