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

Reply
 
Thread Tools
Ultimate Side Columns Details »»
Ultimate Side Columns
Version: 1.00, by peterska2 peterska2 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.5 Rating:
Released: 03-11-2007 Last Update: Never Installs: 582
 
No support by the author.

Ultimate Side Columns
By Kerry-Anne www.peterska2.co.uk

Welcome to Ultimate Side Columns!

Introduction

Following the success of the left and right side column modifications, and building on their weaknesses, the Ultimate Side Columns system was born.

Ultimate Side Columns (USC) is your one stop shop for all your side columns needs. It is an easy to configure, all in one solution.


Features

USC uses a standard vBulletin Options Interface with minimal template editing involved, to display content in columns on your site.

USC controls both the left and right columns on your site, both of which work independently of each other, and can be displayed on a range of pages through some very simple options.

The only editing required for a standard installation is the header and footer template. For advanced users, the templates for the two columns can also be edited if required. Most users of this system will not need to do this.


Installation

Import the product-ka_ultimate_sidecolumns.xml file as a product through your product manager.

Open your header template and at the very end add
Code:
<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->
Open your footer template and above
Code:
$spacer_close
add
Code:
<!-- USC footer edit start -->
</td>
$usc_right
</tr>
</table>
<!-- USC footer edit end -->
That is all your template editing done.

Now, go to vBulletin Options > Ultimate Side Columns Options

Here you can set which column you wish to use, and where you want it to appear. Content is also controlled through the options on this page. HTML is allowed in all content boxes.


Configuration

As there are a number of options available, this section explains them all.

First, you have the settings for enabling and disabling the two columns. As these work independently of each other, you can have the left column turned on, the right column turned on, or both turned on. If you need to turn them off for any reason, you can also turn them off here. Also, if you need to disable plugins for any reason, the code is completely disabled meaning that no unsightly white gaps are left on your pages.

Next, we have the width settings for the two columns. If you find that your columns are too wide, or too narrow, then they can be adjusted independently here.

The display pages settings allow you to control where your columns are displayed. These are pretty straightforward, with the exception of the setting adsense appropriate. This option stops the column from being displayed on the following pages in line with the adsense TOS:
- search
- search results
- registration
- contact us
- usercp
This is correct as of todays date. Any changes in the TOS for adsense will only be reflected in any updates as appropriate.

Next are the settings for the content of the left column, followed by the content of the right column. Both sections are prefixed by a blank setting. This is by design and there is not a bug with the code or anything missing.


Adding More Blocks

By design there are five (5) blocks per column. Some people may require more than this. To allow for this, comments have been added to both the usc_sidecolumn_left and usc_sidecolumn_right templates. The comments include a commented out section of code to use as a template for additional blocks. There are also some warning comments present in both templates. Take heed of these as editing other than the places indicated will result in the templates being malformed and the USC system not working correctly.


Support

Support for this modification is extremely limited. However, as everything apart from the two small template edits is controlled directly through the vBulletin options and not through template editing, issues should be minimal.

If you have any other combinations of pages that you would like to see available for the column options, please post them in the support thread ensuring that you add the title "USC Page Combination Request" to your post, or use this as the first line of your post ensuring that it is in bold text. This is very specific as due to the limited nature of support and time, the support thread will only be quickly skimmed through and therefore requests may be missed if it is not clear what they are.


The screenshots attached to this post and the next one show a range of pages with a range of column combinations. They are not labeled but they are pretty self explanatory.

Enjoy the USC system.

Kerry-Anne




PLEASE NOTE: This modification is unsupported. You may not receive a reply right after posting. Please try and help each other out. I do not support custom styles. If this does not work in your style, and you can confirm that it does not work in the default style (with a link and screenshot) then you will need to resolve the problem yourself. I also do not support any versions earlier than 3.6.5 in any way, shape or form. If you are using it on a version prior to 3.6.5 then no support at all will be provided.



Version 2.0 information


Version 2.0 has been released and can be found here:
https://vborg.vbsupport.ru/showthread.php?t=175181

Show Your Support

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

Comments
  #282  
Old 08-22-2007, 06:34 AM
MPDesignZ MPDesignZ is offline
 
Join Date: Feb 2007
Location: Daytona Beach, FL
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I need help putting in a php code inside a block in this hack. I'm using simple pie for a rss feed and want to put in the following code into the block so that it shows up in the column like regular links:

Code:
<?php

require_once('simplepie.inc'); // Change this location to match where you uploaded the simplepie.inc file to.



$feed = new SimplePie();

$feed->set_feed_url('http://ml-implode.com/rss.xml');

// For everything else, we'll assume default settings

$feed->init();



echo '<ul class="feed">';



// We'll loop through all of the items in the feed and display a linked title for each of them.

foreach($feed->get_items() as $item)

{

    echo '<li><a href="' . $item->get_permalink() . '" target="_blank">' . $item->get_title() . '</a></li>' . "\n";

}



echo '</ul>';
?>
For some reason I do not get the actual feed URL's but just the raw code that shows up. Any help would be great!

TIA!
MP
Reply With Quote
  #283  
Old 08-22-2007, 07:31 AM
xman_79's Avatar
xman_79 xman_79 is offline
 
Join Date: Jun 2006
Location: Romania
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed .

Thanks
Reply With Quote
  #284  
Old 08-22-2007, 12:17 PM
remlle remlle is offline
 
Join Date: Oct 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway to make these floating so they stay with the user as they scroll down?
Reply With Quote
  #285  
Old 08-22-2007, 06:09 PM
wickland wickland is offline
 
Join Date: Jul 2007
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome EmpireZ, that did the trick, now I got 20 blocks on each side, editable from the options panel.

Thanks!
Best Regards
Reply With Quote
  #286  
Old 08-22-2007, 06:38 PM
kholland kholland is offline
 
Join Date: Jul 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi All,

This mod is great...just having a little trouble with it.

Does any of you have your sidebars a fixed width (I assume most would)? I can't get the middle or main section to collapse when the browser is shrunk.

Any ideas would be very appreciated!
Reply With Quote
  #287  
Old 08-23-2007, 01:44 PM
bruuuuce bruuuuce is offline
 
Join Date: Jan 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have read of two others that have this slow loading issue, but no solutions. It is a result of this code

<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->

Right after the header loads, the forum loading pauses then continues as normal.

Anyone have a solution for this?



Quote:
Originally Posted by KHALIK View Post
Increased delayed of loading time of forum when this mod is installed.

I installed this mod with out any problems, with default columes. Only used one right-handside colum with no text or image.

I noticed there was a significent delayin the load time when that hack is installed. When I uninstalled this hack, the delay was removed.


Are you getting the same problem?

Quote:
Originally Posted by deep_blue View Post
Hi

Is there anybody else facing problem of page laoding a bot slow. The header comes first and then remaining page where sides bars are thee, appear after a lag of 10 seconds or so?? what could be the reason
Reply With Quote
  #288  
Old 08-24-2007, 01:01 AM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know of a way to get this to show only to certain usergroups?
Reply With Quote
  #289  
Old 08-24-2007, 09:08 AM
peterle1 peterle1 is offline
 
Join Date: Nov 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great mod and works perfect.

The only problem we have is that "Display Pages For XXX Column" doesn't offer to many choices.
Maybe it would be possible in a next version to combine choices.

Another problem that we have is that we don't want the colmns to appear in the photopost addons, but we don't know how to do it.

Maybe someone has some hints for us.
Reply With Quote
  #290  
Old 08-25-2007, 02:33 AM
EmpireZ EmpireZ is offline
 
Join Date: Aug 2007
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brew View Post
Does anyone know of a way to get this to show only to certain usergroups?
Just add a array for the usergroup to show in the usc_side template.
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6)))">

Quote:
Another problem that we have is that we don't want the colmns to appear in the photopost addons, but we don't know how to do it.

Maybe someone has some hints for us.
Use a <if> condition, script for photopost in the beginning of the header template using != to stop it from showing.
Reply With Quote
  #291  
Old 08-25-2007, 01:48 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EmpireZ View Post
Just add a array for the usergroup to show in the usc_side template.
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6)))">
Man I have been searching for days for this bit of code to find what usergroup someone is a member of.

Thank you very much!

The whole reason I needed this is because there is not a mod for vB, that I can find, where you can have a side column with links to important parts of the site and other things (like latest X posts etc) and also have advertisements. But the part where the advertisements can be turned off for a certain usergroup (in my forum it's usergroup 9 for Sponsors).

As it is I have to use the vBAdManagement mod to show the links and adverts. And then use this to just show the links and other things without the adverts.

It would be really nice to see a mod where we can have a side column where only the adverts can be turned off leaving other things intact.

But this is working with the code EmpireZ gave me. I just changed the 6 to a 9 in the array and added the code to the top of the usc_sidecolumn_right template of the mod (and the </if> statement at the end).
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:31 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.05342 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete