Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [mccode v2] New improved mailbox.

 

ok i may be slow but im stuck does anybody have a version of this that updates when u have a mail for v2 im useing the standard mainmenue if it helps

Ive altered my mainmenu and taken from header to place into mainmenu. so ecuse me if what i place below is in thr wrong area...

open main menu make sure you have..

 

You're unable to view this code.

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

 

And at the top of the page with the rest of the $'s

make sure you have

$mc=$ir['new_mail'];

If your mail count still isnt showing check the mailbox script to seeif it updating the mail count.

  • Replies 58
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: [mccode v2] New improved mailbox.

I fixed the mailcount... in this you need to remove the 's so: mysql_query("UPDATE users SET new_mail=new_mail+1 WHERE userid='{$who}'") or die(mysql_error()); and it should be mysql_query("UPDATE users SET new_mail=new_mail+1 WHERE userid={$who}") or die(mysql_error()); replace both of these, in send mail and quick reply. and to fix your mail count run this query: UPDATE users SET new_mail=0 and empty your mail table for the mail count to work.

  • 1 month later...
Posted

Re: [mccode v2] New improved mailbox.

Alsmot runs on V1

but when i try to send a new message after i type it blah blah blah, when i click send i recive this error

 

Unknown column 'new_mail' in 'field list'

 

You're unable to view this code.

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

  • 9 months later...
Posted

Nobody has posted here in a while but I was hoping someone could help me out here. For some reason I can't get ignore to work (separate mod). Here is what I have

 

You're unable to view this code.

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

 

The error it gives me is:

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 'ignore

WHERE userid='2' and blocked='1'' at line 1

Any idea why this is happening? I feel retarded for asking something that should be so simple. I must be missing something :huh:

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