Jump to content
MakeWebGames

[mccode v2] ***UPDATED*** Staff Action: Full User Details


Halo

Recommended Posts

This mod basically shows all the details of that user.

NOTE: YOU MIGHT HAVE TO ADD OR REMOVE SOME SQL COLUMNS TO THE ONES YOU HAVE

UPDATES:

  • Better Gang Info
  • Better Forum Info
  • Clickable Display Pics and Forum Avatars

 

Create A File Called details.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Save details.php

In viewuser.php find:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Replace With:

 

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: [v2]Staff Action: Full User Details[v2]

 

Nice mod mate addedd it on my game but does all the staff get to view the details or only the admins?

To make this only for Admin, put this:

In viewuser.php find:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Replace With:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: [v2]Staff Action: Full User Details[v2]

And also, to make it an admin only feature, unless I'm mistaken, you need to add something like this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Otherwise, if that isn't there, then won't you just be able to type in the url as a secretary or assistant and access the details.

Link to comment
Share on other sites

Re: [v2]Staff Action: Full User Details[v2]

 

And also, to make it an admin only feature, unless I'm mistaken, you need to add something like this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Otherwise, if that isn't there, then won't you just be able to type in the url as a secretary or assistant and access the details.

True but i would like it to be open to all staff, accept IRC MOD

Link to comment
Share on other sites

Re: [v2]***UPDATED*** Staff Action: Full User Details[v2]

Nice like the updated version, alot better. Just incase anyone needs to convert to V1...read the tutorial on CE and you also need to take out a few lines e.g. the Forum information as V1 doesn't come with a forum.

Anyway, thanks for updating, I'm sure you'll get even more positive comments from others :)

Link to comment
Share on other sites

Re: [v2]***UPDATED*** Staff Action: Full User Details[v2]

 

Nice like the updated version, alot better. Just incase anyone needs to convert to V1...read the tutorial on CE and you also need to take out a few lines e.g. the Forum information as V1 doesn't come with a forum.

Anyway, thanks for updating, I'm sure you'll get even more positive comments from others :)

Thanks

Link to comment
Share on other sites

  • 3 weeks later...

Re: [v2]***UPDATED*** Staff Action: Full User Details[v2]

i get this on details.php>>>>>>>> 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 SELECT * FROM gangs WHERE gangID=

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.

×
×
  • Create New...