Sponsored content in Activity Feed

3 years 1 week ago #324300 by AlexRag
Replied by AlexRag on topic Sponsored content in Activity Feed
Maybe I could use Language overrides to rename "System" to something more meaningful?

Would creating an actual user, called for example "Sponsor" make sense or is that going to be a complicated process with the Auto Actions you recommended?

I'm not sure what you have in store to integrate sponsored posts. I'm figuring a sponsor would set up their own user account and be able to buy ads, that would end up on feeds. How and at what frequency could be a huge undertaking though. In any case, I'm looking forward to what's in store

The other idea I have is to possible add a sidebar on the same page as the Activity feed too that could display/cycle through ads. Possibly even embed adsense code.

Please Log in to join the conversation.

3 years 1 week ago #324301 by krileon
Replied by krileon on topic Sponsored content in Activity Feed
You can change the system name within CB Activity parameters. It also supports language strings. This however will change it for all system activity. There is no per-activity system override functionality.

Would creating an actual user, called for example "Sponsor" make sense or is that going to be a complicated process with the Auto Actions you recommended?

Yes, I suppose you could assign the activity to a specific user. In the first auto action remove the following.

$ad->set( 'system', 1 );

Then change the following.

$ad->set( 'user_id', USER_ID_HERE );

Replace USER_ID_HERE with the user id of the user you want to own this activity.

I'm not sure what you have in store to integrate sponsored posts. I'm figuring a sponsor would set up their own user account and be able to buy ads, that would end up on feeds. How and at what frequency could be a huge undertaking though. In any case, I'm looking forward to what's in store

Sponsor post design isn't finalized yet, but it's planned to be mostly configured in the backend. It's possible frontend configuration behavior will be added, but I can't really say for now as it's too early.

The other idea I have is to possible add a sidebar on the same page as the Activity feed too that could display/cycle through ads. Possibly even embed adsense code.

You should be able to do that already by just using a Joomla module on the page.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 years 1 week ago #324302 by AlexRag
Replied by AlexRag on topic Sponsored content in Activity Feed

You can change the system name within CB Activity parameters. It also supports language strings. This however will change it for all system activity. There is no per-activity system override functionality.

That could still work. Something more personal than "System" would be great for the whole site. I'm thinking change it to the site name, perhaps.

Thanks for the additional code recommendations!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.147 seconds

Facebook Twitter LinkedIn