vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Mods can edit Users (https://vborg.vbsupport.ru/showthread.php?t=42096)

Xenon 10-21-2002 04:50 PM

normally it should, because it's just an addition to a file no important changes on original lines...

so i'd say try it, i think it'll work

Axel Foley 11-03-2002 01:39 AM

First of all thanks for your work Xenon...it's helpful.

One of my moderators reported me this problem:

Everything works fine, except that when he edits himself (his own profile), instead of giving an error because I didn't include his groupid in the permissions, vB gives him a db error, I can confirm because an email is sent to me with the error as soon as he does this operation. Here's the mail:

Quote:

Database error in vBulletin Mod Control Panel 2.2.5:

Invalid SQL: SELECT usertitle FROM usergroup WHERE usergroupid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Saturday 02nd of November 2002 07:55:47 PM
Script: http://forum.xxxxxx.org/mod/user.php
Referer: http://forum.xxxxxx.org/mod/user.php...edit&userid=32
This only happens when he tries to edit his own profile, if he tries to edit another moderator's profile, a permission error correctly shows up.

Could you check on this one please?

Thanks again...

Xenon 11-03-2002 07:40 PM

ahh, i see.

well it's always hard to test such things, because there are so many combinations of possibilities.....

i think it should work now, download the newest version, i've added a small if-clause within the update part, which should fix this bug..

Axel Foley 11-06-2002 07:03 PM

Sorry for the delay Xenon...just wanted to let you know that the fix worked...and thank you very much for your work...really appreciated...:)

John 11-06-2002 07:52 PM

Good work Xenon! ;)

Xenon 11-07-2002 02:08 PM

Thanks :)

wolfman 11-07-2002 05:43 PM

Yes I love this hack since its a pain to have only admin make minor changes the users request sometimes. Well on my forum it seems the users do not want to PM me but they want to ask a mod to do this for them. This does help out alot and is far less work to install than the lesser admin panel. Not saying it not any good but this is just so much easier to install.

Ice Man_00 11-10-2002 03:25 PM

Hi m8.

Great hack.... but got a error, have any clues ??

Fatal error: Cannot redeclare usergroupchooser() (previously declared in /home/www/forum/mod/user.php:199) in /home/www/forum/mod/user.php on line 456

???

Cheers, ICe Man_00

Xenon 11-10-2002 03:29 PM

hmm, maybe you've made something wrong while installing the hack.

reinstall it on a fresh user.php

Ice Man_00 11-10-2002 03:40 PM

Hmm.. i did a fresh copy, then the edit user link din`t work, but the view user work... strange.. but no buttons at the bottom...

hehe.. confused..


All times are GMT. The time now is 06:34 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.01126 seconds
  • Memory Usage 1,735KB
  • 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