[Unsupported]: Email images to your gallery - Page 5 [Unsupported]: Email images to your gallery - Page 5
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Unsupported]: Email images to your gallery

Started by rphMedia, July 17, 2006, 08:30:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nolageek

Hey guys.  I need to get my cellphone's e-mail address out of this thread.. I've been getting slammed with spam the last week and this is the only place it's listed that I can find! it's the one with 504609 in it.  I can't edit the posts or I'd do it myself.

Sami

Done !
Never post email address to a public forum
‍I don't answer to PM with support question
Please post your issue to related board

nolageek

Like I said, this is the only place it was at because I don't normally  post my addresses like that.. I probably just cut and pasted without thinking about the the content. :)

I've gotten almost 200 pieces of spam sent to my cell phone the last 5 days and I just about nearly tore my hair out trying to find where it was coming from. 

Thank you very much.

nolageek

Wow. I'm glad I don't use this gallery anymore.  Talk about verbally abusive moderators.

I'm very sorry I asked you to help me, but that's no reason to call me stupid over and over in PMs.

(I'm sorry I PMed you.)

Please, ban me.

Sami

What !?  :o
I did not send you any PM at all  ???
What are you talking about ?
‍I don't answer to PM with support question
Please post your issue to related board

nolageek

Quote from: Sami on July 09, 2007, 10:23:08 PM
What !?  :o
I did not send you any PM at all  ???
What are you talking about ?


Not you, Sami. GauGau.

I came here in a panic after receiving hundreds of spam e-mails to my cell phone (waking me up about 8 or 9 times a night) and since I saw GauGau was online and a moderator I PMed him asking if he could edit my messages on this board and remove my cellphone's e-mail address (which I admit I shouldn't have posted in the first place.. but I wasn't thinking.)

He then wrote back, talking down to me like a child, accusing me of mass-PMing all of the moderators - which I most certainly did NOT do. Scolding me for PMing a moderator and that it was 'against the rules'

I wrote back to him explaining that I was sorry for PMing him and clarifying that I did NOT pm anyone but him and he again scolded me like a child and threatened to ban me if I continued PMing him.

Sami

GauGau's as an admin receive many PMs and it is disgusting cause people keeps sending him support request without his permission check his signature , managing hundreds of PMs a day would make anybody angry
We can finish this here , this kind of discussions doesn't belongs here ....

Next time please be more careful with PMing Devs and supporters
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Quote from: nolageek on July 09, 2007, 03:33:44 PM
Wow. I'm glad I don't use this gallery anymore.
OK, bye.

Quote from: nolageek on July 09, 2007, 03:33:44 PMPlease, ban me.
Did as suggested. Thanks for cluttering this thread with your remarks.

Dwilliams

Quote from: Dwilliams on June 14, 2007, 11:02:31 PM
Good afternoon everyone,
  I hope that this topic is still being monitored because this is an excellent mod. I am having an issue with getting mine to work with my gallery page and wanted to know if someone with experience in this would be able to send me in the right direction.


  • I have uploaded the 3 files to the root of my coppermine directory
  • I created a new email account for the images to go to
  • I Set the folder permissions
  • Configured the newcam file
  • Added a case to the index file as suggested in one of the first messages of this thread
  • Allow visitors to upload files
When I copy the new index.php to the coppermine root, I get a ton of garbage up on my screen and not the main gallery page example:

$lang_album_admin_menu['confirm_delete'], '{DELETE}' => $lang_album_admin_menu['delete'], '{MODIFY}' => $lang_album_admin_menu['modify'], '{EDIT_PICS}' => $lang_album_admin_menu['edit_pics'], ); $template = template_eval($template_album_admin_menu, $params); } $params = array('{ALBUM_ID}' => $id, ); return template_eval($template, $params); } /** * get_subcat_data() * * Get the data about the sub categories which are going to be shown on the index page, this function is called recursively * * @param integer $parent Parent Category * @param array $cat_data * @param array $album_set_array * @param integer $level Level being displayed * @param string $ident String to use as indentation for Categories * @return void **/ function get_subcat_data($parent, &$cat_data, &$album_set_array, $level, $ident = '') { global $CONFIG, $HIDE_USER_CAT, $FORBIDDEN_SET, $cpg_show_private_album; $album_filter = ''; $pic_filter = ''; if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) { $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET); $pic_filter = ' and ' . str_replace('p.', $CONFIG['TABLE_PICTURES'] . '.', $FORBIDDEN_SET); } if ($CONFIG['categories_alpha_sort'] == 1) {$cat_sort_order = 'name';}else{$cat_sort_order = 'pos';} $result = cpg_db_query("SELECT cid, name, description, thumb FROM

I have also included my newcam.php file:
<?php
define
('IN_COPPERMINE'true);
require(
'include/picmgmt.inc.php');
require_once(
"attachmentread.class.php"); 
$host="{mail.gallery.hlcmarketingcorner.com:110/pop3}"// pop3host 
$login="****@gallery.hlcmarketingcorner.com"//pop3 login 
$password="****"//pop3 password 
$filepath=$_SERVER["DOCUMENT_ROOT"]."/albums/Custom/";  ; // attachement will save in same directory where scripts run, otherwise give abs path 
$album="7"// album id #
$folder "Custom/"// foldername with a /
$jk=new readattachment(); // Creating instance of class#### 
$jk->getdata($host,$login,$password,$filepath,$album,$folder); // calling member function 
?>


and added the suggested items to the anycontent.php
*/

if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');

starttable("100%", "Welcome");
include("newcam.php");

?>
<tr><td class="tableb" >

and lastly the index.php snippet

                    case 'anycontent':
                        if ($cat == 0) {
                            ob_start();
                            /**
                             * Any php code or HTML can be put in this file and will be displayed
                             */
                            include('anycontent.php');
                            $anycontent = CPGPluginAPI::filter('anycontent',ob_get_contents());
                            ob_end_clean();
                            echo ($anycontent);
                        }
                        flush();
                        break;
case 'receivemail':
                if ($cat == 0) {
                    include('RPHMEDIA-FILE.php');
                }
                flush();
                break;
                }
            }
        }
    }


