vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Put a Column on the RIGHT side of every forum page (https://vborg.vbsupport.ru/showthread.php?t=94495)

Mythotical 06-29-2006 06:13 AM

First of all, what is the at the top of your forum? Secondly, it shouldn't be going out like that if you have it setup right.

masterross 06-29-2006 06:38 AM

Quote:

Originally Posted by Mythotical
First of all, what is the at the top of your forum? Secondly, it shouldn't be going out like that if you have it setup right.

I have some banners at top
but there aint the prob
without using this hack all is OK
also i'm not the only one that have this prob:
https://vborg.vbsupport.ru/showpost....&postcount=319

and if it shouldn't be going out like this
show me the one who install this hack and hasnt this prob ;)
BR

webgroup 07-06-2006 12:33 AM

Willing to pay to have the alignment issue solved

Qwest 07-06-2006 04:22 PM

Was the problem with the vbadvanced homepage thing ever fixed?

This hack still tries to add a column to the vbadvanced homepage because of the header template edits... :(

peterska2 07-11-2006 03:16 PM

Quote:

Originally Posted by masterross
hello,

i have problem with right colunm in showthread.php
check the attached pic
it shrink the thread table and leave distance in both sides!

please help me to fix that

thanks!!
Ross

In your right_column template find
Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
replace with
Code:

<table align="right" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
this lines it up to the right with your style.

peterska2 07-11-2006 03:23 PM

Quote:

Originally Posted by masterross
I have some banners at top
but there aint the prob
without using this hack all is OK
also i'm not the only one that have this prob:
https://vborg.vbsupport.ru/showpost....&postcount=319

and if it shouldn't be going out like this
show me the one who install this hack and hasnt this prob ;)
BR

This is because the modification is designed and written to go in the header template, not the navbar template. Placing it in the navbar template increases the number of nested tables which is what causes this problem. Without having to edit a lot of additional templates, the only way to fix this issue is to place the code in the header as intended and not the navbar

peterska2 07-11-2006 03:26 PM

Quote:

Originally Posted by Qwest
Was the problem with the vbadvanced homepage thing ever fixed?

This hack still tries to add a column to the vbadvanced homepage because of the header template edits... :(

In your header template just before the added code add
Code:

<if condition="THIS_SCRIPT!='adv_index'">
and after the added code add
Code:

</if>
repeat this for the footer template. The column will then be ignored for the vBAdvanced index page.

masterross 07-11-2006 04:15 PM

Quote:

Originally Posted by peterska2
This is because the modification is designed and written to go in the header template, not the navbar template. Placing it in the navbar template increases the number of nested tables which is what causes this problem. Without having to edit a lot of additional templates, the only way to fix this issue is to place the code in the header as intended and not the navbar

this not fix the problem
here i provide proves

even i disabled right_column in "Plugin System" and clear right_column from any code inside the problem still exist!

masterross 07-11-2006 05:34 PM

after some investigations i think that this issuie is connected with Styles and espetialy: spacer_open

Kwak 07-13-2006 08:04 AM

Great hack, thank you very much.
Works great in v3.6rc1

blankoboy 07-17-2006 06:55 AM

Great modification for VBulletin!

One question, how can I add more than one block (with block title) to this column? I have the first one set up how I like but would like to have 1 or 2 more below it. Thanks!

Update (example from my left column):

Quote:

Quote:

<br />
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
<tr>
<td class="tcat"><span class="smallfont"><b>&raquo; Block #1</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="BLOCK#1 BG COLOR HERE">

<!-- Block #1 Begin custom code -->
<!-- Block #1 End custom code -->

</td>
</tr>

<tr>
<td class="tcat"><span class="smallfont"><b>&raquo; BLOCK#2</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="#BLOCK#2 BG COLOR HERE">

<!-- Block #2 Begin custom code -->
<!-- Block #2 End custom code -->

</td>
</tr>
</table>
<br />


peterska2 07-17-2006 09:20 AM

In your right column template, before you start adding content to it, copy the contents of the template and paste it at the end of the template to create another block. Paste as many times as required.

blankoboy 07-17-2006 09:37 AM

Quote:

Originally Posted by peterska2
In your right column template, before you start adding content to it, copy the contents of the template and paste it at the end of the template to create another block. Paste as many times as required.

Thanks again Peterska2 ;) I managed to figure it out just before you were so kind as to reply (perhaps you channeled it directly into me hehe). One thing though, the top of the sencond block sticks to the very bottom of the first block. Is there any easy way to put a little space between them?

peterska2 07-17-2006 09:47 AM

Stick an extra <br /> or two between the blocks to break them up a bit more.

and np :)

blankoboy 07-17-2006 01:04 PM

Quote:

Originally Posted by peterska2
Stick an extra <br /> or two between the blocks to break them up a bit more.

and np :)

Yeah, I actually tried that but it just shifts the first block down for some reason :cry:

Code:

<br />
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
<tr>
<td class="tcat"><span class="smallfont"><b>&raquo; Block #1</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="BLOCK#1 BG COLOR HERE">

<!-- Block #1 Begin custom code -->
<!-- Block #1 End custom code -->

</td>
</tr>

<tr>
<br />
<td class="tcat"><span class="smallfont"><b>&raquo; BLOCK#2</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="#BLOCK#2 BG COLOR HERE">

<!-- Block #2 Begin custom code -->
<!-- Block #2 End custom code -->

</td>
</tr>
</table>
<br />


peterska2 07-17-2006 07:32 PM

Code:

<!-- block one -->
<br />
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
<tr>
<td class="tcat"><span class="smallfont"><b>&raquo; Block #1</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="BLOCK#1 BG COLOR HERE">

<!-- Block #1 Begin custom code -->
<!-- Block #1 End custom code -->

</td>
</tr>
</table>
<br />
<!-- / block one -->

<!-- block two -->
<br />
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
<tr>
<td class="tcat"><span class="smallfont"><b>&raquo; Block #1</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="BLOCK#1 BG COLOR HERE">

<!-- Block #1 Begin custom code -->
<!-- Block #1 End custom code -->

</td>
</tr>
</table>
<br />
<!-- / block two -->


blankoboy 07-19-2006 02:49 AM

You are a marvel peterska2! :) :)

Now all I need to figure out is how to pull posts from a forum/subforum to display on the front page (ie: totalbf2.com, evilavatar.com) and I'm off to the races. Pretty much. Thanks!

masterross 07-21-2006 03:30 PM

i'm sill waiting for fixing width problem...

webgroup 07-24-2006 08:20 PM

Quote:

Originally Posted by masterross
i'm sill waiting for fixing width problem...

Yeah me too, I'm willing to pay for it.

enrique007 07-25-2006 12:54 PM

Hi,

question, once you add a right column and you get the little block that says "block name" how do you actually add something?

peterska2 07-25-2006 01:14 PM

you need to edit the rightcolumn template via the style manager

masterross 07-28-2006 09:17 AM

Quote:

Originally Posted by webgroup
Yeah me too, I'm willing to pay for it.

Hi man,

i've found the solution
and i'll share it... ofcource only with you!
PM me

tgillespie 07-29-2006 12:34 AM

Quote:

Originally Posted by masterross
Hi man,

i've found the solution
and i'll share it... ofcource only with you!
PM me

That makes sense :cross-eyed:

VBUsers 08-01-2006 06:12 AM

my right colunm ends up at the bottom of my index . any way to fix this?

www.thenextelforums.com is the site.

Laurence 08-01-2006 11:18 AM

Hi there,

I entered the code and it gave me a space on the right hand side which is great but please forgive my lack of knowalge regarding html as I am just a novice but where in the mod scripting would I place the html content for a Google Adsense colum.

Best regards

Laurence

Masetek 08-04-2006 11:39 PM

Lawrence, You need to edit the template called right_column

On another note, can someone tell me how I can make it so that this right hand column only appears on the forum home page, ie not every page. I tried using php but obviously it wont parse it.

Anyone got any suggestions?

cheers

VBUsers 08-08-2006 06:51 AM

i tried this on 3.6.0 gold and the style im using is approx. it put the right side column all the way at teh bottom. how do i fix this issue?

peterska2 08-08-2006 07:20 PM

Quote:

