vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Top 'X' Stats (https://vborg.vbsupport.ru/showthread.php?t=93065)

lairnoc 10-01-2005 04:58 PM

works fine here too.. Only want reputation added :)

Pramodinfo 10-01-2005 06:24 PM

works like a charm thanks

q8-star 10-01-2005 07:06 PM

Thanks a lot for that great hack ,generally working fine ,but ,there is a small problem .

hacks is ok in home page but when I try the expanded topxstat the page goes blank .

My forum is arabic language forum ,I hope there is no language problem with it .

My ragrds ,,,

popowich 10-03-2005 01:04 AM

What happened to the stats from the 3.0.x version?

I like the top X replied to threads, viewed threads, voted on threads, etc.

Will that be added into the 3.5 version of the hack?

-Raymond @ WNYPoker.com

InfiniteWebby 10-03-2005 01:40 AM

Quote:

Originally Posted by q8-star
Thanks a lot for that great hack ,generally working fine ,but ,there is a small problem .

hacks is ok in home page but when I try the expanded topxstat the page goes blank .

My forum is arabic language forum ,I hope there is no language problem with it .

My ragrds ,,,

It seems as though the templates weren't installed correctly. Check to see if the TOPXSTATS template has been installed.

Quote:

Originally Posted by popowich
What happened to the stats from the 3.0.x version?

I like the top X replied to threads, viewed threads, voted on threads, etc.

Will that be added into the 3.5 version of the hack?

-Raymond @ WNYPoker.com

The version you are talking about wasn't released by me. Though I will be adding some more "modules" to this hack soon.

q8-star 10-03-2005 07:55 AM

Quote:

Originally Posted by InfiniteWebby
It seems as though the templates weren't installed correctly. Check to see if the TOPXSTATS template has been installed.

The template is there ,I can't see anything wrong with it.
check it here please.

My regards ,,,

jluerken 10-05-2005 05:43 PM

Hi,

I want to exclude special userIDs from the TopPoster list. (like RSS Botusers etc.)

How can I manage this?

InfiniteWebby 10-05-2005 11:17 PM

@q8-star: I'm not sure what's going wrong with it.

@jluerken: Search this thread, I'm pretty sure someone else asked the same question.

NotaBene 10-06-2005 12:23 PM

Hi,

In one of my forums a membergroup's posts go directly into our moderation queue (the forum is not moderated !) Their posts are displayed in TopXStats, but are -of course- not readable until they get out of the moderation queue. That's why members get an error saying that the thread does not exist.
Do you have an explanation for this behaviour / can you change it ?

thx,
NotaBene

jluerken 10-06-2005 12:33 PM

Quote:

Originally Posted by NotaBene
Hi,

In one of my forums a membergroup's posts go directly into our moderation queue (the forum is not moderated !) Their posts are displayed in TopXStats, but are -of course- not readable until they get out of the moderation queue. That's why members get an error saying that the thread does not exist.
Do you have an explanation for this behaviour / can you change it ?

thx,
NotaBene

Check your usergroup settings. This has nothing to do with the hack.
I think you set the option to moderate this usergroup.

NotaBene 10-06-2005 12:54 PM

Quote:

Originally Posted by jluerken
Check your usergroup settings. This has nothing to do with the hack.
I think you set the option to moderate this usergroup.

Yes, I checked it - I wanted to check it as I want posts from this usergroup to be moderated.
My problem: Although the new threads aren't displayed in forumdisplay and the posts / threads aren't readable by entering the Post-/Thread-ID (which is like it should be) the TopXStat displays them as new posts / threads.

greetz,
NotaBene

jluerken 10-06-2005 01:25 PM

Quote:

Originally Posted by InfiniteWebby
@q8-star: I'm not sure what's going wrong with it.

@jluerken: Search this thread, I'm pretty sure someone else asked the same question.


I did so but I could not find the answer.

I want to exclude special userids or groups from showing up.

Example:
USERID. 1234 from an RSS Feed Bot
USERGROUP 8: Banned users should not be listed there.

