Already exists: https://cutephp.com/forum/index.php?showtopic=12954

Like the one here: http://cn.willyps.com/ ?

I have noticed alot of users (and I mean alot) think that CHMOD is always the answer, in fact not even 1% (maybe 2% https://cutephp.com/forum/style_emoticons/default/wink.gif) of all problems can be resolved by CHMOD, let's take a minute to find out wat CHMOD is and what it does...

Firstly, all it does is tell what users can access files, it doesn't control code, so changing CHMOD will not make an error message dissapear, nor will it allow certains options to appear.

It is not related to PHP directly, they can 'communicate' but not in a conventional sense https://cutephp.com/forum/style_emoticons/default/wink.gif

Here is a problem that cannot be resolved by CHMOD:

Warning: main(X): failed to open stream: No such file or directory in /www/site/folder on line #

Whereas this can:

Warning: fopen(X): failed to open stream: Permission denied in /www/site/folder on line #

So before posting answers such as:

Have you CHMOD the file?

Think how does it affect the problem in anyway due to permissions https://cutephp.com/forum/style_emoticons/default/smile.gif

When posting code that is more than a handful of lines long, it is best to use codebox instead of code.
Here's an example:

[code]Using the [code] tag is best for this[/code]

<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>Whereas the codebox tag
is best for this
or this

or perhaps this...









...it can even create scrollbars </div>

To do this just place your code in the codebox tags:

[codebox] my code goes here [/codebox]
It's easier to read, saves scrolling space. Please use [code] if your code is not too long! Ironically, [codebox] would use more space than [code] and might produce a horizontal scrolling bar.

Edit FUNimations: Sometimes, codebox does not work. Codebox is not replaced in the preview feature of this forum (when posting).

If you are putting a HTML, PHP or mdu code of a whole file up in a post do not use any of the code tags but paste it to http://pastebin.com (and then give us the link) or upload the file instead. You can do this by clicking on the Browse button next to File Attachments then click Add This Attachment, note this can only be done in Add Reply or Add Topic modes, not Fast Reply https://cutephp.com/forum/style_emoticons/default/wink.gif

I believe this bug was fixed in IE7, I am not sure it is present in IE6, which most users use now...

See my signature for some of my hacks I have released so far smile

I am currently working on a hack for integrating a custom quicktag creator, it should be finished later today or tomorrow smile

So would this be what you want? https://cutephp.com/forum/index.php?showtopic=2211

Do you mean like having pagination within an article?

In CuteHack it uses a code to produce JPG thumbnails (but this can be changed to just produce JPG) this can implemented, whether or not it is will be determined at a later date wink

To do this all you need to do is change a few expressions around, what would happen if two categories are named the same? Or the name of a category is a number?

cubechris,Apr 12 2005, 01:14 AM wrote:

The ability to save posts, but not publish them would be grand smile
[right][snapback]37298[/snapback][/right]

A draft function should be included in the next release apparently smile

What like:

Cat 1
<?PHP
$category = "1";
include("etc...");
?>
Cat 2
<?PHP
$category = "2";
include("etc...");
?>

Check here: https://cutephp.com/forum/index.php?showtopic=6941

This could be done, for example in addnews.mdu, above msg(etc) at the bottom of the file:

$logit = fopen("./log.txt","a");
fwrite($logit,$member_db[2]."with ip ".$_SERVER['REMOTE_ADDR']." added news with title ".$title." to ".$category." on ".date("M Ds Y h:i a",$added_time)."\n";
fclose($logit);

Of course this is only a rough draft tongue

But if someone wants admins to edit news / templates / some settings, but not ban users or change important settings, such as CN directory or admin email etc?

Or maybe alter other users details, including banning, except the main root admin but not be able to alter the templates.

tongue

Sorry can't really explain more as I'm quite drunk now big_smile hmmm cider...

Added security, stopping the users from altering any configuration or the root admin accounts. This is something that is used many software packages such as IPB.

Seperating Admin into different sub-groups e.g. Root Admin and Admins, where as Root Admin would be the original owner of CN. Admins could have all the powers of Root Admin, except they cannot change the status and details of the Root Admin or some system settings etc.

Posts found: 18

Pages 1

CutePHP Forums → Posts by RDF