onlyME Posted September 13, 2011 Share Posted September 13, 2011 File Name: (Bim) X New Topics File Submitter: onlyME File Submitted: 13 Sep 2011 File Category: Integration Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x - Show NEW TOPICS OR NEW POSTS in board index/sidebar - There are 4 blocks, each block can select multiple forums, can set title (name) for each block. - Enable / disable user's name and avatarI just added a hook to the sidebar for those who need it. Plz redownload. here to download this file Link to comment Share on other sites More sharing options...
Cybero Posted October 26, 2011 Share Posted October 26, 2011 Hello, I have a little problem with this hook: when you click on the button to collapse a box, only the first item disappears... Link to comment Share on other sites More sharing options...
Richard.C Posted October 26, 2011 Share Posted October 26, 2011 just to clarify, you can install either the board index hook OR the sidebar hook, not BOTH.great mod, thanks Mr ME on the next update, can you add the option of being able to display the board index hook on forum/subforum/topic display and make the whole thing collapsible also, when selecting 'view NEW TOPICS' = No, can you also have the option of # go to latest post (page__view__getlastpost) or # view all new posts (page__view__unread) (settable in ACP)? regards Rich. Link to comment Share on other sites More sharing options...
demoneyezer Posted October 26, 2011 Share Posted October 26, 2011 This looks interesting ! Thanks a lot mate ! ;) Link to comment Share on other sites More sharing options...
Richard.C Posted October 26, 2011 Share Posted October 26, 2011 problem, hook does not respect group permissions. I just viewed my test forum as a guest and all topic titles were visible (most of our test forum topics/titles are admin viewable only) so I know this is not right. regards Richard Link to comment Share on other sites More sharing options...
Richard.C Posted November 1, 2011 Share Posted November 1, 2011 *bump* for group permissions to be urgently added, it has none. Guests and other groups can see topic titles that they aren't supposed to! Link to comment Share on other sites More sharing options...
Richard.C Posted November 7, 2011 Share Posted November 7, 2011 when are you going to address the issue of permissions with this mod? Link to comment Share on other sites More sharing options...
Richard.C Posted November 10, 2011 Share Posted November 10, 2011 Last Active Today, 05:06 PM If you are not going to address the permissions issue, please say so, so I can uninstall this mod. Currently it represents a bit of a problem in displaying information that some member groups should not see. RSVP cheers Richard Link to comment Share on other sites More sharing options...
onlyME Posted November 19, 2011 Author Share Posted November 19, 2011 If you are not going to address the permissions issue, please say so, so I can uninstall this mod. Currently it represents a bit of a problem in displaying information that some member groups should not see. RSVP cheers Richard I will release a new version in a few days Link to comment Share on other sites More sharing options...
Richard.C Posted November 19, 2011 Share Posted November 19, 2011 I will release a new version in a few days thank you :) Link to comment Share on other sites More sharing options...
onlyME Posted November 20, 2011 Author Share Posted November 20, 2011 I recently updated version 2.0.0Changelog:Rewrite the code, remove the redundant code. Fixed group permissions. Fixed collapse in sidebar. Added option go to latest post (getlastpost) if 'DISPLAY NEW TOPIC' is NO, otherwise will view all new posts (getnewpost). Link to comment Share on other sites More sharing options...
Richard.C Posted November 20, 2011 Share Posted November 20, 2011 I recently updated version 2.0.0 Changelog: Rewrite the code, remove the redundant code. Fixed group permissions. Fixed collapse in sidebar. Added option go to latest post (getlastpost) if 'DISPLAY NEW TOPIC' is NO, otherwise will view all new posts (getnewpost). thanks for the update :smile: can you edit the hook slightly? if you look at the screen shot, there is a <br> that is causing an extra line when not displaying icon + nickname I think it's this one here: {$icon} <a href='{$row['bim_url']}' title="{$row['title']}">{$row['bim_name']}</a><br> <span class='desc ipsType_smaller'>{$row['bim_username']}</span> can you change things so the 'br' is not used when ACP is set to "Display member's avatar and their nickname? = NO" ? everything else is working perfectly :) Richard PS, in the hook xml, you might want to remove/change the 'hook_website' ;) Link to comment Share on other sites More sharing options...
onlyME Posted November 20, 2011 Author Share Posted November 20, 2011 thanks for the update :smile: can you edit the hook slightly? if you look at the screen shot, there is a <br> that is causing an extra line when not displaying icon + nickname I think it's this one here: &nbsp;{$icon} <a href='{$row['bim_url']}' title="{$row['title']}">{$row['bim_name']}</a><br> &nbsp;<span class='desc ipsType_smaller'>{$row['bim_username']}</span> can you change things so the 'br' is not used when ACP is set to "Display member's avatar and their nickname? = NO" ? everything else is working perfectly :) Richard PS, in the hook xml, you might want to remove/change the 'hook_website' ;) oh, you can temporarily fix it, otherwise I will update when i come back home. Ps: what you mean zuzu.vn? if you have time and not care about inconvenience, join it to discussion about ipb with only a few members who talk english very very bad but talkactive, spam... I did not have time to manage their activities :D :) just kidding... :P Link to comment Share on other sites More sharing options...
Richard.C Posted November 20, 2011 Share Posted November 20, 2011 I removed the BR from the xml - but a fix for everyone would be nice (at your convenience) zuzu has some content that would be frowned on by IPS, I would not like to see you banned for their activities, I will PM you :) Link to comment Share on other sites More sharing options...
Digityman Posted November 21, 2011 Share Posted November 21, 2011 Bug Found: Recent Topics shows the latest poster in the topic instead of the topic starter. So whoever posted last in that thread, their user name and avatar are displayed. That can get pretty confusing. If that was intended or made an option ? ? ACP Setting Could Be: If [SHOW TOPIC STARTER] = Yes, [SHOW TOPIC STARTER] ELSE if [SHOW LAST POSTER] = YES, [SHOW LAST POSER] Link to comment Share on other sites More sharing options...
onlyME Posted November 21, 2011 Author Share Posted November 21, 2011 Bug Found: Recent Topics shows the latest poster in the topic instead of the topic starter. So whoever posted last in that thread, their user name and avatar are displayed. That can get pretty confusing. If that was intended or made an option ? ? ACP Setting Could Be: If [SHOW TOPIC STARTER] = Yes, [SHOW TOPIC STARTER] ELSE if [SHOW LAST POSTER] = YES, [SHOW LAST POSER] i'll check this... maybe after a few day, i'm traveling :) Link to comment Share on other sites More sharing options...
onlyME Posted November 21, 2011 Author Share Posted November 21, 2011 Hi all, please re-download to fix some bug :D What's New in Version 2.0.0 (See full changelog)Rewrite the code, remove the redundant code. Fixed group permissions. Fixed collapse in sidebar. Fixed display wrong username & avatar. Using getlastpost if 'DISPLAY NEW TOPIC' is NO. Link to comment Share on other sites More sharing options...
bronco93 Posted November 27, 2011 Share Posted November 27, 2011 Brilliant mod thanks. Is there a way to have it so it includes the date/time the post was made? Thanks. Link to comment Share on other sites More sharing options...
onlyME Posted November 27, 2011 Author Share Posted November 27, 2011 Brilliant mod thanks. Is there a way to have it so it includes the date/time the post was made? Thanks. Hi bronco93, plz re-download (Bim) X New Topics 2.0.0 (fix3).zip and re-import the hook. Date/time will be displayed when mouseover topic title. Link to comment Share on other sites More sharing options...
bronco93 Posted November 27, 2011 Share Posted November 27, 2011 Thanks for adding it but it has messed up the layout. There is now a gap between the title and the author that wasn't there before. Here's a screenshot" alt="" class="ipsImage" width="1000" height="253"> Link to comment Share on other sites More sharing options...
onlyME Posted November 27, 2011 Author Share Posted November 27, 2011 Thanks for adding it but it has messed up the layout. There is now a gap between the title and the author that wasn't there before. Here's a screenshot " alt="" class="ipsImage" width="1000" height="253"> Open hooks/bim_xnewtopics...php find {$icon} <a href='{$row['bim_url']}' data-tooltip="{$row['title']}<br>{$xdate}">{$row['bim_name']}</a><br> remove <br> at the end. Link to comment Share on other sites More sharing options...
bronco93 Posted November 27, 2011 Share Posted November 27, 2011 Brilliant, thank you very much :) Link to comment Share on other sites More sharing options...
Digityman Posted November 28, 2011 Share Posted November 28, 2011 @OnlyME When expanding the the truncate to 60 (to show longer titles, the second line of the title gets spaced right next to the avatar instead of starting underneith row['bim_name'] = IPSText::truncate( $row['title'], 60 ); is there a way to add padding around the avatar to stop this from happening? See screen shot Link to comment Share on other sites More sharing options...
Digityman Posted November 28, 2011 Share Posted November 28, 2011 Sorry - a follow-up to ^^^ Is there a way to add what forum the topic was posted in? For example the first one in the screen shot - add in what's red below. Muller to replace Mauricehf101 in Philadelpha Flyers Link to comment Share on other sites More sharing options...
onlyME Posted November 29, 2011 Author Share Posted November 29, 2011 Find$row['bim_username'] = " <span class='desc ipsType_smaller'>{$row['bim_makeuser']}</span>";[/CODE] Replace with: [CODE]$row['bim_username'] = "<span class='desc ipsType_smaller'>{$row['bim_makeuser']}</span>"; Find: $row['bim_html'] = "<ul class='ipsList_withminiphoto'> <li class=clearfix> {$row['bim_avatar']} {$icon} <a href='{$row['bim_url']}' data-tooltip="{$row['title']}<br>{$xdate}">{$row['bim_name']}</a><br> {$row['bim_username']} </li> </ul>"; Replace with: $row['bim_html'] = "<ul class='ipsList_withminiphoto'> <li class=clearfix> <p class='ipsUserPhotoLink left'>{$row['bim_avatar']}</p> <div class=list_content>{$icon} <a href='{$row['bim_url']}' data-tooltip="{$row['title']}<br>{$xdate}">{$row['bim_name']}</a><br> {$row['bim_username']}</div> </li> </ul>"; Sorry - a follow-up to ^^^ Is there a way to add what forum the topic was posted in? For example the first one in the screen shot - add in what's red below. Muller to replace Maurice [size=2]hf101[/size] [size=2][color=#ff0000]in Philadelpha Flyers[/color][/size] No, it's necessary :smile: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.