How to get Current User ID outside of WP Blog.
-
hi guys, I am working on an AJAX instant messenger plug in for my WP. However I want the plug in to work on my VBulletin forum as well since the user names are bridged to wordpress I am able to use the same username across WP and Vbulletin. However there is a slight problem, for this plug in to work outside of WP i include wp-config.php which loads wp-settings.php which in turns loads a ton of useless (for this plug in) things such as themes, other plug ins and filters. This causes a conflict with Vbulletin causing weird filtered output.
All I really need is to get at $current_user from outside of WP Blog bypassing everything else that is redundant.
is this possible?
thanks.
- The topic ‘How to get Current User ID outside of WP Blog.’ is closed to new replies.