What am I missing here?
Thank you for taking the time to read this.

Does anyone have any suggestions for this issue? I've given this close to a month and tried different things but have no success as yet.

Thanks,
D

zer0one

So is this a dead project? Or should it still work? I have the same issue Dwilliams is having but there seems to be no more support. Is anyone using this mod on their current (latest update) gallery?

Nibbler


rphMedia

Quote from: zer0one on August 16, 2007, 10:43:33 PM
So is this a dead project? Or should it still work? I have the same issue Dwilliams is having but there seems to be no more support. Is anyone using this mod on their current (latest update) gallery?

The problem is...no one asks a question. They post a bunch of code and expect someone to figure it out for them. What IS your question zer0one, Dwilliams? It works fine at my gallery. Email an image to cam@rphmedia.net - you'll see that it works just fine if you follow directions and your host/email supports it. There's no magic to it. And please, don't "expect" support, ask for it. You usually get better response.

Dwilliams

Quote from: zer0one on August 16, 2007, 10:43:33 PM
So is this a dead project? Or should it still work? I have the same issue Dwilliams is having but there seems to be no more support. Is anyone using this mod on their current (latest update) gallery?

Double and triple check the filepath. example:
$filepath=$_SERVER["DOCUMENT_ROOT"]."/albums/Custom/";  ; // attachement will save in same directory where scripts run, otherwise give abs path
Was the original code for my path, however since I did NOT install the coppermine gallery in the root www directory. I had to add "/gallery/coppermine/albums/Custom/" to make the path work. RPH is correct, for the most part this should work out of the "box" with a few modifications to the default coppermine install. However now that I understand more about this, maybe I can assist some now as well. Here's my Exact steps that I follow for install now (now done on 3 different galleries)


  • Upload all 3 files to the root of your coppermine directory
  • If you have never changed or modded your anyconent.php file, rename the anycontent1.php to anycontent.php
  • Pay close attention as you modify your newcam file (see above on the path)
  • Modify your Config settings under Gallery configuration, under the album list view, field "Content of Main Page" reads "breadcrumb/anycontent/catlist/alblist/"
  • Set permissions on the folder for guests to upload files, it can even be a gallery that guests can't see
  • Set the permissions to the folder you are uploading to at "777" or allow everything in that folder.



fallingintoZero

i'm starting to think this may not work anymore. i checked my gallery today for the first time in about a week, so i'm not sure how long this issue has been present, and i get this error message:

Quotecan't connect: Certificate failure for mail.redeemedplaces.com: self signed certificate: /C=US/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=shared8.whbdns.com/emailAddress=ssl@shared8.whbdns.com

this prevents my gallery from loading at all. if anyone is interested in looking at the problem themself, the address is http://img.redeemedplaces.com

rphMedia


Nibbler


fallingintoZero


Nibbler

What did you set $host as in newcam.php?

fallingintoZero

Quote from: Nibbler on November 15, 2007, 09:58:04 PM
What did you set $host as in newcam.php?

set as:
Quote$host="{mail.redeemedplaces.com:110/pop3}"; // pop3host

Nibbler

Try


$host="{mail.redeemedplaces.com:110/pop3/novalidate-cert}"; // pop3host