How to get “resolved” -functionality
-
How to get mark as resolved -funtionality.
-
I try to look at from the setting, if this has been added to bbp style pack, but I didn’t find.
I tried to use Google but I didn’t find page how to add “Reply and mark as resolved” + corresponding dashicon (f147).
I found an issue, which could be improved.
For read/unread post it would be nicer to use dashicons geen adn red f534 for them instead of normal images.You Robin tell how the functionality has been added to this site?
not in style pack, and not in my plans to add at the monent
Ok. But can you give some advice how I could build it myself. This page has the functionality. How it has been done?
Would there be some hook to show information from some field and use information of some field as condition. I could add a field to some table.
Because www.remarpro.com itself use this functionality, it seems quite weird that it doesn’t include to bbPress.
- This reply was modified 5 years, 8 months ago by tapiohuuhaa.
Ok. Thank’s. It is quite different as this forum uses, but functional even if it is quite old. It needed some translations, but that was easy to do.
It would be nicer, if the same solution, which this topic uses could be used. The selector to set the status is in the top of the page, which is not nice. See:
https://www.sanaristikkofoorumi.net/wordpress/forums/topic/natimpi-hakulomake-foorumiosiolle/ (Ratkaistu = Resolved)But I get rendering in the lists OK. I set for resolved in the listing dashicons. But for some weird reasong I didn’t get the text taking no space. Font-size:0!important didn’t work. I must use some tricks (position:relative and negative margins) in order to get nice result.
See the result – this is good at least with Google Chrome:
https://www.sanaristikkofoorumi.net/wordpress/forums/forum/muut-aiheet/wordpress-bbpress/
CSS for it:li.bbp-topic-title span.bbr-resolution-resolved-sticker {font-size:0!important;position:relative;left:-4.5rem;color:transparent;}
span.bbr-resolution-resolved-sticker::after {
color:darkgreen;
content: “\f147”;
font: 400 25px/1 dashicons;
text-shadow:2px 2px 2px darkgray;
position:relative;
top:7px;
width:25px;
display:inline-block;
margin-right:-4.5rem;
overflow:hidden;
}span.bbr-resolution-resolved-sticker:hover::before {
position:absolute;
left:4.5rem;
top:20px;
display:block;
font-size:11px;
color:#fff;
background-color:#333;
padding:3px;
white-space:pre;
content:’Ongelma on ratkaistu’;
font-weight:bold;
border-radius:3px;
-webkit-border-radius:3px;
}I set this CSS to the top of the page (selector for the state of the topic):
.bbr-form-wrapper {height:40px;width:300px;margin-bottom:0.5rem;padding:5px;border:1px solid lightgray; background-color:rgb(234,234,234);}
.bbr-field-wrapper {width:170px important;height:40px;box-sizing:border-box;float:left;padding-top:10px}
.bbr-submit-wrapper {height:40px;width:120px;box-sizing:border-box;float:right;}Is this in your mind nice enough in order to keep this as a permanent solution?
- This reply was modified 5 years, 8 months ago by tapiohuuhaa.
For ordinary visitors it shows just short information on the top of the page. Works well enough. If someone can’t propose a better solution, this can stay as far as it works with bbPress and WordPress.
I modified the plugin. Now it is possible to create in fact four categories for the topics.
https://www.sanaristikkofoorumi.net/wordpress/forums/forum/muut-aiheet/wordpress-bbpress/
Default category doesn’t have an icon but it is possible to set also for it an icon.If someone is interested about my modified version of bbResolutions Plugin, I can put it into Google Drive in order to download. Or can I put it elsewhere?
you could always submit it to wordpress and get them to publish as a plugin.
What about taking account the original author – should I as him first or is it enough inform about the original author?
I would like to add a part of the CSS here ready:
https://www.sanaristikkofoorumi.net/wordpress/forums/topic/merkitse-aihe-ratkaistuksi-toiminnallisuus/Before selector/buttons would be text “Type” and the selector would have options:
* Generic (or should I use “general” instead)
* Guidance (specif type, not just “Not a question” because there is “generic” for undefined topic type)
* Not resolved
* Resolved- This reply was modified 5 years, 8 months ago by tapiohuuhaa.
What about taking account the original author – should I as him first or is it enough inform about the original author?
I’d suggest you ask the original author if he’s add those changes, but as the pluginis released under gpl2, then you can freely copy it add your own code and then lodge as a new plugin, just acknowledge the original author in your readme.txt
ok. The web address, which has been given, is not anymore used. So contact seems not possible.
A small question. How to get the plugin to use a CSS-file?
Of course it can just be as an example to create own.I added includes/function.php, where is a code snippet to for generating CSS
I put also to index.php
require_once(dirname(__FILE__) . ‘/includes/block_direct_access.php’);Nothing happens.
- This reply was modified 5 years, 8 months ago by tapiohuuhaa.
- The topic ‘How to get “resolved” -functionality’ is closed to new replies.