here is what i get… i’m coding a “Who Quoted Me” engine, where i have to insert a new value each time someone quote a user in a post… the attached zip contain what i think may fit best…
give me your opinion please… and if you know how to grab $postid from this part of the system, tell me, because it is not called anywhere in that class, so i do not know how to grab it… 😉
the xml is the actual product, working as planned…
Views: 13
😉
.. just bump
Where is the function in the file called?
hum, the urgent.php file contain the two parts i have trouble with in logic… if you check the first part, you can see this:
# HOOK: bbcode_create
# REASON: to include that function in the class, as there is no hook elsewhere!
i did not include these two plugins in the product yet because i was not sure if it would be simplier to have a file edit, but as my logic is usually good in arrays, i think that the second hook may work as well…
# HOOK: bbcode_fetch_tags
# REASON: replace the actual $tag_list array to have our engine to work!
ARGH…
fudge up, you can stop searching on this…
i know now why there is no postid in that process… because if you are posting a new reply, the postid is not yet created when the bbcode parser filter the post.
so i’ll have to check the end of the post creation/edit to parse the whole message in search of a [quote= in the message.
oh ok yeah sorry for the late reply…