Skip to Content Skip to Menu

[SOLVED] GroupJive, Tab area, "By Username" Gone.

  • jem32
  • jem32
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
12 years 6 months ago - 12 years 5 months ago #198600 by jem32
I'm having a weird problem. I was working in groupjive and fixing little display issues. On the tabs, there's a "By [username]" posted under each thing they post, events, photos, videos, etc. I've attached a screenshot.

The only thing is, I am baffled as to why it's gone. Here are some code snippets:

Here's where I think that is happening, at least in the cbgroupjiveevents.php file:
Code:
$return .= '<div class="gjMainContent">' . '<div class="gjMainContentLogo">' . $row->getOwnerAvatar( true ) . '</div>' . '<div class="' . ( $hasMenu ? 'gjMainContentInfo' : 'gjMainContentInfoFull' ) . '">' . '<div class="gjMainContentInfoTitle">' . $row->getTitle() . '</div>' . '<div class="gjMainContentInfoBody">' . '<div class="gjMainContentInfoBodyBy">' . CBTxt::Ph( 'By [owner] in [group] of [category]', array( '[owner]' => $row->getOwnerName( true ), '[group]' => $group->getName( 0, true ), '[category]' => $category->getName( 0, true ) ) ) . '</div>' . $row->getEvent() . '</div>' . '<div class="gjMainContentInfoFooter">' . $location . '<div class="' . ( ! $row->isPast() ? 'gjEventActive' : 'gjEventExpired' ) . '">' . $row->getDate() . '</div>' . '<div>' . '<small>' . '<a href="' . $attending_url . '">' . CBTxt::Ph( '[event_attend_yes] Attending', array( '[event_attend_yes]' => count( $attendees['yes'] ) ) ) . '</a> | ' . '<a href="' . $attending_url . '">' . CBTxt::Ph( '[event_attend_maybe] Maybe Attending', array( '[event_attend_maybe]' => count( $attendees['maybe'] ) ) ) . '</a> | ' . '<a href="' . $attending_url . '">' . CBTxt::Ph( '[event_attend_no] Not Attending', array( '[event_attend_no]' => count( $attendees['no'] ) ) ) . '</a>' . '</small>' . '</div>' . '</div>' . '</div>';
I DID change this code here - all I did was remove a DIV that was messing up my main template (see comment on last line), but I never touched any of the others so I can't figure out what I did to make that username disappear:
Code:
$return = '<div class="gjEventsAttending">' . '<div class="gjMainTitle">' . CBTxt::Th( 'Attending' ) . '</div>' . ( $attending['yes'] ? $attending['yes'] : '<div class="gjMainContent">' . CBTxt::Ph( 'No [users] are attending [event_title].', array( '[users]' => cbgjClass::getOverride( 'user', true ), '[event_title]' => $row->getTitle() ) ) ) . '</div>' . '<div class="gjMainTitle">' . CBTxt::Th( 'Maybe Attending' ) . '</div>' . ( $attending['maybe'] ? $attending['maybe'] : '<div class="gjMainContent">' . CBTxt::Ph( 'No [users] are maybe attending [event_title].', array( '[users]' => cbgjClass::getOverride( 'user', true ), '[event_title]' => $row->getTitle() ) ) ) . '</div>' . '<div class="gjMainTitle">' . CBTxt::Th( 'Not Attending' ) . '</div>' . ( $attending['no'] ? $attending['no'] : '<div class="gjMainContent">' . CBTxt::Ph( 'No [users] are not attending [event_title].', array( '[users]' => cbgjClass::getOverride( 'user', true ), '[event_title]' => $row->getTitle() ) ) ) . '</div>' . '<div class="gjBottomRight"><input type="button" value="' . htmlspecialchars( CBTxt::T( 'Back' ) ) . '" class="gjButton gjButtonCancel" onclick="' . cbgjClass::getPluginURL( array( 'groups', 'show', $category->id, $group->id ), true ) . '" /></div><div class="gjClr"></div>' . '<!--I removed a </div> from here that messed up the bottom of the attending page. Might need to put it back later if it causes problems-->'; }

Any ideas what might have gone wrong? I put the DIV back and reverted my CSS back to when I remember seeing that text there, but no such luck. It's just gone and I don't know how to get it back. Any help anyone can offer would be greatly appreciated.

Jenni
Attachments:
Last edit: 12 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 6 months ago #198634 by krileon
Replied by krileon on topic Re: GroupJive, Tab area, "By Username" Gone.
Check that the formatname field is on a public and published tab and is also set to display on profile.


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.

  • jem32
  • jem32
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
12 years 6 months ago #198720 by jem32
That did the trick! Thank you very much!! :kiss:

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

Moderators: beatnantkrileon
Powered by Kunena Forum