vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Cyb - Login To User Account (https://vborg.vbsupport.ru/showthread.php?t=122989)

Luke Brown256 09-06-2006 02:22 PM

Ok i think i may have found the problem, i am not vyer good with developing vb mods.
But by any chance in order for this to work does the administrators PRIMARY usergroup HAVE to be the administrators usergroup, becuase it is set up as a secondary usergroup for most of my admins, because of the way our forum is set up.

Valter 09-06-2006 03:08 PM

That's the problem then.

Admin's primary usergroup must be "6" (Administrator) to be able to use this hack.

Luke Brown256 09-06-2006 04:47 PM

is there a way around that, as i would like to be able to use the mod, but i have to have the primary usergroup set to something else.

Martin-TMGRS 09-06-2006 08:58 PM

I'm loving this and i've only just installed it, great work Cybernetec

Luke Brown256 09-06-2006 11:35 PM

Ok i modded the mod lol, i got it to work with the a user being a member of administrators as a secondary group aswell.
ty for the mod ;)

24-play 09-10-2006 11:46 AM

Quote:

Database error in vBulletin 3.6.0:

Invalid SQL:

SELECT userid, username, password, salt, styleid
FROM vb_user
WHERE userid =
LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4
Error Number : 1064
Date : Sunday, September 10th 2006 @ 01:33:31 PM
Script : http://www.forum.*****.com/index.php?do=backtoadmin
Referrer : http://forum.******.com/index.php?styleid=5
IP Address : *********
Username : ******
Classname : vb_database
I get this error when I try to click the link which takes me back to my user account, I was attempting to log back in to my account from another administrator account. Does anyone know what may be causing this please? Thanks.

Thanks,
~ Luke.

mIRCnet 09-10-2006 02:38 PM

Cyb, I installed this hack and I got the same error 24-play got, but it doesnt show all the time , just some times.

Thanks

Luke Brown256 09-10-2006 03:01 PM

i am no expert but it looks from the error message that the userid is not being passed through.
The userid for getting back to your admin account is stored as a cookie.

So make sure you have cookies enabled.

Valter 09-10-2006 03:32 PM

Yes, be sure that cookies are enabled and also be sure to not use those programs which deletes internet activities traces when you are logged in as user. It will delete info about your original account (ID) so you'll not be able to go back, and you'll get that db error.

24-play 09-10-2006 05:50 PM

Ahhhh okay, hummm I wonder what's deleting my cookies then, shall have to look into that. Who eat my cookies :).

Thanks for your help. :D


All times are GMT. The time now is 04:35 PM.

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.01315 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
  • (1)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