Newletter

Download plugins, language packs and stuff.

Postby FI-DD » Sun Aug 26, 2007 1:16 pm

Why can't you use the sorting options in "Edit News"?
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

importing Excel files some how

Postby D72 » Mon Aug 27, 2007 3:26 pm

Is there a way to import an Excel file wich contains mail addresses and a name?
Or do i have to add each one of them by hand... all 6000 :D
User avatar
D72
 
Posts: 336
Joined: Thu Feb 22, 2007 12:05 am
Location: NL

Postby FI-DD » Thu Aug 30, 2007 2:53 pm

What's the scheme of the Excel file?
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Dexx » Tue Apr 15, 2008 9:11 am

Hey guys,
I have installed this hack, but it does not send any mail.
I recieve the confirmation in the newsletter panel

Newsletter was sent [X] times to: A|B|C

but no mail arrives...

Another question, i have a problem with images in the newsletter 'cause in the news the image has this sintax:

Code: Select all
<a href="img/img.jpg"><img src="img/thumbs/img.jpg"></a>


Is possible to use regular expression to remove the anchor?

Ty
Dexx
 
Posts: 7
Joined: Wed Mar 26, 2008 4:03 pm

Postby FI-DD » Tue Apr 15, 2008 2:27 pm

Dexx wrote:Newsletter was sent [X] times to: A|B|C

but no mail arrives...

Maybe it goes to the spam filter?

Dexx wrote:
Code: Select all
<a href="img/img.jpg"><img src="img/thumbs/img.jpg"></a>

Is possible to use regular expression to remove the anchor?

What anchor? What do you want to remove?
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Dexx » Tue Apr 15, 2008 4:47 pm

I found the problem for sending the mail.
There is a problem with the html formatting, it breaks after "<br />some text"
I just replaced every <br /> with <br /> new_line and works, I really do not understand why it causes a problem...

Just help me to replace
Code: Select all
<a href="img/img.jpg"><img src="img/thumbs/img.jpg"></a>
with
Code: Select all
<img src="img/thumbs/img.jpg">


Thanx :D
Dexx
 
Posts: 7
Joined: Wed Mar 26, 2008 4:03 pm

Postby FI-DD » Tue Apr 15, 2008 6:50 pm

Code: Select all
$input = '<a href="img/img.jpg"><img src="img/thumbs/img.jpg"></a>';

$output = preg_replace("#<a href=\"(.*)\"><img src=\"(.*)\"></a>#U", '<img src="\\2">', $input);
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

insert the code..

Postby monkeypoop » Thu May 29, 2008 5:41 pm

I know this is gonna sound elementary but i speak SQL and not too good at PHP...anyway,

I am trying to insert this subscribe code into the example page that came with cutenewsru...

i keep getting php errors like "Fatal error: Function name must be a string in"

What is the correct way to insert this snippet: cn_subscribe();

Sorry for the juvenile question but i'm learning and this should be an easy answer, right?

Thanks

m0nkey
monkeypoop
 
Posts: 2
Joined: Thu May 29, 2008 4:14 am

Postby FI-DD » Thu May 29, 2008 5:47 pm

What's the exact error message?
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby monkeypoop » Thu May 29, 2008 5:52 pm

Fatal error: Function name must be a string in /home/ppotis/public_html/cutenews/example/index.php on line 87

line 87 is where i put in the snippet but i KNOW i did not include it correctly...was hoping for a little guidance on how to include the code...

THANKS!!!
monkeypoop
 
Posts: 2
Joined: Thu May 29, 2008 4:14 am

Postby FI-DD » Thu May 29, 2008 6:00 pm

Please post the line you inserted plus a few lines above and below that line.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Email validation is a must for this plug-in

Postby nam » Thu May 29, 2008 6:18 pm

60% of emails subscribed in my Newsletter are returned, because this plug-in does not have validation feature so to make sure the email address is valid and the person enters email address is really the one who holds that address. So anyone can enter any email and it is added to emails database right away.

For any public newsletter, email validation is a crucial part.
User avatar
nam
 
Posts: 221
Joined: Sat Dec 23, 2006 9:10 pm

Postby flyboy17 » Thu Jun 19, 2008 3:38 pm

One question;
now the default news-order in the newsletter is asc (oldest newsitems first) How can in change this into desc?
Thanks for your help.
flyboy17
 
Posts: 63
Joined: Wed Feb 21, 2007 4:32 pm

Postby FI-DD » Fri Jun 20, 2008 1:28 pm

In editnews.mdu change this:
Code: Select all
foreach ($sql->select(array('table' => 'news', 'orderby' => array('id', 'ASC'))) as $row){
      if (@in_array($row['id'], $selected_news)){


to this:
Code: Select all
foreach ($sql->select(array('table' => 'news', 'orderby' => array('id', 'DESC'))) as $row){
      if (@in_array($row['id'], $selected_news)){
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Spoon » Sat Jun 28, 2008 12:46 pm

How come that i cant edit the newsletter template?

everytime i change some settings and press save the newsletter template reverts itsself to the original state.
I want to change the look of that thing!
Spoon
 
Posts: 64
Joined: Wed Apr 02, 2008 2:47 pm

PreviousNext

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron