×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: last comment / Seyret

last comment / Seyret 14 years 4 months ago #8210

  • tipworld
  • tipworld's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
Hi everybody,

I noticed that the "!joomlacomment last comment" module does not offer to display comments for the seyret component.
We only can select com_content, com_docman, com_eventlist, com_mmsblog. It's already a lot! Tank's tank's but we "users", always are want more :)

Is there a future update module? Is there a path? or a file to edit?
(ditto for PUARCADE)

Thank you for your excellent component

last comment / Seyret 14 years 4 months ago #8213

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I think that the queries for the module are in place - this means it should work, but you will have to add something to the module .xml file.

I've answered this question here in bulgarian:
compojoom.com/forum/23-/7933
sobi2#7935 :)
Open the mod_comments.xml file and add the following option to the other component options:
<option value="com_seyret">com_seyret</option>

last comment / Seyret 14 years 4 months ago #8225

  • tipworld
  • tipworld's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
Tank's Daniel,

I added
<option value="com_seyret">com_seyret</option>
<param name="component" type="list" default="" label="Component" description="Will display comments of the specified component.">
	    <option value="">com_content</option>
	    <option value="com_docman">com_docman</option>
	    <option value="com_eventlist">com_eventlist</option>
	    <option value="com_mmsblog">com_mmsblog</option>
		<option value="com_seyret">com_seyret</option> 
	</param>



I can select "com_seyret" composant in "!joomlacomment last comment" module.
But in front display "no comments"
(I ve 2 comments in Seyret in 2 videos



tank's for your help

last comment / Seyret 14 years 4 months ago #8239

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
strange.
Looking at the plugin code I seein the mostcommented function
this
	$query 	=  	"SELECT COUNT(c.id) AS countid, ct.id, ct.title AS title "
	    .	"\n FROM `vpo_comment`    AS c "
	    .  	"\n INNER JOIN `vpo_seyret_items`  AS ct  ON ct.id = c.contentid "
	    .  	"\n INNER JOIN `vpo_seyret_categories` AS cat ON cat.catid = ct.catid "
	    .  	"\n WHERE c.published='1' "
	    .	"\n   AND c.component='$component' "
	    .  	"\n ". (count($where) ? (" AND ".implode(" AND ", $where)) : "")
	    .	"\n GROUP BY c.contentid"
	    .	"\n ORDER BY countid DESC"
	    .	"\n $limit"
 

So the code for the database query is in place, but if it is not working for you I guess I will have to install seyret over the holidays and test it out. Then I can tell you for sure that it works or not :)

last comment / Seyret 14 years 4 months ago #8244

  • tipworld
  • tipworld's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
OK
Thank you for your interest
Happy holidays and merry Christmas

last comment / Seyret 14 years 3 months ago #8475

  • tipworld
  • tipworld's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
Hi ! good holidays ! Return to Work !! :laugh:

Am I the only one having this problem?
for you, the module "last comment" works with Seyret?
  • Page:
  • 1
Time to create page: 0.105 seconds