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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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]
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.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.
That configuration can be done in the Ponygallery setup (backend)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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.