Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you
I've seen that but seems too complicated, I don't want to create a plugin, just simply add a string in the stream. But anyway if there's no other way I'll read it carefully
I've created the plugin as in your example and add the CActivityStream::add($act); code in a static method.
My question is: now how I can call that public static method from my code in another plugin?
Part of the message is hidden for the guests. Please log in or register to see it.
I'm sorry but we don't support developing requests.
Issue you have is related with php coding skills.
I advise you to post on
stackoverflow.com/
or any php coding web group/forum.
Please, read our Support Policy.
After second thought you may try to add your string directly into stream post - that is creating override for files here:
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you