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 - Right side column on forum home and forum display (https://vborg.vbsupport.ru/showthread.php?t=229496)

Seven Skins 12-03-2009 10:00 PM

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



Add this to the very end of navbar template:
HTML Code:

{vb:raw ss_rightcolumn_start}
PS. After edit the code above must be the last line in the navbar template.



Add the code below to the first line of footer template:
HTML Code:

{vb:raw ss_rightcolumn_end}


Footer template after adding the code:
Code:

{vb:raw ss_rightcolumn_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_rightcolumn_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_rightcolumn_start and ss_rightcolumn_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: Upadted so the column tables can be seen on showtherad, etc pages ..
- Save the code from "ss_rightcolumn_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_rightcolumn_contents" template.


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


22 Dec 09: Working with vBulletin 4.0.0 (Gold)

.

LoveStream 12-04-2009 10:31 AM

Thanks. :) I will try it.

Ok, is that compatible with widget? if is possible it would be better.

Seven Skins 12-04-2009 10:51 AM

This hack is for forums not for CMS pages.

pipedreams 12-04-2009 11:41 AM

Quote:

Originally Posted by Seven Skins (Post 1925170)
This hack is for forums not for CMS pages.

It would be nice to places cms widgets in there though.

I've not researched it myself, but surely it would not be a lot of work?

fourat 12-04-2009 12:26 PM

Thank you can you make the side column like invision board column ?
I mean we can close and open it .

saviola8x 12-04-2009 12:41 PM

Thanks for this mod. Thanks to you, I have more experience to complete my Facebook style .
Install.

Seven Skins 12-04-2009 12:46 PM

Quote:

Originally Posted by fourat (Post 1925209)
Thank you can you make the side column like invision board column ?
I mean we can close and open it .

You mean to say "collapse" the side column?

.

milsirhc 12-04-2009 01:00 PM

Thanks!!

yilmaz 12-04-2009 01:20 PM

Great work, thanks!

SCSCSC 12-04-2009 04:25 PM

thanks for the mod

1 - can v reduce the size of column

2 - can v start the columns after notices & shoutbox

bec when i placed start code {vb:raw sc_start} after shoutbox then its not showing anything

fourat 12-04-2009 05:02 PM

Quote:

Originally Posted by Seven Skins (Post 1925215)
You mean to say "collapse" the side column?

.

Yes exactly.

Seven Skins 12-04-2009 05:08 PM

A1: You may edit the sc_css.css template to reduce/increase the size of column.
A2: You can also put {vb:raw sc_start} after notices. Shoutbox no idea .. till I see tha code of navbar.

SCSCSC 12-04-2009 05:22 PM

u want me to pm u navbar code?

Alecsmith 12-04-2009 05:43 PM

This is what i am looking for good work thanks :)

Seven Skins 12-04-2009 06:19 PM

Quote:

Originally Posted by SCSCSC (Post 1925331)
u want me to pm u navbar code?

Sure send PM.

Quote:

Originally Posted by fourat (Post 1925209)
Thank you can you make the side column like invision board column ?
I mean we can close and open it .

I will sort it out when I get some time.

.

fourat 12-04-2009 06:21 PM

1 Attachment(s)
Quote:

Originally Posted by Seven Skins (Post 1925215)
I will sort it out when I get some time.

Ok thank you
You can See it in attachments .. I think its need js .. right ?

crashys 12-04-2009 07:04 PM

1 Attachment(s)
Hi there,
First of, gread mod! :up:

I'm just having some problems with the position, whenever I login it loses its original position, gettes a bit more to the top, aligning with the 'Post New Thread' button. I've attached a image to explain better what I mean, please tell me if there is any fix for that.

Another question, is there any way to change it from the rightside to the leftside?

Thanks in advance for your time.

CThiessen 12-04-2009 07:20 PM

1 Attachment(s)
Hi,
just to give an Idea how it might work to collapse.
I do have that as a goody for Users only.
I put a little symbol next to the personal Information.
Attachment 107184

On is visible / invisible Mod the other one is to collapse the sidebar (its still vb3).
The basic code is what vB is using to collapse Forums.

Christian

Seven Skins 12-04-2009 08:01 PM

I have worked out how to collapse it ... I am waiting for vb4.0RC1 which might be out any time ... if there are any changes to the code we can sort it in one go. :)

.

Seven Skins 12-04-2009 08:04 PM

Quote:

Originally Posted by crashys (Post 1925382)
Hi there,
First of, gread mod! :up:

I'm just having some problems with the position, whenever I login it loses its original position, gettes a bit more to the top, aligning with the 'Post New Thread' button. I've attached a image to explain better what I mean, please tell me if there is any fix for that.

Another question, is there any way to change it from the rightside to the leftside?

Thanks in advance for your time.

The reason I left it on the top is because if you have any announcement/notices the forums will move up or down.

tommyxv 12-04-2009 08:17 PM

Quote:

Originally Posted by crashys (Post 1925382)
Hi there,
First of, gread mod! :up:

I'm just having some problems with the position, whenever I login it loses its original position, gettes a bit more to the top, aligning with the 'Post New Thread' button. I've attached a image to explain better what I mean, please tell me if there is any fix for that.

Another question, is there any way to change it from the rightside to the leftside?

Thanks in advance for your time.


Put this at the very bottom of your navbar template:

Code:

{vb:raw sc_start}

crashys 12-04-2009 09:54 PM

Quote:

Originally Posted by tommyxv (Post 1925420)
Put this at the very bottom of your navbar template:

Code:

{vb:raw sc_start}

Hi, thanks, I've tryied it but it's still the same :|

Seven Skins, since I don't use any announcement/notices I don't need that extra feature, is there any way to keep it just alligned with the Main Category bar? I would really appreciate alot if you could help me out since I really need this addon.

Thanks again :)

fourat 12-04-2009 10:24 PM

Can you add to the column user avatar and latest post/threads in the forums

look to this thread maybe you need it
http://www.vbulletin.com/forum/showt...966&viewfull=1

Dr.osamA 12-05-2009 01:53 AM

Great work, thanks!

installed
________
Vapir Oxygen

dt-pain 12-05-2009 02:55 AM

Great mod but when using it with a banner. The banner below navbar the side column is out of alignment with the rest of the forum..

Alecsmith 12-05-2009 07:05 AM

i have install mod but i can only see side box on forum home page is it possible i can see side banner on ever page, thread what ever link i open in forum.

guvner 12-05-2009 09:20 AM

Thank you for this mod - just what VB4 needed. :up:

I also need the sidebar to appear on all forum pages - I generate revenue from banner impressions so the more pages I have it on the better - especially needed is inclusion in the postbit templates.

Is there an easy way to manually add it to the other forum pages?

Mike :)

Seven Skins 12-05-2009 04:08 PM

Mod Updated ... :)


Quote:

Originally Posted by crashys (Post 1925457)
Hi, thanks, I've tryied it but it's still the same :|

Seven Skins, since I don't use any announcement/notices I don't need that extra feature, is there any way to keep it just alligned with the Main Category bar? I would really appreciate alot if you could help me out since I really need this addon.

Thanks again :)


You can edit "sc_other" class in sc_css.css template and chnage the paddding from 0px to say 100px or 120px .... and do this till the side coulmn aligns where you want. You may need to press ctrl + f5 to see the effect in your forum.


Quote:

Originally Posted by dt-pain (Post 1925563)
Great mod but when using it with a banner. The banner below navbar the side column is out of alignment with the rest of the forum..


You can add "margin-right: 230px" to your add code .. but this will move the ad on all the pages you will have to IF statement to sort this.

Code:

<vb:if condition="THIS_SCRIPT == 'index'"><div style="margin-right: 230px">ad code</div></vb:if>
Quote:

Originally Posted by guvner (Post 1925648)
Thank you for this mod - just what VB4 needed. :up:

