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)

InfiniteWebby 07-31-2005 01:12 AM

The permissions bundled with the previous version was just me experimenting so you shouldn't have seen that. But I have re-released the hack with the final permissions code as well as proper deletion notices code. So go an re-install the whole thing.

I still have to figure out how I am going to implement the can view other users thread but I have some ideas ;).

Loki12 07-31-2005 07:54 AM

Quote:

Originally Posted by AnimeWebby
The permissions bundled with the previous version was just me experimenting so you shouldn't have seen that. But I have re-released the hack with the final permissions code as well as proper deletion notices code. So go an re-install the whole thing.

Works like a charm, thanks. :)

So quick... uninstall and reinstall in less than a minute!

ForYou 07-31-2005 09:26 AM

Hello ,

thank you for this plugin , it is very nice

my qustion is ,

is there any future to appear user name color for user gruops like what i setting im it ,

for example :

members : red
Mod : green
Admin : white

Regards

Damien2005 07-31-2005 01:11 PM

Quote:

Originally Posted by ForYou
Hello ,

thank you for this plugin , it is very nice

my qustion is ,

is there any future to appear user name color for user gruops like what i setting im it ,

for example :

members : red
Mod : green
Admin : white

Regards

this is a good idea
so maybe can AnimeWebby think about it and add the usergroup colors :rolleyes:

InfiniteWebby 07-31-2005 11:50 PM

It's already on my todo list. It will use whatever formatting you have set in your usergroup settings.

ForYou 08-01-2005 01:20 AM

Quote:

Originally Posted by AnimeWebby
It's already on my todo list. It will use whatever formatting you have set in your usergroup settings.

Hello Anime,

It's very nice to hear that from u :)

but when it will be ready to use it ,

Regards

akanevsky 08-01-2005 01:40 AM

To let people view self-posted threads in restricted forums, just do the forum check in
while ($getstats_thread = $db->fetch_array($getstats_threads))
instead of doing $excludedforums before that...

What is esspecially notable is the neat code of yours :) Nice! Installed.

EasyTarget 08-01-2005 01:51 AM

Nice hack, its working good.
I was wondering how I could attach the board statistics box to the bottom of this.

the box that says:
Threads: #, Posts: #, Members: #
Welcome to our newest member, Username

InfiniteWebby 08-01-2005 04:13 AM

Quote:

Originally Posted by Dark Visor
To let people view self-posted threads in restricted forums, just do the forum check in
while ($getstats_thread = $db->fetch_array($getstats_threads))
instead of doing $excludedforums before that...

What is esspecially notable is the neat code of yours :) Nice! Installed.

Yah I was thinking that but that would mean that I would have to change the query to grab alot more results, changing the while loop to only run until there are 5 results SHOWN instead of while there are still results from the quert and check inside the loop.

And call me paedantic but I don't like using while loops like that, I'd prefer to somehow just grab the full query.

Quote:

Originally Posted by EasyTarget
Nice hack, its working good.
I was wondering how I could attach the board statistics box to the bottom of this.

the box that says:
Threads: #, Posts: #, Members: #
Welcome to our newest member, Username

Try this (it looks a bit silly but it's the best I could do.:

Find on your FORUMHOME:

Code:

</table>
<br />
<!-- end what's going on box -->

And replace with:

Code:

<thead>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_statistics')"><img id="collapseimg_forumhome_statistics" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_statistics].gif" alt="" border="0" /></a>
                        <a href="topXstats.php$session[sessionurl_q]">$vbphrase[statistics] - <phrase 1="$displayrecords">$vbphrase[top_x]</phrase></a></td>
        </tr>
</thead>
<tbody id="collapseobj_forumhome_statistics" style="$vbcollapse[collapseobj_forumhome_statistics]">
<tr>
<td class="alt2" colspan="2">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
        <tr>
                <td class="alt2" width="23%" align="$stylevar[left]" nowrap="nowrap"><b>$vbphrase[top_posters]</b></td>
                <td class="alt1" width="22%" align="$stylevar[left]" nowrap="nowrap"><b>$vbphrase[newest_members]</b></td>
                <td class="alt2" width="55%" nowrap="nowrap"><b>$vbphrase[latest_replies]</b></td>
        </tr>
        <tr>
                <td class="alt2" width="23%" valign="top">
                <table>
                        <tr>
                                <td width="100%" nowrap="nowrap">$vbphrase[member]:</td>
                                <td align="right" nowrap="nowrap">$vbphrase[posts]:</td>
                        </tr>
                        $topXstats_posters_bits
                </table>
                </td>
                <td class="alt1" width="22%" valign="top">
                <table>
                        <tr>
                                <td width="100%" nowrap="nowrap">$vbphrase[member]:</td>
                                <td align="right" nowrap="nowrap">$vbphrase[posts]:</td>
                        </tr>
                        $topXstats_members_bits
                </table>
                </td>
                <td class="alt2" width="55%" valign="top">
                <table>
                        <tr>
                                <td width="70%" nowrap="nowrap">$vbphrase[thread]:</td>
                                <td width="30%" nowrap="nowrap">$vbphrase[last_poster]:</td>
                                <td align="right" nowrap="nowrap">$vbphrase[views]:</td>
                                <td align="right" nowrap="nowrap">$vbphrase[replies]:</td>


                        </tr>
                        $topXstats_threads_bits
                </table>
                </td>
        </tr>
</table>
</td>
</tr>
</tbody>
</table>

<br />
<br />
<!-- end top statistics box -->


GrendelKhan{TSU 08-01-2005 08:23 AM

everything peachy here

thanks!
<<< 3.5 RC1 INSTALLED :D :D

EasyTarget 08-01-2005 11:10 AM

thanks animewebby. I moved the stats to the top of the forum by including it under the navbar in the forumhome and I thought it'd look nice to have the other stats box run underneath it as well. I'll be messing around with the code you provided to see if I can figure something out, thanks again.

akanevsky 08-01-2005 12:13 PM

Quote:

Yah I was thinking that but that would mean that I would have to change the query to grab alot more results, changing the while loop to only run until there are 5 results SHOWN instead of while there are still results from the quert and check inside the loop.

And call me paedantic but I don't like using while loops like that, I'd prefer to somehow just grab the full query.
You just do it by incrementing $i or any other variable after actually showing the thread. On the other hand, I don't see why do you need to see threads that you cannot actually read (since they're in private forums).

dbembibre 08-01-2005 03:52 PM

Installed, work ok, thabks alot

InfiniteWebby 08-01-2005 10:04 PM

Quote:

Originally Posted by Dark Visor
You just do it by incrementing $i or any other variable after actually showing the thread. On the other hand, I don't see why do you need to see threads that you cannot actually read (since they're in private forums).

