Newsletter Plugin - Page 3 Newsletter Plugin - Page 3
 

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

Main Menu

Newsletter Plugin

Started by Stramm, January 17, 2007, 02:28:02 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

chalky6666

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.


Stramm

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.

ist

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

Stramm

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)

ist

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

regards ist

Stramm

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

djghostdj

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 ;)

Fabricio Ferrero

Very nice plug in...

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

Catching up! :)

nointerest

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).

Joachim Müller

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.

matyrojo666

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

Stramm

Quote from: matyrojo666 on September 29, 2008, 08:33:06 PM
... "there was an error" and bellow shows add to google, add to my yahoo, rss...

Looks like a problem with the RSS plugin

matyrojo666

Quote from: Stramm on September 29, 2008, 08:54:04 PM
Looks like a problem with the RSS plugin

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

Stramm

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

matyrojo666

Quote from: Stramm 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

This is my error

"There was an error while processing a database query"


Stramm

enable debug mode and post the more detailed error message (but not the debug output)

terrorhawk

Hi Stramm


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

bobby5959

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: ;

Stramm

read the first post of this thread to find the answer why it's not working for you

bobby5959

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