Mellisa

Members
  • Content count

    19
  • Joined

  • Last visited


About Mellisa

  • Rank
    core_member_rank_11

Mellisa's Activity

  1. Mellisa added a post in a topic: where is updateForumLastPostData?   

    i want to show images extracted from the forum post as cover on the homepage.
    check:  http://www.ipbforumskins.com/skindemo/skinchange.php?id=34
    those covers are based on forum id (static)
    i want those covers to be based on the image links found in the last post made. so I made changes to database to add the last post not only title and id. but I don't know how to modify the hook updateForumLastPostData as it is not updating the newly created column.
     
    edit:
    I guess i have to fiddle more with classPost. as you mentioned the $topic['post'] is empty and $post['post'] doesnt work. thanks anyway
  2. Mellisa added a post in a topic: where is updateForumLastPostData?   

    i added a column in `ibf_forums`.`topics` last_post_content
     
    in forum/admini/applications/forums/sources/classes/post/classPost.php
    I added
        $dbs['last_post_content'] = $topic['post'];
    below:
       $stat_cache['total_topics']++;
     
    my aim is to parse the content of the post with my own script to extract image links on the homepage. So first thing i want to do is to update the forums table with the last post content. if I wasn't clear please let me know.
     
    thanks in advance.
  3. Mellisa added a post in a topic: where is updateForumLastPostData?   

    thank you, but how I can edit this hook?
  4. Mellisa added a post in a topic: where is updateForumLastPostData?   

    what is the function name?
     
    i want to know what this do
    IPSLib::doDataHooks( $dbs, 'updateForumLastPostData' );
  5. Mellisa added a post in a topic: where is updateForumLastPostData?   

    I want to edit how this hook behaves by including the content of the post to forums. i made the edits for the database and to the classPost.php as well.
    but i couldn't find which file contains updateForumLastPostData .
     
    thank you
  6. Mellisa added a post in a topic: Download: Advanced Hide Code   

    updated. now works on all versions of ipb, last tested is 3.4.x
     
    enjoy
  7. Mellisa added a comment on a file: Global Forum Message   

    you should try to add more options.
    multiple announcements
    choose colors (red, green, gray, yellow)
    position: topbar, header, footer

    i guess when it comes to multiple announcements it should be an application. we can learn from vb in this.

About Me

Status Feed