Welcome, Guest. Please login or register.
March 17, 2010, 07:05:49 AM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 released!
Download and additional information are available here .
110175 Posts in 15914 Topics by 9281 Members
Latest Member: s-pax
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code) (Moderators: Argos, BerndJM)
| | |-+  New Snippet: Last Comments
Pages: [1] Go Down Print
Author Topic: New Snippet: Last Comments  (Read 1739 times)
chio

Offline Offline

Posts: 1599



WWW
« on: October 28, 2007, 05:18:09 PM »

Hi
I've made a snippet to display the last comments (news-module) anywhere. Its a little "beta" still, but I think it should not cause any troubles.

You can invoke it e.g. on your homepage, or (this is for made it) per code-module on a hidden page to get more overview on your site; if there are new comments or - spammers wink.
It displays also links to the postings where the comment is and - if you are logged in - a link to edit the posting/comment.

call: <?php display_lastcomment s(); ?>
for additional parameters check the english readme.txt.
German DocumentationDownload


« Last Edit: October 28, 2007, 05:20:20 PM by chio » Logged

artifaction

Offline Offline

Posts: 3


« Reply #1 on: December 08, 2007, 10:53:48 AM »

Works perfect, ive been looking for a funktion like this, thanks
Logged
babsy

Offline Offline

Posts: 299


« Reply #2 on: June 10, 2009, 11:05:43 AM »

hi.... and thanks, this module works great Smiley

i wanted to only show the maybe 4-6 words of the content of the comment, and not the name of who wrote it!
but i can´t find the files for this module under module?

any one knows where i can find the file, to change output of this module.. Smiley

Logged
chio

Offline Offline

Posts: 1599



WWW
« Reply #3 on: June 10, 2009, 02:54:52 PM »

Ist in
modules/lastcommenst/include.php

Sei gnädig, wenn du den Code ansiehst..



Logged

babsy

Offline Offline

Posts: 299


« Reply #4 on: July 07, 2009, 05:01:30 PM »

hi again... i´ve tried changing it so i just have the headlines, but i can´t get the link to work.. anyone who tried?? and succeded Smiley
Logged
danest

Offline Offline

Posts: 17


« Reply #5 on: February 08, 2010, 04:24:39 PM »

Thank you for the snippet. I have been looking for something like that, and nobody could help me. Suddently I found it, and it works fine it seems.
I have around 150 newd posts around my site, and all are opn for comments. Without this, it would be impossible to know what is going on.
Great!
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!