|
|||
|
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"> |
|
|||
|
Dear Lewism,
Thanks for your question. You also can change the URL in admin panel - Client settings - User Defined Menu, and enable it. Quote:
If you don't want to set the profile link, you also can change it to Google, or other link. Thanks! |
|
|||
|
>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? |
|
|||
|
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. |
|
|||
|
>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. |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
Hi lewism,
Please try to use this one. http://www.mydomain.com/my-tools/50-%USER%.html Any update, please let me know. |
|
|||
|
Quote:
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? |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|