Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-29-2011, 08:41 PM
Senior Member
 
Join Date: May 2011
Posts: 214
Default Profile settings in client.xml

In the client.xml, it is suggested to do the following. I have tried various ways but cannot get it to work. Can you post exactly what the url would be to get the users JomSocial profile on joomla 1.6.

Thank you.

>Then by activating a user from user list, a small menu will popup, clicking the "profile" >from the menu, you'll be directed to his or her profile page in a new browser window.
>eg: http://yourwebsite/profile.php?user=%USER%
>Note: you can add more than one item in profileUrl tag, for instance, one for profile, one >for photo link.

example: <item url="http://yourwebsite/profile.php?user=%USER%" name="Profile">
Reply With Quote
  #2 (permalink)  
Old 05-30-2011, 09:46 AM
Administrator
 
Join Date: Dec 2008
Posts: 577
Default

Dear Lewism,

Thanks for your question.

You also can change the URL in admin panel - Client settings - User Defined Menu, and enable it.

Quote:
Can you post exactly what the url would be to get the users JomSocial profile on joomla 1.6.
Sorry, I am unable to tell you the exactly URL, because it depends on the profile page path in your webiste, and you don't need to change "?user=%USER%". Thanks for your understanding.

If you don't want to set the profile link, you also can change it to Google, or other link.

Thanks!
Reply With Quote
  #3 (permalink)  
Old 06-01-2011, 04:40 AM
Senior Member
 
Join Date: May 2011
Posts: 214
Default

>Sorry, I am unable to tell you the exactly URL, because it depends on the profile page path >in your webiste, and you don't need to change "?user=%USER%". Thanks for your understanding.

That doesn't work, I've tried it several times now.
For example, looking up user name 'testuser'.

The URL is;
http://www.mydomain.com/en/my-tools/78-testuser

So what would I enter?
Reply With Quote
  #4 (permalink)  
Old 06-02-2011, 09:07 AM
Administrator
 
Join Date: Dec 2008
Posts: 577
Default

Dear Lewism,

I have no idea what the exactly URL is, because The URL depends on the profile page path. I’m really sorry Lewism.

This is the instruction of User Defined Menu (User Defined Menu - User Manual of 123 Flash Chat Server Software Version 9.0). I hope it will be useful. Also please add this parameter "?user=%USER%" at the end of the URL.

If you have any other question, please let me know and I will reply ASAP.
Reply With Quote
  #5 (permalink)  
Old 06-03-2011, 12:02 PM
Senior Member
 
Join Date: May 2011
Posts: 214
Default

>I have no idea what the exactly URL is, because The URL depends on the profile
>page path. I’m really sorry Lewism.

Just use http://mydomain/ and I'll fill in the domain/path. You already know it's a joomla site and I'm wanting to call up the users JomSocial profile since I mentioned it when I started this question.

>This is the instruction of User Defined Menu (User Defined Menu - User Manual of 123 Flash Chat Server >Software Version 9.0). I hope it will be useful. Also please add this parameter >"?user=%USER%" at the end of the URL.

I do have this, unless I'm missing something.

http://www.mydomain.com/en/my-tools/...hp?user=%USER%

This doesn't work. I've tried various combinations as well. I am missing something.
PS: Even the link you gave me for the manual shows different options than what my server shows.
In the License info, it shows; 123 Flash Chat V Full Version (v9.0.1-20110510)

Last edited by lewism; 06-06-2011 at 02:16 AM.
Reply With Quote
  #6 (permalink)  
Old 06-05-2011, 04:08 AM
Senior Member
 
Join Date: May 2011
Posts: 214
Default

It's been DAYS, can someone PLEASE help with this.
Reply With Quote
  #7 (permalink)  
Old 06-06-2011, 02:14 AM
Senior Member
 
Join Date: May 2011
Posts: 214
Default

According to someone else, this is what they told me.


***SNIP***
You can use the Joomla API to retrieve $user object
Code: Select all
$user =& JFactory::getUser();

Now, if you want to link that object to profile page, use something along this lines
Code: Select all
$userid = $user->id;
$link = JRoute::_('index.php?option=com_community&view=pro file&userid='.$userid);
***END***

Can you tell me how I can do this please. How does one call up the users JomSocial profile on a joomla site.
Reply With Quote
  #8 (permalink)  
Old 06-07-2011, 04:44 AM
Senior Member
 
Join Date: May 2011
Posts: 214
Default

I don't seem to have the right URL to pull up the users. 123flashchat seems to keep track of the joomla user Name and not the Username. At least this is what shows in the /server/data/default/roomxx.txt files.


Here are some other examples.

Using;
http://www.mydomain.com/my-tools/pro...hp?user=%USER%
I get;
Fatal error: Call to undefined method JDocumentRAW::addCustomTag() in /var/www/html/components/com_community/controllers/controller.php on line 220

Using;
http://www.mydomain.com/my-tools/%USER%
I get;
http://www.mydomain.com/my-tools/Testuser1

The actual URL for that user from inside joomla is;
http://www.mydomain.com/my-tools/50-Testuser1.html

So, what am I missing?
FYI, I do have SEO turned on in Joomla configuration.
Reply With Quote
  #9 (permalink)  
Old 06-07-2011, 06:41 AM
Administrator
 
Join Date: Dec 2008
Posts: 577
Default

Hi lewism,

Please try to use this one.

http://www.mydomain.com/my-tools/50-%USER%.html

Any update, please let me know.
Reply With Quote
  #10 (permalink)  
Old 06-07-2011, 04:49 PM
Senior Member
 
Join Date: May 2011
Posts: 214
Default

Quote:
Originally Posted by admin View Post
Hi lewism,
Please try to use this one.
http://www.mydomain.com/my-tools/50-%USER%.html
Any update, please let me know.
That would not work because we don't know the users ID. Unless youmean something else?
The test user I show in my example is how usernames are displayed in jomsocial.

Don't you have the programmers who designed this addon around to help?
Reply With Quote
Reply

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 12:32 PM.


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.