triggers not updating
when i hit the update trigger button my "update trigger area" collapses, then i hit the update options and they dont save.
i went into the ppfm_options table and turned the trigger on that i wanted manually (false to true) and it works now.
currently it looks like this:
active=B(false) label=S(m) type=S(m) description=S(Microblog: 140 Characters Max, No HTML) categories=A() tags=A() format=S([Blog] $subject: $body $slink)
active=B(true) label=S(s) type=S(s) description=S(Status Update: 200 Characters Max, No HTML) categories=A() tags=A() format=S($body $slink)
active=B(false) label=S(b) type=S(b) description=S(Blog Entry: Unlimited Length, HTML Preserved) categories=A() tags=A() format=S((My Original Blog Post: $link)\n$body)
I want to only post from one category ("categoryname" or cat=3) so how would that table look then..
im assuming it would be dealing with categories=A()
thanx,
/s
i went into the ppfm_options table and turned the trigger on that i wanted manually (false to true) and it works now.
currently it looks like this:
active=B(false) label=S(m) type=S(m) description=S(Microblog: 140 Characters Max, No HTML) categories=A() tags=A() format=S([Blog] $subject: $body $slink)
active=B(true) label=S(s) type=S(s) description=S(Status Update: 200 Characters Max, No HTML) categories=A() tags=A() format=S($body $slink)
active=B(false) label=S(b) type=S(b) description=S(Blog Entry: Unlimited Length, HTML Preserved) categories=A() tags=A() format=S((My Original Blog Post: $link)\n$body)
I want to only post from one category ("categoryname" or cat=3) so how would that table look then..
im assuming it would be dealing with categories=A()
thanx,
/s
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Did you check the "trigger is active" checkbox at the top after selecting a trigger.
As for manually editing the ppfm_triggers field, if your desired category is 3, then it would something like: categories=A(3), for more than one category: categories=A(3,5). The principle is the same for tags. -
Inappropriate?yes i did check the trigger active box, and all is good puttin it in manually.
I do have another question. I love being able to post from certain categories and would like to start adding posting scripts withing this plugin.(ie. when it goes thru its routine it also runs another php script. i am trying to phase out ping press and do everything locally.)
so what im asking is what point in your plugin could insert a include('myscript.php') to run everytime it meets the triggers conditions.
thanx,
/s -
Inappropriate?If you want to write your own plugin you can do exactly that. But I'm not going to help you do that as I have other, more important things to do like create my own work instead of asking other people to do it for me.
Loading Profile...


