[Feature] Comments page

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2007, 12:46 PM
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, 236 views)
File Type: tpl comments_center.tpl (1.5 KB, 218 views)
File Type: tpl comments_data.tpl (286 Bytes, 198 views)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Variables Yankidank Wiki Articles 3 05-19-2011 09:21 AM
How to add comments to new Pages, create custom feedback page mrigank Questions and Comments 2 02-23-2009 01:07 AM
Add comments to new page pottypotsworth Questions and Comments 1 04-29-2008 01:09 PM
[Solution] Limit Comments in Story page. manya1011 Questions and Comments 9 03-12-2008 07:26 PM
Limiting comments on the story page. Darksat Questions and Comments 2 01-30-2008 09: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