Ah okay. Well then, we will see how long this site will last, until it gets sold >_>
2 2011-08-05 23:38:33
Re: FORUM TROUBLES (8 replies, posted in Script Feedback and Suggestion)
I noticed the problem too and I cannot even post without getting the reCaptcha problem. At least from time to time in a certain section.
I perhaps have an idea. I'll pm you. | edit: well if i could do that >_>
----
As the current board cannot really be maintained by the staff as it should be (because no one really has the rights needed to do it) and the owner isn't doing anything, I have perhaps a suggestion.
If this is going to continue longer, wouldn't it be more useful to open up a new board and link everyone to the new board which would work fine and the Staff can take actions against all the spam users and such?
I have my own webspace and I could offer you space for a board so the support could continue. I'll would of course give the staff the rights to manage the board the way it is needed.
I see that this board doesn#t work right anymore, as the software is old, spam users cannot be deleted and everything else.
Does that sound good?
3 2009-10-25 17:08:16
Re: [HACK] Gravatar (3 replies, posted in Hacks & Tricks / FAQ)
Title:Gravatar for Cutenews
Author: Sierron
Cutenews Compatibility: 1.3.6
Description:This hack adds the ability to show a gravatar for news comments. Only on commenting!
Discussion Topic: here
Instructions:
open [cutenewsfolder]/inc/show.inc.php
Find
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'> $output = str_replace('{mail}', $comment_arr[2], $output);
$output = str_replace('{date}', utf8_dates(date($config_timestamp_comment, $comment_arr[0])), $output);
$output = str_replace('{comment-id}', $comment_arr[0], $output);
$output = str_replace('{comment}', "<a name=\"".$comment_arr[0]."\"></a>$comment_arr[4]", $output);
$output = str_replace('{comment-iteration}', $iteration ,$output);</div>
Add below
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'> // gravatar mod begin
// with replacer if no image was found
if((!preg_match("^://^",$comment_arr[3]))&&($comment_arr[3] != "none"))
{
$gravsize = "50"; // size of the gravatar. 512 is maximum
$gravtype = "wavatar"; // following are available: identicon, monsterid and wavatar
$gravatar = strtolower($comment_arr[2]);
$gravatar = md5($gravatar);
$output = str_replace("{gravatar}", "<img src=\"http://www.gravatar.com/avatar/$gravatar?s=$gravsize&d=$gravtype\" style=\"height: ".$gravsize."px; width: ".$gravsize."px;\" alt=\"$gravatar\">",$output);
}
else
{
$output = str_replace("{gravatar}", "",$output);
}
// gravatar mod end</div>
How to use in templates:
{gravatar} Is the code for the gravatar.
Changelog:
v. 1.1: also checking if the email address is "none"