Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Fairly simple question... Details »»
Fairly simple question...
Version: , by Leo Wyatt Leo Wyatt is offline
Developer Last Online: Apr 2004 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-16-2003 Last Update: Never Installs: 0
 
No support by the author.

I'm installing a hack, and somewhere in the file it says

// ###################### Start usergroupchooser #######################
Then a bunch of code below

[mods can edit users hack by Xenon is what Im adding]

What do I do with the code below? Do I have to run it as a query? Or what?

Thanks and excuse my newbie-ness

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-16-2003, 03:16 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this line you posted above belongs to the code you have to add to your file.
ok, it's just a comment, but it's belonging to the code you have to add
Reply With Quote
  #3  
Old 07-16-2003, 05:29 PM
Leo Wyatt Leo Wyatt is offline
 
Join Date: Oct 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I know it's a comment - but I mean where do I add the code below it? And well...the other codes under the other comments, too
Reply With Quote
  #4  
Old 07-16-2003, 05:32 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you just add the code directly below it as specified in the hack's instructions. You just open the php file, add code as instructed, save, adn reupload the file.
Reply With Quote
  #5  
Old 07-16-2003, 06:51 PM
Leo Wyatt Leo Wyatt is offline
 
Join Date: Oct 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah - I see...all in user.php...Okay - thanks Rose, I'll try it.
Reply With Quote
  #6  
Old 07-16-2003, 08:07 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me hugs rose for making my work ^^

*relaxing*
Reply With Quote
  #7  
Old 07-16-2003, 08:13 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a hug!!

[high]* Rose hugs stefan
[/high]

Leo Wyatt - getting it? If not, just post back and someone'll be sure to help. And do share the url to your board when it's available.
Reply With Quote
  #8  
Old 07-17-2003, 12:07 PM
Leo Wyatt Leo Wyatt is offline
 
Join Date: Oct 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep - it worked. Thanks again Oh and it's already open if ya wanna see it

http://www.reality-boards.net/forum

okay okay - maybe I do have ONE questions for you, Xenon - what do I need to add to make it so that I can specify the mods that can edit users? [like if i don't want ALL of them to be able to edit it]
Reply With Quote
  #9  
Old 07-17-2003, 12:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well as i stated in the supportthread already, all you have to do is to make some kind of permission selcting by using if clauses:

PHP Code:
if ($bbuserinfo['userid'] == 5)
{
  
$canedit['....'] = 1;
...
} else {
$canedit['...'] = 0
Reply With Quote
  #10  
Old 07-17-2003, 03:24 PM
Leo Wyatt Leo Wyatt is offline
 
Join Date: Oct 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again both of ya. I got the hack all set
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:26 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.04298 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete