vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Options Column Forumhome Variation (https://vborg.vbsupport.ru/showthread.php?t=84070)

Overlord 08-02-2002 09:00 PM

[release] Options Column Forumhome Variation
 
Author: Overlord
Description: This will add an extra column to your forumhome template, which has the Search, New Thread, Mark Forum Read, and Subscribe links inside. (Icons not included)
Demo: Gaming Universe Forums

Ok, I realize this is more of a variation of the hack that's already on these forums, but I've had a few people asking for it on other boards, so I thought I'd release it here.

[WiZZarD] 08-17-2002 01:08 AM

]Thanks m8! :)
Been wondering where this was! :D

ewdnl 08-17-2002 12:59 PM

10q! Very nice!

Tyreäl 08-17-2002 01:19 PM

I have a prob...This are my codes would you give me the codes whit that hack? my codes:

forumhome_forumbit_level1_nopost:

########################################
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
<tr>
<td colspan="6" bgcolor="{catlinecolor}"></td>
</tr>
########################################

forumhome_forumbit_level1_post:

########################################
<tr align="center">
<td bgcolor="{firstaltcolor}" colspan="2" align="left">
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td><img src="{imagesfolder}/clear.gif" width="9" height="0" border="0" alt=""></td>
<td><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]</smallfont></td>
</tr></table>
</td>
<td bgcolor="{secondaltcolor}"><normalfont>$forum[replycount]</normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
<td bgcolor="{firstaltcolor}"><smallfont>$forum[moderators]</smallfont></td>
</tr>
########################################

forumhome_forumbit_level2_nopost:

########################################
<tr id="cat">
<td bgcolor="{categorybackcolor}"><smallfont>&nbsp;</smallfont></td>
<td bgcolor="{categorybackcolor}" colspan="5">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
########################################

forumhome_forumbit_level2_post

########################################
<tr align="center">
<td bgcolor="{secondaltcolor}" valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td bgcolor="{firstaltcolor}" align="left"
onMouseOver="this.style.backgroundColor='{secondal tcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltc olor}';"
onClick="window.location.href='forumdisplay.php?s= $session[sessionhash]&forumid=$forum[forumid]'"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a><align="right"><a href="newthread.php?s=&forumid=$forum[forumid]"><img src="images/newthread2.gif" border="0" alt="Create a new topic in $forum[title]"></a> <a href="member2.php?s=&action=addsubscription&forumi d=$forum[forumid]"><img src="images/subscribe2.gif" border="0" alt="Subscribe to the $forum[title] forum"></a></align>
<br><smallfont>$forum[description]</smallfont></td>
<td bgcolor="{secondaltcolor}"><normalfont>$forum[replycount]</normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
<form><td bgcolor="{firstaltcolor}" valign="middle" align="right" nowrap>
<IMG align="absmiddle" SRC="{imagesfolder}/team.gif">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form></tr>
########################################

thank you!

Overlord 08-18-2002 01:00 PM

Ok.. Here's my template setup:

forumhome_forumbit_level1_nopost:

########################################
<tr id="cat">
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"" colspan="6">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]">
<normalfont color="#FFFFFF"><b>$forum[title]
<tr align="center">
<td bgcolor=""#C1D7F4" background="images/head_bg.gif""><smallfont></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"" align="left"width="40%">
<smallfont color="#000000"><b>Forum</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"">
<smallfont color="#000000"><b>Options</b></smallfont></td>

<td bgcolor=""#C1D7F4" background="images/head_bg.gif"">
<smallfont color="#000000"><b>Posts</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"">
<smallfont color="#000000"><b>Threads</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"" width="30%">
<smallfont color="#000000"><b>Last Post</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"" nowrap width="25%">
<smallfont color="#000000"><b>Moderator</b></smallfont></td>
</tr>

########################################

forumhome_forumbit_level1_post

