Magictallguy Posted June 10, 2008 Share Posted June 10, 2008 (edited) Last updated: 30/06/20 Note: This is untested and was (re)written on no sleep. Please post any bugs below and I will repair. I'm sure this has been made before, and may have even been posted (unsure as to where) but I thought I'd post my version For this, you will need to overwrite your newspaper.php, edit staff_special.php, and run an SQL command. SQL Command Use the same naming scheme to add more pages: page#_content (where # is a unique page number) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. newspaper.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Administrative update Open: staff_special.php Find this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited August 22 by Magictallguy Updated code Quote Link to comment Share on other sites More sharing options...
-Matt- Posted June 10, 2008 Share Posted June 10, 2008 Re: Updated Newspaper - more than one page Nice alot better then the original. Quote Link to comment Share on other sites More sharing options...
danger boy Posted June 10, 2008 Share Posted June 10, 2008 Re: Updated Newspaper - more than one page nice magic keep up the good work :wink: i love it Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted June 10, 2008 Author Share Posted June 10, 2008 Re: Updated Newspaper - more than one page I thought the pic would be funny too so yea :P Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted June 10, 2008 Author Share Posted June 10, 2008 Re: Updated Newspaper - more than one page Staff Functions!! SQL's Add more for more pages :) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open: staff_special.php Add these cases You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Remove the current newspaper link from your smenu.php and add these ones You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You'll also have to update the newspaper - which I'll add in to my original post :) Quote Link to comment Share on other sites More sharing options...
timpitts Posted July 4, 2008 Share Posted July 4, 2008 Re: Updated Newspaper - more than one page for some reson it doesnt let me edit page 1 Quote Link to comment Share on other sites More sharing options...
KingRise Posted July 4, 2008 Share Posted July 4, 2008 Re: Updated Newspaper - more than one page This mod is nice and nice change but i used this once and it came up with errors :? so i just changed it back....nice mod tho mate keep it up :mrgreen: Quote Link to comment Share on other sites More sharing options...
iR00T Posted July 4, 2008 Share Posted July 4, 2008 Re: Updated Newspaper - more than one page it works learn to add it right work for me 1st try Quote Link to comment Share on other sites More sharing options...
www.mygunwars.com Posted July 5, 2008 Share Posted July 5, 2008 Re: Updated Newspaper - more than one page I tryed to add it to my game and I got QUERY ERROR: Table 'mygun4_database.npaper' doesn't exist Query was SELECT * FROM npaper WHY? Quote Link to comment Share on other sites More sharing options...
timpitts Posted July 6, 2008 Share Posted July 6, 2008 Re: Updated Newspaper - more than one page mine worked just need to make it so i can edit page 1 ill try now ill eddit the paper a bit aswell i want player to be able to add apps so ill have a play now k Quote Link to comment Share on other sites More sharing options...
www.mygunwars.com Posted July 6, 2008 Share Posted July 6, 2008 Re: Updated Newspaper - more than one page Ok Quote Link to comment Share on other sites More sharing options...
timpitts Posted July 9, 2008 Share Posted July 9, 2008 Re: Updated Newspaper - more than one page thanks mtg ive got it working fine i new what i did rong i deleted the cases that were already there so i deleted staff_specail then started again and now all working fine thanks but now im attempting to add the app bit were you pay for an advertisement if any 1 has that bit save me failing to make it can u post it below plz thanks Quote Link to comment Share on other sites More sharing options...
iR00T Posted July 9, 2008 Share Posted July 9, 2008 Re: Updated Newspaper - more than one page dude just make it ur self its better so if u turn around give it to someone else they want bitc* about you doding it so sorry i would but no i dont want peoeple being girls about it so sorry its not hard to make one just throw some code onto a page and play wid it or look at another thing and code it from that - simpleest way it could be done..... :-) Quote Link to comment Share on other sites More sharing options...
Bubbl3z Posted December 26, 2008 Share Posted December 26, 2008 Re: [mccode v2] Updated Newspaper - more than one page got any with adds and mutliple pages Quote Link to comment Share on other sites More sharing options...
Blackdogg Posted January 15, 2009 Share Posted January 15, 2009 Re: [mccode v2] Updated Newspaper - more than one page Watch this guy he likes to spam games :x Quote Link to comment Share on other sites More sharing options...
MyGunWars Posted January 15, 2009 Share Posted January 15, 2009 Re: [mccode v2] Updated Newspaper - more than one page Watch this guy he likes to spam games :x Who? Quote Link to comment Share on other sites More sharing options...
Blackdogg Posted January 15, 2009 Share Posted January 15, 2009 Re: [mccode v2] Updated Newspaper - more than one page magictallguy he created several multis on y game and spammed loads of my users Quote Link to comment Share on other sites More sharing options...
POG1 Posted January 15, 2009 Share Posted January 15, 2009 Re: [mccode v2] Updated Newspaper - more than one page then change it so its harder to spam Quote Link to comment Share on other sites More sharing options...
John99 Posted January 15, 2009 Share Posted January 15, 2009 Re: [mccode v2] Updated Newspaper - more than one page Use a time so "USERS" cant spam Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted January 17, 2009 Author Share Posted January 17, 2009 Re: [mccode v2] Updated Newspaper - more than one page magictallguy he created several multis on y game and spammed loads of my users I can promise you, I haven't done that. As I'm a game owner myself, I know how annoying multis can get so, I simply don't bother making them What is your site? I'd like to know who's posing as me Quote Link to comment Share on other sites More sharing options...
Wickidnezz Posted January 18, 2009 Share Posted January 18, 2009 Re: Updated Newspaper - more than one page I tryed to add it to my game and I got QUERY ERROR: Table 'mygun4_database.npaper' doesn't exist Query was SELECT * FROM npaper WHY? useually means you didnt run the sql into phpmyadmin or done it wrong so maybe ya might want to recheck that Quote Link to comment Share on other sites More sharing options...
LiLRiP1987 Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode v2] Updated Newspaper - more than one page Warning: include(globals.php) [function.include]: failed to open stream: No such file or directory in /home/cc/public_html/newspaper.php on line 2 Warning: include(globals.php) [function.include]: failed to open stream: No such file or directory in /home/cc/public_html/newspaper.php on line 2 Warning: include() [function.include]: Failed opening 'globals.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cc/public_html/newspaper.php on line 2 Fatal error: Call to a member function query() on a non-object in /home/cc/public_html/newspaper.php on line 35 :-( :? this is what im getting, can someone help me out.... i would like to use this for a game.... Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted January 20, 2009 Author Share Posted January 20, 2009 Re: [mccode v2] Updated Newspaper - more than one page Warning: include(globals.php) [function.include]: failed to open stream: No such file or directory in /home/cc/public_html/newspaper.php on line 2 Warning: include(globals.php) [function.include]: failed to open stream: No such file or directory in /home/cc/public_html/newspaper.php on line 2 Warning: include() [function.include]: Failed opening 'globals.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cc/public_html/newspaper.php on line 2 Fatal error: Call to a member function query() on a non-object in /home/cc/public_html/newspaper.php on line 35 :-( :? this is what im getting, can someone help me out.... i would like to use this for a game.... Chances are you're using v1, this paper is for v2 Quote Link to comment Share on other sites More sharing options...
LiLRiP1987 Posted January 23, 2009 Share Posted January 23, 2009 Re: [mccode v2] Updated Newspaper - more than one page Warning: include(globals.php) [function.include]: failed to open stream: No such file or directory in /home/cc/public_html/newspaper.php on line 2 Warning: include(globals.php) [function.include]: failed to open stream: No such file or directory in /home/cc/public_html/newspaper.php on line 2 Warning: include() [function.include]: Failed opening 'globals.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cc/public_html/newspaper.php on line 2 Fatal error: Call to a member function query() on a non-object in /home/cc/public_html/newspaper.php on line 35 :-( :? this is what im getting, can someone help me out.... i would like to use this for a game.... Chances are you're using v1, this paper is for v2 no, im using v2. Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted January 25, 2009 Author Share Posted January 25, 2009 Re: [mccode v2] Updated Newspaper - more than one page Then you're obviously missing the globals.php file 0,o 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.