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)
-   -   Moderator Statistics (https://vborg.vbsupport.ru/showthread.php?t=106329)

rareclownfish 04-16-2006 03:55 AM

Sorry about all the questions I'm a noob, could you give an example for the code to put it the navbar?
Thanks

ShadowOne 04-16-2006 04:42 AM

the only thingi would ask is for the table to fit correctly...is it possible to make it where it has a simplified version? so it wont stretch tables?

Abe1 04-16-2006 05:05 AM

Quote:

Originally Posted by ShadowOne
the only thingi would ask is for the table to fit correctly...is it possible to make it where it has a simplified version? so it wont stretch tables?

Your tables get stretched now?

Abe1 04-16-2006 05:07 AM

Quote:

Originally Posted by rareclownfish
Sorry about all the questions I'm a noob, could you give an example for the code to put it the navbar?
Thanks

Open template navbar
find:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
add after:
<td class="vbmenu_control"><a href="misc.php?do=moderator_stats">Mod Stats</a></td>

ShadowOne 04-16-2006 06:29 AM

yah when you go to the actual page... the table is stretched off to the right...

rareclownfish 04-16-2006 02:39 PM

Quote:

Originally Posted by Abe1
Open template navbar
find:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
add after:
<td class="vbmenu_control"><a href="misc.php?do=moderator_stats">Mod Stats</a></td>

Thanks it showed up in the navbar,:banana: is there away to get it in the mini stats box?

ShadowOne 04-16-2006 07:58 PM

Quote:

Originally Posted by Abe1
Open template navbar
find:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
add after:
<td class="vbmenu_control"><a href="misc.php?do=moderator_stats">Mod Stats</a></td>

wouldnt you need a condition for that to work properly? because like that eveyrone will see the link...

rareclownfish 04-17-2006 12:40 AM

Quote:

Originally Posted by ShadowOne
wouldnt you need a condition for that to work properly? because like that eveyrone will see the link...

Everyone see's the link but when you click on it, it says you don't have permission for it. If you have the code I'll use it.

Abe1 04-17-2006 12:16 PM

Quote:

Originally Posted by rareclownfish
Everyone see's the link but when you click on it, it says you don't have permission for it. If you have the code I'll use it.

add to the beg.
<if condition="$bbuserinfo[usergroupid] == 6">

add after
</if>

Abe1 04-17-2006 12:17 PM

Quote:

Originally Posted by rareclownfish
Thanks it showed up in the navbar,:banana: is there away to get it in the mini stats box?

You can add the link any where.


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.01231 seconds
  • Memory Usage 1,738KB
  • 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
  • (7)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