![]() |
Integrate RealChat & Vbulletin
Hi Everyone,
I'm trying to integrate the new version of Realchat and Vbulletin 3.7.0. Below I will post the code RealChat gives you to use to integrate it with Vbulletin. I need to know what to put where it says rawurlencode("test") for it to pull usernames from Vbulletin. Any help would be greatly appreciated. Thank you! Jaime PHP Code:
|
Where are you looking to put this code?
|
It's a php page by itself, just that code on the page. The page is in my chat directory and I want it to pull the users information from Vbulletin, which is in a bbs directory.
|
As discussed many times before, you can fetch everything you really need by including global.php.
|
Ok I understand that, but do you know what to put in these lines? I need to replace the "test" with something that is going to be rawurlencoded. I don't understand rawurlencode.
$nickName = rawurlencode("test"); // rawurlencode is important $profileURL = rawurlencode("http://www.example.com/"); $avatarURL = rawurlencode("http://www.example.com/avatar.jpg"); Thanks Jaime |
Something like:
PHP Code:
|
That will only work once the $vbulletin object has been created (by including global.php).
|
Thank you very much SecondV, that worked!
I do have one more question for you. I want my chat page to say Welcome "Username". I'm having a problem calling up the username from Vbulletin on the same page I put that code you gave me. Would you happen to know what code I would use? Thank you! Jaime |
Quote:
Quote:
PHP Code:
|
I'm not using it in a template, it's on a php page in my chat directory. It's the same page you gave me the other code for.
Thanks Jaime |
All times are GMT. The time now is 07:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|