Skip to Content Skip to Menu

CB tab wrapper module

  • joSa
  • joSa
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
17 years 2 months ago #44664 by joSa
CB tab wrapper module was created by joSa
Does anybody have the latest cb tab wrapper module (which has the option of displaying either logged in user or viewed user's info). I couldn't find it anywhere. Thanks in advance.

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

  • joSa
  • joSa
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
17 years 2 months ago #44753 by joSa
Replied by joSa on topic Re:CB tab wrapper module
i guess noone uses this module anymore?

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

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 2 months ago #44833 by mikko
Replied by mikko on topic Re:CB tab wrapper module
It will be available when I have time to repackage it.

-Mikko

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

  • joSa
  • joSa
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
17 years 2 months ago #44839 by joSa
Replied by joSa on topic Re:CB tab wrapper module
This module will be a vital part of my site, so i think i'll try to modify the old one till you reupload the latest build. I'm not an expert at php but i guess this can be done by something like :

[code:1]$user->id = mosGetParam( $_REQUEST, 'user', $my->id );[/code:1]

and then

[code:1]$database->setQuery( "SELECT * FROM #__comprofiler c, #__users u WHERE c.id=u.id AND c.id=".(int) $user->id);
$users = $database->loadObjectList();
$user = $users[0];

echo $tabobject->getDisplaytab($tab,$user,1);[/code:1]

Am i on the right track?

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

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 2 months ago #44848 by mikko
Replied by mikko on topic Re:CB tab wrapper module
I found this from my archives. It is most likely the latest version.

-Mikko

Attachment mod_cbtabwrapper-47ffe390e5c1536f50c48532e7312db1.zip not found

Attachments:

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

  • joSa
  • joSa
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
17 years 2 months ago #44849 by joSa
Replied by joSa on topic Re:CB tab wrapper module
works great, thanks ;)

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

Moderators: beatnantkrileon
Powered by Kunena Forum