Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Comment problem

Asked Modified Viewed 7,598 times
A
amaraa
A
amaraa 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
asked
Junior Member

I have super admin access. When i clicking on manage comments redirecting to news.php. Any suggestion?
0 replies

29 posts

M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Have you tried re-uploading ../administration/comments.php?
0 replies
A
amaraa
A
amaraa 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Yes i reuploaded still same. No solution???

I have 1 question. In forum we have youtube button i need it on the news section any one have idea?
0 replies
D
denven
D
denven 10
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 4 threads in the forums
answered
Newbie

i have the same problem!
0 replies
A
amaraa
A
amaraa 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Please help me? I'm have so many spam comments
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Deleting the spammers does not work?
0 replies
O
OmeFred
O
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
answered
Newbie

If you delete those users the comments also will be deleted. Or you can do it in your database...
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

StefanN
I see your latest comments panel differs from mine. I have links to comment management with all the items that are standard in a PHPFusion installation (news, articles, custom pages, photos). Locales are hardcoded. See if adding this panel gives a way to access comment management to delete the comment.
opentable("Latest Comments");
echo "<div style='width:auto;height:225px;overflow:scroll'>";
$i = 0;
$result = dbquery(
"SELECT * FROM ".DB_PREFIX."comments
LEFT JOIN ".$db_prefix."users ON ".$db_prefix."comments.comment_name=".$db_prefix."users.user_id  ORDER BY comment_datestamp DESC LIMIT 0,10"
);
if (dbrows($result)) {
echo "<table width='100%' align='center' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
while ($i <10) {$data = dbarray($result);
echo "<tr>\n<td class='".($i% 2==0?"tbl1":"tbl2")."'><span class='comment-name'>";
if ($data['user_avatar'] != "") {
       echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' ><img height='35' width='35' src='".BASEDIR."images/avatars/".$data['user_avatar']."' alt='profile'></a>\n";
          } else {
        echo "&nbsp;";
          } 
if ($data['user_name']) {
echo "<a href='".BASEDIR."profile.php?lookup=".$data['comment_name']."' class='slink'>".$data['user_name']."</a>";
} else {
echo $data['comment_name'];
}
$comment_message = nl2br(parseubb($data['comment_message']));
$comment_item_id = $data['comment_item_id'];
$comment_type = $data['comment_type'];
if ($data['comment_smileys'] == "1") $comment_message = parsesmileys($comment_message);
echo "</span>
<span class='small'>".$locale['041'].showdate("longdate", $data['comment_datestamp'])."</span><br>
".$comment_message."<br>";

if ($data['comment_type'] == "N") {
echo "<a href='".BASEDIR."news.php?readmore=".$data['comment_item_id']."'>View News Comment</a><br>";
}
else if ($data['comment_type'] == "A") {
echo "<a href='".BASEDIR."readarticle.php?article_id=".$data['comment_item_id']."'>View Article Comment</a><br>";
}
else if ($data['comment_type'] == "P") {
echo "<a href='".BASEDIR."photogallery.php?photo_id=".$data['comment_item_id']."'>View Photo Comment</a><br>";
}
else if ($data['comment_type'] == "C") {
echo "<a href='".BASEDIR."viewpage.php?page_id=".$data['comment_item_id']."'>View Custom Page Comment</a><br>";
}
else {
echo "No link";
}

echo "</td>\n</tr>\n";
$i++;
}
echo "</table>\n";
} else {
echo "<center><br>There are no comments<br><br></center>\n";
}
?>
echo "</div>";
closetable();
Edited by muscapaul on 15-01-2008 14:29,
0 replies
A
amaraa
A
amaraa 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks for reply

i was checked this code. This displaying latest comments. But still cannot delete. When i click on the View News Comment this redirecting to main page.
Edited by amaraa on 16-01-2008 12:53,
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

amaraa, can I have temporary admin access to your site?
0 replies
A
amaraa
A
amaraa 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

That's dangerous. I have not a backup. If you deleted my news my site will be empty.
www.amaraa.net
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

I am not planning to delete anything, only to see how I can access the comments. ;)
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

It might then also be useful to change the site to english for a moment. Any details best sent in PM. ;)
0 replies
A
amaraa
A
amaraa 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

I need to think. :)
0 replies
E
Emiel
E
Emiel 10
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
answered
Junior Member

Hym... isn't it obvious that person who is administrator at main php-fusion site don't have any interest in clearing your site? Just think about it he won't gain anything by it just lose his reputation. I understand if it was some random user that it would be stupid to just give him admin rights but he is a part of this site and want to help you so trully i don't get you >_>
0 replies
P
Periphaeria
P
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
answered
Newbie

Quote

muscapaul wrote:See if adding this panel gives a way to access comment management to delete the comment.
*code*


Now, excuse my stupidity (my excuse is being blonde), but I have two questions. :)

1. This should be added to comments.php?
2. And from what point exactly this code should be pasted to said file?

I am very green with PHPFusion (and admittedly very illiterate in many things relating it) and I have the same issue as the original thread starter, I have re-uploaded the comment.php file and I am still redirected to the news.php from Manage Comments link. (I am the Super Admin...)
The problem child can be found from here.

Thanks in advance.
Edited by Periphaeria on 08-02-2008 20:52,
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

What's the exact link of "Manage Comments"?

Does it look like this:
http://examplede/administration/comments.php?aid=db4e8kaba341eb9a&ctype=N&cid=53

Is there something like this "?aid=xxxxx"?
Edited by Basti on 08-02-2008 23:41,
0 replies
P
Periphaeria
P
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
answered
Newbie

Quote

slaughter wrote:Does it look like this:
http://examplede/administration/comments.php?aid=db4e8kaba341eb9a&ctype=N&cid=53

Is there something like this "?aid=xxxxx"?


No, it looks like this: http://examplede/administration/comments.php?ctype=N&cid=53

Funny thing is that when I made a testing purpose site with the same mods and the latest backup the comment management worked. :o

Other funny thing is that the comment management worked with the main site earlier today... Maybe it's Friday 13th in disguise or something.
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

So it works now?
0 replies
P
Periphaeria
P
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
answered
Newbie

Quote

slaughter wrote:
So it works now?


No?

I would have said if it did. The test site works, not the main one - note that they run on exactly the same version, mods, infusions... (All the files are exact copies of the main site's full backup and the database backup file was taken after the problem occurred.)

Though, I found a very questionable way to get to the comment management, even though the management links don't form correctly...

Still I'd like to know what the heck is wrong with the thing. B)
Edited by Periphaeria on 09-02-2008 16:22,
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 29 posts
  • Votes 0 votes
  • Topic users 8 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet