Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

PonyTab released (User Pics in Ponygallery)

  • hypnotoad
  • hypnotoad
  • OFFLINE
  • Posts: 66
  • Thanks: 0
  • Karma: 20
18 years 11 months ago #4181 by hypnotoad
Replied by hypnotoad on topic Re:PonyTab released (User Pics in Ponygallery)
@ lennox: Well yes, that's exactly what I did:

hypnotoad wrote:

At my site, the user has a menu item in the "Edit"-menu of CB which links to his gallery User Pannel, I think it's better there.


However, I would use "userpannel" instead of "showupload". That way, the user can check his uploads there (maybe delete or edit something) and upload pictures with the "new" button.



@ CB Devs: Would it be possible to include that menu item by default into CB, if it finds the config of Ponygallery present?

CB 3rd Party Developer: jAwards | GalleryTab for CB (Ponygallery, ML)

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

  • lennox
  • lennox
  • OFFLINE
  • Posts: 148
  • Thanks: 0
  • Karma: 53
18 years 11 months ago #4182 by lennox
hehe very nice....
Oke, now the next step...
I want the picture pop-up in a blank screen when you click on it in a profile.
:) that would be great.

I have that on my old site, with zoom:

www.nightcity.nl/m00n (then click on: fotoalbum (=Photoalbum)

Post edited by: lennox, at: 2006/01/18 18:38


LENNOX
Official CB 3th Party Developer
Working on the CBRC2 Lennoxonline module
Official partner and PR-man of dcsFlashGames
RELEASED: Highest Karma Module
RELEASED: PROFILE VOTE KARMA PLUGIN


www.nightcity.nl

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

  • beat
  • beat
  • ONLINE
  • Posts: 2174
  • Thanks: 463
  • Karma: 352
18 years 11 months ago #4185 by beat
lennox wrote:

To have a icon in the CB menu in you're profile for the photo upload function for the ponytab please follow this steps :)

cb.menu.php (components/comprofiler/plugin/user/pluginmenu or something like that :)

Just add this code after line 834 (You can put it in a other place)

[code:1]// PONYTAB!:
$mi = array(); $mi["_UE_MENU_EDIT"]["_UE_MENU_PONY"]=null;
$this->menuBar->addObjectItem($mi, _UE_MENU_PONY,sefRelToAbs($ue_pony_url), "",
"<img src=\"".$adminimagesdir."newavatar.gif\" alt='' />","", _UE_MENU_UPDATEPROFILE_DESC,""«»);[/code:1]

Then go to line :780 (URL STRING)
And at this line:
[code:1]$ue_pony_url = "index.php?option=com_ponygallery&func=showupload";[/code:1]

Then open the lang. file from comprofiler:
and make a new line:
[code:1]DEFINE('_UE_MENU_PONY','Upload a picture in the album');[/code:1]


you said:

"Just add this code after line 834 (You can put it in a other place)"

You said it very nicely, but maybe didn't expect that you can even add menu items in your own plugin without hacking the core cb plugins... :D

Check the plugin API documentation for the way to that ;)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

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

  • nuMarc
  • nuMarc
  • OFFLINE
  • Posts: 74
  • Thanks: 0
  • Karma: 0
18 years 11 months ago #4253 by nuMarc
Wooooow! This plugin bombs CB & Joomla! :woohoo:

It would be nice, if everything would be inside the plugin itself (Upload) and don't "switch" to PonyGallery Component. It's a little bit confusing for my users. They don't understand, why they have to leave their profile to upload. In the same time, it would be great if you could select the galleries, who the users are allowed to upload. At the moment, each user can upload his images anywhere in Pony.

In other respects, GREAT WORK!!!!

PS: I'm not a PHP scripter, but if you need some help with icons/images, just send me a PM.

Not enough cash for a sig :-(

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

  • hypnotoad
  • hypnotoad
  • OFFLINE
  • Posts: 66
  • Thanks: 0
  • Karma: 20
18 years 11 months ago #4259 by hypnotoad
Replied by hypnotoad on topic Re:PonyTab released (User Pics in Ponygallery)
nuMarc wrote:

Wooooow! This plugin bombs CB & Joomla! :woohoo:

It would be nice, if everything would be inside the plugin itself (Upload) and don't "switch" to PonyGallery Component.

I'll see what I can do, but I don't know how wise it is to have all to code of PonyGallery "outsourced" at the plugin.
'Cause as soon as there are changes in the implementation of the gallery, the whole tab has to be re-written...

It's a little bit confusing for my users. They don't understand, why they have to leave their profile to upload. In the same time, it would be great if you could select the galleries, who the users are allowed to upload. At the moment, each user can upload his images anywhere in Pony.

That configuration can be done in the Ponygallery setup (backend)

CB 3rd Party Developer: jAwards | GalleryTab for CB (Ponygallery, ML)

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

  • kober
  • kober
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 1
18 years 8 months ago #11025 by kober
This tab is not working for me :( I have installed it with CB plugin installer then I choose where I want it to be and it is not shown :( in tab menagment it is published :/

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

Moderators: beatnantkrileon
Powered by Kunena Forum