Jump to content
MakeWebGames

[mccode] Annoucement Mod


oxidati0n
 Share

Recommended Posts

I thought leave it you can all have this for free.

But while i'm at it if you use it please give me +1 force. :)

This is My mod! (just saying that because people will try to resell it, not specificly you but someone out there...)

These codes are long :P bare in mind. They have been tested and confirmed.

Create file ann.php

You're unable to view this code.

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

 

next create a file called viewdiscussions.php

You're unable to view this code.

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

 

next create a file called post_new_ann.php

You're unable to view this code.

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

 

Finally run the SQL query

 

You're unable to view this code.

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

 

Fhew..Thats a long mod..Thanks...Nick!

also for those who want screenshots...

annoucementssy5.png

Link to comment
Share on other sites

  • Replies 93
  • Created
  • Last Reply

Top Posters In This Topic

Re: [mccode] Annoucement Mod

 

looks good

Thanks for all your opinions but this is just a mod i thought i'd share. It has no bugs and nothing wrong with it, :-) I'll keep on posting anything new i decide to make. Since i'm new this mod might show you how good of a coder i am :-)

Link to comment
Share on other sites

Re: [mccode] Annoucement Mod

I don't know what went wrong! I copied and pasted everything right and I get this!

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/omegacri/public_html/ann.php on line 87

Announcements

Post New Annoucement

Announcements are posted here and can be discussed by the fellow members

Details Topic Announcement Discussions Delete

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/omegacri/public_html/ann.php on line 139

There are currently no annoucements posted.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/omegacri/public_html/ann.php on line 144

Can you walk me in right direction! please. TY

Link to comment
Share on other sites

Guest Anonymous

Re: [mccode] Annoucement Mod

Warning: include(mysql.php) [function.include]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\dw\ann.php on line 32

Warning: include() [function.include]: Failed opening 'mysql.php' for inclusion (include_path='.;C:\Program Files\xampp\php\pear\') in C:\Program Files\xampp\htdocs\dw\ann.php on line 32

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\xampp\htdocs\dw\ann.php on line 34

 

I got this for an error. I m missing a file but that mysql.php is what connects to the db. Mine connects with config.php

can you fix this or tell me what to do

thanks

Link to comment
Share on other sites

Guest Anonymous

Re: [mccode] Annoucement Mod

i did everything I was told to. I dont have the file called mysql.php

is it the same file as config.php

Link to comment
Share on other sites

Guest Anonymous

Re: [mccode] Annoucement Mod

$db->query("UPDATE users SET laston=unix_timestamp(),lastip='$IP' WHERE userid=$userid");

thats line 113 of header.php It said its an error. YOu know how to fix it

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