Skip to Content Skip to Menu

CB profile links pathway (Authorbot)

  • rob2701
  • rob2701
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
17 years 10 months ago #28465 by rob2701
CB profile links pathway (Authorbot) was created by rob2701
Hi everyone,
After a day of fruitless searching, I turn my weary screen eyes to the community, as I can't seem to figure this one out.

Am running Joomla 1.0.12, CB 1.02, Authorbot and JB plugin.
PHP 4.4.3 & MySQL5 on Free.

Annoying little thing:

When accessing the profile links from “CB User Profiles” or “My Profile” the pathway is okay, except [User Profiles] is no link. Example:
Home - User Contacts - User Profiles - Members List

/index.php?option=com_comprofiler&task=userProfile&user=64&Itemid=122

When accessing the profile from an article there is a malformed breadcrumb with Home - Username (no links)
Example:
Home - UserName

/index.php?option=com_comprofiler&task=userProfile&user=64&Itemid=1

When accessing the profile from Joomlaboard there are no breadcrumbs at all

/index.php?option=com_comprofiler&task=userProfile&user=64

(no ItemID)
So the ItemID is the culprit in all cases, I figured that much. If the real user ItemID is added, the breadcrumbs add up just the way I want them :-)

Question: how & where in the respective codes do I set the ItemID to NOT be 1?

Thanks in advance for the help.

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

  • rob2701
  • rob2701
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
17 years 10 months ago #29278 by rob2701
Replied by rob2701 on topic Re:CB profile links pathway (Authorbot)
Can anyone shed some light on this please?
I'm still struggling and losing hair fast :-)
Thnx

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

  • rob2701
  • rob2701
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
17 years 9 months ago #30069 by rob2701
Replied by rob2701 on topic Re:CB profile links pathway (Authorbot)
160+ views, no answers, so did it myself.
For those who have the same problem here's how I fixed it.
May not be the neatest, but is does what I want it to :-)

In the file /usr/local/www/joomla/mambots/content/CbauthorBot.php change the following (highlighted) in line 41:
$_CBAuthorbot__Cache_ProfileItemid = $Itemid;
and change to
$_CBAuthorbot__Cache_ProfileItemid = 26;
(look up the Itemid first by checking the path from the profile menu link, works best through Joomap or another sitemap)

Fixed Joomlaboard & JIM integration in much the same way.

If anyone is interested, will post it.

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

Moderators: beatnantkrileon
Powered by Kunena Forum