vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Top 'X' Stats (https://vborg.vbsupport.ru/showthread.php?t=59609)

Mark.B 04-01-2005 12:20 PM

I think I've done it!

http://www.bowlandcentral.com/forum

Mine only has threads, I removed the other two sections as we don't really need them and it saves two queries.

I will post the code later if anyone is interested but I did it using a LEFT JOIN that I nicked from vbindex!

lasto 04-01-2005 12:21 PM

im interested in the full hack but with the forums listed that the thread is in m8 if u can pull that off :)

Infact it looks quite smart on your forums - anychance of the code :)

Mark.B 04-01-2005 01:51 PM

Quote:

Originally Posted by lasto
im interested in the full hack but with the forums listed that the thread is in m8 if u can pull that off :)

Infact it looks quite smart on your forums - anychance of the code :)

That can be done but there may be an issue of lack of space...an extra column added with the new members/top posters boxes still present may be a bit of a squeeze on low resolutions. With nowrap being used as well this will lead to some odd looking behaviour in some cases.

I'm not about much this weekend but I'll see what I can knock up early next week.

lasto 04-01-2005 07:23 PM

take off top posters or newest members but i would prefer to take off top posters if it would fit the forum name in there.

and cheers Mark.B

Breathex 04-05-2005 07:28 AM

very nice hack - installed

but,

at new topics section it writes "[new]" and [old] near the names of the topics. how can i translate them into my language? i changed others words but i can't find both.

thanx for the answers

Snake 04-05-2005 09:18 AM

Go to the forumhome_stats_thread template and find:

Quote:

<tr>
<td class="smallfont"><strong>[<i><if condition="$getstats_thread[newpost]">New<else />Old</if></i>] <a href="showthread.php?$session[sessionurl]goto=newpost&t=$getstats_thread[threadid]" title="<phrase 1="$getstats_thread[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>">$getstats_thread[titletrimmed]</a></strong></td>
<if condition="$getstats_thread[isdeleted]">
<td class="smallfont"colspan=3" align="left"><phrase 1="member.php?$session[sessionurl]u=$getstats_thread[del_userid]" 2="$getstats_thread[del_username]">$vbphrase[thread_deleted_by_x]</phrase></td>
<else />
<td class="smallfont"><strong><a href="member.php?$session[sessionurl]u=$getstats_thread[userid]">$getstats_thread[lastposter]</a></strong></td>
<td class="smallfont" align="right"><strong>$getstats_thread[views]</strong></td>
<td class="smallfont" align="right"><strong>$getstats_thread[replycount]</strong></td>
</if>
</tr>
Change the green text to your language. :)

Breathex 04-05-2005 09:33 AM

thanx alot for your answer Snake :)

Snake 04-05-2005 10:06 AM

No problem, I'm glad to help. :)

twin 04-06-2005 09:46 AM

I tried to install this nice hack, but in last step I must modify FORUMHOME template, after do the changes that are in the instruction and click save it shows
Code:

'Internal Server Error' The server encountered an internal error or misconfiguration and was unable to complete your request....
Any idea how to fix that?

Snake 04-06-2005 10:44 AM

Uhh... it has nothing to do with vBulletin or the mod. There might be a problem with your server - I guess. Try to contact your host.


All times are GMT. The time now is 11:19 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.01263 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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