vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Right side column on forum home only (https://vborg.vbsupport.ru/showthread.php?t=117989)

peterska2 06-07-2006 10:00 PM

Right side column on forum home only
 
This is a new release here. Previously released at www.peterska2.co.uk only.

In works on the exact same concept as the left side column, apart from the fact it is on the right.

Installation Instructions
Download the zip
Import the product
Make the template modifications
Click install


30 August 2006
Upgraded to version 1.0.2

Changes:
  • Now valid XHTML Trans
  • Fixed to work correctly with vBShout when located below navbar.
  • Added vB.org version checking.

GrendelKhan{TSU 06-08-2006 05:05 AM

AWESOME!! sooo installing once I finish upgrading boards :) thanks!

Darkfire122333 06-15-2006 01:47 AM

can this change to left?

Neal-UK 06-15-2006 08:43 AM

It's not showing on my site and i've done template edits and what not. Just got space where it should be.

peterska2 06-15-2006 11:08 AM

Quote:

Originally Posted by Neal-UK
It's not showing on my site and i've done template edits and what not. Just got space where it should be.

Sorry, there was an error in the instructions.

In your FORUMHOME template

FIND

Code:

$sidecolumn
REPLACE WITH

Code:

$forumhome_sidecolumn_right

peterska2 06-15-2006 11:09 AM

Quote:

Originally Posted by Darkfire122333
can this change to left?

The left side version can be found here

Neal-UK 06-15-2006 11:25 AM

Many thanks. Just to let you know, the older install.txt and product are in the zip also.

peterska2 06-15-2006 11:29 AM

I've updated the zip, so the details are correct(I just didn't change the date on the install instructions)

Adam21 07-13-2006 11:32 AM

i experienced a mysql error after i uninstalled and reinstalled this hack.here's the error message.

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Right Side Column 1', 'cache_templates', '$globaltemplates = array_merge($globaltemplates, array(\'forumhome_sidecolumn_right\'));', 'peterska2_sidecol_right');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Thursday, July 13th 2006 @ 08:29:57 AM
Script : http://www.adamboyforum.com/admincp/plugin.php
Referrer :
IP Address : 202.156.2.35
Username : Adam
Classname : vB_Database

peterska2 07-13-2006 11:35 AM

This modification has been written for 3.6.0 and will NOT work in 3.5.4

thenetbox 07-22-2006 12:10 AM

hello :) works great! Thank you :)

How can I make it wider? like forums should be around 80% and this should be about 20%?

peterska2 07-22-2006 12:32 AM

You can adjust the width by changing the 160px in this section of the code to your requirements

Code:

<!-- peterska2 side column -->
</td>
<td width="10px"></td>
<td valign="top" width="160px">


thenetbox 07-22-2006 12:43 AM

Thank you very much :)

thenetbox 07-22-2006 12:54 AM

One more small teeny weeny question. I copied the "What's going on" code section from FORUMHOME and pasted it in the side column but it doesn't show any of the dynamic areas like usernames. Is there something simple that can be added so that it could be passed those values? :)

thenetbox 07-28-2006 02:10 AM

one more question. Do you know if it is possible to easily add latest threads, birthdays and who's online on to the side bar? thanks

Renmiri 07-29-2006 01:34 PM

sweet!

will install asap, thanks!

Ooopsie!

:( 3.5.4 here...

Nevermind.. Hacked it to 3.5.4 :) (basically entered the template and plugins from the XML manually)

Also put it on most pages (forumdisplay, inferno, showthred, forumhome)

Check it out
http://sinsdawn.ffproject.net/showthread.php?t=126

ryans 08-02-2006 06:20 PM

Quote:

Originally Posted by Renmiri
sweet!

will install asap, thanks!

Ooopsie!

:( 3.5.4 here...

Nevermind.. Hacked it to 3.5.4 :) (basically entered the template and plugins from the XML manually)

Also put it on most pages (forumdisplay, inferno, showthred, forumhome)

Check it out
http://sinsdawn.ffproject.net/showthread.php?t=126

I guess if your not running 3.6 you could do this:

Templates to edit: FORUMHOME (2 edits)

Edit One

FIND
Code:

<thead>
        <if condition="$show['guest']">
        <!-- guest welcome message -->

ABOVE ADD
Code:

