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)

brownafroduck 07-07-2004 04:45 AM

Great hack!

/me clicks install!

Michael Morris 09-01-2004 08:05 AM

Chiming in another vb3 request :)

Xxman 10-09-2004 02:09 PM

@ Xenon : "please help me even if the Vb2 Hack support is finished !"

How I have to modify your hack for show in usergroup combo box the actual user's usergroup instead that the selected one ordered by this script ?

PHP Code:

// Build WHERE clause
  
$splitlist=explode(" ",$usergroups);
  
$wheresql"0 ";
  while (list(
$key,$val)=each($splitlist)) {
    
$wheresql.=" OR usergroupid=".$val;
  }

  echo 
"<tr class='".getrowbg()."' valign='top'>\n<td><p>$title</p></td>\n<td><p><select name=\"$name\"".iif($size!=0," size=\"$size\"","").">\n";

  
$result=$DB_site->query("SELECT title,usergroupid FROM usergroup WHERE ".$wheresql." ORDER BY title");
  while (
$currow=$DB_site->fetch_array($result)) { 

Thank's in advace magister ! ;)

Xenon 10-10-2004 09:48 PM

Sorry, but i do not understand what you want to change.

*confused*

Xxman 10-11-2004 08:05 AM

Well,
if I have to modify a user's profile searching for it ( a registered user for example ) in the usergroup combo box will be diplayed as default "coppa user" instead the correct user's usegroup. If a moderator doesn't realize it a trouble will be produced . You can fix this ?

Thanks.

Xenon 10-11-2004 05:21 PM

Hmm, wierd according to my tests in the past it does that already.

also the "selected" is where it should be.

So it may be a browser issue, but as i don't have a vb2 anymore since one year now, i cannot help you out more.

Xxman 10-12-2004 09:55 AM

Thanks however, you've been very kind to answer me ..

Xenon 10-12-2004 03:50 PM

Sorry that i can't help out more.

Maybe when i write a vb3 version, i may run over this problem again and find something :)

rex_b 11-10-2004 09:34 PM

when can we expect the vb3 version oh great one!?

Xenon 11-11-2004 04:22 PM

I would like to know myself ^^

actually my schedule is totally full currently :(


All times are GMT. The time now is 09:00 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.03609 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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