What, I mean is you can call the @include within an IF action or @IF block. this would give you programatic control over when the @include code is called.
but, this would place your code inline, and as you said would be clunky

you need to do it async'ly, here are 2 ways

1. you can also use the @URL in async mode by setting "WAITFORRESULT=FALSE", this will allow you to call it and continue on.

2. another way of achieving async is using AJAX as Dale suggested

You call the code mailing.taf with an async call and have your called taf not return anything, (@purgeresults)


On Jul 1, 2009, at 4:26 AM, WebDude wrote:

I was trying to make the mailing taf seemless with the user experience... I have a bulk email program I use for other clients that sends an email every .5 seconds (using a redirect and a <@CALC <@ARG start>+1>)... works great and I was hoping to do the same with the notification. Short of time stamping the post and seeing if there was a response and running a cron job to send the notifications, I was thinking of firing off the bulk email when a post was made. The problem is that a branch or <@URL> takes the user through the redirects and then back to the post. Very clunky which is why I was toying with the idea of firing the external bulk email taf during the post without taking the user there...

Mmmmm... Ben, what (how) do you mean by wrapped in an IF block?


From: Ben Johansen [mailto:b...@webspinr.com]
Sent: Tuesday, June 30, 2009 3:04 PM
To: witango-talk@witango.com
Subject: Re: Witango-Talk: OT... sort of - Topic Notification for Forum

ah, maybe an include wrapped in an IF block

On Jun 30, 2009, at 12:59 PM, WebDude wrote:

Another qustion... may be easy, I don't know...

Is there any way to trigger a taf within another taf not using <@URL>

John Muldoon
Corporate Incentives
3416 Nicollet Ave S
Minneapolis, MN 55408-4552
612.822.2222
webd...@cipromo.com
<ci.gif>
http://cipromo.com



From: WebDude [mailto:webd...@cipromo.com]
Sent: Tuesday, June 30, 2009 11:23 AM
To: witango-talk@witango.com
Subject: RE: Witango-Talk: OT... sort of - Topic Notification for Forum

Thanks Robert... Your idea was kind of whereI was leaning. As for the RSS feed... the forums already have that, but very few people actually use them. It seesm they would rather check a box then deal with readers.


From: Robert Shubert [mailto:rshub...@tronics.com]
Sent: Tuesday, June 30, 2009 10:28 AM
To: witango-talk@witango.com
Subject: RE: Witango-Talk: OT... sort of - Topic Notification for Forum

You need a subscriptions table of sorts: which contains just the member_id and the master_thread_id You can add rows when people signup to get a thread emailed and remove them when they opt-out.
Additional columns that come to mind are:
Primary key ID (not completely necessary for this type of table, but always helpful) Active/Inactive flag so that you can turn subscriptions on and off (as opposed to deleting the row) Number of emails sent: a counter for how many emails this subscription created, which would be interesting statistically Then when a new post comes in for thread #483, you simply look up all the people that have subscribed to thread #483 and send them an email. Also (and a little off-topic) you many want to consider adding RSS capabilities. It solves basically the same thing, but with less traffic.
Robert
From: WebDude [mailto:webd...@cipromo.com]
Sent: Tuesday, June 30, 2009 8:58 AM
To: witango-talk@witango.com
Subject: Witango-Talk: OT... sort of - Topic Notification for Forum
Hey all,
I was wondering if some of you bright bulbs may be able to help me.
I have a forum I built that is 100% Witango. It has close to 8,000 members and is fairly busy. I have several tables set up for the forum which include usertable (login, email, password, etc.), forummastertable (table of topics, threadnum, startdate, views, etc.) and threadtable (individual posts, masterthreadnum, postdate, user, etc). This forum is rock solid and has been operating for over 5 years. I have built many bells and whistles into it and decided it would be nice to add an opt in email notification. I've seen this on other forums (a checkbox where you can get an email notification if someone replies to a particular thread), but I am having trouble trying to figure out just where to start and how to do this. I don't mean the programming specifically, but more the theory on how to set this up. I have been looking at other forums but cannot find any particular clue as to how this is done. Would I set up a table with the masterthreadnum and email address and when a topic is reponded to, query that table and send an email? This does not seem like a very efficient way to do this.
Any ideas would be appreciated.
Thanks!
   WebDude
    <image001.gif>
MyFishingPals.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-597-3372
Mobile: 360-600-7775



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-597-3372
Mobile: 360-600-7775




________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to