jluerken 10-06-2005 04:54 PM

I found out how I can exclude users from the TOP Poster list.

In topXstats.php find:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 

and change to
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE userid NOT IN (1282,1) ORDER BY posts DESC LIMIT 0, $displayrecords"); 

I added a WHERE userid NOT IN (1282,1) which is an array of userid's.

In this example I excluded userid 1282 which is my RSS Bot and userid 1 which is the main Admin account.

In product-topXstats.xml find:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 

and change to:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE userid NOT IN (1282,1) ORDER BY posts DESC LIMIT 0, $displayrecords"); 

Reupload the topXstats.php and
then go to your ADMINCP - PLUGIN SYSTEM - MANAGE PRODUCTS - ADD/IMPORT PRODUCT and upload the change .xml file.
Make sure that "Allow Overwrite" is set to YES

Thats it!

I did not find out how to exclude a whole group like the banned group.

@InfiniteWebby:
Could you please release a version 1.3 where we can also exclude single userids and whole groups?

jluerken 10-06-2005 05:14 PM

I found a small cosmetic bug in version 1.2.1

I am displaying the top 5 posters on forumhome.
STATISTICS - TOP 5 is a link to the topXstats.php file displaying the whole toplist.

This is fine but when you click on this link its saying
STATISTICS - TOP 30 for example but redirecting to the topXstats.php file also.

On the Top30 list the link should redirect back to forumhome again I think.

Maybe something for 1.2.2 or 1.3? :D

InfiniteWebby 10-06-2005 10:29 PM

Ok, I start working on all of your requests soon, but I am having a little trouble with my hosting so I need to get that fixed first.

vietkool 10-06-2005 11:14 PM

is there any setting after import the XML files ? I've donw exactly what say in install.txt file but I can not get it to show the Stats at all

InfiniteWebby 10-07-2005 12:11 AM

Settings are in the vbulletin settings under top 'x' stats. If the stats aren't showing then it is likely the templates haven't been uploaded properly or you have plugins and products disabled.

lairnoc 10-08-2005 11:40 AM

he infinitewebby

How can i make an extra top latest threads and highest reputation ? Or will you do something like that in the future.. now people reply so fast that new threads survive lik e5 minutes on my forum...

rb290 10-08-2005 06:55 PM

thank you!
i wish all the other hacks were this easy to install

rb290 10-08-2005 06:56 PM

but one thing, is their a way i can put this at the top of the forum ?
cause its all the way at the bottom and it makes more sense to have it at the top

jluerken 10-08-2005 08:15 PM

Quote:

Originally Posted by rb290
but one thing, is their a way i can put this at the top of the forum ?
cause its all the way at the bottom and it makes more sense to have it at the top

Sure, you can place it whereever you want

In your Forumhome Template simply place it under the navbar like this

HTML Code:

$navbar

<if condition="$show['topXstats']">
        $topXstats
</if>


rb290 10-09-2005 01:06 AM

Quote:

Originally Posted by jluerken
Sure, you can place it whereever you want

In your Forumhome Template simply place it under the navbar like this

HTML Code:

$navbar

<if condition="$show['topXstats']">
        $topXstats
</if>



thanks !

xtreme-mobile 10-11-2005 08:06 PM

how can i make my stats box a little less wide as it seems to be stretching my page and making my banner out of line :(

auz1111 10-12-2005 05:43 PM

Is there anyway to change which threads are shown as most recent depending on which style the user is using?

or there a way to show the stats box at the top of a subforum?

I am asking this bc I have affiliate forums that are basically subforums with different styles. When a user visites the affiliate subforum I want it to be pretty self contained and only show info from that subforum.

bigmonay2k 10-16-2005 12:49 PM

how do I change it to 10??

InfiniteWebby 10-17-2005 05:46 AM

In the vbulletin settings.

bigmonay2k 10-17-2005 01:18 PM

Quote:

Originally Posted by InfiniteWebby
In the vbulletin settings.

thanks dude.

Za4a Tuner 10-18-2005 07:07 AM

Hy @ all,
at first => many thanks for the great work, i love this.

But i found a bug in this modifikation:

If someone opens a new thread with the following signs in title:
" ->
like this:
"How To Do" -> even nothing
the display of the thread in the statistic (@ Latest replies) is incorrect!

Telegon80 10-20-2005 01:28 AM

in 4 later

blue6995 10-23-2005 07:54 PM

Is there anyway of preventing the Top Posters Block from being displayed?

Thanks

xhybrid 10-24-2005 06:56 PM

hi,

your Extensions works fine @ www.r32-club.de

thank you :) :up:

