Forum Replies Created
-
Maybe this will help – I didn’t wrap it in code tags – any help would be appreciated. Otherwise some direction on how to enter custom activity into the system would be great.
a:1:{i:256;a:2:{i:1397590671;a:3:{s:7:”user_id”;s:3:”256″;s:6:”status”;s:876:”<div class=”userpro-sc-img” data-key=”profilepicture”></div><div class=”userpro-sc-i”><div class=”userpro-sc-i-name”>DemoAdmin<span class=”userpro-badges”></span><span class=”userpro-sc-i-info”>has started following Eric D.</span></div><div class=”userpro-sc-i-time”>{timestamp}</div></div><div class=”userpro-clear”></div>”;s:9:”timestamp”;i:1397590671;}i:1397591282;a:2:{s:6:”userid”;s:3:”256″;s:6:”status”;s:908:”<div class=”userpro-sc-img” data-key=”profilepicture”></div><div class=”userpro-sc-i”><div class=”userpro-sc-i-name”>DemoAdmin<span class=”userpro-badges”></span><span class=”userpro-sc-i-info”>has just added a new need for exchange by Barter. This is a listing by Anwar</span></div><div class=”userpro-sc-i-time”>15 Apr 2014 07:48:02</div></div><div class=”userpro-clear”></div>”;}}}
in reply to: Add additional user actions to the Activity StreamIt’s not code, it’s the serialized data that’s in the userpro_activity field. Not ment to be readable by someone who is not familiar with the format. You can see that it’s two activity entries. Why isn’t the 2nd showing.
There is no other way to present raw serialized data as is.
in reply to: Add additional user actions to the Activity StreamHello All,
I’m the developer trying to resolve this issue. What I’ve done is followed the format of previous activities and created new entries once a new listing has been added to the system.
The problem is, the new activity shows up in the database, but not on the site. Here is a visual:
and here is what’s in the userpro_activity field. Can someone please help us resolve this. I’ve tried character encoding and didnt help. Not sure what else could be wrong.
PHP1234567891011121314151617181920212223242526272829303132333435363738394041a:1:{i:256;a:2:{i:1397590671;a:3:{s:7:"user_id";s:3:"256";s:6:"status";s:876:"<divclass="userpro-sc-img" data-key="profilepicture"><ahref="http://test.massmosaic.com/profile/DemoAdmin/"><imgsrc="http://test.massmosaic.com/wp-content/plugins/userpro/img/default_avatar_male.jpg"width="50" height="50" alt="" class="default avatar"/></a></div><div class="userpro-sc-i"><div class="userpro-sc-i-name"><ahref="http://test.massmosaic.com/profile/DemoAdmin/"title="View Profile">DemoAdmin</a><span class="userpro-badges"><img class="userpro-profile-badge userpro-profile-badge-online userpro-hide-from-list"src="http://test.massmosaic.com/wp-content/plugins/userpro/img/badges/online.png" alt=""title="User is online :)" /></span><span class="userpro-sc-i-info">has started following <ahref="http://test.massmosaic.com/profile/eric/">EricDoriean</a></span></div><div class="userpro-sc-i-time">{timestamp}</div></div><div class="userpro-clear"></div>";s:9:"timestamp";i:1397590671;}i:1397591282;a:2:{s:6:"userid";s:3:"256";s:6:"status";s:908:"<divclass="userpro-sc-img" data-key="profilepicture"><ahref="http://test.massmosaic.com/profile/DemoAdmin/"><imgsrc="http://test.massmosaic.com/wp-content/plugins/userpro/img/default_avatar_male.jpg"width="50" height="50" alt="" class="default avatar"/></a></div><div class="userpro-sc-i"><div class="userpro-sc-i-name"><ahref="http://test.massmosaic.com/profile/DemoAdmin/"title="View Profile">DemoAdmin</a><span class="userpro-badges"><img class="userpro-profile-badge userpro-hide-from-list" src="http://test.massmosaic.com/wp-content/plugins/userpro/img/badges/online.png" alt=""title="User is online :)" /></span><span class="userpro-sc-i-info">has just added a new <ahref="http://test.massmosaic.com/profile/DemoAdmin/needs">need</a> for exchange by Barter. This is a listing byAnwar</span></div><div class="userpro-sc-i-time">15 Apr 201407:48:02</div></div><div class="userpro-clear"></div>";}}}in reply to: Add additional user actions to the Activity Stream