PonyTab released (User Pics in Ponygallery)

18 years 3 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 to join the conversation.

18 years 3 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 to join the conversation.

18 years 3 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 to join the conversation.

18 years 3 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 to join the conversation.

18 years 3 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 to join the conversation.

18 years 1 day 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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.396 seconds

Facebook Twitter LinkedIn