########################################
<tr align="center">
<td bgcolor="#FFFFFF" colspan="2" align="left">
<table cellpadding="0" cellspacing="0" border="0"><tr width="100%">
<td valign="top"><img src="images/$forum[onoff].gif" border="0" alt=""></td>
<td><img src="images/clear.gif" width="9" height="0" border="0" alt=""></td>
<td><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]">
<normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]</smallfont></td>
</tr></table>
</td>
<td bgcolor="#F9F9F9">
<normalfont> <a href="$forum[forumid]">$forum[replycount]</a></normalfont></td>
<td bgcolor="#FFFFFF">
<normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="#F9F9F9">
<smallfont>$forum[lastpostinfo]</smallfont></td>
<td bgcolor="#FFFFFF"><smallfont>$forum[moderators]</smallfont></td></tr>
########################################

forumhome_forumbit_level2_nopost

########################################
<tr id="cat">
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"">
<smallfont>&nbsp;</smallfont></td>
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"" colspan="5">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]">
<normalfont color="#FFFFFF"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="#FFFFFF">$forum[description]</smallfont></td>
</tr>

<tr align="center">
<td bgcolor=""#C1D7F4" background="images/head_bg.gif""><smallfont></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"" align="left" width="40%">
<smallfont color="#000000"><b>Forum</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"">
<smallfont color="#000000"><b>Options</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"">
<smallfont color="#000000"><b>Posts</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"">
<smallfont color="#000000"><b>Threads</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"" width="30%">
<smallfont color="#000000"><b>Last Post</b></smallfont></td>
<td bgcolor=""#C1D7F4" background="images/head_bg.gif"" width="25%">
<smallfont color="#000000"><b>Moderator</b></smallfont></td></tr>
########################################

forumhome_forumbit_level2_post

########################################
<tr align="center" width="100%">
<td bgcolor="#F9F9F9" valign="top">
<img src="images/$forum[onoff].gif" border="0" alt=""></td>
<td bgcolor="#FFFFFF" align="left"
onMouseOver="this.style.backgroundColor='#F9F9F9';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='#FFFFFF';"
onClick="window.location.href='forumdisplay.php?s= $session[sessionhash]&forumid=$forum[forumid]'">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]
</td>
<td bgcolor="#F9F9F9">
<a href="newthread.php?s=&forumid=$forum[forumid]">
<img src="images/front_newicon.gif" ALT="Start New Thread" border="0"></a>
&nbsp;
<a href="search.php?action=getnew&forumid=$forum[forumid]">
<img src="images/front_searchicon.gif" ALT="Search Forum for New Posts" border="0"></a>
&nbsp;
<a href="member2.php?s=&action=addsubscription&forumi d=$forum[forumid]">
<img src="images/front_subscribeicon.gif" ALT="Subscribe to this Forum" border="0"></a>
&nbsp;
<a href="forumdisplay.php?s=$session[sessionhash]&action=markread&forumid=$forumid">
<img src="images/front_markicon.gif" ALT="Mark Forum as Read" border="0"></a>
</td>

<td bgcolor="#FFFFFF"><normalfont>
<a href="$forum[forumid]">$forum[replycount</a>
</normalfont></td>
<td bgcolor="#F9F9F9"><normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="#FFFFFF" nowrap><smallfont>$forum[lastpostinfo]</smallfont></td>

<td bgcolor="#F9F9F9" valign="middle" align="right" nowrap><smallfont>$forum[moderators]</smallfont></td></tr>

</tr>

########################################

Now.. I apologise if that doesn't clear up the problems.. your template code looks pretty messed up to me.. my advice is to revert them to there original and follow the instructions on the hack to the word.

Imran 08-24-2002 05:19 PM

Excellent Work on this, I've been looking for it

platoon 08-24-2002 11:08 PM

arrgh, i had this prop before tyty

Tony G 08-24-2002 11:32 PM

Nice, I would have preferred it being in the description/name box like it is here though.

majestic 08-26-2002 11:26 PM

It looks as if Tyreäl has the mod drop down hack as I do myself.
my forumhome_forumbit_level2_post look no were like yours
overlord. I just dont get this one at all ?


All times are GMT. The time now is 08:55 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.01824 seconds
  • Memory Usage 1,774KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete