vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Left side column on forum home and forum display (https://vborg.vbsupport.ru/showthread.php?t=230111)

Seven Skins 12-12-2009 10:00 PM

Left side column on forum home and forum display
 
1 Attachment(s)
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)


.

RamisK 12-13-2009 03:24 PM

very usefull. thanks

g00gl3r 12-13-2009 04:53 PM

Reserved. I need this. :)

Thanks. :D

tafreeh 12-13-2009 06:27 PM

this feature is now default by Vb, unless you have got something extra in it... do you ?

HMBeaty 12-13-2009 06:38 PM

Quote:

Originally Posted by tafreeh (Post 1930079)
this feature is now default by Vb, unless you have got something extra in it... do you ?

IMO, it looks better than the default and the default one is too wide for some people (as stated in the other thread)

bluidkiti 12-13-2009 07:12 PM

I definitely like this better than the default one! And it doesn't bounce when you go to the index page. :-)

HMBeaty 12-13-2009 07:15 PM

Quote:

Originally Posted by bluidkiti (Post 1930101)
How would you do this if you just want it to show on FORUMHOME page?

I definitely like this better than the default one!

You COULD edit the XML file and change:
HTML Code:

<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay'">
to
HTML Code:

<vb:if condition="THIS_SCRIPT == 'index'">
and re-import

bluidkiti 12-13-2009 07:39 PM

1 Attachment(s)
When I add a third section the white background for doc_background shrinks. Noted in images below:

Attachment 107502

Attachment 107503

I would really love to be able to add more sections to the column.

bluidkiti 12-13-2009 07:44 PM

Fixed it! :-)

Alecsmith 12-14-2009 06:01 AM

Install working fine :)

Thanks

Alecsmith 12-14-2009 05:35 PM

I am finding
PHP Code:

<div class="body_wrapper"

Code in VB4 5 Beta and both side column are not align check home page link.

http://www.earningpalace.com/forum

badawidollah 12-15-2009 12:14 AM

i dont see install button

saviola8x 12-15-2009 06:56 AM

how to show Left side column on showthread ?

Seven Skins 12-15-2009 03:10 PM

Quote:

Originally Posted by Alecsmith (Post 1930641)
I am finding
PHP Code:

<div class="body_wrapper"

Code in VB4 5 Beta and both side column are not align check home page link.

http://www.earningpalace.com/forum

1 - This is not for Beta 5 it is for RC2.

2 - you cannot use both side coulmns togather (I am working on column on both sides.)

3 - you may edit the css template for rightcolumn and move the column up/down.

Seven Skins 12-15-2009 03:12 PM

Quote:

Originally Posted by saviola8x (Post 1930986)
how to show Left side column on showthread ?

edit ss_leftcolumn_end and ss_leftcolumn_start templates
HTML Code:

<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'showthread'">

.

hendri 12-22-2009 11:34 PM

i like it ! thanks !

thangbinh 12-25-2009 12:07 AM

thanks, very cool

suryoyena 12-28-2009 12:33 AM

Good thing - thanks. I think I will use it.

Is it possible to use the widgets in the column?

Like recent forum comments, blog comments, etc..


Would be nice.

merry xmas,
chris

jnrdavo 12-28-2009 02:46 AM

great product, but how do I move the column first head down so it is level with the first forum (ie, mine is called 'forum rules')...

At the moment, the left column head is level with teh forum text, not the forum headers.

jnrdavo 12-28-2009 02:54 AM

one more question.

My ads (in swf format) and coming out squashed...

They are 160px x 620px (approx), what tempate(?) would I adjust to get them to display correctly? Can the border also be removed?

Many thanks.

crashys 12-28-2009 11:08 AM

Hi there, first of, great work with the mod! Really usefull :)
Just one question, is it possible to make the 'What's Going On?' column so that it looks like in this mod? It would be just perfect If it were possible to get it filling the bottom of the forums. Thanks in advance for your time and work, really great job.

Seven Skins 12-28-2009 02:24 PM

Hmm, After editing forumhome template .. this will work only on forumhome not other pages.

.

crashys 12-28-2009 05:28 PM

Quote:

Originally Posted by Seven Skins (Post 1940435)
Hmm, After editing forumhome template .. this will work only on forumhome not other pages.

.

That's precisely what I wanted. Can you guide me how to do it?

Here is my forum link.

Thanks

Verionia 12-29-2009 03:32 AM

so this works with vbulletin suite gold?

Seven Skins 12-29-2009 12:29 PM

Quote:

Originally Posted by crashys (Post 1940635)
That's precisely what I wanted. Can you guide me how to do it?

Here is my forum link.

Thanks

I will try it out and let you know later.

Quote:

Originally Posted by Verionia (Post 1941158)
so this works with vbulletin suite gold?

Yes it does.

crashys 12-29-2009 07:29 PM

Quote:

Originally Posted by Seven Skins (Post 1941479)
I will try it out and let you know later.

:up:

Alecsmith 01-02-2010 12:21 PM

How to reduce space and make it small it like twine banners my forum link in my siggy space.

Doctor Death 01-08-2010 01:35 AM

I have a series of member photographs, very small... 99 pixels wide.

I would like to know if I could display my members photos on the left panel two-by-twos using this product.

all of the images are 99 x 84 pixels wide, so I imagine using some form of html table.

what would you recommend and do you think this would be an appropriate product to do this with or is there something native in Vbulletin that would be better?

(I only want them displayed on the main CMS landing page)

Thanks!

Seven Skins 01-08-2010 09:48 AM

For cms page you can make a html widget with a table to put your images.

Doctor Death 01-08-2010 10:58 AM

Quote:

Originally Posted by Seven Skins (Post 1950251)
For cms page you can make a html widget with a table to put your images.

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.

greenchicken 01-08-2010 03:27 PM

I have 2 skins... 1 adfree and one regular... how do I remove this from only the ad free style?

Seven Skins 01-08-2010 08:25 PM

revert the template edits you done to the ads free style.

Seven Skins 01-08-2010 08:34 PM

Quote:

Originally Posted by Doctor Death (Post 1950295)
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.


.

openmind 01-20-2010 08:57 AM

Installed. Wished I'd found this sooner and I would have got two hours of my life back ;)

Alecsmith 03-09-2010 08:58 AM

installed again work great on Vb 4.0.2 PL 1

BRotondi 03-14-2010 09:25 PM

Quote:

Originally Posted by tafreeh (Post 1930079)
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

nirvana43 03-16-2010 11:08 AM

Its not displaying correct style on vBulletin 4.0.2 :(
Can you please help?

Seven Skins 03-16-2010 08:17 PM

What seems to be the issue?

Welshy2008 03-17-2010 01:33 PM

1 Attachment(s)
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. :p


Many Thanks.

BRotondi 03-17-2010 02:21 PM

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


All times are GMT. The time now is 04:44 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.01348 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_html_printable
  • (2)bbcode_php_printable
  • (11)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