1
leverii
Show more items for "recent comments block"
  • 2004/12/13 5:45

  • leverii

  • Just popping in

  • Posts: 6

  • Since: 2004/12/13


I am using myalbum-p for my internet photo club. The feedbacks from the members are very postive.

They also find the XOOPS built-in "recent comments block" useful for discussions.

As more and more members join in, it is very easy to flow out an interesting topic from the "recent comments block", only 10 recent comments shown.

We wonder whether it is possible to make a page where all comments would be listed in reversed time order? Is it possible to show more items in the "recent comments block", say 30 recent comments?

Thanks in advance!

2
irmtfan
Re: Show more items for "recent comments block"
  • 2004/12/13 6:03

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


for ascemding order just set the default order at admin --> preferences --> general setting

for show more than 10 comments edit block and change "number of comments to show"

3
leverii
Re: Show more items for "recent comments block"
  • 2004/12/13 7:32

  • leverii

  • Just popping in

  • Posts: 6

  • Since: 2004/12/13


Quote:

irmtfan wrote:
for show more than 10 comments edit block and change "number of comments to show"


Thanks for your reply irmtfan.
The file related to the "recent comment block" I find is as below: Could you teach me how to modify the code such that more than 10 recent comments shown?
Thank in advance.

modules\system\templates\blocks\system_block_comments.html

==========================================================

<{foreach item=comment from=$block.comments}>
">






<{/foreach}>
<{$comment.title}> <{$comment.module}> <{$comment.poster}> <{$comment.time}>

4
irmtfan
Re: Show more items for "recent comments block"
  • 2004/12/13 7:36

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


no dont touch the html files and templates
sorry for my bad description.
just go to the admin -> blocks --> new comments block ( in system module) and click on "Edit" then change the number of comments to show

5
Anonymous
Re: Show more items for "recent comments block"
  • 2004/12/13 10:49

  • Anonymous

  • Posts: 0

  • Since:


Quote:

irmtfan wrote:
no dont touch the html files and templates
sorry for my bad description.
just go to the admin -> blocks --> new comments block ( in system module) and click on "Edit" then change the number of comments to show


Got it!! Thanks for your help irmtfan.

My members also would like to know whether it is possible to show the recent comments posted by their own and excluding others. For example, the member Peter can see his own recent comments only.

Either showing the results on the same block or a new page is appreciated by them.

Thanks again!

6
leverii
Re: Show more items for "recent comments block"
  • 2004/12/13 10:50

  • leverii

  • Just popping in

  • Posts: 6

  • Since: 2004/12/13


Quote:

irmtfan wrote:
no dont touch the html files and templates
sorry for my bad description.
just go to the admin -> blocks --> new comments block ( in system module) and click on "Edit" then change the number of comments to show


Got it!! Thanks for your help irmtfan.

My members also would like to know whether it is possible to show the recent comments posted by their own and excluding others. For example, the member Peter can see his own recent comments only.

Either showing the results on the same block or a new page is appreciated by them.

Thanks again!

7
irmtfan
Re: Show more items for "recent comments block"
  • 2004/12/13 11:17

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


there is a module called " comments search module v1.01 in module repository that show all comments by user in his/her profile.
andi use this in my site.

8
leverii
Re: Show more items for "recent comments block"
  • 2004/12/14 9:32

  • leverii

  • Just popping in

  • Posts: 6

  • Since: 2004/12/13


Quote:

irmtfan wrote:
there is a module called " comments search module v1.01 in module repository that show all comments by user in his/her profile.
andi use this in my site.


Bravo!! Thanks again irmtfan.

I have installed it and find it perfectly matched the members' need. THANKS THANKS THANKS...

Login

Who's Online

377 user(s) are online (244 user(s) are browsing Support Forums)


Members: 0


Guests: 377


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits