indeed, the exact CN version would be helpfull.
But probably you can just skip that step.

102

(4 replies, posted in Problem Solving / Help & Support)

there're multiple spam protections covered in the hack forum.

I bet that in your CN include code you use a parameter of which you don't have any clue what it does.
Don't use any parameter unless you know what it does.
There's a faq explaining all parameters.

the code in tha hack topic has been updated

btw, be aware google saves cached pages of topics https://cutephp.com/forum/style_emoticons/default/smile.gif
Even when they're deleted here, you should still be able to read the cached pages.

106

(5 replies, posted in Problem Solving / Help & Support)

multiple categories didn't exist when the hack was made

from the other topic

function show_cat_name($cat_id){
                      $cats = file("./data/category.db.php");
                      foreach($cats as $cat_line){
                          $cat_line_arr = explode("|", $cat_line);
                          if($cat_line_arr[0] == $cat_id)
                              return $cat_line_arr[1];
                      }
                  }


replace with new function as mentioned

//////////////////////////////////////////
// Function:    Category ID to Name
// Description:    convert to category name from ID
if (!function_exists('catid2name')){
    function catid2name($thecat){
        $cats = file("./data/category.db.php");//<----make sure the path is correct!

        if(strstr($thecat, ',')){
            $thecat_arr = explode(',', $thecat);
            foreach($thecat_arr as $single_thecat){
                if($thecat_not_first){
                    $thecat_str .= ', '. $cat[$single_thecat];
                }
                else{
                    $thecat_str .= $cat[$single_thecat];
                }

                $thecat_not_first = TRUE;
            }

            return $thecat_str;
        }
        else{
            return $cat[$thecat];
        }
    }
}

replace all catid2name
with the old function name show_cat_name

107

(1 replies, posted in Problem Solving / Help & Support)

your rss feed has broken characters; usually none ALPHABETIC characters cause this. Using CN utf-8 can prevent this, or using a correct charset (google the word if you don't know it) on your feed.

do you use a hack for that date format? If so adda
after the day https://cutephp.com/forum/style_emoticons/default/smile.gif

109

(2 replies, posted in Problem Solving / Help & Support)

so you have
path is just another name for directories.
It's used in the same way you link to images in html, only relative paths are accepted though.

if you have a folder wordpress and a folder CN in the smae directory, the path probably would be
../news/

But since we cannot guess the directory structure of your site we cannot assist any further

110

(2 replies, posted in Problem Solving / Help & Support)

it just means there's some error warnings you don't see on your site. 'and you shouldn't see them)
but they do make the login session invalid.

Try looking through the server logs for any warnings/errors mentioned in the stickied common warning error topic.

he didn't... FI-DD did in his hack.

so what part of the instructions in the readme about watermarks don't you understand.
I can tell you the same thing as the readme...
That probably won't help, so maybe i can clarify where you have difficulty understanding.

glad you worked it out. Though that change doesn't really explain the strange image paths you where getting.

thank you for not posting the whole file at the forums https://cutephp.com/forum/style_emoticons/default/sad.gif

I'll try yours out when i get time.

try sharing your images.mdu with pastebin.com

FOr whatever reason your file must be corrupted and as christianphp said: it's a matter of locating where where the apth is created and what is going wrong in your file.

http://www.mywebsite.com/cutenews_utf8b … ges/4a.jpg

hmmm, it wouldn't have strange if it had said
http://www.mywebsite.com/cutenews_utf8b … ges/4a.jpg

as then there is just a / missing. But the d of data is missing as well O_o

ah you mean like a folder or directory?
You can't. Should be doable to do when i have some time. Shouldn't be that much of a problem and shouldn't be that much work. Do mention the hack version you're using.

How about that button "Delete selected images" ?

119

(8 replies, posted in Script Feedback and Suggestion)

How did you hear about CuteNews has been sold, I haven't found any news about it, just the owner of the domain is:


We, the support crew, have a subforum hidden from the rest https://cutephp.com/forum/style_emoticons/default/wink.gif

flexer wrote:

Hi guys,
I wanted to let you know that I'm in the final stages of completing a deal to sell cutephp.com and the CuteNews project.
Hopefully the website and script will continue to exist and see much needed upgrades and improvements, I can't provide much information on any future plans though.

The reason I'm selling is because I simply have not enough free time to continue supporting and updating it.

I'll try and answer any question smile.gif


and later

flexer wrote:

Hi,
I can now reveal that the deal has been closed, and I have successfully transferred the domain and project rights to the new owner.
I am sure they'll put a message with more details in the near days.

120

(8 replies, posted in Script Feedback and Suggestion)

It's already been sold a few weeks back https://cutephp.com/forum/style_emoticons/default/smile.gif

