WordBB - Little Code Hacking
#2
Try logging in as another user that has been created since the bridge was installed.

My guess is that the uid does not exist so it is posting as a guest

  $params['uid']=$wordbb->loggeduserinfo->uid;

I wrote my own way of doing this. I created a REST client which checks for a randomized shared secret code from a pool of shared codes that can only be used once.

I generate them in batches of about 5000 randomized unique strings, once it is used it is logged in the DB as used and removed from the pool so that it can never be used again.

Wordpress posts the teaser (everything before the <!--more-->) into a forum post in mybb.

I then use the replies in the mybb thread as the comments in wordpress. So the user never has to login to wordpress. The way I generate the comments for wordpress to pick up is I generate an RSS feed of each posts through custom code and then I use the wordpress SimplePie class to interperet these and simple post them as comments.

You can see it all at http://www.silvertails.net

In the end it was better for me to write the code myself, I knew it would work how I had it and it was much more secure as well
Reply


Messages In This Thread
WordBB - Little Code Hacking - by Yashas - 2014-02-03, 03:09 PM
RE: WordBB - Little Code Hacking - by Dannymh - 2014-02-26, 04:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)