Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

Show Profile Link in RsGallery 2

  • wehitch
  • wehitch
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
11 years 9 months ago #220016 by wehitch
Show Profile Link in RsGallery 2 was created by wehitch
Hello,
I want to show an Open Profile link above every image in RsGallery2.
The link will send you to the profile of the owner of the photo.
I found where to insert the code but i need a little help with the coding.

I tried
<a href=index.php?option=com_comprofiler&amp;task=userProfile&amp;user=<?php echo htmlspecialchars(stripslashes($row->userid), ENT_QUOTES); ?> target=b

but it doesnt get the userid and i get an error the user doesnt exist.

Can anyone help?
Thank you in advance.

Joomla 2.58
CB: 1.9
RSGALLERY2:3.2

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 9 months ago #220042 by nant
Replied by nant on topic Show Profile Link in RsGallery 2

wehitch wrote: Hello,
I want to show an Open Profile link above every image in RsGallery2.
The link will send you to the profile of the owner of the photo.
I found where to insert the code but i need a little help with the coding.

I tried
<a href=index.php?option=com_comprofiler&amp;task=userProfile&amp;user=<?php echo htmlspecialchars(stripslashes($row->userid), ENT_QUOTES); ?> target=b

but it doesnt get the userid and i get an error the user doesnt exist.

Can anyone help?
Thank you in advance.

Joomla 2.58
CB: 1.9
RSGALLERY2:3.2


click on a username from a CB userlist and see the URL structure.
that needs to be replicated in the other code

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum