Reply to topic  [ 4 posts ] 
Writing a forum script - [Admin Response] 
Author Message
User avatar

Joined: Tue Sep 10, 2013 2:48 pm
Posts: 93
Post Writing a forum script - [Admin Response]

Im thinking of writing a script that alerts me via Growl (or similar) of new forum posts instead of having to manually refresh the page every now and then. And Im asking for permission to do this.

What this means for the forum:
You don't have to do anything. My script would poll search.php?st=1&sk=t&sd=d&sr=topics&search_id=active_topics every X minutes (probably as a cronjob it would stop the polling somewhere between 7:00pm -> 4:00am EST at which time its night in Sweden and I probably will be asleep) the rest of the magic happens on my server instead. Not much different than from what I manually do now when Im here.

It wouldn't require a login so Im offering anyone on the forum who's interested the opportunity to use it as well (other than submitting your Growl/Prowler details that is). It would actually lessen the load on the server if more people started using it since my server would offer cached results instead of this forum having to serve a bunch of database responses over and over again.

An other option but that would require a bit of configuration on the forum admins part would be enabling ATOM feeds in the admin panel>general>feed settings.

¡pɐǝɥ ɹnoʎ buıɥsnɹɔ ɯı ¡pɐǝɥ ɹnoʎ buıɥsnɹɔ ɯı

Sun Jan 19, 2014 4:47 pm
User avatar

Joined: Sun Aug 09, 2009 8:00 am
Posts: 1484
Post Re: Writing a forum script
Needs to be run by higher ups first.

Sun Jan 19, 2014 8:33 pm
Profile ICQ YIM
Devil Skirrl
User avatar

Joined: Fri Oct 31, 2008 5:42 pm
Posts: 7912
Images: 0
Location: Elsewhere
Post Re: Writing a forum script
ATOM feeds have been provisionally enabled, pending confirmation they're functioning without issue. They were disabled previously due to some concerns over outgoing e-mails, per Rick.

Never forget there are people who care, even if you've not met them.

Sun Jan 19, 2014 8:53 pm
Profile WWW
User avatar

Joined: Tue Sep 10, 2013 2:48 pm
Posts: 93
Post Re: Writing a forum script - [Admin Response]
After a quick check at the atom feed the first alternative is better for my need. And if there is concerns about emails (? For some reason apparently) with the atom feed, the first alternative is safer too since it doesnt have any access whatsoever other than what all non-member guests see.

Looking deeper into the feeds it would actually work.

¡pɐǝɥ ɹnoʎ buıɥsnɹɔ ɯı ¡pɐǝɥ ɹnoʎ buıɥsnɹɔ ɯı

Sun Jan 19, 2014 11:41 pm
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  • Advertisement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.