[Feature] Comments page

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2007, 11:46 AM
New Pligger
 
Join Date: Jan 2007
Posts: 1
Hi there,

I just hacked a small "comments" page that displays all the comments on one page. A demo can be seen here : http://www.eldiz.net/comments.php (in French, sorry ).
I only developed it for the paul01 template but it should be easy to adapt it to other templates.

I still have a problem if there is, for example, a large url in the comments: the table overflows the div If anyone has an idea...

In attachment, comments.php (for the root directory), comments_center.tpl and comments_data.tpl (for the template/paul01 directory).

You'll also have to add the following variables in lang.php :
PLIGG_Visual_Comments = "Comments"
PLIGG_Visual_Comments_Comment = "Comment"
PLIGG_Visual_Comments_Author = "Author"
PLIGG_Visual_Comments_Date = "ago"
PLIGG_Visual_Comments_Link = "Story"
PLIGG_Visual_Breadcrumb_Comments = "Comments"
Attached Files
File Type: php comments.php (1.3 KB, 129 views)
File Type: tpl comments_center.tpl (1.5 KB, 120 views)
File Type: tpl comments_data.tpl (286 Bytes, 114 views)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add comments to new Pages, create custom feedback page mrigank Questions and Comments 2 02-23-2009 12:07 AM
Page Variables Yankidank Wiki Articles 1 08-13-2008 03:59 AM
Add comments to new page pottypotsworth Questions and Comments 1 04-29-2008 12:09 PM
[Solution] Limit Comments in Story page. manya1011 Questions and Comments 9 03-12-2008 06:26 PM
Limiting comments on the story page. Darksat Questions and Comments 2 01-30-2008 08:37 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development