Advanced search  

News:

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

Pages: 1 2 [3] 4   Go Down

Author Topic: Newsletter Plugin  (Read 110469 times)

0 Members and 1 Guest are viewing this topic.

chalky6666

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Newsletter Plugin
« Reply #40 on: March 30, 2008, 10:33:02 am »

I'm being a bit thick here.

I have uploaded the Zip file.

Unzipped it which gave me this dir.

/stramm_mod1.4.16.bridge 

I'm obviously missing soemthing really simple.

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Newsletter Plugin
« Reply #41 on: March 30, 2008, 10:54:08 am »

Have you read the modpack docs??? If not, please do so now. Also upgrade first before you install the modpack.

And modpack realted questions should be asked on the modpack board.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

ist

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Newsletter Plugin
« Reply #42 on: June 16, 2008, 11:30:50 pm »

Hi
I have added a danish lang file.

When sending mails, Subject is populated with Gallery name. Could you point out for me where to update if also Gallery Descriptions should be in subject?

regards Ist
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Newsletter Plugin
« Reply #43 on: June 17, 2008, 07:56:21 am »

Just tested it and I do not get the gallery name as subject.I even don't know where this should come from! Use as 'How to send the mails' php_mail. It's using what you set as mailing method in config... therefore the additional setting sendmail is redundant (I've tested with php_mail)
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

ist

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Newsletter Plugin
« Reply #44 on: June 17, 2008, 07:35:14 pm »

My mistake :-\
It is not subject but in <From:> where Gallery description is written., sorry for that mistake.

regards ist
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Newsletter Plugin
« Reply #45 on: June 17, 2008, 07:54:26 pm »

As sender name the entry from
config -> General settings -> Gallery name
is taken into account... if you need it to be something else, just change it there
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

djghostdj

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Newsletter Plugin
« Reply #46 on: June 21, 2008, 01:46:49 am »

Hi,

Thanks for great mod ,

like I understand the code, the newsletter is send to ALL users including banned and non active?

Sorry, I'm not familiar with PHP but is there a possibility to select:
  • Groups
  • active or not
  • banned or not

and

Can i post html code as email with this mode ?

tnx ;)
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1997
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Newsletter Plugin
« Reply #47 on: June 21, 2008, 03:27:41 am »

Very nice plug in...

Spanish file attached.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

nointerest

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 91
    • Karateschule Okinawa (Bayreuth, Kulmbach, Pegnitz, Auerbach)
Re: Newsletter Plugin
« Reply #48 on: August 05, 2008, 03:21:33 am »

I have translated the Plug-In into German.

(Edit: I forgot to save the file as UTF-8. I have done so now. I hope the edit of the post will also update the attachment. If not - please contact me, I will post it again).
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Newsletter Plugin
« Reply #49 on: August 05, 2008, 07:56:53 am »

Thanks for coming up with the translation. I went through the file and corrected the whitespace and double line breaks. Additionally, I corrected the <br>-tag. The file is encoded in utf-8. Attached it.
Logged

matyrojo666

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Newsletter Plugin
« Reply #50 on: September 29, 2008, 08:33:06 pm »

I installed Newsletter plugin and Easy_RSS. When I log in as Administrator and go to Newsletter button says:

"there was an error" and bellow shows add to google, add to my yahoo, rss...

Also I reinstalled my plugin but it´s the same...

What can I do?

Thanks!
Matias
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Newsletter Plugin
« Reply #51 on: September 29, 2008, 08:54:04 pm »

... "there was an error" and bellow shows add to google, add to my yahoo, rss...

Looks like a problem with the RSS plugin
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

matyrojo666

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Newsletter Plugin
« Reply #52 on: September 29, 2008, 09:05:59 pm »

Looks like a problem with the RSS plugin

No, the problem is Newsletter plugin, EASY RSS plugin now is uninstalled...
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Newsletter Plugin
« Reply #53 on: September 29, 2008, 09:46:16 pm »

The newsletter plugin doesn't contain anything about rss, google, yahoo. Maybe the rss plugin doesn't uninstall properly. If you don't believe that, search through the plugins code for eg. yahoo
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

matyrojo666

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Newsletter Plugin
« Reply #54 on: September 29, 2008, 09:51:20 pm »

