1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[FS] Important Posts [Paid] 1.0.0

Bookmark the Important

  1. Jeremy

    Jeremy XenForo Moderator Staff Member

    Jeremy submitted a new resource:

    [FS] Important Posts - Bookmark the Important

    Read more about this resource...
     
    Russ likes this.
  2. Russ

    Russ Well-Known Member

    Nice :), we can make use of this thanks Jeremy.
     
  3. Mouth

    Mouth Well-Known Member

    Can it be set on/off by node? ie. i want it active in nodes x,y, and z but not active in nodes a,b, and c?
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    It is controlled by permission, so yes. Revoke the permissions in a, b, and c and it won't be available.
     
  5. Rambro

    Rambro Well-Known Member

    @Jeremy getting a server error when reading posts:

    Code:
    Server Error
    
    Mysqli prepare error: Table 'dressedw_forumdb.xf_fs_important_posts' doesn't exist
    
        Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
        Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
        Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
        Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
        XenForo_Model->fetchAllKeyed() in FS/ImportantPosts/Model/Post.php at line 9
        FS_ImportantPosts_Model_Post->getImportantPosts() in FS/ImportantPosts/ControllerPublic/Thread.php at line 8
        FS_ImportantPosts_ControllerPublic_Thread->actionIndex() in CTA/FeaturedThreads/ControllerPublic/Thread.php at line 559
        CTA_FeaturedThreads_ControllerPublic_Thread->actionIndex() in Andy/UserAgent/ControllerPublic/Thread.php at line 8
        Andy_UserAgent_ControllerPublic_Thread->actionIndex() in XenForo/FrontController.php at line 347
        XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
        XenForo_FrontController->run() in /home/dressedw/public_html/index.php at line 13
    
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    Run the following query:
    Code:
                    CREATE TABLE IF NOT EXISTS `xf_fs_important_posts` (
                     `thread_id` int(11) NOT NULL,
                     `post_id` int(11) NOT NULL,
                     `title` longtext  NOT NULL,
                     PRIMARY KEY (`thread_id`,`post_id`)
                    ) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
    
    Not sure why the table didn't create... (I used it to install on Dentel.zone)
     
  7. Rambro

    Rambro Well-Known Member

    Working now. Thanks.
     
  8. Rambro

    Rambro Well-Known Member

    @Jeremy Chris' Change Thread Starter is bleeding over into your menu

    1.png

    Also, why does it only allow me to mark the OP in the thread as important after I've already marked another post as important?
     
  9. Jeremy

    Jeremy XenForo Moderator Staff Member

    The system shouldn't be allowing the first post in a thread to be marked as important.
     
  10. Rambro

    Rambro Well-Known Member

    Is it possible to add in the ability for a user who's post gets marked important to receive a notification/alert?
     
  11. JulianD

    JulianD Well-Known Member

  12. Jeremy

    Jeremy XenForo Moderator Staff Member

    Please post suggestions on my forum.
     
  13. Rambro

    Rambro Well-Known Member

    I'm good here.
     
  14. Jeremy

    Jeremy XenForo Moderator Staff Member

    Suggestions aren't tracked in this thread. It will likely be forgotten about here.
     
  15. Solidus

    Solidus Well-Known Member

    Posts marked as important can be viewed in a list by the user? How does that look?
     
  16. Jeremy

    Jeremy XenForo Moderator Staff Member

    Yes, it is user-viewable. The screenshot in the description shows the overall appearance.
     
  17. Solidus

    Solidus Well-Known Member

    That shows a list of important posts within a thread, or all posts marked important on a page? Screenshot doesn't give that much away.
     
  18. Jeremy

    Jeremy XenForo Moderator Staff Member

    Thread.
     
  19. Digital Doctor

    Digital Doctor Well-Known Member

Share This Page