Originally Posted by AR Forums
i tried this on 3.6.0 gold and the style im using is approx. it put the right side column all the way at teh bottom. how do i fix this issue?

Did you perform the header and the footer modifications?

peterska2 08-08-2006 07:22 PM

Quote:

Originally Posted by Masetek
Lawrence, You need to edit the template called right_column

On another note, can someone tell me how I can make it so that this right hand column only appears on the forum home page, ie not every page. I tried using php but obviously it wont parse it.

Anyone got any suggestions?

cheers

The answer can be found in post 106

SLP LS1 08-09-2006 09:49 PM

(vBulletin 3.5.5)

wtf!!!

Why won't my php local mode from phpadsnew work in the column

I put my local mode in global start

and the put $phpAds_raw[html] in right_column

Can somebody help me out???

They didn't seem to have a problem https://vborg.vbsupport.ru/showthread.php?t=117196&highlight=phpadsnew

Blown Beauty 08-10-2006 03:06 PM

Quote:

Originally Posted by Smiry Kin's
works perfect for me. only thing that messes up is gallery, and arcade

Same here - The content is not showing in the arcade. http://www.girlscantoo.com/forums/arcade.php?

(The spacing is there just not the text/banners)

peterska2 08-10-2006 04:08 PM

Quote:

Originally Posted by SLP LS1
(vBulletin 3.5.5)

wtf!!!

Why won't my php local mode from phpadsnew work in the column

I put my local mode in global start

and the put $phpAds_raw[html] in right_column

Can somebody help me out???

They didn't seem to have a problem https://vborg.vbsupport.ru/showthread.php?t=117196&highlight=phpadsnew

it's possibly because this is a custom template. Try adding it to below (or above) $right_column in either your header or footer template (I can't recall off the top of my head which on it is in for the right column - sorry)

peterska2 08-10-2006 04:10 PM

Quote:

Originally Posted by Blown Beauty
Same here - The content is not showing in the arcade. http://www.girlscantoo.com/forums/arcade.php?

(The spacing is there just not the text/banners)

This is because these scripts are third party scripts. I suggest removing the column from these pages. Alternatively it can be written to include them (I think) but it will not be a nice neat solution.

Blown Beauty 08-11-2006 03:12 AM

Quote:

Originally Posted by peterska2
This is because these scripts are third party scripts. I suggest removing the column from these pages. Alternatively it can be written to include them (I think) but it will not be a nice neat solution.

Thank you for the kind response! :) I hate to ask, but what would be the best solution for that? I'm unclear when this is global. Thanks again!

peterska2 08-11-2006 10:08 AM

ok, you will need to open the scripts for those pages in a text editor (notepad or wordpad is good for this) and look for where it says something like
Code:

define('THIS_SCRIPT', 'index');
then use the instructions in post 129 to add the exclude, replacing adv_index with whatever your files have THIS_SCRIPT defined as. If you need to exclude it from more than one page use
Code:

<if condition="THIS_SCRIPT!='your_page' && THIS_SCRIPT!='another_page'">
replacing your_page and another_page with the correct text. You can add as many pages to the exclude as you need to with this.

Blown Beauty 08-11-2006 01:20 PM

Thank you soooo much for taking the time to explain that!! :) This has been a wonderful product and I'm so appreciative of the extra help, too! Be safe!

Electrohead04 08-13-2006 12:56 PM

Will this work with 3.6? :\ I'm gonna try it anyway lol

Moonkat 08-14-2006 12:54 AM

That's what I'm wondering :)

peterska2 08-14-2006 12:59 AM

There is no reason why it won't work in 3.6 :)

JenniferK 08-15-2006 06:37 AM

For the width issue, what worked for me was removing

$spacer_close
$spacer_open

wherever it occurred - but only in the templates for the problem areas. For me it showed fine everywhere (even showthreads page) except for the Members list and the Calendar. I removed that from both of those templates and now all is good. Hope this helps someone.

Now the problem I am having, is that I would like the footer (the What's Going on box) to go the full width of the page. I accomplished that with the navbar by using that template instead of the header one, but I'd like to find a fix for the bottom if possible. I think it will look much cleaner that way.


All times are GMT. The time now is 04:11 PM.

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.01544 seconds
  • Memory Usage 1,844KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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