vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Front page links (https://vborg.vbsupport.ru/showthread.php?t=96213)

KuRi 09-13-2005 10:00 PM

Front page links
 
Basically a port of SaintDog's vb2 template mod located:
https://vborg.vbsupport.ru/showthrea...ont+Page+Links

Shows a 'Show new posts in forum', 'Create a new thread in forum' and a 'subscribe to forum' on the forumhome to the right of the forum titles

Wayne Luke 09-13-2005 11:28 PM

I am surprised this is in use still today... Been thinking of a way to implement a better tool system on one of my forums. Good to know that one of my modifications from the vB2 days are still alive and well.

KuRi 09-14-2005 12:21 AM

It has served me well... ive used this on every one of my forums since 2.2.9 i think.... been a hell of a long time put it like that... just thaught id release it because i hadent seen anything like it for ages and i find it really usefull

Wayne Luke 09-14-2005 05:49 AM

Hey more power to you. Hopefully others find it useful. Just surprised to find minor edits that I introduced on SitePoint over four years ago still alive.

Mathiau 09-14-2005 09:20 PM

shall try this out on RC3 :) i know many who like it.

phonexpo 10-04-2005 04:16 PM

Installed, handy mod - thanks. I have it working on vB 3.5.0 Gold ;)


*EDIT

I actually just spotted a problem - Beside the title where you see how many is viewing, it has that twice;

*Edit


Fixed ;)

Code:


<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div style=float:right>
&nbsp;<a href="search.php?do=getnew&f=$forum[forumid]"><img src="$stylevar[imgdir_misc]/sm_search.gif" border="0" width="11" height="11" hspace="2" alt="Read New Posts in $forum[title]"></a>
<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="$stylevar[imgdir_misc]/sm_newthread.gif" border="0" width="11" height="11" hspace=2" alt="Create a New Thread in $forum[title]"></a>
<a href="subscription.php?do=addsubscription&f=$forum[forumid]"><img src="$stylevar[imgdir_misc]/sm_subscribe.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to $forum[title]"></a>
</div><div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
$childforumbits


vibe 10-13-2005 07:34 PM

I like it. Installed.

Snake 10-13-2005 08:13 PM

Looks like a good hack to use. But I'm wondering if it works fine on 3.5 Gold?

phonexpo 10-13-2005 08:15 PM

Quote:

Originally Posted by Aftermath
Looks like a good hack to use. But I'm wondering if it works fine on 3.5 Gold?

https://vborg.vbsupport.ru/showpost....40&postcount=6

Snake 10-13-2005 08:18 PM

...Yeah what about that tempate code? Do I've to replace it with the current code or what? Sorry to ask such a dump question. I just wanna make sure before things will get messed up. :p


All times are GMT. The time now is 09:13 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.01183 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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