121

(8 replies, posted in Script Feedback and Suggestion)

there's not really an issue of not being able to create a new board.
There was one in the past --> cutemod, not many people went to there, why? people didn't really know about it. And not may people read stickied topics.


lKj can do that perfectly aswell. His server has enough bandwith.
For all i care we use some free forum provider. + a decent CN utf-8 section.
It just sounds like overkill to create a support forum for someone else.
When flexer was still boss, we kinda knew we could do such things. But now with the new owners and not knowing who they are, there's an legal issue. --> even my paypal support button (which hardly gets any clicks, which is ok) is illegal in a sense.
All we know: they're Russian, and you don't mess with Russians. They have mafia over there.

122

(8 replies, posted in Script Feedback and Suggestion)

It was reported that the reCaptcha which protects this forum doesn't work.
--> you can't register a new account
--> you cannot post urls in your post. A way around that is making your post, next use 'quick edit' to add your urls.

At current we (the support staff) have NO means of contacting the owners of CuteNews. We cannot give an estimate as how long it will last because of that.

We hope you understand.


If the problem isn't fixed soon, i'll see about setting up a temporary alternative way of getting help, like possibly a gmail account. Direct access to you, and a clean oversight for us (the crew).


Edit: if you can't register to the forum you can try ask for help by mailing to FUNimationsCutePHP.[at].gmail.com and repalce the [at] with @
When sending a mail, the same rules for making a topic apply: https://cutephp.com/forum/index.php?showtopic=13026
People who do have accounts are encouraged to keep posting onto the forum. This to keep discussions publicly so other can find solutions in them.
This will be a temporary measure. I don't feel that support staff should be hang out drying when such problems arise. If the owners can't fix this issue, i see no point advertissing this script and will discontinue my support. (I'm not speaking for all of the support crew)

123

(1 replies, posted in Problem Solving / Help & Support)

It was reported that the reCaptcha which protects this forum doesn't work.
--> you can't register a new account
--> you cannot post urls in your post. A way around that is making your post, next use 'quick edit' to add your urls.

At current we (the support staff) have NO means of contacting the owners of CuteNews. We cannot give an estimate as how long it will last because of that.

We hope you understand.


If the problem isn't fixed soon, i'll see about setting up a temporary alternative way of getting help, like possibly a gmail account. Direct access to you, and a clean oversight for us (the crew).


Edit: if you can't register to the forum you can try ask for help by mailing to FUNimationsCutePHP.[at].gmail.com and repalce the [at] with @
When sending a mail, the same rules for making a topic apply: https://cutephp.com/forum/index.php?showtopic=13026
People who do have accounts are encouraged to keep posting onto the forum. This to keep discussions publicly so other can find solutions in them.
This will be a temporary measure. I don't feel that support staff should be hang out drying when such problems arise. If the owners can't fix this issue, i see no point advertissing this script and will discontinue my support. (I'm not speaking for all of the support crew)

Hack name: Hidden input fields
Description: This hack was based on an article posted here.
It's an attempt to fool spambots into thinking there is no spam protection and giving input fields random obscure names so there isn't a real pattern to input fields names. Visitors will notice nothing about the spam protection; No captchas or anything they need to fill out.
Filou83 updated the instructions for CuteNews UTF-8 (9.0) and higher and made some good changes to it. Smileys work with this hack, which wasn't the case for the original hack.
Auhtor:  FUNimations, Filou83
Instructions:
We need editing the shows.inc.php in "cutenews/inc/" directory.

find

$user_query = cute_query_string($QUERY_STRING, array( "comm_start_from","start_from", "archive", "subaction", "id", "ucat"));

add above or below

$priv_salt="somestring";

CHANGE the word somestring to some sort of securitycode (like sec183459 or sth. like that) you make up. And leave the quotes!

find

    $name = trim($name);
    $mail = trim($mail);
    $id = (int) $id;

and replace with

    $salt_name = md5($priv_salt.date('z'));
    $salt = $_POST[$salt_name];
    if(empty($salt))
    {
        $salt_name = md5($priv_salt.(date('z')-1));
        $salt = $_POST[$salt_name];
    }
    $obsc_name = sha1('name'.$salt );
    $obsc_mail = sha1( 'mail'.$salt );
    $obsc_comment = sha1('comment'.$salt );
    $true_name = sha1('tname'.$salt );
    $true_mail = sha1('tmail'.$salt);
    $true_comment = sha1('tcomment'.$salt);
    $name = trim($_POST[$true_name]);
    $mail = trim($_POST[$true_mail]);
    $submit = trim($_POST['submit']);
    $comments = trim($_POST[$true_comment]);
    $id = (int) $id;

find

    if(strlen(utf8_decode($comments)) > $config_comment_max_long and $config_comment_max_long != '' and $config_comment_max_long != '0'){
        echo '<div style="text-align: center">'.$say['comm_long'].'</div>';
        $CN_HALT = TRUE;
        break 1;
    }

and add below

    if( $submit == "Add My Spam"){
        echo "<div style=\"text-align: center;\">Spambot detected. Don't worry if you're not!</div>";
        $CN_HALT = TRUE;
        break 1;
    }
    //SPAMPROT
    if(strlen(trim($_POST[$obsc_name])) >0 || strlen(trim($_POST[$obsc_mail])) >0 || strlen(trim($_POST[$obsc_comment])) >0)
    {
        echo "<div style=\"text-align: center;\">Spambot detected. Don't worry if you're not!</div>";
        $CN_HALT = TRUE;
        break 1;
    }

find

                echo '<div style="text-align: center">'.$say['pass_prompt'].'

                   <form name=passwordForm id=passwordForm method="post" accept-charset="utf-8" action="">
                   '.$say['password'].': <input type="password" name="password" />
                   <input type="hidden" name="name" value="'.$name.'" />
                   <input type="hidden" name="comments" value="'.$comments.'" />
                   <input type="hidden" name="mail" value="'.$mail.'" />
                   <input type="hidden" name="ip" value="'.$ip.'" />
                   <input type="hidden" name="subaction" value="addcomment" />
                   <input type="hidden" name="show" value="'.$show.'" />
                   <input type="hidden" name="ucat" value="'.$ucat.'" />
                   '.$user_post_query;

replace with

    //SPAMPROT
                $salt_name = md5($priv_salt.date('z'));
                $salt = $_POST[$salt_name];
                if(empty($salt))
                {

                    $salt_name = md5($priv_salt.(date('z')-1));
                }
                $obsc_name = sha1('name'.$salt );
                $obsc_mail = sha1( 'mail'.$salt );
                $obsc_comment = sha1('comment'.$salt );
                $true_name = sha1('tname'.$salt );
                $true_mail = sha1('tmail'.$salt);
                $true_comment = sha1('tcomment'.$salt);
                echo '<div style="text-align: center">'.$say['pass_prompt'].'

                   <form name=passwordForm id=passwordForm method="post" accept-charset="utf-8" action="">
                   '.$say['password'].': <input type="password" name="password" />
                   <input type="hidden" name="$true_name" value="'.$name.'" />
                   <input type="hidden" name="$true_comments" value="'.$comments.'" />
                   <input type="hidden" name="$true_mail" value="'.$mail.'" />
                   <input type="hidden" name="ip" value="'.$ip.'" />
                   <input type="hidden" name="subaction" value="addcomment" />
                   <input type="hidden" name="show" value="'.$show.'" />
                   <input type="hidden" name="ucat" value="'.$ucat.'" />
                   <input type="hidden" name="$salt_name" value="'.$salt.'" />
                   <input type="hidden" name="$obsc_name" value="'.$_POST[$obsc_name].'" />
                   <input type="hidden" name="$obsc_mail" value="'.$_POST[$obsc_mail].'" />
                   <input type="hidden" name="$obsc_comment" value="'.$_POST[$obsc_comment].'" />
                   '.$user_post_query;

find

    $smilies_form = "\n<script type=\"text/javascript\">
    //<![CDATA[
    function insertext(text){
    document.comment.comments.value+=\" \"+ text;
    document.comment.comments.focus();
    }
    //]]></script>
    <noscript>".$say['no_js']."
    </noscript>".insertSmilies('short', FALSE);

replace with

    $smilies_form = insertSmilies('short', FALSE);

find

$template_form = str_replace('{smilies}', $smilies_form, $template_form);

replace with

//SPAMPROT
    $salt = md5(time()+$_GET['id']+$_SERVER['REMOTE_ADDR']);
    $salt_name = md5($priv_salt.date('z'));
    $obsc_name = sha1('name'.$salt );
    $obsc_mail = sha1( 'mail'.$salt );
    $obsc_comment = sha1('comment'.$salt );
    $true_name = sha1('tname'.$salt );
    $true_mail = sha1('tmail'.$salt);
    $true_comment = sha1('tcomment'.$salt);
    $show = t.sha1( 'show'.$salt );//css classname may never start with a number
    $hide = t.sha1( 'hide'.$salt );//css classname may never start with a number

    $template_form = str_replace('{smilies}', $smilies_form, $template_form);
    $template_form = str_replace('{spam-input-name}', $obsc_name, $template_form);
    $template_form = str_replace('{spam-input-mail}', $obsc_mail, $template_form);
    $template_form = str_replace('{spam-input-comment}', $obsc_comment, $template_form);
    $template_form = str_replace('{real-input-name}', $true_name, $template_form);
    $template_form = str_replace('{real-input-mail}', $true_mail, $template_form);
    $template_form = str_replace('{real-input-comment}', $true_comment, $template_form);
    $template_form = str_replace('{show}', $show, $template_form);
    $template_form = str_replace('{hide}', $hide, $template_form);

The following inserts css-definitions and the insert-smileys javascript before the form (version A). If you don't (and won't) use smileys in your comments form, you could use version B instead.
find

    echo "<form accept-charset=\"utf-8\" $CN_remember_form  method=\"post\" name=\"comment\" id=\"comment\" action=\"\">".$template_form."<div><input type=\"hidden\" name=\"subaction\" value=\"addcomment\" />
        <input type=\"hidden\" name=\"ucat\" value=\"$ucat\" />";

replace with version A

    echo "\n
        <style type=\"text/css\">.".$show."{display:inline;} .".$hide."{display:none;}</style>
        <script type=\"text/javascript\">
        //<![CDATA[
        function insertext(text){
        document.getElementById(\"".$true_comment."\").value+=\" \"+ text;
        document.getElementById(\"".$true_comment."\").focus();
        }
        //]]></script>
        <noscript>".$say['no_js']."
        </noscript>
        <form accept-charset=\"utf-8\" $CN_remember_form  method=\"post\" name=\"comment\" id=\"comment\" action=\"\"><input type=\"hidden\" name=\"".$salt_name."\" value=\"".$salt."\" />".$template_form."<div>
        <input type=\"hidden\" name=\"subaction\" value=\"addcomment\" /><input type=\"hidden\" name=\"ucat\" value=\"$ucat\" />";

or replace with version B for comments form without smileys (smileys will not work!)

    echo "\n
        <style type=\"text/css\">.".$show."{display:inline;} .".$hide."{display:none;}</style>
        <form accept-charset=\"utf-8\" $CN_remember_form  method=\"post\" name=\"comment\" id=\"comment\" action=\"\"><input type=\"hidden\" name=\"".$salt_name."\" value=\"".$salt."\" />".$template_form."<div>
        <input type=\"hidden\" name=\"subaction\" value=\"addcomment\" /><input type=\"hidden\" name=\"ucat\" value=\"$ucat\" />";

close shows.inc.php, save changes and upload the modified file.
Next change ALL your templates (the comments form part) like following.
First find (based on the default template)

<input type="submit" name="submit" value="Add My Comment">

and repalce it with

<span class="{hide}"><input type="submit" name="submit" value="Add My Spam"></span><span class="{show}"> <input type="submit" name="submit" value="Add My Comment"> </span>


Next we are going to replace all input fields:

<input type="text" name="name">

to

<span class="{show}"><input type="text" name="{real-input-name}"></span><span class="{hide}"><input type="text" name="{spam-input-name}"></span>


<input type="text" name="mail">

to

<span class="{show}"><input type="text" name="{real-input-mail}"></span><span class="{hide}"><input type="text" name="{spam-input-mail}"> </span>


The id-tag also has to be changed because of the changed javascript function:

<textarea cols="40" rows="6" id=commentsbox name="comments"></textarea>

to

<span class="{show}"><textarea cols="40" rows="6" id="{real-input-comment}" name="{real-input-comment}"></textarea></span><span class="{hide}"><textarea cols="40" rows="6" id="{spam-input-comment}" name="{spam-input-comment}"></textarea></span>

And save the new template. That is all. Now it may be good for you to understand what the change in the template does. For each field we create a dummy field. The dummy fields will be invisible, so users won't notice them and won't be able to fill anything in. Bots however won't notice them as being invisible, so they will submit values for those fields. When CN detects the dummy fields as being filled in, it'll know it's a bot.
Now what you should know is that around every input field there is a span. You are free to swith the dummy field and the REAL field but don't forget to switch the span aswell so you don't accidently make the dummy fields visible and the rela fields invisible. It's a good idea to do some random ordering with these fields, so we don't have a standard

real dummy, real, dummy, real, dummy

order but you get something like

dummy real, dummy, dummy, real, real

The latest version of CuteNews UTF-8 comes with a build Captcha, our rather a pluginable captcha.
More instructions can be found at http://korn19.ch/coding/utf8-cutenews/image-captcha.php

Below some captcha alternatives:

* Hidden input fields.

Posts found: 101 to 125 of 286

Pages Previous 1 2 3 4 5 6 7 12 Next

CutePHP Forums → Posts by FUNimations



The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.