Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Details »»

Version: 1.00, by Sandron Sandron is offline
Developer Last Online: Aug 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-11-2002 Last Update: Never Installs: 23
 
No support by the author.

That's my first hack.

The hack allows your mods to edit username, useremail, homepage and signature only from registered users via modCP.

Changed files: user.php in mod directory

All further instructions can be found in the attachment.

Show Your Support

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

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

h?ttest wenigstens dazuschreiben k?nnen, dass der hack von mir ist tobi


Edit: Download bugfixed Version 1.0a here
  #3  
Old 02-12-2002, 12:37 PM
Sandron Sandron is offline
 
Join Date: Feb 2002
Location: germany
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Den hab ich heute morgen selber programmiert Stefan. Von dir hab ich nur den mit den Avataren...
  #4  
Old 02-12-2002, 12:38 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wieso meinst du konnte man beim d2n sonst diese ganzen änderungen machen????

du hast ihn zwar etwas optimiert, muss ich dir ja zugestehn, aber die grundversion hab ich noch damals im d2n gebaut gehabt
  #5  
Old 02-12-2002, 01:29 PM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for those that don't speak german and are itching to see what they're talking about http://babelfish.altavista.com/tr
  #6  
Old 02-12-2002, 02:14 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by MrLister
for those that don't speak german and are itching to see what they're talking about http://babelfish.altavista.com/tr
or u can simply translate the thread by "Translate Thread" under the thread (between Forum Jump & Admin Options)
  #7  
Old 02-12-2002, 10:00 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tanslate that! @###$!!!****@@@@@
  #8  
Old 02-24-2002, 04:44 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for this guys, we've cleared this outside, theres no need for an translation

@Tobi: Warum eigentlich bei den Betahacks und nicht bei full releases? gibt doch keinerlei fehler
(i ask, why he put this hack into the Beta Area and not to the full releases)
  #9  
Old 04-16-2002, 01:34 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right...

I like this Hack...

Just one problem...

How do I remove the "Edit Username" function of it...

I dont want our mods editing user's usernames...

Satan
  #10  
Old 04-16-2002, 02:29 PM
Sandron Sandron is offline
 
Join Date: Feb 2002
Location: germany
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello hellsatan

Instead of this
PHP Code:
maketableheader("Edit User - $user[username] (userid: $user[userid])");
      
makeinputcode("User Name","ausername",$user[username],0);
      
makeinputcode("Email Address","email",$user[email],0);
      
makeinputcode("Home Page","homepage",$user[homepage],0);
      
maketextareacode("Signature","signature",$user[signature],8,45);
      echo 
"<input type=\"hidden\" name=\"userid\" value=\"$user[userid]\">";
      echo 
"</td></tr>"
take this:
PHP Code:
maketableheader("Edit User - $user[username] (userid: $user[userid])");
     
makeinputcode("Email Address","email",$user[email],0);
      
makeinputcode("Home Page","homepage",$user[homepage],0);
      
maketextareacode("Signature","signature",$user[signature],8,45);
      echo 
"<input type=\"hidden\" name=\"userid\" value=\"$user[userid]\">";
      echo 
"</td></tr>"
Also replace this
PHP Code:
$DB_site->query("UPDATE user SET
username='"
.addslashes(htmlspecialchars($ausername))."'$pwdinclude,email='".addslashes(htmlspecialchars($email))."',homepage='".addslashes(htmlspecialchars($homepage))."',signature='".addslashes($signature)."' WHERE userid=$userid"); 
with
PHP Code:
$DB_site->query("UPDATE user SET email='".addslashes(htmlspecialchars($email))."',homepage='".addslashes(htmlspecialchars($homepage))."',signature='".addslashes($signature)."' WHERE userid=$userid"); 
Didn't try it out, but it should work.
Closed Thread


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 09:16 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.04636 seconds
  • Memory Usage 2,307KB
  • 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
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete