Uridium Posted November 26, 2008 Posted November 26, 2008 This is for the HTML version of the Edit user profiles that can be found on here... This will enable staff to EDIT any User profile they may find offence without having to do it via phpmyadmin.. Call this file staff_editprofile.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now open up smenu.php and add this line under the users section... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and your done Quote
MyGunWars Posted November 26, 2008 Posted November 26, 2008 Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel staff_editprofile.php?action=editprofile You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. staff_editprofile.php?action=editprofileform You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. My SQL for the profile signature is ( signature ) Quote
Uridium Posted November 26, 2008 Author Posted November 26, 2008 Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel This doesnt work for the Signature but will work for this topic http://criminalexistence.com/ceforums/i ... ic=21838.0 Quote
Uridium Posted November 26, 2008 Author Posted November 26, 2008 Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel QUERY 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 '' at line 1 Query was UPDATE users SET signature='' WHERE userid= Yep im aware of this error but it does work just cant seem to find out why its posting the error message so if anyonen can fix this i would be greatful :) Quote
Uridium Posted November 26, 2008 Author Posted November 26, 2008 [uPDATED] UPDATED script big thanks to TONKA for fixing the SQL errors :) Overwrite your original staff_editprofile.php with the one below.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MyGunWars Posted November 27, 2008 Posted November 27, 2008 Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel How do I make it work for mine? Quote
Uridium Posted November 27, 2008 Author Posted November 27, 2008 Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel How do I make it work for mine? Ive re-scripted the one from this Post http://criminalexistence.com/ceforums/i ... ic=21838.0 add that to your game first and you will be able to use the script above without any problems.... Quote
MyGunWars Posted November 28, 2008 Posted November 28, 2008 Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel Ok Quote
Eternal Posted November 28, 2008 Posted November 28, 2008 Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel why create new page for it lol in staff_users.php in the edit user section put You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and in the sql query it uses add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. *Note change the table for signature to the table that is correct with your database Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.