Jump to content
MakeWebGames

Recommended Posts

Posted

I have re worked my close page system to make it easier to close pages and open them.

staff_pages.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add this into smenu.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

In header.php find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add before

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Finally run this SQL in phpmyadmin

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Any problems please post them below.

Please post feedback as well as i always like to know what you think.

:)

Posted

Instead of adding (/) into the database, you could use.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Although before you insert it into the database, make sure you have escapted it.

Although its nice.

There is no need to use die here, you can change die() to $this->endpage();, if your using it in header.

For header useage use $this->endpage() or not header useage use $h->endpage();

Also i see you adding them, into the database as 1 row per page, you could change that and use pages for 1 row..

implode()/explode() or instead of using a database for this, use a text file, and serialize.

Posted
Can we see an example oh great Mcc coder?

Well let me tell you this for a fact...

Better than most people on this forum and by the way, "oh great Mcc coder" LOL! Serious that made me laugh, i was giving advice to the person and like i said to many people, and people know, i don't work with mccode, although its just php/mysql/html nothing more nothing less, so let me give you some advice... RTFM? ok....

Posted

you **** always jump at people.

And ****ing learn how to code all you bitches...

@ alan i know you trying to help but don't help the ******* ***** that put you down...

@ jds137 you ******* ******* Before you go throwing around comments that are pointing out a sarcastic remark about someones programing ability. Provide some proof that you know better.

He provided some code why don't you, you ******* ********.

Edit(Djkanna):

I removed most (if not all) cursing! Eternal (there's kids on this forum please keep it to a minimum profanity :) ).

(cannot be bothered to make my own post.)

@jds137: Go away please maybe you should show us some of your work before you even try to put down others!

 

Spudinski: @Djkanna, no you didn't.

Posted

CTRL + H

Replace:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

With:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Issue being for example

http://www.gameurl.com/ask_staff.php/”<iframe src=http://www.crimgame.com></iframe>

should put the iframe in there.

@Adam alright you mug :) lol

Posted

I made a mod like this havent released it (which is probably a good job cos theres one here lol ) My version was slightly different

It has a One Press function to shut down every page ( admin can add reason why for downtime + when its closed the page is timestamped when users view the closed page it tells them what time it was closed and what time its expected to be reopened )

Forgot to mention you could also close down seperate pages...

Posted

I do like the idea of this mod but could there not be a more advanced version of loading the files in public_html or in my case public_html/cg/internal_files?

scandir for example... with a little tweaking

  • 3 weeks later...
Posted
I made a mod like this havent released it (which is probably a good job cos theres one here lol ) My version was slightly different

It has a One Press function to shut down every page ( admin can add reason why for downtime + when its closed the page is timestamped when users view the closed page it tells them what time it was closed and what time its expected to be reopened )

Forgot to mention you could also close down seperate pages...

Nice idea to close all pages in one press,

Ill add this into my mod later if you dont mind? ;)

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