I also need the sidebar to appear on all forum pages - I generate revenue from banner impressions so the more pages I have it on the better - especially needed is inclusion in the postbit templates.

Is there an easy way to manually add it to the other forum pages?

Mike :)


Quote:

Originally Posted by Alecsmith (Post 1925615)
i have install mod but i can only see side box on forum home page is it possible i can see side banner on ever page, thread what ever link i open in forum.

Edit sc_start and sc_end template.
Find:
Code:

<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay'">
Say if want to show this on blogs:
Code:

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

.

Alecsmith 12-05-2009 04:21 PM

Working now but i can't see side banner in post or thread it appear on Home Page and sub section.

fourat 12-05-2009 05:29 PM

Seven Skin I mean collapse the side column like IPB ( collapse from left to right )
when collapse from left to right the width of forum increase and the side column disappear (just collapse button stay)
No Meaningless to adding collapsing button from the bottom to the top because the side column will stay

Seven Skins 12-05-2009 06:38 PM

^ That is not possible to do with this hack.

crashys 12-05-2009 08:00 PM

Quote:

Originally Posted by Seven Skins (Post 1925767)
Mod Updated ... :)
You can edit "sc_other" class in sc_css.css template and chnage the paddding from 0px to say 100px or 120px .... and do this till the side coulmn aligns where you want. You may need to press ctrl + f5 to see the effect in your forum.

You can add "margin-right: 230px" to your add code .. but this will move the ad on all the pages you will have to IF statement to sort this.

Thanks for your help, it worked. :)

guvner 12-05-2009 08:16 PM

Quote:

Originally Posted by Seven Skins (Post 1925767)
Edit sc_start and sc_end template.
Find:
Code:

<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay'">
Say if want to show this on blogs:
Code:

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

Thanks - but since I'm no coder, I tried your workaround using 'postbit' instead of 'blog' and nothing happened.

How can I get the side column to appear on the postbit & postbit legacy templates?

Mike :)

Baf_Jams 12-05-2009 09:35 PM

Works perfect till i login ?

Then it moves it to the bottom of the page ?

Seven Skins 12-05-2009 11:39 PM

Quote:

Originally Posted by guvner (Post 1925911)
Thanks - but since I'm no coder, I tried your workaround using 'postbit' instead of 'blog' and nothing happened.

How can I get the side column to appear on the postbit & postbit legacy templates?

Mike :)

Try this:
THIS_SCRIPT == 'showthread'




Quote:

Originally Posted by Baf_Jams (Post 1925979)
Works perfect till i login ?

Then it moves it to the bottom of the page ?

Make sure the template edits are correct.

.

guvner 12-06-2009 08:26 AM

Quote:

Originally Posted by Seven Skins (Post 1926027)
Try this:
THIS_SCRIPT == 'showthread'

Perfect - many thanks! :up:

Mike :)

SİMAR 12-06-2009 02:08 PM

Thanks!!

Baf_Jams 12-06-2009 03:55 PM

Quote:

Originally Posted by Seven Skins (Post 1926027)
Make sure the template edits are correct..

Thanks I had the navbar one at the top instead of bottom :)

all fully working now
I put a T/s script in the content and a clock :)
can be seen working here (on right obviously)

www.bafsquad.com

wragge11 12-07-2009 05:59 PM

Anyway to add CMS widgets?

Dr.osamA 12-07-2009 09:51 PM

1 Attachment(s)
Hi Mr. Seven Skins
I did some changes to the product as shown in the example on my site demo

Please help and make sure it is correct

changes:

- cancellation showing in the forumdisply
- amendment to the template to show a group of boxes and media links
- make the column appear between Navbar and Statistics of the forum

Deom
http://www.alra7ba.net/forums/forum.php?langid=1



user = vBulletin (as mod)
pass = 123456

if it is correct plzz add the product in attch. and upgrade the orignal mod
or add product as second option:)
________
ASIAN YOUNG


All times are GMT. The time now is 10:29 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.01505 seconds
  • Memory Usage 1,848KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_html_printable
  • (20)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