SouIAssassin Posted May 22, 2009 Posted May 22, 2009 ok guys iam new at coding so don't all slag me and say ooo thats wrong and ooo you have done that the wrong way i read the forums i new what you guys are like and can sometimes be a bit harsh but anywayz its my first mod made from scratch so don't judge me to badly please. Replace helptutorial.php with this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. make new page call it helppage.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Your Sql not really good with them but i will give it a try You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add to SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add your like to smenu You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and your done. hope u like it Quote
MDK666 Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature not bad i give u a +1 on this because of creativity, keep up the good work and were glad to have you here at CE Quote
Danny696 Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature I love the idea of just being able to change it without going into Cpanel or doing it Via an FTP to ill +1 you Quote
CrazyT Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature You could of just used the old help page, and then just made a function for admin/staff panel and just then fopen it.. lol Quote
MDK666 Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature You could of just used the old help page, and then just made a function for admin/staff panel and just then fopen it.. lol thats true badgirl but hey hes new, first mod, and pretty good accually so :-P Quote
(((TOLK))) Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature Great idea, will use it if i can be assed logging ito my cPanel, and ooooooh you made a few spelling mistakes in your post :wink: Quote
SouIAssassin Posted May 22, 2009 Author Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature yeah i know oppes :P Quote
CrazyT Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature Dang users can edit that.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You should have You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Strats Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature Dang users can edit that.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You should have You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Glad you spotted it Bad girl :P Quote
AbsentCrisis Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Raptor_Jesus Posted May 22, 2009 Posted May 22, 2009 Re: Easy Help Tutorial With Admin Feature if($ir['user_level'] != 2) { echo 'You cannot use this!'; return; } Save some typing Quote
BlueDevil23 Posted May 23, 2009 Posted May 23, 2009 Re: Easy Help Tutorial With Admin Feature if($ir['user_level'] != 2) { echo 'You cannot use this!'; return; } Save some typing Though that is a better way, it's hard to do that most of the time with MCC, because most users end their HTML, and other various things in the endpage function... Quote
SouIAssassin Posted May 23, 2009 Author Posted May 23, 2009 Re: Easy Help Tutorial With Admin Feature sorry Quote
Raptor_Jesus Posted May 23, 2009 Posted May 23, 2009 Re: Easy Help Tutorial With Admin Feature if($ir['user_level'] != 2) { echo 'You cannot use this!'; return; } Save some typing Though that is a better way, it's hard to do that most of the time with MCC, because most users end their HTML, and other various things in the endpage function... Ive never found any issues using it with Mc Quote
BlueDevil23 Posted May 23, 2009 Posted May 23, 2009 Re: Easy Help Tutorial With Admin Feature if($ir['user_level'] != 2) { echo 'You cannot use this!'; return; } Save some typing Though that is a better way, it's hard to do that most of the time with MCC, because most users end their HTML, and other various things in the endpage function... Ive never found any issues using it with Mc Yeah, it's just all in how you have it set up, if your closing HTML is in your endpage function, then simply just using return, is going to make the page look funky, and invalid. Quote
Strats Posted May 23, 2009 Posted May 23, 2009 Re: Easy Help Tutorial With Admin Feature QUERY ERROR: Unknown column 'helptext' in 'field list' Query was UPDATE helppage SET pagetitle='Game Tutorial', helptext='t' WHERE pageid='1' Something is not right Quote
SouIAssassin Posted May 24, 2009 Author Posted May 24, 2009 Re: Easy Help Tutorial With Admin Feature you need to add the SQL Quote
MDK666 Posted May 25, 2009 Posted May 25, 2009 Re: Easy Help Tutorial With Admin Feature you need to add the SQL either that or he could be missing a table from the query, so make sure you check over all query tables. Quote
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.