[ABD] phpbbPoster Class

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
SaWey
Registered User
Posts: 58
Joined: Sun Jan 14, 2007 1:18 pm
Location: Belgium

[ABD] phpbbPoster Class

Post by SaWey »

I created a class which makes it possible to post messages in a phpBB3 forum from another application.
No idea if this is the right place to post this, but I think so.

It is very easy to use, just place the class in the phpbb main directory, and include it in your script.

I use this for my mailing list (phpList) which automatically posts a new topic in my newsletter forum when an email is sent.

You can use it to:
  • create a new topic
  • post a reply
  • add a topic icon
  • set it as sticky, announcement, global or normal post
  • if sticky or announcement, set time limit
  • allow bbcode
  • allow smilies
  • allow urls
  • allow signature


The readme is included in the class.

Known bugs:
  • can't send notifications after posting message (yet)
Class Version: 1.0.0
Class Download: here
Class Support: here


Comments welcome, but I don't have a lot of time, so it could take some time before you get feedback from me.
Last edited by SaWey on Sat Mar 29, 2008 7:47 pm, edited 1 time in total.
madd74
Registered User
Posts: 228
Joined: Thu Aug 14, 2003 5:17 pm
Location: Iowa
Contact:

Re: phpbbPoster Class

Post by madd74 »

Thought I would add, this looks like something I might be using, as I plan on using phplist :mrgreen:
SaWey
Registered User
Posts: 58
Joined: Sun Jan 14, 2007 1:18 pm
Location: Belgium

Re: phpbbPoster Class

Post by SaWey »

Then you might want to look at the phpList site: http://forums.phplist.com/viewtopic.php?t=14907
There you have the plugin already :)
User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: phpbbPoster Class

Post by Bruno36 »

Hello!

The link is dead :(
Excuse me for my poor English, I speak french
Bruno36
SaWey
Registered User
Posts: 58
Joined: Sun Jan 14, 2007 1:18 pm
Location: Belgium

Re: phpbbPoster Class

Post by SaWey »

Try again, my webserver could've been down for a while.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28654
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: phpbbPoster Class

Post by Paul »

Hello,

Please edit your topic title with a prefix as outlined in Modifications Development Forum Rules, section 3.a. This will allow people to see the development status of your modification at a glance.

Thank you,
The phpBB Modifications Team
madd74
Registered User
Posts: 228
Joined: Thu Aug 14, 2003 5:17 pm
Location: Iowa
Contact:

Re: [RC 1] phpbbPoster Class

Post by madd74 »

I got the link to work. I have been over at that site doing a lot of research in attempts to integrate the user table for both. I am hoping this all works out, but I had been having mySQL database problems until last week with my webhost, so I only started the install today. So anyone else interested, I will report my findings later :)

Thank you for the link, SaWey!
SaWey
Registered User
Posts: 58
Joined: Sun Jan 14, 2007 1:18 pm
Location: Belgium

Re: [RC 1] phpbbPoster Class

Post by SaWey »

I'd like to be updated on your progress, as my goal is to integrate both apps. I would like to have phpList reside in the phpBB acp.
User avatar
fiorefrank
Registered User
Posts: 226
Joined: Fri Jun 08, 2007 10:43 am
Location: Italy
Contact:

Re: [RC 1] phpbbPoster Class

Post by fiorefrank »

nice, simple but usefull ;)
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC 1] phpbbPoster Class

Post by papygourbi »

I need it !
so i don't need to spend time to write similar function for my Annoucement Robot
mocambo
Registered User
Posts: 6
Joined: Sat Mar 08, 2008 5:40 am

Re: [RC 1] phpbbPoster Class

Post by mocambo »

Seems useful extension.

I've not tried it yet but I have an question appeared - is this useful also with anonymous posters ?
User avatar
ac_roma
Registered User
Posts: 321
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [RC 1] phpbbPoster Class

Post by ac_roma »

nice mod thanks ;)
SaWey
Registered User
Posts: 58
Joined: Sun Jan 14, 2007 1:18 pm
Location: Belgium

Re: [RC 1] phpbbPoster Class

Post by SaWey »

mocambo wrote:Seems useful extension.

I've not tried it yet but I have an question appeared - is this useful also with anonymous posters ?
Yes, you can use the annonymous user (user id = 1) for this.
Kattmannen
Registered User
Posts: 1
Joined: Wed Apr 11, 2012 10:47 am

Re: [RC 1] phpbbPoster Class

Post by Kattmannen »

I know this thread has been sleepimg for a while, but...
I try to use the class, but keep getting an error message that no user is specified, though i am sure that I have specified it.
The class uses
if(is_array($this->user_data) && is_array($topic))
{
...................code.................
}
else
{
//no user defined, add error
array_push($this->error, "No user defined, can not post");
}
Does this mean that the class doesn´t recognize the array I send to it?
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [RC 1] phpbbPoster Class

Post by tumba25 »

This topic has been marked as [ABD] - Abandoned as the mod author has not been active recently. If the MOD author wishes to continue development, please PM anyone on the MOD Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this mod, or any other mod that is marked as “abandoned” or “in development”, on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Modifications Team
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
Locked

Return to “[3.0.x] Abandoned MODs”