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…

Réponses

  1. Jean-Pierre Auteur du sujet

    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!

  2. Jean-Pierre Auteur du sujet

    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.