TSP Posted August 8, 2012 Share Posted August 8, 2012 File Name: [DNO33+] Unreplied Topics File Submitter: TSP File Submitted: 07 Aug 2012 File Category: User and Social Engagement With this modification you're able to view topics that've not been replied to on your forum. This is useful for large forums where you want your members to quickly discover such topics and encourage them to be the first to discuss or help out.Main Author: Preben at Mediehuset Tek (Modern version)Features Sidebar hook that can be configured from the ACP How many items to show in sidebar Define amount of minutes or hours it should take to show up in sidebar (So it's not only new topics) Set a global default for forums to ignore Choose member groups that are able to decide forums to ignore themselves A new page styled like a forum with additional filters that are not present in the sidebar hook Installation This hook requires one hook xml-file to be uploaded from the AdminCP. It also includes a file you're expected to upload. If you're unable to do so however, it's possible to skip it. Please read the included readme.txt for all the details.Background: This is a popular feature we've had in a less advanced form on the large IPB-forums we're technically responsible for since 2004. We hope that by sharing some of what we develop it will help us gain new ideas and more insight into developing for the Invision Power Systems. If any other developers have any hints or tips on changes that should be done to the code etc., then please let us know! (An earlier 3.2-version of this is used on Diskusjon.no, but we've not yet upgraded that forum to 3.3.) here to download this file Link to comment Share on other sites More sharing options...
Kurt De Pauw Posted August 8, 2012 Share Posted August 8, 2012 This is cool !!! small question ... where to you change the color of " Unreplied topics " to a white color ? Its dark now Thanks in advance Link to comment Share on other sites More sharing options...
TSP Posted August 8, 2012 Author Share Posted August 8, 2012 This is cool !!! small question ... where to you change the color of " Unreplied topics " to a white color ? Its dark now Thanks in advance Could you provide me a screenshot? Can't say I understand what you're referring to. Looks to me like it's consistent to how titles are shown etc in the default skin. Custom skin? Link to comment Share on other sites More sharing options...
Kurt De Pauw Posted August 9, 2012 Share Posted August 9, 2012 In the box on the right where the box title is "Unreplied topics" the "Unreplied topics" text is dark in my skin ( not all skins ) I could provide a screenshot but the text has been translated and you wouldn't understand :) Link to comment Share on other sites More sharing options...
sonimik1 Posted August 9, 2012 Share Posted August 9, 2012 hi this very useful aplicasion parese me. but I have a question I want users to see only the staff. As you can remove the permissions to other users who are not staff Link to comment Share on other sites More sharing options...
TSP Posted August 9, 2012 Author Share Posted August 9, 2012 I'm not on PC right now, but it's because it's a link to the full page on that title. So the stylesheets haven't considered that someone might wanna add a link in that hook header on board index. Not sure what I can do here without removing the link. What you can do is either remove the link on that title or change the CSS rule so the rule for hook headers also apply when it's a link. I might be more specific when I Get to a PC. Could you post a link to your forum maybe? Link to comment Share on other sites More sharing options...
TSP Posted August 9, 2012 Author Share Posted August 9, 2012 hi this very useful aplicasion parese me. but I have a question I want users to see only the staff. As you can remove the permissions to other users who are not staff So you only want your staff to be able to view the sidebar hook and the page? Link to comment Share on other sites More sharing options...
sonimik1 Posted August 9, 2012 Share Posted August 9, 2012 So you only want your staff to be able to view the sidebar hook and the page? if asin is for moderators and admin have it controlled and those who aid neseciten the staff give my forum. thanks Link to comment Share on other sites More sharing options...
sonimik1 Posted August 9, 2012 Share Posted August 9, 2012 I'm not on PC right now, but it's because it's a link to the full page on that title. So the stylesheets haven't considered that someone might wanna add a link in that hook header on board index. Not sure what I can do here without removing the link. What you can do is either remove the link on that title or change the CSS rule so the rule for hook headers also apply when it's a link. I might be more specific when I Get to a PC. Could you post a link to your forum maybe? http://hackmac.es/ Link to comment Share on other sites More sharing options...
sonimik1 Posted August 10, 2012 Share Posted August 10, 2012 Then you can or not? I would also like to translate it into Spanish Link to comment Share on other sites More sharing options...
sonimik1 Posted August 12, 2012 Share Posted August 12, 2012 I can not put not only for staff menbers or give a permit. I would also like to put it in Spanish but do not know how to translate it. sorry my English is very bad Link to comment Share on other sites More sharing options...
Luis Manson Posted August 12, 2012 Share Posted August 12, 2012 check for all strings starting with fgt_ :) Link to comment Share on other sites More sharing options...
Luis Manson Posted August 12, 2012 Share Posted August 12, 2012 There is an untranslated string in the dnoHookFgtSidebar templateView more {$this->lang->words['fgt_moduleName']} Link to comment Share on other sites More sharing options...
TSP Posted August 13, 2012 Author Share Posted August 13, 2012 http://hackmac.es/ That answer and question was intended for Kurt De Pauw. But it's cool to see other forums that've implemented what I've released. :) I would also like to translate it into Spanish You can, except for some strings that are not translatable at the moment. That will be fixed in future patch releases. Go to manage languages, click into your language and find the language string group named public_dnofgt under the System-tab. As Luis Manson mentioned all the language strings are also prefixed with fgt_ so they are easy to search for. :) I can not put not only for staff menbers or give a permit. sorry my English is very bad Ok. Could you please just answer yes or no to this? Do you confirm that your wish is to be able to limit those who can see the sidebar and the page to just certain groups? I will not promise I will add that feature at the current time, but I will consider it :) There is an untranslated string in the dnoHookFgtSidebar templateView more {$this->lang->words['fgt_moduleName']} Thanks, will be fixed in the next patch release. I'm currently in the mountains on vacation, but will be back in a few days :) Link to comment Share on other sites More sharing options...
PatrickRQ Posted August 14, 2012 Share Posted August 14, 2012 any chance to disable side bar for specified groups? Also, the unreplied topics does not respect users permissions, http://screenshooter.net/8981998/gtpqpcj this is what can see member who is not allowed to see even the topics titles from restricted forum. Should be config on who can use it who not. Link to comment Share on other sites More sharing options...
TSP Posted August 14, 2012 Author Share Posted August 14, 2012 I've released version 1.0.1. It's a small patch release only and includes the following changes No changes have been made to forgot.php, so you only have to upload the hook xml file from the ACP. What's New in Version 1.0 (See full changelog)Added missing lang strings for settings and view more in sidebar Added missing lang strings in the user control panel Removed link to full page from sidebar hook header due to styling problem in many custom skins Removed some currently unused language strings from install Link to comment Share on other sites More sharing options...
TSP Posted August 14, 2012 Author Share Posted August 14, 2012 any chance to disable side bar for specified groups? Also, the unreplied topics does not respect users permissions, http://screenshooter...8981998/gtpqpcj this is what can see member who is not allowed to see even the topics titles from restricted forum. Should be config on who can use it who not. It seems to respect permissions on our board. Could you give me details on what sort of group restrictions and other restrictions you have on the forum? Password protected? etc. It's meant to respect permissions so I'll fix any issues related to it not respecting them. Link to comment Share on other sites More sharing options...
PatrickRQ Posted August 14, 2012 Share Posted August 14, 2012 I mean that the full page as the side bar, should show topics within forums the user has permissions to only. Now it loads all topics where for now it shows topics from forums the user has no rights to. Also, the way you add 'unreplied topics' to navigation menu breaks my lay with some double horizontal line between Policies and unreplied topics: http://screenshooter.net/8981998/gvwikkv why to do not just add it trough forum navigation menu settings? http://screenshooter.net/8981998/dvbjkiq P.S. where is this navigation menu for unreplied topics? I'd like to remove it. Link to comment Share on other sites More sharing options...
TSP Posted August 14, 2012 Author Share Posted August 14, 2012 I believe the navigation menu settings you mention is a part of IP.Content. Which I'm not developing for. P.S. where is this navigation menu for unreplied topics? I'd like to remove it. It's mentioned in the attached readme.txt :smile:* Remove all code (or comment out) from template bit fgtNav found in template group skin_dnohooks I'll look into the permissions issue, we haven't experienced it ourselves. Link to comment Share on other sites More sharing options...
PatrickRQ Posted August 14, 2012 Share Posted August 14, 2012 1. Create forum 2. Set one User Group to be able to see only the forum mentioned in point 1 and nothing else. This means that user can see forum but cannot enter it, cannot see any topic in it and cannot see topics' titles. 3. Create topic with other user that belongs to user group having permissions to forum mentioned in point 1. 4. Now with user from point 2. go to see unreplied topic, you can see topics within forum from point 2 to what user does not have rights. Point is that topics from forums that user have not rights to, shouldn't be even listed. Link to comment Share on other sites More sharing options...
Kurt De Pauw Posted August 15, 2012 Share Posted August 15, 2012 I sent you a PM That answer and question was intended for Kurt De Pauw. But it's cool to see other forums that've implemented what I've released. :smile: You can, except for some strings that are not translatable at the moment. That will be fixed in future patch releases. Go to manage languages, click into your language and find the language string group named public_dnofgt under the System-tab. As Luis Manson mentioned all the language strings are also prefixed with fgt_ so they are easy to search for. :smile: Ok. Could you please just answer yes or no to this? Do you confirm that your wish is to be able to limit those who can see the sidebar and the page to just certain groups? I will not promise I will add that feature at the current time, but I will consider it :smile: Thanks, will be fixed in the next patch release. I'm currently in the mountains on vacation, but will be back in a few days :smile: Link to comment Share on other sites More sharing options...
Zephy Posted August 16, 2012 Share Posted August 16, 2012 Do like this but dont want the link in the top menu - how can I disable that but still use the block? Link to comment Share on other sites More sharing options...
TSP Posted August 17, 2012 Author Share Posted August 17, 2012 4. Now with user from point 2. go to see unreplied topic, you can see topics within forum from point 2 to what user does not have rights. Point is that topics from forums that user have not rights to, shouldn't be even listed. I've made the permission checking stricter on the full page view now. I believe that should solve your problem. Upload the new forgot.php from 1.0.2 Do like this but dont want the link in the top menu - how can I disable that but still use the block? I added a setting for it in 1.0.2 :smile: What's New in Version 1.0.2 (See full changelog)New setting: Whether or not to show link to full page in navigation Full page view is now stricter on permissions. Topics will no longer show if you can't read them, but _can_ view the forum they're in. Link to comment Share on other sites More sharing options...
PatrickRQ Posted August 17, 2012 Share Posted August 17, 2012 Great News! as for me there is only one thing missing, option to set what Group can see the sidebar block for this hook. Would be lovely to have this setting. Link to comment Share on other sites More sharing options...
TIPF Posted August 18, 2012 Share Posted August 18, 2012 Is the 3.2.3 version still available and if so where can I get it? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.