The newsletter plugin doesn't contain anything about rss, google, yahoo. Maybe the rss plugin doesn't uninstall properly. If you don't believe that, search through the plugins code for eg. yahoo

This is my error

"There was an error while processing a database query"

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Newsletter Plugin
« Reply #55 on: September 30, 2008, 12:02:48 am »

enable debug mode and post the more detailed error message (but not the debug output)
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

terrorhawk

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 61
Re: Newsletter Plugin
« Reply #56 on: October 01, 2008, 10:48:34 pm »

Hi Stramm


I'm testing this plugin and it looks very cool
but is there a way to paste html code's in it?
Logged

bobby5959

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Newsletter Plugin
« Reply #57 on: October 05, 2008, 10:34:32 am »

I found this plugin, it seem nice, but it is not working

I have a problem

pls help, thank you!!

greating Bobby

after installing I get follow error:

While executing query "SELECT count(user_id) AS num FROM `usr_web236_2`.cpg14x_users  WHERE user_email <> '' AND  = '1' AND user_active = 'YES'" on

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= '1' AND user_active = 'YES'' at line 1

File: /var/www/web236/html/gallery/include/functions.inc.php - Line: 249 

Here the full debug info:

USER:
------------------
Array
(
    [ID] => 17327446241f285c423740d96e433d21
    [am] => 1
    [lang] => english_gb
    [liv] => Array
        (
           
  • => 11
  • [1] => 4
                [2] => 12
                [3] => 7
                [4] => 6
            )

       
[sort] => pa
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 10240
    [disk_min] => 10240
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 7
    [num_URI_upload] => 5
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 10240
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
  • [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `usr_web236_2`.cpg14x_sessions where time<1223189955 and remember=0; (0s)
        [3] => delete from `usr_web236_2`.cpg14x_sessions where time<1221983955; (0s)
        [4] => select user_id from `usr_web236_2`.cpg14x_sessions where session_id = '99950bfd5caeed7f402d6ae0050f21a7' (0s)
        [5] => select user_id as id, user_password as password from `usr_web236_2`.cpg14x_users where user_id=1 (0s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `usr_web236_2`.cpg14x_users AS u INNER JOIN `usr_web236_2`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `usr_web236_2`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [10] => update `usr_web236_2`.cpg14x_sessions set time='1223193555' where session_id = '99950bfd5caeed7f402d6ae0050f21a7' (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
        [12] => SHOW TABLES LIKE 'cpg14x_cms_config' (0s)
        [13] => SELECT * FROM cpg14x_cms_config (0s)
        [14] => DELETE FROM cpg14x_banned WHERE expiry < '2008-10-05 09:59:15' (0s)
        [15] => SELECT * FROM cpg14x_banned WHERE (ip_addr='86.59.81.202' OR ip_addr='86.59.81.202' OR user_id=1) AND brute_force=0 (0s)
        [16] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
        [17] => SELECT count(user_id) AS num FROM `usr_web236_2`.cpg14x_users  WHERE user_email <> '' AND  = '1' AND user_active = 'YES' (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[file] => newsletter/newsletter
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.0-8+etch10 - OK
------------------
mySQL version: 5.0.32-Debian_7etch4-log
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.32
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.1
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /var/www/empty/ | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /var/www/empty/ | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | . | .:/usr/share/php:/usr/share/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 0 | 30
max_input_time | 60 | 60
upload_max_filesize | 8M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.149 seconds - 18 queries in 0 seconds - Album set : ; Meta set: ;
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Newsletter Plugin
« Reply #58 on: October 05, 2008, 10:42:45 am »

read the first post of this thread to find the answer why it's not working for you
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

bobby5959

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Newsletter Plugin
« Reply #59 on: October 05, 2008, 10:55:48 am »

I have also installed modpack
http://stramm.st.funpic.org/albums/userpics/10001/stramm_mod1_4_19_bridge.zip
and was copying this code in my template:

<!-- BEGIN my_friends -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{MY_BUDDY_TGT}" title="{MY_BUDDY_LNK}">{MY_BUDDY_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END my_friends -->

but nothing is working

PLs help

thx you

Bobby
Logged
Pages: 1 2 [3] 4   Go Up
 

Page created in 0.042 seconds with 22 queries.