Crow 10-24-2005 08:52 PM

I know this is a long shot but anyway to get this to show the newest photos from photopost (text Link)??? :nervous:

InfiniteWebby 10-25-2005 07:49 AM

Quote:

Originally Posted by blue6995
Is there anyway of preventing the Top Posters Block from being displayed?

Thanks

There is no easy way at the moment. I just got a new PC so am in the middle of sorting some stuff out, I might be back later with a solution.

Quote:

Originally Posted by Crow
I know this is a long shot but anyway to get this to show the newest photos from photopost (text Link)??? :nervous:

I am not familiar with photopost so wouldn't even know where to start.

GuaRRand 10-25-2005 09:25 AM

works great!!

Maybe an idea for next version (if its not mentioned before)
Show the avatar of the #1 poster on the list?

redlabour 10-25-2005 10:30 AM

Hi,

how can i use TopXStats in iFrames in a xternal Portal PHP or HTML Block for vBa, vBP or MKPortal ?

plateau 10-26-2005 09:59 AM

stillllllllllllllll waiting for more columns coming out..................

come on mate. ... ... ^_^

divided_by_fear 10-29-2005 05:11 AM

is there any way you could get this working for vBadvanced CMPS v2.0.0 and if so thank you very much...

caliman 11-02-2005 01:31 PM

It would be nice if this did not show redirects if you move a thread.

Also if I remove top posters, what code do I have to remove so that it runs faster (doesn't query the db about top posters).

thanks! cool mod.

outlaw621 11-05-2005 05:01 PM

Quote:

Originally Posted by jluerken
I found out how I can exclude users from the TOP Poster list.

In topXstats.php find:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 

and change to
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE userid NOT IN (1282,1) ORDER BY posts DESC LIMIT 0, $displayrecords"); 

I added a WHERE userid NOT IN (1282,1) which is an array of userid's.

In this example I excluded userid 1282 which is my RSS Bot and userid 1 which is the main Admin account.

In product-topXstats.xml find:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 

and change to:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE userid NOT IN (1282,1) ORDER BY posts DESC LIMIT 0, $displayrecords"); 

Reupload the topXstats.php and
then go to your ADMINCP - PLUGIN SYSTEM - MANAGE PRODUCTS - ADD/IMPORT PRODUCT and upload the change .xml file.
Make sure that "Allow Overwrite" is set to YES

Thats it!

I did not find out how to exclude a whole group like the banned group.

@InfiniteWebby:
Could you please release a version 1.3 where we can also exclude single userids and whole groups?

Did you try changing userid to usergroupid? I have not tested this yet. It is just a thought.

In topXstats.php find:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 

and change to

PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE usergroupid NOT IN (8) ORDER BY posts DESC LIMIT 0, $displayrecords"); 


In product-topXstats.xml find:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 

and change to:
PHP Code:

$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE usergroupid NOT IN (8) ORDER BY posts DESC LIMIT 0, $displayrecords"); 

The above code MAY let you exclude by group instead of user. In the above examples, it should exclude group 8 which is the default banned users group.

caliman 11-06-2005 01:40 PM

Thank you outlaw I will try that.
Do you know anything about the 'moved thread' bug? It shows the redirect and the thread.


All times are GMT. The time now is 10:52 PM.

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.01592 seconds
  • Memory Usage 1,862KB
  • 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
  • (2)bbcode_html_printable
  • (12)bbcode_php_printable
  • (12)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