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)
-   -   psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x) (https://vborg.vbsupport.ru/showthread.php?t=104213)

maranello 05-17-2006 12:31 PM

nevermind, should have waited 15 minutes before posting:)

akanevsky 05-18-2006 01:47 AM

Quote:

Originally Posted by maranello
nevermind, should have waited 15 minutes before posting:)

Yup. :)

johnn 06-18-2006 05:34 AM

Hi, I just recently installed this hack, and find it pretty cool! My members love it.

Here is my problem:

When it shows staff, it only shows out of 3 usergroups, admin, s-mod, and mods. I actually have more usergroups that are staff, so I went and edited the PHP file to make it find the rest of my staff, and it worked.

What the problem is though, I then figured out that I had to go into the template editor to make it show the individual groups. The problem is, when I have this:

Code:

($c[administrators] $vbphrase[psistats_home_admins], $c[smoderators] $vbphrase[psistats_home_smods], $c[amoderators] $vbphrase[psistats_home_amods], $c[moderators] $vbphrase[psistats_home_mods], $c[news_chiefs] $vbphrase[psistats_home_news_chiefs], $c[news_publishers] $vbphrase[psistats_home_news_pubs])
I get this:

https://vborg.vbsupport.ru/

Why are the names not showing up next to the numbers?

akanevsky 06-18-2006 10:28 AM

Quote:

Originally Posted by johnn
Hi, I just recently installed this hack, and find it pretty cool! My members love it.

Here is my problem:

When it shows staff, it only shows out of 3 usergroups, admin, s-mod, and mods. I actually have more usergroups that are staff, so I went and edited the PHP file to make it find the rest of my staff, and it worked.

What the problem is though, I then figured out that I had to go into the template editor to make it show the individual groups. The problem is, when I have this:

Code:

($c[administrators] $vbphrase[psistats_home_admins], $c[smoderators] $vbphrase[psistats_home_smods], $c[amoderators] $vbphrase[psistats_home_amods], $c[moderators] $vbphrase[psistats_home_mods], $c[news_chiefs] $vbphrase[psistats_home_news_chiefs], $c[news_publishers] $vbphrase[psistats_home_news_pubs])
I get this:

http://i22.photobucket.com/albums/b3...de/problem.jpg

Why are the names not showing up next to the numbers?

First: You do not need to have more than three groups in the script. Administrators are detected by cancontrolpanel permission, supermoderators are detected by ismoderator permission, and moderators are detected by their presence in the moderator table. That'll work with unlimited number of groups, as long as appropriate permissions are set.

Second: Because they are not supposed to show.

johnn 06-18-2006 02:36 PM

Quote:

Originally Posted by Psionic Vision
First: You do not need to have more than three groups in the script. Administrators are detected by cancontrolpanel permission, supermoderators are detected by ismoderator permission, and moderators are detected by their presence in the moderator table. That'll work with unlimited number of groups, as long as appropriate permissions are set.

Like I said though, when I first installed the hack, it showed only the three groups, which resulted in only showing 7 total staff instead of 15 as shown in the picture. I have more staff that aren't moderators, so they wouldn't be detected in the moderator table anyways. This is why I had to add more groups in the script.


Quote:

Second: Because they are not supposed to show.
So you are saying that there is no way to make it show? What makes the words admins, s-mods, and mods, show?

Thank you.

akanevsky 06-18-2006 02:39 PM

Oh, the names of the GROUPS?
You just add them into the template. Either as phrases or directly as text.

johnn 06-18-2006 03:01 PM

Quote:

Originally Posted by Psionic Vision
Oh, the names of the GROUPS?
You just add them into the template. Either as phrases or directly as text.

Lol yes. But now reffer back to what I showed you before! I tried adding them in as $vbphrase (as you see in the coding I posted), but it doesn't seem to work (as you see in my picture that I posted). I guess I could try direct text though...

EDIT: NVM, direct texts works perfect! Thanks for your help. :)

akanevsky 06-18-2006 10:39 PM

If you add vbphrase, you have to add the vbphrase into the right phrasegroup (psistats).

Snake 06-23-2006 04:19 PM

Before I go and install this mod directly, do you plan to release a new version like soon?

akanevsky 06-23-2006 04:23 PM

Nope.


All times are GMT. The time now is 08:46 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.01342 seconds
  • Memory Usage 1,745KB
  • 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
  • (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