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)

renee1 02-20-2005 05:39 PM

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/htdocs/html/index.php on line 50

Help?

renee1 02-20-2005 06:44 PM

got it, looks great thanks

Solid-Snake 03-05-2005 03:59 PM

I think I have a problem here. When new posts or topics has been made, the 'Newest Replies' doesn't work. It's like froozen or something. lol Any idea what's the problem?

Solid-Snake 03-07-2005 01:46 PM

Bump! Any help?

Solid-Snake 03-09-2005 09:49 AM

Bump #2 lol

jetoncivili 03-12-2005 09:59 AM

i instelled this wonderfull program but in my program have nothing new all 0
Statistics - Top
Top Posters Newest Members Newest Replies
Member: Posts:
Member: Posts:
Thread: Last Poster: Views: Replies:

jetoncivili 03-12-2005 03:50 PM

i have instelled this wonderfull program but in my program have nothing new is not active

Statistics - Top
Top Posters Newest Members Newest Replies
Member: Posts:
Member: Posts:
Thread: Last Poster: Views: Replies:

what should i do to get it active????

michael5472 03-12-2005 05:18 PM

Does this work with 3.0.7 ?

michael5472 03-12-2005 05:33 PM

Tested and answered yes it does :smoke:

Cheers for the hack :D

jetoncivili 03-12-2005 09:52 PM

Quote:

Originally Posted by jetoncivili
i have instelled this wonderfull program but in my program have nothing new is not active


Statistics - Top
Top Posters Newest Members Newest Replies
Member: Posts:
Member: Posts:
Thread: Last Poster: Views: Replies:

what should i do to get it active????

A repeat question again bruthers

NyC gQ 03-20-2005 09:19 PM

Can someone help me install this thing..i'm really bad with scripts and don't feel comftorable doing this myself...if you have aol or aim...my sn is xxnycgqxx THANKS

kenji4861 03-22-2005 03:43 AM

Just got it installed on http://www.spoofee.com - awesome mod!

ChrisBaktis 03-24-2005 01:48 PM

Need a little help. I installed a new skin and the Top Stats works great on the default but when I add the same Code to the new skin I get 5 extra 'test' lines in the stats. I have no idea why. See the picture. If I go from skin to skin all works fine except the new one (it is setup as a child style). Can anyone help me out?

xtreme-mobile 03-27-2005 03:43 PM

great hack

clicked install :)

KanyeWest 03-27-2005 05:35 PM

How do i make it Top 10 stats

WhiteOx2 03-27-2005 07:29 PM

Quote:

Originally Posted by KanyeWest
How do i make it Top 10 stats

See this bit?
Change it.
PHP Code:

$displayrecords "5"// how many records should we show? 


Mark.B 04-01-2005 10:14 AM

How could I make an additional column in the threads info to show what forum it was from?

The threads table only appears to store the forumid rather than the actual name of the forum, I know how to pull that out and I know how to add the actual column in the template but how do I then convert the forumid into the forum title?

lasto 04-01-2005 10:38 AM

im amazed this hack never got HOTM status as its one fo the first hacks i put on when i do a test board.Awesome hack anime and i liek the suggestion above from Mark.B about new column to show what forum it is in.

Maybe an update ?

Mark.B 04-01-2005 10:40 AM

Quote:

Originally Posted by lasto
im amazed this hack never got HOTM status as its one fo the first hacks i put on when i do a test board.Awesome hack anime and i liek the suggestion above from Mark.B about new column to show what forum it is in.

Maybe an update ?

If it wasn't for the convoluted way vB handles this, I could write such an addition myself.

Sadly, the thread table only stores the forumid number, not the actual forum name. So I could easily make it display that number, but not the actual name.

lasto 04-01-2005 11:07 AM

u know something that guy who does the harry potter forums m8 he wrote a hack like this and released it the other day but it needs a cron job to update the stats.Mybe u could ask him how he grabbed the forum ids as its deffo available in his version.

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.

kadafi_alive 04-07-2005 10:07 AM

Hi,

Does anyone know how to fix the double appearance on the 'Newest Replies'. Everytime I move a thread and leave re-direct link behind, it shows double on the Newest replies.

Anyone know how to fix it?

Regards

kadafi_alive 04-09-2005 06:06 PM

It happends when I redirect threads. It shows the redirection link and the actual thread twice in 'Newest Replies'

lasto 04-09-2005 06:45 PM

Quote:

Originally Posted by Mark.B
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.

u managed this as yet m8

kadafi_alive 04-10-2005 08:39 AM

Anyone? I really need to fix this bug.

Wasim 04-19-2005 07:50 PM

Can someone show me how you replace Newest Users post count with Top 5 repuations?

axi 04-21-2005 02:56 PM

nice hack installed

gregsbaby64 04-26-2005 10:36 AM

Great hack, thanks! :)

dimdan 05-03-2005 08:48 AM

that mod on forumdisplayphp and showthread.php??? how do???

Snake 05-03-2005 10:21 AM

Are you saying how to install this mod? If so, gimme a PM.

xtreme-mobile 05-07-2005 08:00 AM

is there a way of stopping members seeing posts that were made in my staff room
as at the moment they are showing up in a last 5 stats :)

cheers


All times are GMT. The time now is 09:26 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.01504 seconds
  • Memory Usage 1,815KB
  • 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_php_printable
  • (6)bbcode_quote_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
  • (40)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