maternal
Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

22735 Posts in 6699 Topics- by 17593 Members - Latest Member: permsk

25-08-2019 03:56:43
JOOM::GALLERY::FORUMJoomGallery 3.x JUXMiscellaneousLink Author to CB Profile
Pages: [1]
Print
Author Topic: Link Author to CB Profile  (Read 1675 times)
0 Members and 1 Guest are viewing this topic.
ljk
Newbie
*
Offline Offline

Posts: 17


View Profile
« on: 24-06-2014 20:52:48 »

Hi,

We have a Joomla 3.3.1 site with the JoomGallery 3.1.1, and CB 1.9.1. We would like to link the author`s name to their CB profile. Is there any plugin that can do this? If not, what would we need to 'hack' to get this modification? We would like this to show in all the different layouts as well as in the JoomImage module.

Thank you.
Logged
MrMusic
Administrator
Hero Member
*****
Offline Offline

Posts: 1081



View Profile
« Reply #1 on: 25-06-2014 15:09:16 »

Hi,

do you read this?
Logged

From now on there is the support for the JoomGallery here: forum.en.joomgalleryfriends.net
ljk
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #2 on: 25-06-2014 23:17:49 »

Hi,

Yes, and we have this CB JoomGallery plugin installed. But it doesn't provide a link to the CB profile in the JoomGallery layouts. It only provides a CB tab which shows the user's JoomGallery images, which is great.

What we need is when you go to say the JoomGallery category layout when the Author's name is displayed, it will be displayed as a CB profile link. In the JoomImages module when the Author's name is displayed, it will be displayed as a CB profile link. That isn't the purpose of the CB JoomGallery plugin that is in the link above.

Thank you.
Logged
ljk
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #3 on: 03-07-2014 23:04:45 »

Hi,

In case someone else needs to do this.

I have hacked /administrator/components/com_joomgallery/helpers/html/joomgallery.php
and added line 99:
Code:
$username_cb = $user->get('username'); // Hack to get username for CB profile link below

and then changed line 110:
Code:
return $username;
to:
Code:
return ''.$username.''; // Hack to add link to CB profile to author's name

Still would prefer a plugin to do this, but this works for now.
Logged
Pages: [1]
Print
Jump to:  

HOSTED BY SCHWARZKÜNSTLER ®

PROTECTED BY  ZB BLOCK  AND Project Honey Pot
Theme orange-lt created by panic

Bad Behavior has blocked 6520 access attempts in the last 7 days.

maternal