vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited today (with last 24 hours option). (https://vborg.vbsupport.ru/showthread.php?t=71533)

pedrovazquez10 09-21-2005 09:49 AM

how to view it only admin thanks!

mustang_lex 09-21-2005 11:32 AM

It took me 2 minutes to install this!!!! I have tons of hacks and I'm surprised I waited this long for this one and yes it works for 3.0.7. I lvoe it. Thanks... Clicked install

Gizmo99 09-21-2005 07:47 PM

Installed Whicked :)

Paul M 09-21-2005 09:53 PM

Quote:

Originally Posted by pedrovazquez10
how to view it only admin thanks!

Surround the hacks template code with a check like this ;

Code:

<if condition="$bbuserinfo[userid] == 6">

... template code ...

</if>


pedrovazquez10 09-22-2005 07:24 AM

thank! its works but we are 3 admin and only view one how to view the 3 thanks

pedrovazquez10 09-22-2005 08:49 AM

<if condition="$bbuserinfo[usergroupid] == 6">

its work for admin group 6, but not view group 5 what is the code for this ??

pedrovazquez10 09-22-2005 03:26 PM

upssss

Paul M 09-22-2005 06:17 PM

Quote:

Originally Posted by pedrovazquez10
upssss

eh ?

pedrovazquez10 09-23-2005 12:49 AM

Pardon but my English one is not good and i want to do a question but I saw that was not in this section and I am wrong it I sit a greeting

Paul M 09-23-2005 01:17 AM

Quote:

Originally Posted by pedrovazquez10
<if condition="$bbuserinfo[usergroupid] == 6">

its work for admin group 6, but not view group 5 what is the code for this ??

Group 5 is not administrators, which is what you asked. To do more than one group try this;

Code:

<if condition=" in_array($bbuserinfo[usergroupid],array('5,6') ">


All times are GMT. The time now is 01:07 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.01528 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)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