Yes but you still need to grab a query that will be substantially bigger than if you were to just grab the first 5.

And they are not in private forums. The can view others thread works so that you can still make your own new threads and view them, you just cant view others. Say you setup a feedback forum or something similar where only the admins could see all the threads and therefore reply to them however you can only see the threads you make, therefore preventing unwanted replies from other people. So it is imperitive to be able to see new replies in your thread on the top 5 stats without seeing other threads from the forum.

But like I said earlier. I think I have got a fix for this so you might see an update soon.

InfiniteWebby 08-02-2005 12:28 AM

Updated for username formatting based on usergroup settings.

Also updated the screenshots to see how such formatting works as well as how deleted threads work.

XtremeOffroad 08-02-2005 02:25 AM

Installed and worked great, Thanks.

Damien2005 08-02-2005 10:17 AM

Hi AnimeWebby,

Can you add the usergroup colors in to this great hack from you?
I love the top5 and would see it with more colors ;) so i hope you can added soon for us, you will make a lot people very happy

Best Regards
Damien..

Neal-UK 08-02-2005 10:21 AM

Quote:

Originally Posted by Damien2005
Hi AnimeWebby,

Can you add the usergroup colors in to this great hack from you?
I love the top5 and would see it with more colors ;) so i hope you can added soon for us, you will make a lot people very happy

Best Regards
Damien..

It already does, download the latest version ;-)

See > www.burnleyweb.com/forum

Damien2005 08-02-2005 10:26 AM

Oeps jup sorry I see it

Great hack thanks mate you rock vbulletin

yupfish 08-04-2005 09:26 PM

Could you provide us with a code to make a simple table with a border? Thank you.

ForYou 08-04-2005 10:40 PM

Quote:

Originally Posted by nealparry
username

Hello ,

I was download the last virsion of this hack but the user name formatting still not change to the color groups , what is the problem with me , and how can i let the color of user names work ,

regards

plateau 08-04-2005 11:23 PM

still waiting for more columns, cheers.

InfiniteWebby 08-05-2005 12:19 AM

Quote:

Originally Posted by ForYou
Hello ,

I was download the last virsion of this hack but the user name formatting still not change to the color groups , what is the problem with me , and how can i let the color of user names work ,

regards

Are you sure you have some sort of formatting in your usergroup settings?

Quote:

Originally Posted by Plateau
still waiting for more columns, cheers.

I'm working on other stuf atm but once I start on this it shouldn't be too hard.

ForYou 08-05-2005 12:23 AM

Hello AnimeWebby ,

yes i have , becuase the users name appear color on the forums , Admin have read , Mod have green , Members have Blue ,

I don't know why it's not appear in the Top X

please help
Regards

InfiniteWebby 08-05-2005 12:26 AM

I don't know whats wrong. Try re-importing the latest version and make sure you have allow overwrite selected.

ForYou 08-05-2005 12:32 AM

Quote:

Originally Posted by AnimeWebby
I don't know whats wrong. Try re-importing the latest version and make sure you have allow overwrite selected.

I was re-importing the latest version and allow overwrite , but without any solve , the users name still not cloring ,

I was put these setting to the Admin Group ,

<font color="#FC0404"><b> </font></b>

is that right ,

please help

Regards

ForYou 08-05-2005 12:48 AM

Hello ,

It was OK now , the wrong was from the temp , becuase when i importing the new virsion and allow overwrite there is no overwrite of temp and i need to delate the old temp and re Create again ,

thanks Anime , :)

Regards

InfiniteWebby 08-10-2005 09:04 AM

I've added the topXstats.php to the who's online listing so there is a new zip (v1.2.1)

plateau 08-10-2005 09:48 PM

Quote:

Originally Posted by AnimeWebby
I'm working on other stuf atm but once I start on this it shouldn't be too hard.

cheers mate!

Remember adding the Hottest Thread (by view no.) and the Most Replied Thread :squareeyed:

waiting for these and will install once it has been added.

thank u for ur work, take care.

:surprised:

mcyates 08-18-2005 11:55 AM

Is it possible to change the amount of charecters shown on the top "x" stats that will not effect the charecters in the "Last Post By" on the forumhome as i want to fit 60 characters on the thread name for the top "x" stats but 60 characters in the last post area is far to big and i can only fit 20 in there.

Thanks in advance.

poolking 08-18-2005 06:00 PM

[high]* poolking installed. :D[/high]

InfiniteWebby 08-20-2005 04:56 AM

Quote:

Originally Posted by mcyates
Is it possible to change the amount of charecters shown on the top "x" stats that will not effect the charecters in the "Last Post By" on the forumhome as i want to fit 60 characters on the thread name for the top "x" stats but 60 characters in the last post area is far to big and i can only fit 20 in there.

Thanks in advance.

Yes, if you input any amount other than 0 into the "Latest Replies Thread Title Displayed Characters" setting then it will be different to that shown on the last post info.

wilky49 08-21-2005 02:38 AM

Clicks Install

Dez_U 08-21-2005 09:05 AM

Install and working great :)

mcyates 08-22-2005 02:20 PM

how do i exclude a forum?

plateau 08-26-2005 04:24 PM

Quote:

Originally Posted by mcyates
how do i exclude a forum?

yea, i would like to know as well......

Valter 08-27-2005 01:35 AM

vBulletin Options > Top 'X' Stats by InfiniteWebby

Brinnie 08-27-2005 08:14 AM

And so these IPB guys got a 'small' hack

Top X emoticons used:
Top X Forums With Most Topics
Top X Forums With Most Posts
Top X Forums With Most Posts
Top X Topics With Most Views
Top X Posters In The Past Week
Top X Posters In The Past Month
Top X Topic Starters
Top X Newest Members With Their Posts
Top X Polls With The Most Votes
Top X Members With Highest Posts Per Day Average
Top Topics Created By Month
Top Posts Created By Month
Top Registrations By Month
Top Birthdays By Month
Top Instant Messengers Used
Top X Youngest Forum Members
Top X Oldest Forum Members
Top X Largest Posts
Top X Most Post Icons Used
Top X Downloaded Attachments

LockeAG 08-28-2005 07:25 AM

Hi Everyone..Before everithing.. I wil start writing 3 things:
1st: This is my First Post
2nd: My english is bad
3d: I'm very new in vbulletin (yes you will hate this post)

Well I'm Using this plugin at this moment (if not what a hell Im doing here , lol) .. but I have width problem with the topXstats.php page...

I have 3 languages and 2 Skins installed at the moment in my Forum , in the first skin in the english language everithing looks perfect, but in the same skin with the GERMAN and SPANISH Language the topxstats.php page looks out of place , I Mean like 20% of the right side, shows out of the Message Area Width in FireFox and in IE well, in IE looks Terrible.

and in the second skin, in all the languages is a mess the width.

I know may be I will fix this changing values in the templates of TopXStats, but I do not know where to start.

Hope you can help me, oh, by the way , I love this plug-in.

See'ja

InfiniteWebby 08-31-2005 07:50 AM

Quote:

Originally Posted by LockeAG
Hi Everyone..Before everithing.. I wil start writing 3 things:
1st: This is my First Post
2nd: My english is bad
3d: I'm very new in vbulletin (yes you will hate this post)


Well I'm Using this plugin at this moment (if not what a hell Im doing here , lol) .. but I have width problem with the topXstats.php page...

I have 3 languages and 2 Skins installed at the moment in my Forum , in the first skin in the english language everithing looks perfect, but in the same skin with the GERMAN and SPANISH Language the topxstats.php page looks out of place , I Mean like 20% of the right side, shows out of the Message Area Width in FireFox and in IE well, in IE looks Terrible.

and in the second skin, in all the languages is a mess the width.

I know may be I will fix this changing values in the templates of TopXStats, but I do not know where to start.

Hope you can help me, oh, by the way , I love this plug-in.

See'ja

Try truncating the thread titles or usernames. That is the only thing I can think of at the moment. I will start working on the next version where you will be able to set how many boxes are shown in a row so the extra stats will be able to fit in without distorting the page.


All times are GMT. The time now is 10:02 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.02485 seconds
  • Memory Usage 1,851KB
  • 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_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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