Jump to content
MakeWebGames

Recommended Posts

Posted

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

  • Replies 93
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: My $5 Annoucement Mod - FREE!

 

whats it suppose to do is it like a forum or summit

No you can post annoucements but other users can discuss about it.

when you post an annoucement its a option if you want discussions to be enabled.

Posted

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

Posted

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

Guest Anonymous
Posted

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

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

so in the coding where it says mysql.php change it too config.php

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

i did but still got an error

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

what version are you using?

Guest Anonymous
Posted

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

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

though 2.0 doesn't work with having $c in the query

Guest Anonymous
Posted

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

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

does it work with version 2

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