oxidati0n Posted April 9, 2007 Share Posted April 9, 2007 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... Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted April 9, 2007 Share Posted April 9, 2007 Re: My $5 Annoucement Mod - FREE! whats it suppose to do is it like a forum or summit Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted April 9, 2007 Author Share Posted April 9, 2007 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. Quote Link to comment Share on other sites More sharing options...
Z?v?? Posted April 9, 2007 Share Posted April 9, 2007 Re: My $5 Annoucement Mod - FREE! I've installed this onto my game and I like it. +1 8-) Quote Link to comment Share on other sites More sharing options...
Raptor_Jesus Posted April 9, 2007 Share Posted April 9, 2007 Re: [mccode] Annoucement Mod Hmm I'll give it a try. I'm always sending out to many massmails so its worth a look. Quote Link to comment Share on other sites More sharing options...
vinyl Posted April 9, 2007 Share Posted April 9, 2007 Re: [mccode] Annoucement Mod looks great...I'll give ya +1 before I even look closely at it Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted April 10, 2007 Author Share Posted April 10, 2007 Re: My $5 Annoucement Mod - FREE! I've installed this onto my game and I like it. +1 8-) Thanks. Quote Link to comment Share on other sites More sharing options...
-Matt- Posted April 10, 2007 Share Posted April 10, 2007 Re: [mccode] Annoucement Mod ok i will take alook at it later maybe Quote Link to comment Share on other sites More sharing options...
-Matt- Posted April 11, 2007 Share Posted April 11, 2007 Re: [mccode] Annoucement Mod looks good Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted April 11, 2007 Author Share Posted April 11, 2007 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 :-) Quote Link to comment Share on other sites More sharing options...
wwgame Posted April 12, 2007 Share Posted April 12, 2007 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 Quote Link to comment Share on other sites More sharing options...
vinyl Posted April 12, 2007 Share Posted April 12, 2007 Re: [mccode] Annoucement Mod does line 86 look exactly like this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted April 12, 2007 Author Share Posted April 12, 2007 Re: [mccode] Annoucement Mod lol like i said, He hasn't executed the SQL so it errors trying to read from the database. Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 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 Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod so in the coding where it says mysql.php change it too config.php Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod i did but still got an error Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod what version are you using? Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod 2.0 Quote Link to comment Share on other sites More sharing options...
Aqua Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod maybe you did something wrong in the process ... Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 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 Quote Link to comment Share on other sites More sharing options...
Aqua Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That is the mysql php Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod though 2.0 doesn't work with having $c in the query Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 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 Quote Link to comment Share on other sites More sharing options...
Aqua Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod :o , didnt read that you got the V2 ... Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 13, 2007 Share Posted April 13, 2007 Re: [mccode] Annoucement Mod does it work with version 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.