Show Posts
|
|
Pages: [1] 2
|
|
1
|
JoomGallery 2.x ACL / Frontend / Diseappering pictures
|
on: August 20, 2012, 03:52:33 PM
|
|
Hi I am not sure to post my issue in the right forum I am using Joomla 2.5 and pictures of joomgallery are disappearing from the folder 'images' I don't know what to check to understand this phenomenon... Did any of you already face such an issue? Thanks a lot in advance for your help!! Perrine
|
|
|
|
|
4
|
JoomGallery 2.x ACL / Frontend / pictures don't show in gallery view
|
on: May 19, 2012, 04:04:26 PM
|
|
Hi I don't know how to explain but I am working in local and half pictures don't show when I browse in the gallery and the categories in front end. I am obliged to make "refresh pictures" to see them. I am using MAMP and my joomla version is 1.7 I've got the same issue on my prod site (but don't use the same version of joomgallery and my prod site is Joomla 1.5) Do you know how it can happen, what could be the reasons? Thank you! perrine
|
|
|
|
|
5
|
JoomGallery 2.x ACL / Frontend / redirect from editcategory to upload
|
on: February 21, 2012, 11:34:45 AM
|
|
Hello, Curently, when you create a new category, you come back to the categories page. I would like to be redirected to the images upload page and that the newly created category is selected. I already modify the controller file on line 923 to change the redirect but I have an issue with the category id. Did Anybody do that? Thanks for your help, Perrine
|
|
|
|
|
10
|
JoomGallery 1.5 MVC / Frontend / Re: Refresh issues
|
on: February 21, 2011, 08:55:44 AM
|
|
But is there a mean to empty cache when someone delete a picture/ a category or upload a picture (with a function within the script)? Thanks, Perrine
|
|
|
|
|
12
|
JoomGallery 1.5 MVC / Frontend / no picture when non sef url
|
on: February 19, 2011, 04:36:45 PM
|
|
Hello, I noticed I can't display picture when the url is non sef. When the url is sef, it is perfect. Do you have an idea of where it can come from? Thank you for your help,
Perrine
|
|
|
|
|
13
|
JoomGallery 1.5 MVC / Frontend / Refresh issues
|
on: February 18, 2011, 02:27:47 PM
|
|
Hello, I am not sure it is the right place... When I or a member of my site manages ones pictures, the result doesn't appear right away after the page refreshes. For instance, if I want to delete a category, the category still appears in the list in userpanel. Is it normal? I think it can bother people not to see their answer. Does it happen to you? Did I miss something? Thank you in advance for your help, Perrine
|
|
|
|
|
14
|
JoomGallery 1.5 MVC / Miscellaneous / Re: images folder deleted
|
on: January 12, 2011, 01:47:40 PM
|
|
It depends, it can be the folders inside components/com_joomgallery/img_pictures and inside components/com_joomgallery/img_thumbnails or components/com_joomgallery/img_pictures and components/com_joomgallery/img_thumbnails directly. I didn't know there is a built-in messenger and I would like to send also other notifications. Thanks for your help! perrine
|
|
|
|
|
15
|
JoomGallery 1.5 MVC / Miscellaneous / images folder deleted
|
on: January 09, 2011, 09:28:34 PM
|
Hello, I use joomgallery ans created a script to send updates to some members when a photo is uploaded. But there is security hole because when I launch this script via a cron, joomgallery pictures folders are deleted regularly. I don't know what to check. I think I should insert a htaccess file but don't know yet what to put inside. Could you have a look to my script, just incase? Thank you very much for your help ! Perrine Code: function notifyupload() { require_once(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_messages'.DS.'tables'.DS.'message.php' ); //copie depuis cb_prfilenotifier $database =& JFactory::getDBO(); $database2 =& JFactory::getDBO(); $mailer =& JFactory::getMailer(); $profilurl="www.xxx.com/index.php/Voir-informations-utilisateur.html"; $from_addr="admin@xxx.com"; $admin_addr="admin@xxx.com"; $from_name="xxx"; $recipient = array(); $copyto = array(); $bcc = array(); $test="test "; // Get message prefix and suffix $prefix = JText::_('JGS_NEW_PICTURE_UPLOADED'); $suffix = ""; // Default message (TO DO rajouter le lien) $query = "SELECT jgc.name as catname,jg.catid as catid,jgc.catpath,jg.owner as owner,jg.id, jg.imgdate " . "\n FROM #__joomgallery_catg as jgc" . "\n LEFT JOIN #__joomgallery as jg ON jg.catid=jgc.cid" . "\n WHERE jg.published=1 AND jgc.access=0" . "\n AND jg.imgdate> NOW() - INTERVAL 3600 SECOND" . "\n GROUP BY catname"; $database->setQuery($query); $list = $database->loadObjectList(); if( $database ) { foreach( $list as $row) { if ($row->catid !=493){ // $database2->setQuery("SELECT * from #__comprofiler_members as c left join #__users as u on u.id=c.referenceid left join #__comprofiler as cc on u.id=cc.id WHERE u.sendEmail='1' and cc.cb_notifuploadcreations='1'"); $database2->setQuery("SELECT * from #__comprofiler_members as c left join #__users as u on u.id=c.referenceid left join #__comprofiler as cc on c.referenceid=cc.id WHERE cc.cb_notifuploadcreations=1 and c.memberid=".$row->owner); $users = $database2->loadObjectList(); $recipient = $admin_addr; $test .=$row->catname."<br/>"; foreach ($users as $dest) { //echo "<br />email:".$dest->email; $recipient = $dest->email; $test .=$dest->email."<br/>"; $bcc = spliti(",",$admin_addr); $fausseurl="www.xxx.com/".strtolower($row->catname); $imgurl="www.xxx.com/index.php?option=com_joomgallery&Itemid=239&catid=".$row->catid."&lang=fr&view=category"; $database->setQuery("SELECT username FROM #__users WHERE id=".$row->owner); $username = $database->loadResult(); $message = sprintf( " %s " .JText::_('JGS_NEW_CONTENT_SUBMITTED') . " %s ".".<br />", $username, $row->catname); $message .= JText::_('JGS_TITLED')."<br />\n"; $message .= "<a href=/".$imgurl.">".$fausseurl."</a>"."<br />" ; $message .= "---<br />" ; $message .= "Si vous souhaitez ne plus recevoir de notifications, mettez à jour votre compte:<br />" ; $message .= "<a href=/".$profilurl.">".$profilurl."</a>"."<br />" ; $subject = "xxNotifications"; // Get message format (1=HTML) $format = 1; // Build e-mail message format $mailer->setSender(array($from_addr, $from_name)); $mailer->addRecipient($recipient); $mailer->setSubject($subject); $mailer->setBody($message); $mailer->addCC($copyto); $mailer->addBCC($bcc); $mailer->IsHTML($format);
// Send notification email to administrator $mailer->Send(); if ($mailer){ $test .=" envoi ok<br/>"; } }
} } } echo $test; }
|
|
|
|
|