Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Send email of favourites list  (Read 3081 times)

0 Members and 1 Guest are viewing this topic.

equi

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Send email of favourites list
« on: December 09, 2004, 04:23:05 pm »

I hope this is the right board for this.

Is there a simple way of allowing a user to click a button or link when he is in the My Favourites part, allowing a email to be sent requesting more information about the photos in the Favourites list?


Sorry if this is not the right place to ask this query.


Thanx

BTW  Got CPG working within minutes, just trying to configure it at the moment
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Send email of favourites list
« Reply #1 on: December 09, 2004, 04:51:27 pm »

this is the right place to ask :D

Edit themes/yourtheme/theme.php, find
Code: [Select]
// HTML template for title row of the fav thumbnail view (album title + download)
$template_fav_thumb_view_title_row = <<<EOT

                        <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
                                <td><img src="images/spacer.gif" width="1"></td>
                                <td class="sortorder_cell">
                                        <table height="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                        <td class="sortorder_options"><span class="statlink"><a href="zipdownload.php">{DOWNLOAD_ZIP}</a></span></td>
                                                </tr>
                                                </table>
                                </td>
                        </tr>
                        </table>

EOT;
and add anything you want to the html part, e.g. by replacing above code with
Code: [Select]
// HTML template for title row of the fav thumbnail view (album title + download)
$template_fav_thumb_view_title_row = <<<EOT

                        <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
                                <td><img src="images/spacer.gif" width="1"></td>
                                <td class="sortorder_cell">
                                        <table height="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                        <td class="sortorder_options"><span class="statlink"><a href="mailto:you@yourdomain.tld?subject=request%20additional%20info%20by%20email%20about%20favorites">request additional info by email</a> <a href="zipdownload.php">{DOWNLOAD_ZIP}</a></span></td>
                                                </tr>
                                                </table>
                                </td>
                        </tr>
                        </table>

EOT;

Joachim
Logged

equi

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Send email of favourites list
« Reply #2 on: December 09, 2004, 05:23:25 pm »

sorted, thanx again  :D
« Last Edit: December 09, 2004, 06:00:37 pm by equi »
Logged

equi

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Send email of favourites list
« Reply #3 on: December 09, 2004, 06:11:52 pm »

Sorry, mabye I did not explain correctly, what I was after was exactly that function but preferably a form or if not possible an email, with the users Favourites list in order to get back to them regarding the urls or filenames of their favourites photos

(ie 3 photos in favourites, click Request more info etc.... Form or email popup  with blah blah  You have requested more information about img456, img567, img566, .....)

hope thats a bit clearer



thanx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Send email of favourites list
« Reply #4 on: December 09, 2004, 06:24:11 pm »

what you're requesting is a complex mod, not a quick hack that can be doctored in a minute or two. Basically, what you have in mind is possible.

Joachim
Logged

equi

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Send email of favourites list
« Reply #5 on: December 10, 2004, 05:47:30 pm »

Arnt the URL's or image references posted to favourites page in order to display images, can these not be pasted into the subject heading of an email or suchlike, just a thought.  If the page knows what favourites files to display can this info not be copied into a text string??

Thanx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Send email of favourites list
« Reply #6 on: December 10, 2004, 06:41:55 pm »

If you think it's that easy, just code it. What I was going to say with my posting: everyone is welcome to code the mod you're looking for, but I won't be looking into this, as I can't see a benefit for the majority of users.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.