#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 19, 2019 17:22:50 GMT -8
After fighting, how do the members regain their health? As an admin, am I able to change certain members health? Any time a member posts in a creature thread while a creature is present, and they do not receive any more damage, they will regain 5% of their total health back. You can increase or decrease that amount in the plugins' 'Settings' tab. Second section down titled 'Recovery Rate (%)'. As the sites admin you also have the option to change a member's health directly. If you go to a members profile >> 'Edit Profile', and in 'Staff Options', near to the bottom you should find the members 'Creature Hunt HP'. You can change both their current and their maximum HP there.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 19, 2019 12:44:02 GMT -8
No worries..
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 19, 2019 11:58:14 GMT -8
Thank you so much! It works! Todge one problem. On a threads list that has one page, the pagination doesn't look good: Can you please try this instead.. <script type="text/javascript"> // Change Pagination Layout...
$(document).ready(function(){ var plinks = $('.ui-pagination-slot a'); if(plinks.length == 1 || $(plinks[1]).html() == '') { return; } else { $(plinks[0]).attr('style','border-right: transparent; border-radius: 5px 0px 0px 5px'); $(plinks[0]).parent().css('margin-right','0px'); } for(p=1; p<plinks.length-1; p++) { $(plinks[p]).attr('style','border-left: transparent; border-right: transparent; border-radius: 0px'); if($(plinks[p+1]).html().match(/[\.|\d]/)) { $(plinks[p]).parent().css('margin-right','0px'); } else { break; } } $(plinks[p]).attr('style','border-left: transparent; border-radius: 0px 5px 5px 0px'); }); </script>
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 18, 2019 13:44:52 GMT -8
It sounds like the CSS for your theme is overriding the CSS in the code I gave you.. I see you put the code in your global header instead of the footer, try moving it to the global footer to see if that then will replace the CSS in your theme. I'm afraid it's the same as the above picture. OK.. Can you please try replacing the code I gave you with this modified version... <script type="text/javascript"> // Change Pagination Layout...
$(document).ready(function(){ var plinks = $('.ui-pagination-slot a'); $(plinks[0]).attr('style','border-right: transparent; border-radius: 5px 0px 0px 5px!important'); $(plinks[0]).parent().css('margin-right','0px'); for(p=1; p<plinks.length-1; p++) { $(plinks[p]).attr('style','border-left: transparent!important; border-right: transparent!important; border-radius: 0px!important'); if($(plinks[p+1]).html().match(/[\.|\d]/)) { $(plinks[p]).parent().css('margin-right','0px'); } else { break; } } $(plinks[p]).attr('style','border-left: transparent; border-radius: 0px 5px 5px 0px!important'); }); </script>
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 17, 2019 16:32:25 GMT -8
Not sure if this overrides a board's privacy settings? For example if somebody entered "All" to allow everybody see the post but the board it was posted in is only visible to members, would guests be able to see it or all forum members when logged in? Also, is there a way to make this board specific because I was only wanting to use it for our member blogs board? Thanks Sorry for the delay SafeInSanity, here's a version of the whisper plugin that is restricted to the board(s) you choose...
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 17, 2019 15:51:29 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 17, 2019 9:59:55 GMT -8
Hi @smithj , sorry for the late reply.. Try putting this in you GLOBAL FOOTER... <script type="text/javascript"> // Change Pagination Layout...
$(document).ready(function(){ var plinks = $('.ui-pagination-slot a');
$(plinks[0]).attr('style','border-right: transparent; border-radius: 5px 0px 0px 5px'); $(plinks[0]).parent().css('margin-right','0px');
for(p=1; p<plinks.length-1; p++) { $(plinks[p]).attr('style','border-left: transparent; border-right: transparent; border-radius: 0px'); if($(plinks[p+1]).html().match(/[\.|\d]/)) { $(plinks[p]).parent().css('margin-right','0px'); } else { break; } }
$(plinks[p]).attr('style','border-left: transparent; border-radius: 0px 5px 5px 0px'); }); </script> It makes it closer together, but not in the same circle. It sounds like the CSS for your theme is overriding the CSS in the code I gave you.. I see you put the code in your global header instead of the footer, try moving it to the global footer to see if that then will replace the CSS in your theme.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 16, 2019 16:32:53 GMT -8
Hi @smithj, sorry for the late reply..
Try putting this in you GLOBAL FOOTER...
<script type="text/javascript"> // Change Pagination Layout...
$(document).ready(function(){ var plinks = $('.ui-pagination-slot a'); $(plinks[0]).attr('style','border-right: transparent; border-radius: 5px 0px 0px 5px'); $(plinks[0]).parent().css('margin-right','0px'); for(p=1; p<plinks.length-1; p++) { $(plinks[p]).attr('style','border-left: transparent; border-right: transparent; border-radius: 0px'); if($(plinks[p+1]).html().match(/[\.|\d]/)) { $(plinks[p]).parent().css('margin-right','0px'); } else { break; } } $(plinks[p]).attr('style','border-left: transparent; border-radius: 0px 5px 5px 0px'); }); </script>
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 15, 2019 13:53:42 GMT -8
Todge I absolutely love this plugin! I like it so much that I was thinking of ways to possibly even make it more powerful. Just an idea:Not sure if this would be possible but I was thinking how awesome it would be if you could add an option in plugin's admin area where it allows you to "choose boards"" to add another option below it that would allow you to "choose threads"? (maybe by thread id?) so that we could flip threads by thread id rather than just by board. In case we only wanted to use it in certain threads within a board. just a thought I had this morning when I discovered that I would have a use for it on my forum. 😛 It's certainly possible, but you would lose the current method of selecting the boards you want it to run on, as if you chose a thread that was not in any of the boards you selected the plugin would not work anyway.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 7, 2019 12:23:05 GMT -8
Hi Todge. I managed to get your plugin working on my board. You can see it here in the statistics section.It shows the titles of new threads, but some of them don't link to the correct threads and I don't understand why. For example, I clicked on a link to a user made thread and it took me to a guest advertisement that was recently posted. What gives? Did I do something wrong? Hi, I can see one thread that does not link to the thread named.. There are a couple of reasons this can happen. The plugin has to work out the thread numbers, it does that by keeping count as threads are created, but, as plugins do not currently work on the mobile app, whenever a thread is created using that the plugin then loses count, it can also lose count if one thread is being created while another post is being authored, when the latter post is finally posted the key data will be reset to the point where it was when the second poster started authoring their post. The plugin tries to get around this by checking the latest thread number with the new thread number after it is created, and if it is wrong, will produce a pop-up.. Closing the pop-up should correct the thread number and reset the count, but, if the poster does not physically close the pop-up, by either navigating away or closing their browser then that entry will be incorrect, only being reset the next time a new thread is created, assuming that poster closes the pop-up. I'm afraid their is no way around this as keys can only be written to after a user input, sorry.. But you can remove incorrect entries by clicking on the cog to the right of the Recent Threads title.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 2, 2019 17:40:05 GMT -8
TodgeUnfortunately, it doesn't appear to be working still. Also, a question - if Staff A adds in an admin note, then Staff B edits that post, does the admin note disappear because it is only saved to Staff A's local storage? And/or can Staff B edit the note Staff A made? Perhaps a key would help? Any staff member that is able to edit the post should also be able to change or remove the admin note, and this plugin was made this way specifically so that it would not require a key, so I'd like to try and fix it, if possible, before I resort to that. Can you please try this version... If the plugin is working you should get a pop-up displaying the admin note when you edit a post containing one. Can you please let me know that you are getting the pop-up and what it contains. Thanks.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Feb 2, 2019 5:50:20 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Jan 31, 2019 15:36:06 GMT -8
What browser are you using? I ask because some browsers have separate settings for Web Storage and Cookies.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Jan 31, 2019 15:08:08 GMT -8
Extra cell doesn't work. I keep trying to add a cell named Links, but it won't show neither the top, mid, nor bottom. Hmm.. Can you please post or PM a link to your forum please so I can take a look. Thanks.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,286
January 2004
todge
|
Post by Todge on Jan 31, 2019 14:57:13 GMT -8
TodgeYes, a few. They aren't public ones, though, but rather ones made for my site specifically. I will disable all the plugins I can think of that affect the page and see if the issue persists, and go from there Okay, I disabled post templates by Peter, thread title limit by... I forget who, might've been you... post outfits by Peter, and word counter by Chris. That's all the plugins that I think affect the posting page. The issue does unfortunately appear to persist This plugin uses web storage to remember the note to re-apply it when you edit a post. Do you have that option enabled in your browser?
|
|