can you help with Classes, Drew???

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

6 thoughts on “can you help with Classes, Drew???”

  1. nexia dit :

    😉

    .. just bump

  2. Drew dit :

    Where is the function in the file called?

  3. nexia dit :

    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!

  4. nexia dit :

    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!

  5. nexia dit :

    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.

  6. Drew dit :

    oh ok yeah sorry for the late reply…

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.

En savoir plus sur Un Papa Pro

Abonnez-vous pour poursuivre la lecture et avoir accès à l’ensemble des archives.

Continue reading