vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Right (or left) side bar on forumhome (https://vborg.vbsupport.ru/showthread.php?t=89246)

tnguy3n 05-31-2004 10:00 PM

Right (or left) side bar on forumhome
 
Desciption: This mod will add a right side bar (or left side bar) or divide the forum home into two columns. One with main forum info and additional ones for whatever info you want to add to. For my hack, the addtional column contains guest message, forum stats, user birthday, upcoming event and 1 custom cell.

Installation time: 5-10 mins
Template mod: 1
- FORUMHOME

Requested by exesko here


If you want to make your custom cell(s) collapsable, REPLACE:
HTML Code:

<tbody>
        <tr>
                <td class="thead">
                        Your custom cell.
                </td>
        </tr>
</tbody>
<tbody>
        <tr>
                <td class="alt1" width="100%"><div class="smallfont">Some text for your custom cell go here!</div></td>
        </tr>
</tbody>

WITH:
HTML Code:

<tbody>
        <tr>
                <td class="thead">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        Your custom cell.
                </td>
        </tr>
</tbody>
<tbody>
        <tr>
                <td class="alt1" width="100%"><div class="smallfont">Some text for your custom cell go here!</div></td>
        </tr>
</tbody>

------
Click install if you use it. ;)

tnguy3n 06-01-2004 09:08 PM

screenshot for left colummn.

Tony G 06-02-2004 04:57 AM

Great mod. Thank you for releasing this. :)

skinvb 06-02-2004 08:05 AM

Must be click INSTALL .Good Jobs ,man

WoodiE 06-11-2004 02:27 PM

I receive this error after trying to get the right menu to work:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/rcnitro/public_html/forum/index.php(420) : eval()'d code on line 143

-Michael

tnguy3n 06-11-2004 04:18 PM

which one you install on your board? right or left one?
make sure to check carefully whether your code is placed properly in those <if>...</if> conditions. ;)

imported_Sean 06-17-2004 06:34 PM

Quote:

Originally Posted by WoodiE55
I receive this error after trying to get the right menu to work:


Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/rcnitro/public_html/forum/index.php(420) : eval()'d code on line 143


-Michael

yes I got the same error, and I did everything the exact way that the instruction told, i don't know.

tnguy3n 06-18-2004 09:36 AM

but which one did you install thou?! right or left side bar?

Nitesh 06-18-2004 11:58 AM

I get the same error on the right side bar :S

tnguy3n 06-20-2004 11:27 PM

I know what's wrong. Missed out the 2 tags
HTML Code:

</tbody>
</if>

I tested it on my test board and worked fine now.

*updated attachment*


All times are GMT. The time now is 06:00 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.01229 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_html_printable
  • (1)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
  • (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