i guess that's supposed to be how can i erase images using this tool.
The answer would be select them and use the "deleted selected images" button
251 2007-12-05 22:25:13
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
252 2007-11-16 14:57:54
Re: Wishes for future versions of CuteNews (301 replies, posted in Script Feedback and Suggestion)
look for the hack.
253 2007-11-16 10:58:14
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
I've tried everthing but it will not work?
define everything. If you actual tried everything, then what's the point of asking....
Please list the steps you've tried here.
254 2007-10-30 11:04:06
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
It only shows when you select the "watermark option"
Are you sure you have javascript enabled?
255 2007-10-22 17:19:02
Re: [HACK] Spam protection in CuteNews (7 replies, posted in Hacks & Tricks / FAQ)
Original topic: here
Hack Name: reCaptcha Hack
Description: Show a image inside your comments form with a scrambled code in it. Enter the code for confirmation. Makes use of a captcha service.
Author: Greg G
Installation notes:
1) Go to reCaptcha and "Sign Up Now"
2) Sign up and note your "Private & Public Keys"
3) Download the latest version of reCaptcha for PHP here.
4) Drop "recaptchalib.php" into your /inc folder
5) Open /inc/shows.inc.php
6) find:
if($allow_add_comment){and add BELOW IT:
//----------------------------------
// Recaptcha
//----------------------------------
require_once('recaptchalib.php');
$privatekey = "###";
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." .
"(reCAPTCHA said: " . $resp->error . ")");
}REPLACE ### WITH YOUR PRIVATE KEY
This code validates the captcha.
7) Now find:
$template_form = str_replace("{smilies}", $smilies_form, $template_form);and add ABOVE IT:
require_once('recaptchalib.php');
$publickey = "###";
$template_form = str_replace("{captcha}", recaptcha_get_html($publickey), $template_form);
REPLACE ### WITH YOUR PUBLIC KEY
This code displays the captcha.
8) Find:
echo"<div style=\"text-align: center;\">This name is owned by a registered user and you must enter password to use it
<form name=passwordForm id=passwordForm method=\"post\" action=\"\">Replace with:
echo"<div style=\"text-align: center;\">";
echo"<form name=passwordForm id=passwordForm method=\"post\" action=\"\">";
require_once('recaptchalib.php');
$publickey = "###";
echo recaptcha_get_html($publickey);
echo"
REPLACE ### WITH YOUR PUBLIC KEY
This code adds the captcha window to the page displayed when an admin needs to verify their password when they leave a comment.
The rearranging happens because recaptcha needs to be inside the <form> tag.
9) Save shows.inc.php
10) Go into your template editor (in the cutenews controle pannel) and add {captcha} into your template wherever you want the captcha box to be displayed.
Now I know its not the prettiest captcha box but it works really well and has cool features like "read the captcha text as audio". Browse around the reCaptcha site and you will find some adjustments that can be made to the box itself.
256 2007-10-13 07:41:22
Re: Wishes for future versions of CuteNews (301 replies, posted in Script Feedback and Suggestion)
?? i don't get it.
257 2007-10-12 12:13:28
Re: Original CuteNews Translation Project (55 replies, posted in Script Feedback and Suggestion)
Indeed it's been months since we were supposed to get information about this.
To all people who want to participate, save yourself the trouble of posting, as nothing happens with this project.
I guess some people can't read.
258 2007-10-04 18:50:11
Re: Original CuteNews Translation Project (55 replies, posted in Script Feedback and Suggestion)
Indeed it's been months since we were supposed to get information about this.
To all people who want to participate, save yourself the trouble of posting, as nothing happens with this project.
I guess some people can't read.
259 2007-09-28 16:04:20
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
it's not so clear whta the problem is.
Make a temp journalist account and put the account details here with a link to your pane, so we can see the problem in action, along with the source code provided by the server.
260 2007-09-19 04:31:06
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
No such file or directory in
me thinks there's no thumb
1-Ass.FIGC-400.jpgon a other note: some hosts don't allow acces from certain countries. I should have remembered that :s
because this is the case for funpic.de
261 2007-09-14 15:45:36
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
I don't like wasting my time.
262 2007-09-14 15:22:27
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
me too.
263 2007-08-28 19:43:08
Re: Wishes for future versions of CuteNews (301 replies, posted in Script Feedback and Suggestion)
havent i seen a topic about this before?
the news main idea. Doesn't that get represented by the category name? And there is a category-icon option available.
OR use the avatar fiels instead.
264 2007-08-25 19:39:02
Re: Improve CuteNews Performance by Adding Page Caching (48 replies, posted in Script Feedback and Suggestion)
SO i checked out the 2 hacks. Only the approve hack adds something to index.php, and got nothing to do with headers.
<?php
header("Cache-Control: must-revalidate");
header("Pragma: cache");
$if_modified_since = preg_replace('/;.*$/', '', $_SERVER['HTTP_IF_MODIFIED_SINCE']);
$mtime = filemtime("./cutenews/data/comments.txt");
$gmdate_mod = gmdate('D, d M Y H:i:s', $mtime) . ' GMT';
if ($if_modified_since == $gmdate_mod) {
header("HTTP/1.0 304 Not Modified");
die();
}
header("Last-Modified: $gmdate_mod");
?>I dont believe that this code goes into the cutenews index.php file but rather your websites main page. (index.php is the most common filename for the websites main page.)
265 2007-08-25 15:46:34
Re: Improve CuteNews Performance by Adding Page Caching (48 replies, posted in Script Feedback and Suggestion)
i'll take a look at it tomorrow. (maybe tonight depends on when i'll be home).
266 2007-08-25 14:41:39
Re: Improve CuteNews Performance by Adding Page Caching (48 replies, posted in Script Feedback and Suggestion)
what's the original code you need to look for
the code you replaced it with (willy's code)
and what part are you supposed to add for this mod.
267 2007-08-20 09:36:12
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
You can chagne this in the image.mdu file. somewhere at the top of the file, you have some variables you need to configure.
268 2007-07-22 15:16:30
Re: Wishes for future versions of CuteNews (301 replies, posted in Script Feedback and Suggestion)
search.php?
269 2007-07-12 11:09:08
Re: Wishes for future versions of CuteNews (301 replies, posted in Script Feedback and Suggestion)
cutenews isn't mysql but txtsql. It uses .txt files to save data.
Try and search for cutenews ru on google
It's a somewhat other news script with the same basic function and feeling, but it has plugins, on of which is a password protect entry plugin.
But don't start deleting cutenews and just switch. Try it out first and see if you get it working.
270 2007-07-07 19:01:19
Re: Original CuteNews Translation Project (55 replies, posted in Script Feedback and Suggestion)
Indeed it's been months since we were supposed to get information about this.
To all people who want to participate, save yourself the trouble of posting, as nothing happens with this project.Did you read this? There's isn't any progress made on this project.
271 2007-06-24 19:53:45
Re: [HACK] Spam protection in CuteNews (7 replies, posted in Hacks & Tricks / FAQ)
Original topic: <strike>here</strike>
Hack Name: Captcha Hack
Description: Show a image inside your comments form with a scrambled code in it. Enter the code for confirmation.
Author: FI-DD
Downloadable File: Download, extract the files and upload them to your main cutenews folder. Read the readme and follow the instruction.
Captcha1: Use these files if you have only 1 cutenews include on your newspage. Comments in popup still works.
Captcha2: Use these files if you have more then 1 cutenews include on your newspage. Comments in popup don't work here.
The hack itself: see orignal topic for the hack. READ THE INSTRUCTIONS really carefull and double check everything you do. Many have had problems because they overlooked something.
ATTENTION: not all servers support this hack!! You need GD2 Lib support.
272 2007-06-24 19:34:07
Re: [HACK] Spam protection in CuteNews (7 replies, posted in Hacks & Tricks / FAQ)
Original topic: <strike>here</strike>
Hack Name: Deny URLs in comments.
Description: Prevent people from adding comments with a URL in it. This is quite effective, because spambots leave URLs behind. Downsize is, if a spambot adds a URL in the email field and you allow email field to act as URL field it will come through as we only check the comments themselves.
Author: FUNimations, Silk & DistantJ
Downloadable file:
shows.inc.php download the file and rename .txt to .php
1. open shows.inc.php in inc folder ... important make back-up first.
find
if( strlen($comments) > $config_comment_max_long and $config_comment_max_long != "" and $config_comment_max_long != "0"){
echo"<div style=\"text-align: center;\">Your comment is too long!</div>";
$CN_HALT = TRUE;
break 1;
}add under it.
$pattern = "/[.]+(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs
|mobi|mil|museum|name|net|org|pro|root|tel|travel|ac
|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az
|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bw|by
|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cx
|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj
|fk|fm|fo|fr|ga|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr
|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|htm|html|php|il|im|in|io|iq
|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kr|kw|ky|kz|la
|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mk|ml|mm
|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|asp|cgi
|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk
|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd
|se|sg|sh|si|sk|sl|sm|sn|sr|st|sv|sy|sz|tc|td|tf|tg|th
|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va
|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$/i";
$message = "Your not allowed to put URL\"s in the comments field.";
if ( preg_match($pattern, $comments) || preg_match("/www./i", $comments) || preg_match("/http/i", $comments) ) {
echo"<div style=\"text-align: center;\">$message</div>";
$CN_HALT = TRUE;
break 1;
}273 2007-06-24 18:57:17
Re: [HACK] Spam protection in CuteNews (7 replies, posted in Hacks & Tricks / FAQ)
Original topic: <strike>here</strike>
Hack Name: Spam protection with random bot word.
Description: people will have to fill in this word before the comment can be added to the database. This word is a generated String of letters and numbers. This hack is updated on 06/08/2008 to improve the effectiveness. It should work now with more than 1 include code, though that's unconfirmed!
Author: FUNimations
Extra credits: Ifa
1. open the file that has your CN include code ... important make back-up first.
add
<?php session_start(); ?>At the top of that page. This must be the very first PHP code!!
If you get a warning/error about sessions on your site. This will be due to the fact you have another PHP script in there that also uses sessions.
Ask their support what to do. And tell them that session_start() already happens before you use their script. This function is a PHP function and is not limited to a script, but can be used by all scripts in that page.
2. open shows.inc.php in inc folder
find
$mail = trim($mail);add under
$test = trim($_POST[$_SESSION['spam']]);
find
<input type=\"hidden\" name=\"ucat\" value=\"$ucat\" />and radd under
<input type=\"hidden\" name=\"".$_SESSION['spam']."\" value=\"$test\" />
find
$mail = replace_comment("add", preg_replace("/\n/", "",$mail));add under
$test = replace_comment("add", preg_replace("/\n/", "",$test));
find
if($name == " " or $name == ""){add above
if($_SESSION[$_SESSION['spam']] == $test ) {$ok = TRUE;}
else
{ echo("<div style=\"text-align: center;color:white;background-color:darkred;\"> Your write too long!
[url=] go back [/url] </div>");
$CN_HALT = TRUE;
break 1;
}
Please ... before you save show.inc.php , make sure javascript doesn't have a space like this:
java script:history.go(-1)
find
$template_form = str_replace("{smilies}", $smilies_form, $template_form);add under
if( !isset($input_name) ){
function code($nc, $a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0') {
$l=strlen($a)-1; $r='';
while($nc-->0) $r.=$a{mt_rand(0,$l)};
return $r;
}
$input_name = code(10);
$_SESSION['spam'] = $input_name;
$code = code(5);
$_SESSION[$input_name] = $code;
}
$template_form = str_replace("{smilies}", $smilies_form, $template_form);
$template_form = str_replace("{bot-inputname}", $_SESSION['spam'] ,$template_form);
$template_form = str_replace("{bot-word}", $_SESSION[$_SESSION['spam']] ,$template_form);
3. Go to the comments form template.
Put something along this piece of code goes inside the comments form template.
<tr>
<td width="450" height="1">
<small>Type {bot-word} in the box:</small>
</td>
<td width="450" height="1"><small><input type="text" name="{bot-inputname}" tabindex="1"> (anti-spam)</small>
</td>
</tr>274 2007-06-24 18:39:10
Topic: [HACK] Spam protection in CuteNews (7 replies, posted in Hacks & Tricks / FAQ)
275 2007-06-23 13:40:56
Re: Wishes for future versions of CuteNews (301 replies, posted in Script Feedback and Suggestion)
i guess your asking for subcategories. Cutenws doesn't support and as we don't hear anything anymore from the devellopper, i doubt it'll ever be part of CN.
I think cutenews.ru would be a better choice, cause it allready ahs subcategories in it.
http://english.cutenews.ru/forum/
Posts found: 251 to 275 of 286
CutePHP Forums → Posts by FUNimations
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.