<!-- peterska2 side column -->
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<!-- / peterska2 side column -->

Edit Two

FIND
Code:

$footer
ABOVE ADD
Code:

<!-- peterska2 side column -->
</td>
<td width="10px"></td>
<td valign="top" width="160px">
<table class="tborder" border="0" width="100%" align="center">

PUT YOUR CONTENT HERE.


</table>
</td>
</tr>
</table>
<!-- / peterska2 side column -->


peterska2 08-02-2006 06:24 PM

As I have previously explained, there is a version for 3.5.4, but you need to contact me for details.

ryans 08-02-2006 06:40 PM

Sorry I didn't see that post. Anyway to add it to show thread?

peterska2 08-02-2006 06:56 PM

no, this modification is for forumhome only. amykhar has done a side column that shows on all pages.

Autocamel 08-28-2006 08:06 AM

Can this work on Photo Post Gallery index page?

Ascor 08-29-2006 02:01 AM

installed and work fine , thank you :)

maroceve 08-29-2006 10:36 AM

hey guys :)

can someone please help me add this to my cmps ?

jcodemasters 08-29-2006 02:53 PM

Thanks looks good

peterska2 08-29-2006 09:22 PM

For everyone asking to have this working on other pages:

I have no plans to expand it to cover other pages at this time. It is possible that in the future I may do additional versions for global useage or for specific other pages on the site, but as things stand these are right at the bottom of my to do list.

Alien 08-29-2006 09:58 PM

Hey peter!

Will you be also updating this one with the fixes as seen in the left column version? Especially the shoutbox fix? Thanks!

peterska2 08-29-2006 09:59 PM

Those are coming shortly, I'm going to be working on them once I've got a couple of other things sorted.

peterska2 08-29-2006 10:17 PM

Upgraded to version 1.0.2

Changes:

* Now valid XHTML Trans
* Fixed to work correctly with vBShout when located below navbar.
* Added vB.org version checking.

Alien 08-29-2006 10:50 PM

Thank you peter! I'll be using this on a new project and can't wait! :)

Shelley_c 08-29-2006 11:50 PM

First hack to ever be installed on my forum, I'm officially a hack addict. ;)

Thankyou Kerry. ;)

Alien 08-30-2006 01:57 AM

Hey question.. I was toying around with this, and trying to take out the statistics "Posts: 10 Threads: 1 Members: 1 , Welcome today's newest member" etc. and the variable does not show up when i put it in a sidebar box.. Any idea how to fix that? I want to trim the length of the *forumhome* by putting some information in various side boxes...

peterska2 08-30-2006 02:03 AM

those variables only work in the forumhome template.

If you find in your forumhome template

Code:

$forumhome_sidecolumn_right
</table>

and add below the code for the whats going on box then it will work. You will need to change some of the phrases to get them to fit without breaking the layout.

mr_wizard 09-05-2006 07:17 AM

This works great, just what i've been looking for. Thanks peterska2.

Computer Tech Support USA

VBUsers 09-06-2006 09:28 PM

ive installed this and everything that belongs on the right is at the bottom of the page. what did i do wrong?

peterska2 09-06-2006 09:37 PM

it is something to do with the content that you have in your column template.

There should be no closing table tag at the end of it, and no starting table tag at the beginning of it.

VBUsers 09-06-2006 09:40 PM

Quote:

Originally Posted by peterska2
it is something to do with the content that you have in your column template.

There should be no closing table tag at the end of it, and no starting table tag at the beginning of it.

well i dont get it cause it works fine for 1 template and i just copied the content over and it wont work this time.

im making the same edits as i did before and the content does have tables. i can share it with you and you can see for your self if you like?

mIRCnet 09-18-2006 07:53 AM

Thanks Peterska

taherk 09-18-2006 09:53 PM

After installing this i am getting horizontal scroll bar and my whole forums seems to have shifted by 160px.. what can I do to prevent this

peterska2 09-18-2006 10:46 PM

whats your URL? The one in your profile is invalid.

taherk 09-19-2006 03:20 AM

My URL is techjobs.co.in

I tried right column, then left column mod you have provided... it works fine on wide screens. however on 14 inch monitor user has to scroll


All times are GMT. The time now is 02:56 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.01619 seconds
  • Memory Usage 1,813KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete