Profile
Personal Photo

No Photo

Options
Custom Title
oh no what am i doing
Personal Info
Location: NE USA
Born: 1 January 1994
Website: No Information
Interests
No Information
Other Information
Gender:: Male
Test:: No Information
Statistics
Joined: 06/23/2014
Status: (Offline)
Last Seen: Sep 9 2017, 11:18 PM
Local Time: Sep 23 2017, 10:19 PM
485 posts (0.4 per day)
( 0.22% of total forum posts )
Contact Information
AIM No Information
Yahoo No Information
GTalk No Information
MSN No Information
SKYPE No Information
Unread Message Message: Click here
Unread Message Email: Private
Signature
View Signature

Dusty

Members

Topics
Posts
Comments
Friends
Video
My Content
Aug 12 2017, 05:15 PM
Hi there,

Does the <!-- |avatar| --> variable not resolve on custom webpages? Additionally, is there such a thing as <!-- |avatar_url| -->?
Jul 16 2017, 03:16 AM
Hi there. Didn't like the idea of starting separate new threads, so I'm just going to start dumping all of my itty bitty scripts in here as they're created.


Mobile-friendly quote/code highlight and copy
CSS transitions friendly
Fixes redundant #QUOTE/#CODE IDs

Download (GitHub)


JQuery recent topics filter/non-index cache
Filters and excludes topics by forum ID
Tooltip compatible, tooltip hover contains timestamp
Stock, parses into <li> elements
Updates on index page visit

Example courtesy of Delphi
Download (GitHub)


JQuery shout-box adaptation
Expanded styling (user specific, etc)
Filtered doHTML/JC Ink BB code (prevents script execution/etc)
Audio notifications
Auto-refresh and manual refresh
Not iframe based

Download (GitHub)


JS image to div conversion
Replaces award images with divs for use with spritesheets
Can also be used to target member-list group icons, etc
Saves load time on sites that have high award usage
Image's src becomes its classname, title is retained
CODE
// Image to DIV awards, Dusty@forum.jcink.com
var imgs = document.querySelectorAll('.pbaward img');
for (var i = 0; i < imgs.length; i++) {
 var isrc = imgs[i].getAttribute('src'),
   ititle = imgs[i].getAttribute('title'),
   nu = document.createElement('div');
   nu.className = isrc
   nu.setAttribute('title', ititle)
   imgs[i].parentNode.replaceChild(nu, imgs[i]);
}

Jul 4 2017, 06:17 PM
Hi there,

Think it's possible to crank up the allowable options for the member list display? Unfortunately it's not possible to provide an out-of-bounds number in the form to display any more than 50, but if it were possible it'd make some scripting much easier.
May 15 2017, 03:58 PM


Post Drafting:








This script appends post drafting options to the posting form for new topics and new posts (no polls yet, because I forgot they exit until literally just now), and can save, load, and organize drafts from the UCP notepad - topic drafts will show up when you're creating a new topic, and post drafts will show up when you're creating a new post. It does not yet feature auto-saving, so it's probably more a novelty than not, buuuut that can come in the future if it's needed.

The only usage concern is that, in order to have full topic draft functionality (inserting title/description as well as the body), you'll need to disable the file attachment system.

As for the notepad itself, it should preserve any non-draft content, so you needn't worry about purging member notepads. Lemme know if you have any trouble!

JQuery drafting (GitHub)
May 11 2017, 03:30 AM
Hi there,

Was putting the final touches to a post saving script, and I've discovered I absolutely cannot for the life of me interact with the topic title or topic description input fields. Debugging console is showing a plain 'operation is insecure' no matter what I try - whether it be a val statement or a remove. I can't even set CSS styles on it. What gives?
Last Visitors


Sep 18 2017, 05:07 PM




Sep 4 2017, 12:27 PM




Aug 4 2017, 09:03 PM



Comments
No comments posted.
Add Comment