Pages: (2) 1 2  ( Go to first unread post ) Add ReplyNew TopicNew Poll

 Odds and Ends Scripts, taking requests since I need sO mUcH practice
#
Ah, my bad. Our Recent Topics clip is down in the footer/board stats area beneath "Today's Topics". In which it's completely blank. xD Will update and see if it does anything.

EDIT: ... I see what the issue is. If all of the "recent topics" are from forums you have hidden, it just shows nothing, like a display:none; effect rather than bumping the topics from the forums you DO want displayed up. Hahaha..

This post has been edited by Ekko: Oct 24 2017, 02:24 PM

signature
user posted image
PM
#
JC Ink has a hard limit of 15 recent topics, so if the 15 most recent posts are all from excluded forums then it will show up as blank. Make sure to adjust the maximum setting in System Settings > Topics Posts & Polls
PM
#
Dusty

I have tried saving your codes and just wanted to know if I am doing something wrong, specifically with quote and code boxes.

When I paste the code into the wrapper with <script> tags, it works perfectly but I tried creating a .js file with Notepad++ to load into the file manager, but if I do that, it stops working and I'm not sure why.

Am I missing something or is it not possible to upload and link that script?
PM
#
Link me to ya' page boyyo
PM
#
Dusty - Loving the shoutbox, it's perfect!
PM
#
Dusty -Found an error with the shoutbox, it won't parse messages if member group prefix/suffix have span tags or other styling in them.

The site
Member group styling, they're all the same, just different classnames.
CODE
<span class='admin'></span>


At first I thought it was the double quotes, so I switched them to single quotes and no change after I cleared the cbox of the original offending posts.

As you can see on my test board I have the cbox working as intended, with no member group styling and the exact same skin/webpage setup.
PM
#
Oh neat kjrod98 ! That's an easy fix, I think, depending on what kind of functionality you were looking for. Were you hoping to have the suffix/prefixes ported into the jq-box alongside the name, so that your name would be, in this case, pink?

For a temporary fix, this is just a selector mixup, and you shooould be able to fix it by editing line 173
CODE
   $(temp).find('div span').each(function() {


and change it to

CODE
   $(temp).find('div span:not(b span)').each(function() {


Also, now that I'm looking at my older scripts.. holy mudda of terrible coding practices.

This post has been edited by Dusty: Jan 6 2018, 02:32 AM
PM
#
Dusty - I just needed it working, so the temporary fix works perfectly. I actually hadn't thought of making the member group styles apply to the cbox, could be neat to do if my other members wanted it but I'm fine either way.

Being able to see our own mistakes is a good thing! I know I cringed when looking through my old skins for a piece of code to use on this one, myself.
PM
#
kjrod98

All fixed and uploaded to github! The latest script avoids using the :not selector, and adds an extra setting to use the logged-in member username complete with member group prefix and suffix.
PM
#
QUOTE (Dusty @ Jan 6 2018, 02:38 PM)
kjrod98

All fixed and uploaded to github! The latest script avoids using the :not selector, and adds an extra setting to use the logged-in member username complete with member group prefix and suffix.

Tested and it works quite nicely.

user posted image
PM
#
Love the recent topics filter!! Using it on my board <3

signature
user posted imageuser posted imageuser posted image
user posted image
"you do know I have the worst memory in the high desert right"
"that's a lie, you just fill your memory with all things BTACD related"
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | Feedback and Discussion | Next Newest »

OptionsPages: (2) 1 2  Add ReplyNew TopicNew Poll