Not logged in. · Lost password · Registration disabled
Forum: Overview Questions / Fragen RSS
Repost
send again a post
tristangrimaux #1
Member since Oct 2007 · 5 posts
Group memberships: Mitglieder
Show profile · Link to this post
Subject: Repost
What should I do if I want to repost a message? I am using postie to post via email, and those posts never get sent par email... where should I touch?

I would be good to see the posts and to be able to choose wich to resend... give me a clue and I will create the page for you!!!!
Morty (Administrator) #2
User title: Author
Member since Jun 2007 · 928 posts
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
Just select the Post from the management panel, select resend in the Post Notification box and save it. It then gets resent.
I hope that is what you were looking for.
tristangrimaux #3
Member since Oct 2007 · 5 posts
Group memberships: Mitglieder
Show profile · Link to this post
In the post notification area I read:
<select>
Send notification when publishing?
<option selected>
Send Mail in queue
<option>
yes
<option>
no

If I choose "yes" it gets resend?

In the other hand, I am trying to do this: I want to post by email (with postie) and repost them with post notification. What should I add to the postie sequence?
Morty (Administrator) #4
User title: Author
Member since Jun 2007 · 928 posts
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
If you have "send mail in Queue" this means, that the mail is queued, but isn't sent out yet. If you look at the info panal the posting should be listed there.

What you are looking for is probably in post_notification.php:function post_notification_add() . If you want I can add a function like:
post_notification_set($postid, $state), where state can be something like "send", "don't send" and "force send".
tristangrimaux #5
Member since Oct 2007 · 5 posts
Group memberships: Mitglieder
Show profile · Link to this post
OMG! You are right, that was because I touched the db (and set a 0 to the send field) before finding the resend function in the post itself. And the post was listed in the info panel, yes.

In postie, I added in the function PostToDB this line to make it work:

        $_POST['post_notification_notify'] = "def";

but the mail does not get sent until I open any page in the site...

So I have to add in the cron routine a check for the postie page and a check for the site itself.

the function post_notification_set would be a good thing, although I am not going to use it right now
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum