Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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.

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