×

Notice

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

TOPIC: Jomsocial Plugin

Jomsocial Plugin 13 years 10 months ago #11237

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
How can I change the Activity Stream in Jomsocial to dislpay "(user) added a new Dive Site: (new site)"?

Jomsocial Plugin 13 years 10 months ago #11245

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The language file for the plugin is located in:
administrator/language/your-language/your-language.plg_hotspots_jomsocial.ini

change
JOMSOCIAL_ADDHOTSPOTS={actor} added a new Hotspot
to
JOMSOCIAL_ADDHOTSPOTS={actor} added a new Dive Site

And don't forget to leave a review for hotpots here:
extensions.joomla.org/extensions/maps-a-...-locations/maps/9468 :)

Jomsocial Plugin 13 years 10 months ago #11249

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Your fast and friendly support is a life saver, thank you so much. You can count on a full review posted on the Joomla Ext page soon!

Jomsocial Plugin 13 years 4 months ago #13109

  • HAralampos Diamantopoulos
  • HAralampos Diamantopoulos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hello, i am using jomsocial, and i just have installed the plugin for it. The link to the activity, for a new hotspot isn't working, the error messege is "The category that you have selected in the menu settings doesn't exist - please check the id of the category again" or to some hotspots the error message of joomla appears. The same hotspot from the map is working.
the site is www.grfun.gr , it is in greek language.
the link for community : www.grfun.gr/el/community.html
the link for the map : www.grfun.gr/el/user-travelling.html

thank you!

Jomsocial Plugin 13 years 4 months ago #13110

  • HAralampos Diamantopoulos
  • HAralampos Diamantopoulos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
ok i think i found it, in the file jomSocial.php of the plugin, line 65 i changed lcatid to catid and it worked.

Jomsocial Plugin 13 years 3 months ago #13113

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Wow, it is nice to see that everyone is fixing something :) I'll update the plugin later today! Thank you!

Jomsocial Plugin 13 years 3 months ago #13212

  • HAralampos Diamantopoulos
  • HAralampos Diamantopoulos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
thank you for the update , it is working !
i put some extra lines to activate like and comments to activity, and i think they worked.
CFactory::load('libraries', 'activities');
		//comments
		$act->comment_type  = 'com_hotspots.addComment';
		$act->comment_id    = CActivities::COMMENT_SELF;
		//like
		$act->like_type     = 'com_hotspots.Like';
		$act->like_id     = CActivities::LIKE_SELF;
CActivityStream::add($act);

Jomsocial Plugin 13 years 3 months ago #13214

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Like and comments to activity? Isn't this something that jomsocial does out of the box? Can you show me an example? Perhaps it will be cool to integrate it directly into the plugin :)
Daniel

Jomsocial Plugin 13 years 3 months ago #13215

  • HAralampos Diamantopoulos
  • HAralampos Diamantopoulos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
yes jomsocial's integrated like and comments activity.
www.grfun.gr/en/community.html
the last activity "babinio added a new Hotspot: Ios " has jomsocial's like and comments.

i found the code to jomsocial's page
www.jomsocial.com/support/docs/item/780-...activity-stream.html
"Adding support for LIKE and COMMENT in stream"

Jomsocial Plugin 13 years 3 months ago #13326

  • Iki Cvetkovski
  • Iki Cvetkovski's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 69
  • Thank you received: 0
Great feature Haralampos :) can you tell me where do I need to write this code? JomSocial files are kinda messed up, can't find anything :)

Thank you!

Jomsocial Plugin 13 years 3 months ago #13360

  • HAralampos Diamantopoulos
  • HAralampos Diamantopoulos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
in the file jomSocial.php between the lines 90 and 91 you enter the code
//comments
	$act->comment_type  = 'com_hotspots.addComment';
	$act->comment_id    = CActivities::COMMENT_SELF;
//like
	$act->like_type     = 'com_hotspots.Like';
	$act->like_id     = CActivities::LIKE_SELF;

the file is in the folder plugins/hotspots in your joomla site

Jomsocial Plugin 13 years 3 months ago #13366

  • Iki Cvetkovski
  • Iki Cvetkovski's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 69
  • Thank you received: 0
Appreciate! Works like a charm :)
  • Page:
  • 1
Time to create page: 0.130 seconds