![]() |
Example of using hook rssfeeddata_presave?
With the current version of vB 3.8.x, is there an example out there of using the hook rssfeeddata_presave?
What I am trying to do is to modify the parsed description so that if starts with value X then to remove X from the description prior to the post being saved. Thanks :o |
I don't know of an example, but it looks like you could do something like:
Code:
$title = $this->fetch_field('title'); |
kh99,
Thanks for the pointer. :) Guess this weekend I have to redo my plugin a bit to see where I'm going wrong. |
Hmm..I'm not sure I understand, did you do it a different way or did my example not work? There may be other ways to make it work using that hook, and I didn't actually try my example. BTW it's in class_dm_rssfeed.php and you probably would also want to look at class_dm.php (but maybe you knew that already).
ETA: and now I notice that you've obviously been around a while and released a number of mods, so probably I just misunderstood your original question. |
All times are GMT. The time now is 03:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|