@Anointed, What do you mean by “I also have full video/audio/photo software tied together with wp/bp now” Is it that you got all these working on BP?
Gpo1:
Just like with vb, I had another commercial program ‘bridged’ to wordpress. What this means is that a person registers using vb, and is auto registered in wp db, as well as other programs. Logins are also unified, so only one login is required sitewide.
Within the bridge code for each program there are extra db fields created that sync everything together. This means that user ‘xyz’ for vb is also user ‘xyz’ for wp and other software.
What this allows me to do is virtually anything I want.
For instance:
I can actually query the database for user ‘xyz’, not only am I able to find everything user ‘xyz’ has done in wp/bp but also vb and other software.
Then say I want to display all the vb posts, video’s, photo’s, from user ‘xyz’ inside of buddypress. Well it’s easy to pull the data because the programs are synced.
Now it’s just a matter of bringing that info into bp, which is the reason I asked the question in the first place.
Hope this makes sense.
Thats a good bridged it’s apity it only works for VP cos I want to use it for vidiscript.com youtube software.
if you want to use vidiscript you would need to have a bridge created for it. It’s the same type of process really. It is NOT an easy process unless you really, and I mean really understand php.
Just so my actual question doesn’t get lost in this:
I still need to know what files generate the wire, and the proper format to add information to the wire should anyone care to help out.
anointed, do you mean the activity streams?
Yes, I mean the activity stream on the buddypress homepage that shows updates whenever a person adds a blog post, forum post, posts to wire etc…
Basically I want to add posts from vbulletin there, and once I figure that part out, I can then extend it to audio/video updates from the other system.
Well, when I did this for bpgroups I just piggybacked onto the groups component. bpgroups records new topic and post activity that is directly created in bbpress. Since bp group forums was already recording the activities, I just had to simulate the same thing.
The function bp_activity_record() in bp-activity.php does the grunt work. It takes about a zillion parameters. Here’s how I did it:
$activity = array(
'item_id' => (int)$group_id,
'component_name' => 'groups',
'component_action' => 'new_forum_post',
'is_private' => 0,
'secondary_item_id' => (int)$post['post_id'],
'user_id' => (int)$post['poster_id'] );
// create a group obj that the rest of bp can use, play nice
$group_obj = new BP_Groups_Group($group_id);
groups_record_activity($activity);
groups_record_activity() in bp-groups.php takes an array param and if you look in there it eventually calls bp_activity_record()
You’ll have to figure out how to translate all the params that takes into the table colums and eventually into what you see displayed. There aren’t any docs for the activity streams as far as I know.