1
santral
adding comment system to a module!!!
  • 2008/4/4 22:21

  • santral

  • Just popping in

  • Posts: 4

  • Since: 2008/2/25


hi,
I want to add comment system to a module...
I add system but it doesnt shows comments ....
it only shows ::

<{foreach item=comment from=$comments}> <{include file="db:system_comment.html" comment=$comment}> <{/foreach}>
<{$lang_poster}> <{$lang_thread}>



so I see only this text instead of comment system !!
I think I haven't somethings in codes but what I missed ?????

2
avtx30
Re: adding comment system to a module!!!
  • 2008/4/4 23:30

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12



3
santral
Re: adding comment system to a module!!!
  • 2008/4/4 23:53

  • santral

  • Just popping in

  • Posts: 4

  • Since: 2008/2/25


thanks but I need to make XOOPS one...
pls give me some tips to integrate commets system to my module !!!!


I add ..."comment_new.php?com_itemid=1&com_order=0&com_mode=thread" this to end of my module address end it worked ,send comment....but I couldnt see them in my item page !!!

pls help !!!

4
xgarb
Re: adding comment system to a module!!!
  • 2008/4/26 21:55

  • xgarb

  • Not too shy to talk

  • Posts: 154

  • Since: 2003/3/30


this might help..

http://web.archive.org/web/20061130113641/dev.xoops.org/modules/phpwiki/index.php/Commentsystem

Not working for me at the moment but the other modules have this system so probably something I'm doing wrong.

5
tom
Re: adding comment system to a module!!!
  • 2008/4/27 0:42

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


This link may also give you some pointers too:

Quick tutorial - integrating XOOPS Comments

Have you also looked at other modules to see how they make the intergration?

6
Anonymous
Re: adding comment system to a module!!!
  • 2008/4/27 3:51

  • Anonymous

  • Posts: 0

  • Since:


any deom site using GIJOE's comment Anywhere ?

7
xgarb
Re: adding comment system to a module!!!
  • 2008/5/3 12:09

  • xgarb

  • Not too shy to talk

  • Posts: 154

  • Since: 2003/3/30


Found out what was wrong with my attempt at adding comments..

If you declare the template like this..

$tpl->display( "db:{$mydirname}templatename.html" )

comments don't work.

I guess the newer way which works is...

$xoopsOption['template_main'] = 'templatename.html';

Login

Who's Online

340 user(s) are online (280 user(s) are browsing Support Forums)


Members: 0


Guests: 340


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