Go Back   Pligg Forum > Pligg Development > Pligg Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2007, 10:46 AM
Isabelle Hurbain Isabelle Hurbain is offline
New Pligger
 
Join Date: Jan 2007
Posts: 1
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 5 Times in 1 Post
[Feature] Comments page

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, 25 views - Who Downloaded?)
File Type: tpl comments_center.tpl (1.5 KB, 23 views - Who Downloaded?)
File Type: tpl comments_data.tpl (286 Bytes, 21 views - Who Downloaded?)
Reply With Quote
The Following 5 Users Say Thank You to Isabelle Hurbain For This Useful Post:
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Title - Instant Need plum Suggestions 5 10-17-2007 12:57 PM
Blank page encountered when accessing admin_config.php page lennybar Installation and Upgrade Help 11 11-23-2006 01:25 PM
Sneak Page - works in FFox, doesn't work in I.E. (Screen Shots In Thread!) fire Installation and Upgrade Help 1 08-05-2006 10:11 PM
Customized 404 Error Page CrabApple Retired Threads 0 07-10-2006 06:42 PM
tags take me to error page? lithman General Help 2 05-14-2006 08:05 AM


LinkBacks Enabled by vBSEO 3.0.0