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


All times are GMT. The time now is 01:45 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.01273 seconds
  • Memory Usage 1,759KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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