vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   in_array problems (https://vborg.vbsupport.ru/showthread.php?t=123346)

VodkaFish 08-10-2006 10:29 PM

Thanks for the cleanup.

I truly don't understand it - as I mentioned above, echo $vbulletin->userinfo['usergroupid']; writes my correct usergroup (6), but yet I'm still getting blocked. It must be something else in my template, I'll comb it again.

Paul M 08-11-2006 12:22 AM

Please explain what you mean by "getting blocked"

VodkaFish 08-11-2006 02:18 AM

All users get the no permission message, including myself.

Paul M 08-11-2006 03:49 AM

Then you need to post all the code, not just that little section.

VodkaFish 08-11-2006 04:31 AM

I found where it was, I used a variable called $fin and set it before I did require_once("./global.php");
Afterwards, it was getting wiped out, which also would give a no permission error.

So I changed my $fin to $fin_no_likey_vb (well, something different is the point) and all is good now.

Thanks everyone for the help.

Freesteyelz 08-11-2006 07:16 AM

Cool. :)


All times are GMT. The time now is 02:14 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.01015 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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