newbie LAC Posted June 4, 2013 Share Posted June 4, 2013 File name: (NB34) Recent Topics/PostsSubmitter: newbie LACSubmitted: 06/04/2013Category: User and Social EngagementDiscussion URL : Support Info: Topic supportSupported Versions: IP.Blog 2.4.xThis hook will show block with Recent Topics/Posts on Sidebar. Video View File Link to comment Share on other sites More sharing options...
Cyrem Posted June 5, 2013 Share Posted June 5, 2013 Good work, I was waiting for someone to do this. Link to comment Share on other sites More sharing options...
David Ivashenko Posted November 28, 2013 Share Posted November 28, 2013 Just a question before i buy this, I can't tell if this is a sidebar or not? Link to comment Share on other sites More sharing options...
newbie LAC Posted November 29, 2013 Author Share Posted November 29, 2013 Just a question before i buy this, I can't tell if this is a sidebar or not? Hello, Yes, this is sidebar hook This hook will show block with Recent Topics/Posts on Sidebar. Link to comment Share on other sites More sharing options...
David Ivashenko Posted November 29, 2013 Share Posted November 29, 2013 This is not working properly for me: As you can see on my site here It displays both topics and post in the same column/tab instead of seperating it. What seems to be wrong? Also... can we get an option to remove certain aspects of the sidebar. Personally, I don't like the fact that it displays which forum the post/topic is from. An option to remove that would be great! Link to comment Share on other sites More sharing options...
newbie LAC Posted November 29, 2013 Author Share Posted November 29, 2013 Thanks for purchase This is not working properly for me: As you can see on my site here It displays both topics and post in the same column/tab instead of seperating it. What seems to be wrong? Yes, I can see. Your skin already have a jquery Remove it from my hook: ACP - Look and Feel - Your skin - Board Index - nbTabRecentTopicsPosts Find and delete <script src="{$this->settings['public_dir']}js/nb_posts_tabs/js/jquery-1.9.1.js"></script> Also... can we get an option to remove certain aspects of the sidebar. Personally, I don't like the fact that it displays which forum the post/topic is from. An option to remove that would be great! You can delete unnecessary information within the specified template Or I can add new settings for hook. But I need some time Link to comment Share on other sites More sharing options...
David Ivashenko Posted November 30, 2013 Share Posted November 30, 2013 Thanks for the fast reply. Worked like a charm. I just have 1 more question. What would i have to add to the file to make it so that the active tab changes its text color to white? Just so users can easily tell which tab is active at the moment? Link to comment Share on other sites More sharing options...
newbie LAC Posted November 30, 2013 Author Share Posted November 30, 2013 What would i have to add to the file to make it so that the active tab changes its text color to white? Just so users can easily tell which tab is active at the moment? Add in the ipb_styles.css .ui-tabs-active a { color: #ffffff; } Or add in the template <style type='text/css'> .ui-tabs-active a { color: #ffffff; } </style> Link to comment Share on other sites More sharing options...
Subseven Posted December 3, 2013 Share Posted December 3, 2013 Does this work with the IPB 3.4.6 and IP Content 2.3.6? Link to comment Share on other sites More sharing options...
David Ivashenko Posted December 3, 2013 Share Posted December 3, 2013 Does this work with the IPB 3.4.6 and IP Content 2.3.6? Yes... not sure for IP. Content but I am running it on IP Board 3.4.6 Link to comment Share on other sites More sharing options...
almax Posted December 13, 2013 Share Posted December 13, 2013 I am having the same issue where Replies and Topics are showing in the same place. I did what you said and the issue is still occurring, any ideas? My Site Also, how can I get the "Replies" and "Topics" to show as a different color? They are unreadable as they are now. Link to comment Share on other sites More sharing options...
newbie LAC Posted December 13, 2013 Author Share Posted December 13, 2013 I am having the same issue where Replies and Topics are showing in the same place. I did what you said and the issue is still occurring, any ideas? Hello, 1 http://nsagamers.com/public/js/nb_posts_tabs/js/jquery.cookie.js Error 406 - Not Acceptable An error has occurred. Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner. 2. Why do you deleted a line? <script src="{$this->settings['public_dir']}js/nb_posts_tabs/js/jquery-1.9.1.js"></script> Also, how can I get the "Replies" and "Topics" to show as a different color? They are unreadable as they are now. http://community.invisionpower.com/topic/387761-nb34-recent-topicsposts/#entry2448800 Link to comment Share on other sites More sharing options...
almax Posted December 13, 2013 Share Posted December 13, 2013 I added the line back in and am still having the issue. Link to comment Share on other sites More sharing options...
newbie LAC Posted December 13, 2013 Author Share Posted December 13, 2013 I added the line back in and am still having the issue.The reason http://nsagamers.com/public/js/nb_posts_tabs/js/jquery.cookie.js Link to comment Share on other sites More sharing options...
almax Posted December 13, 2013 Share Posted December 13, 2013 Any idea how to fix it? Half the stuff I am finding says to disable mod_security through .htaccess, which I tried and it did not work, the other half say to contact the plugin developer to see if they have a fix. Got that fixed. I had to contact my host to disable the rules that were causing the issue. Also, for changing the tab colors. I added the .ui-tabs-active a { color: #ffffff; } to the ipb_styles.css and I am not seeing any change. But I am wondering, won't that only change the color of the active tab? I am looking to change the color of the inactive, on hover, and active. And, is there any way that I can make unread posts/topics show up differently from read posts/topics in the list? Link to comment Share on other sites More sharing options...
newbie LAC Posted December 14, 2013 Author Share Posted December 14, 2013 Also, for changing the tab colors. I added the... to the ipb_styles.css and I am not seeing any change. You have an error /* Recent Topics .ui-tabs-active a { color:#fff } /* Recent Topics Use /* Recent Topics */ or // Recent Topics But I am wondering, won't that only change the color of the active tab? I am looking to change the color of the inactive, on hover, and active. /* For inactive */ .ui-state-default a { color: #000000; } /* For active */ .ui-tabs-active a { color: #ffffff; } /* For hover */ .ui-state-default a:hover { color: #00ff00; } And, is there any way that I can make unread posts/topics show up differently from read posts/topics in the list? Only rewriting the code Link to comment Share on other sites More sharing options...
almax Posted December 14, 2013 Share Posted December 14, 2013 I just thought of something that might be easier, how could I add the new post "pips" in front of each. For example from my site, if a topic has a new post it is green, if you have read the post it is grey. Would it be possible to code those in to your mod where it would show up to the left of the users image, and if so how? EX: Code that adds the dot in front of the topics: <if test="topicIsMoved:|:$imgArray['is_moved']"> <span title="{$this->lang->words['pm_moved']}">{parse replacement="t_moved"}</span> </if> <if test="topicIsClosed:|:$imgArray['is_closed']"> <span title="{$this->lang->words['pm_locked']}">{parse replacement="t_closed"}</span> </if> <if test="topicReadDot:|:$imgArray['show_dot'] && empty( $unreadUrl )">{parse replacement="t_read_dot"}</if> <if test="gotolatestwrap:|: ! empty( $unreadUrl ) && ! $imgArray['is_moved']"> <a href='{$unreadUrl}' title='{$this->lang->words['first_unread_post']}'> <if test="topicUnreadDot:|:$imgArray['show_dot']"> {parse replacement="t_unread_dot"} <else /> {parse replacement="t_unread"} </if> </a> </if> Thank you for your help! Link to comment Share on other sites More sharing options...
almax Posted December 16, 2013 Share Posted December 16, 2013 Oh, and I tried to add that code in exactly, it did not work. Link to comment Share on other sites More sharing options...
newbie LAC Posted December 16, 2013 Author Share Posted December 16, 2013 Hello, Sorry for the late reply I update the hook Now text for unread topics is bold Link to comment Share on other sites More sharing options...
almax Posted December 16, 2013 Share Posted December 16, 2013 Just applied the update, not seeing a difference between read and unread topics. Link to comment Share on other sites More sharing options...
almax Posted December 17, 2013 Share Posted December 17, 2013 Apparently I can not edit my previous post for some reason... Anyhow, I fixed the issue above (uninstalled hook and reinstalled). And with your change I have been able to make it where unread posts show up highlighted as well (I can understand and replicate code most of the time). Thank you for the change! That being said, any way I can make the entire div that contains the user image, topic name, topic location, username, and post time show with the highlight? I was able to get everything BUT the user image to work (I tired about everything I could think of, including the <tr> property that the forums use to highlight forums with new posts, but nothing I tried would work). Link to comment Share on other sites More sharing options...
newbie LAC Posted December 17, 2013 Author Share Posted December 17, 2013 Find <li class='clearfix'>Change to <li class='clearfix<if test="!$r['t_read']"> tpunread</if>'> Then add in ipb_styles.css .tpunread { background: #151515; } Link to comment Share on other sites More sharing options...
almax Posted December 19, 2013 Share Posted December 19, 2013 Works like a charm! Thank you for all the help! Link to comment Share on other sites More sharing options...
Subseven Posted December 19, 2013 Share Posted December 19, 2013 This looks like a nice feature. Link to comment Share on other sites More sharing options...
David Ivashenko Posted December 22, 2013 Share Posted December 22, 2013 Would you mind updating the modification with the following options? Whether to highlight selected bar Toggle various aspects of the module itself like Forum Section, Time, Name Option to bold/indicate which posts are unread I know this can all manually be done by editing the template, but when i update my theme (today), custom changes I make are lost! Any Help? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.