Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [mccode] Advanced Warning System

Nope heres the proper V2 of it :lol:

warnings.php

You're unable to view this code.

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

 

in viewuser.php find

You're unable to view this code.

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

Add under

You're unable to view this code.

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

  • Replies 87
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: [mccode] Advanced Warning System

well the user bit for view user creates error :-( and on warnings.php for v2 i get

 

 

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 'ORDER BY w.time DESC' at line 1

Query was SELECT w.*,u.* FROM warnings w LEFT JOIN users u ON w.warner=u.userid WHERE w.user= ORDER BY w.time DESC

can anyone help i tried putting the sql in

Posted

Re: [mccode] Advanced Warning System

The V2 one is bug with undefined functions. Also if you use the first post code and remove the top bit it works however the edit dosent work. It says its updated the warning but it dosent do anything. ANyfixes?

  • 2 weeks later...
  • 1 month later...
Posted

Re: [mccode] Advanced Warning System

 

Nope heres the proper V2 of it :lol:

warnings.php

You're unable to view this code.

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

 

in viewuser.php find

You're unable to view this code.

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

Add under

You're unable to view this code.

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

 

Wow this is a first... Someone made a mistake and I know how to fix it =)

 

You're unable to view this code.

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

 

Should be:

 

You're unable to view this code.

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

Posted

Re: [mccode] Advanced Warning System

I am getting a error from Parse error: syntax error, unexpected T_STRING in /home/deadmans/public_html/test/viewuser.php on line 89

line 89 is

$w=$db->query("SELECT * FROM warnings WHERE user={$r['userid']}");

any help?

Thanks

  • 3 weeks later...
Posted

Re: [mccode] Advanced Warning System

 

I am getting a error from Parse error: syntax error, unexpected T_STRING in /home/deadmans/public_html/test/viewuser.php on line 89

line 89 is

$w=$db->query("SELECT * FROM warnings WHERE user={$r['userid']}");

any help?

Thanks

I am getting same problem with that line...im trying to fix it also

Posted

Re: [mccode] Advanced Warning System

that would be a better idea it wouldnt be hard to do but at least you no you been warned like on tc you have recieved a warningfron the staff for ... etc

Posted

Re: [mccode] Advanced Warning System

add this some where in warnings.php i tihnk

has not been tested so im not to sure if it will work.

 

You're unable to view this code.

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

 

might do :-D

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...