Jump to content
MakeWebGames

[mccode v2] Edit User Profile Signatures from staff / admin panel


Uridium
 Share

Recommended Posts

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

Link to comment
Share on other sites

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 )

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...