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)

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?


All times are GMT. The time now is 06:54 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.01269 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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