[SOLVED] CB Activity - Desactive Url Link Profil of member in a wall

4 years 3 weeks ago - 4 years 2 weeks ago #317536 by Julien04
Hi!

I have create a public wall in homepage just to diffuse activity. Just me is allow to create on.

Can i desactive URL Profil link of my username who brings to my profil just in this wall ?

Thanks !

julien

Please Log in to join the conversation.

4 years 3 weeks ago #317539 by krileon
You don't want usernames to be linked? No, there's no option for that specifically on that stream. You'd have to disable it everywhere by overriding the userlist layout of the formatname field under Parameters > Layout of that field.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: Julien04

Please Log in to join the conversation.

4 years 3 weeks ago #317542 by Julien04
Yes just for one because its a public wall on homepage to diffuse news for visitors. username's link go on profile who are all accessible when we are registred. So its create an alert message in a new page with real url with ID of my profil..

If im going in your issue, all wall will be affected by this modification, linked username is nice when we are registred !

I will maybe renounce at display a wall in public area, i will see it !

Thanks for your feedback !!

Please Log in to join the conversation.

4 years 3 weeks ago #317557 by krileon
Ok, since public users can't access profiles to begin with and you don't want formatname to link to profile if they can't access it then the below should work fine. Simply edit the formatname field then add the following layout.

Userlist Value Layout:
[cb:if user="#me" user_id<="0"][username][cb:else][value][/cb:else][/cb:if]

This should cause it to just display the username without it being linked. If you want it to display something else then replace [username] substitution with whatever substitution you like (e.g. [name]). See the below substitution tutorial for further usage information.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: Julien04

Please Log in to join the conversation.

4 years 2 weeks ago #317590 by Julien04
:) It's work and it's really nice !

Now i can use a wall news with specific access to diffuse news at public on homepage without any link to profil !

I'm happy to use Cb Activity tools to do this, this will create dinamysm on the home page!

Thanks you for your code !!!

Thank you also for going to the end by offering me name substitution. Today, it suits me perfectly like that but it will undoubtedly help me one day!

Have a nice day!
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

4 years 1 week ago #317789 by Julien04
Hi !

Do you think it is possible to make the avatar link mute as for the user link?

I tried to integrate your code in the layout of the list of users of the avatar field by modifying it without success.

[cb: if user = "# me" user_id <= "0"] b]avatar[/b [cb: else] [value] [/ cb: else] [/ cb: if]

I also tried in the formatname field also without success.

Hope that possible :-)

Thanks by advance!

Julien

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.336 seconds

Facebook Twitter LinkedIn