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)

MRGTB 12-29-2006 11:38 PM

In your XML file that contains the code for the column Peterska2.

Try using this code which I created for my site and see what you think. It validates, and has collasible blocks and looks neat!

Just thought you might be interested.

Code:

<!-- block 1 start -->
<thead>
<tr>
<td class="thead">
Side Menu
</td>
</tr>
</thead>
<tbody>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('block_1')"><img id="collapseimg_block_1" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_block_1].gif" alt="" border="0" /></a>
<!-- title start -->
Block 1
<div class="smallfont">
Sub title
</div>
<!-- /title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_block_1" style="$vbcollapse[collapseobj_block_1]">
<tr>
<td class="alt1">
<!-- code start -->
Add your code here
<!-- /code end -->
</td>
</tr>
</tbody>
<!-- /block 1 end -->
<!-- block 2 start -->
<tbody>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('block_2')"><img id="collapseimg_block_2" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_block_2].gif" alt="" border="0" /></a>
<!-- title start -->
Block 2
<div class="smallfont">
Sub title
</div>
<!-- /title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_block_2" style="$vbcollapse[collapseobj_block_2]">
<tr>
<td class="alt2">
<!-- code start -->
Add your code here
<!-- /code end -->
</td>
</tr>
</tbody>
<!-- /block 2 end -->
<!-- block 3 start -->
<tbody>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('block_3')"><img id="collapseimg_block_3" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_block_3].gif" alt="" border="0" /></a>
<!-- title start -->
Block 3
<div class="smallfont">
Sub title
</div>
<!-- /title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_block_3" style="$vbcollapse[collapseobj_block_3]">
<tr>
<td class="alt1">
<!-- code start -->
Add your code here
<!-- /code end -->
</td>
</tr>
</tbody>
<!-- /block 3 end -->
<!-- block 4 start -->
<tbody>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('block_4')"><img id="collapseimg_block_4" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_block_4].gif" alt="" border="0" /></a>
<!-- title start -->
Block 4
<div class="smallfont">
Sub title
</div>
<!-- /title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_block_4" style="$vbcollapse[collapseobj_block_4]">
<tr>
<td class="alt2">
<!-- code start -->
Add your code here
<!-- /code end -->
</td>
</tr>
</tbody>
<!-- /block 4 end -->
<!-- block 5 start -->
<tbody>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('block_5')"><img id="collapseimg_block_5" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_block_5].gif" alt="" border="0" /></a>
<!-- title start -->
Block 5
<div class="smallfont">
Sub title
</div>
<!-- /title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_block_5" style="$vbcollapse[collapseobj_block_5]">
<tr>
<td class="alt1">
<!-- code start -->
Add your code here
<!-- /code end -->
</td>
</tr>
</tbody>
<!-- /block 5 end -->


hnjco 01-16-2007 08:14 PM

any idea for how to add new threads in this bar. like last 10 new threads ?
Plus most popular threads is last 2 weeks (5 threads)

i'm new in this field so can anyone help me?

peterska2 01-16-2007 09:28 PM

You would need a modification that did those, and then integrate them into each other. You might want to post a request or question for help with that.

VBUsers 01-18-2007 11:32 PM

can this be changed to all forum pages? if not is there a working one for 3.6.4 ?

peterska2 01-19-2007 09:07 AM

Any changes made to it to display on other pages are unsupported, and assistance cannot be given if it does not work correctly.

amykhar wrote an all pages one for 3.5.x which works on 3.6.x

Caiman 02-04-2007 07:16 PM

Love it. Anyway I can have multiple boxes, instead of just one? (one below the other, that is)

Caiman 02-04-2007 08:22 PM

n/m ...

Code:

</table>
<br />
<table class="tborder" border="0" width="100%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">

After the last </tr> works great (and leaving a </tr> at the end of the template)

blogtorank 02-06-2007 01:20 AM

Kerry-Anne, Great hack and a must have!

*Installed at 99* :D

Caiman 02-09-2007 06:40 PM

Has anyone worked out an easy way to export latest posts into the side column? I've tried myself but I'm not the best at modifying hacks to work together and so on, I'm aware though it could be done with the external.php script? But aye, gonna throw the boat out and ask if anyone who has done it might share? Thanks!

carlosacgj 02-21-2007 01:18 PM

hello i need this for a 3.5

Can Help me?


All times are GMT. The time now is 08:06 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.01161 seconds
  • Memory Usage 1,742KB
  • 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
  • (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
  • (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