Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Support

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2005, 12:37 PM
Junior Member
 
Join Date: Oct 2005
Posts: 16
Send a message via MSN to Markus
Default Profile Function + vBulletin

I've integrated 123FlashChat with vBulletin and enabled the "profile url" option in the client.xml file.

The problem is that vBulletin doesn't use the user name in order to call up the profile. Instead, vBulletin defines a user by a number which is then associated with the user's profile page.

This doesn't work with vBulletin 3.0.7:
Code:
<item name="Profile" url="http://www.self-help.ca/forums/profile.php?user=%USER%" />
The user profile page in vBulletin is called through the members.php file, therefore I replaced "profile.php" with "members.php". The problem is the fact that passing the %USER% variable from flashchat to members.php doesn't work - members.php needs a numerical value to determine the profile page to call up.

Can you think of any way around this so that the "profile" function works with vBulletin?

Thanks,

Mark Nixon
__________________
www.mark-eve.com
  #2 (permalink)  
Old 10-14-2005, 03:10 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re:Profile Function + vBulletin

in the database , you can search the userid by the username , right?
you may write a new php file named "myprofile.php"

it should include the code:

select userid from <table> where username=$username

OK, then you will get the $userid, now you may output the html code like this:
Code:
<script language=javascript>location.href='http://www.self-help.ca/forums/profile.php?user=$userid" ;
</script>
now you can set:
<item name="Profile" url="http://www.self-help.ca/forums/mypro...p?user=%USER%" />

how about this idea? if you are not a programmer , please send a mail to suppport@123flashchat.com to submit a support ticket , please include your purchase email address and order id, our engineer world like to write such a php for you.
  #3 (permalink)  
Old 10-14-2005, 03:17 AM
Junior Member
 
Join Date: Oct 2005
Posts: 16
Send a message via MSN to Markus
Default Re:Profile Function + vBulletin

Sounds like a good idea - I've been talking with Cloudy about it and he's already working on it.
__________________
www.mark-eve.com
  #4 (permalink)  
Old 10-19-2005, 04:34 AM
joy joy is offline
Senior Member
 
Join Date: Nov 2003
Posts: 364
Default Re:Profile Function + vBulletin

vBulletin v3.5.0 profile is now fully activated in 123flashchat!
please download the brand new chat module here:
http://www.123flashchat.com/download...chat_5.0.0.zip

Intro:
Load Profile.

(This is a new feature added in vBulletin3.5 module for 123 Flash Chat Version 5.0.)

It can display user's profile in vBulletin in the chat. Once logged into chat, you can choose one user from the user list by single-click, then view his/her profile by easily choosing "profile" in the popup mini-menu, it will then redirect you to his/her profile page in vBulletin.
Closed Thread

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:37 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.