Skip to Content Skip to Menu

activity : avatars displayed only on first page

  • Lolo_als
  • Lolo_als
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 0
12 years 1 month ago - 12 years 1 month ago #210652 by Lolo_als
Hello,

-latest joomla
-latest CommunityBuilder (+activity 1.0.6)
-formatname enabled & displayed in profile

I have disabled "Dynamic Paging" since the avatars were not displayed on the following pages (only on 1. page).
Instead I get "Benutzer ohne Namen" (user without name).

1.) I have now:
<<Start <Previous 1 2 3 4 5 6 Next> End>>


2.) When I click on "2" I get this URL:
www.xyzxyz.com/joomla/index.php?option=com_comprofiler&task=pluginclass&plugin=cbactivity&Itemid=714&lang=de#2
  • = avatars on the 2. page ARE NOT displayed.
  • = site refresh same result

3.) When I change the URL manually now to :
www.xyzxyz.com/joomla/index.php?option=com_comprofiler&task=pluginclass&plugin=cbactivity&Itemid=714#2 (language string deleted)
  • = avatars on the 2. page ARE displayed after reload
  • = URL is altered back (....&Itemid=714&lang=de#2)
When cklicking on "3" or other page number = same error again

4.) Entering a modified URL (without language) does not work (...&Itemid=714#8)
  • = current page is refreshed
  • = URL is altered back (....&Itemid=714&lang=de#8)
  • = you remain on current page

This can be reproduced on any page.

Seems to be an error in generating the page url ?


Best regards
Lolo

PS:
When I cklick on "Start" I get the URL with "....&Itemid=714&lang=de#beg"
and sometimes the site doesn't stop loading.....
Last edit: 12 years 1 month ago by Lolo_als.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
12 years 1 month ago #210660 by krileon
The URL is correct. It never has appended #DIGIT, there's no purpose to it. CB Activity simply uses getFields API to render the avatar as does various other plugins such as GroupJive, etc.. Use Firebug for Firefox or Chrome and right click then inspect where the name is as you've likely something rewriting the avatar URL (SEF maybe?).


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.

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

  • Lolo_als
  • Lolo_als
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 0
12 years 1 month ago - 12 years 1 month ago #210677 by Lolo_als
-No SEF
-No URL-Rewrite

Code of the "2" in page navigation on bottom (as example):

<a class="pagenav" onclick="cbParentForm(this).elements.value=25;cbParentForm(this).submit();return false;" href="#2">
<strong>2</strong>
</a>

creates this URL:

www.xyzxyz.com/joomla/index.php?option=com_comprofiler&task=pluginclass&plugin=cbactivity&Itemid=714&lang=de#2

Code of not displayed avatar:

<div id="activity593" class="activityContent">
<div class="activityAvatar">
<a href=" www.xyzxyz.com/joomla/index.php?option=com_comprofiler&Itemid=476&lang=de ">
<img class="cbThumbPict" title="Benutzer ohne Namen" alt="Benutzer ohne Namen" src="">
</a>

Last edit: 12 years 1 month ago by Lolo_als.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
12 years 1 month ago #210751 by krileon
Source is completely empty on the second page for the image. No idea what's causing that, but something is stripping the URL out. Please switch to default Joomla template and disable Joomlas language plugin. Once done re-test and confirm if issue still present.


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.

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

  • Lolo_als
  • Lolo_als
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 0
12 years 3 weeks ago #211711 by Lolo_als
Hello Kyle,

I have read a bit about multilanguage in joomla and it seems the problem is caused by the language code at the end of URL. There are multiple threads about similar problems.

Since I do not use SEF, Joomla ads the long language code to the URL(?lang=de /?lang=fr)

=> www.xyzxyz.com/joomla/index.php?option=c...id=714&lang=de#2

the #2 is deleted when executing the URL = the url is wrong

???

any idea

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 3 weeks ago #211719 by nant

Lolo_als wrote: Hello Kyle,

I have read a bit about multilanguage in joomla and it seems the problem is caused by the language code at the end of URL. There are multiple threads about similar problems.

Since I do not use SEF, Joomla ads the long language code to the URL(?lang=de /?lang=fr)

=> www.xyzxyz.com/joomla/index.php?option=c...id=714&lang=de#2

the #2 is deleted when executing the URL = the url is wrong

???

any idea


Have bookmarked this for Kyle to respond.

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

Moderators: beatnantkrileon
Powered by Kunena Forum