Page 1 of 1

Jomsocial User Point Rules

Posted: 03 Oct 2010, 11:03
by dotcom22
hello Jan

I would like add PhocaGallery in my Jomsocial site. My primary goal would be to allow users to get Jomsocial Point every time they add a rating, comment and photo. I would like also remove point to users who remove they rating, comment and photo..

I know you are not familiar with Jomsocial but maybe you can point me to the right direction.

Here you can find the dev docs about User Point:

http://www.jomsocial.com/docs/User_Poin ... ity_Stream

For what I understand is not a big deal to add this features because it require to add little code into the page managing photo upload and rating/comment and create 1 XML file...

I can do some test at my side if you can tell me where I must add the code and in witch phoca files. I can create also the required XML file..

many thank to you

Re: Jomsocial User Point Rules

Posted: 04 Oct 2010, 18:15
by Jan
Hi, yes you right, I don't know the Jomsocia :-(

You can find rating in front:

view:
components\com_phocagallery\views\category\tmpl\default_rating.php
(components\com_phocagallery\views\category\view.html.php)

components\com_phocagallery\views\detail\tmpl\default_rating.php
(components\com_phocagallery\views\detail\view.html.php)

models:
components\com_phocagallery\models\category.php
components\com_phocagallery\models\detail.php

controllers:
components\com_phocagallery\controllers\category.php
components\com_phocagallery\controllers\detail.php

Jan