Profile
Personal Photo

No Photo

Options
Custom Title
kjrod98 doesn't have a custom title currently.
Personal Info
Location: No Information
Born: No Information
Website: No Information
Interests
No Information
Other Information
Gender:: Female
Test:: No Information
Statistics
Joined: 01/18/2013
Status: (Offline)
Last Seen: Today at 03:12 pm
Local Time: May 26 2018, 04:26 PM
94 posts (0 per day)
( 0.06% 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

kjrod98

Members

Topics
Posts
Comments
Friends
Video
My Content
Feb 3 2018, 03:41 PM
I made several custom BBCode templates for staff to use on my site, and would like to keep the buttons on the posting form so that we don't have to type them out every time we have to use one of these templates. I also only want my admin group to see them.

As you can see here (click), guests (along with all other groups) are able to see the code buttons as well. I've tried targeting them with javascript, though I'm getting snagged and can't figure it out.

CODE
       <script>
           // Hide custom BBCode Buttons from non-admins, extra comments will be removed once I have this cleaned up and working
           // Accept Tag - #bbcode-buttons input:nth-child(17)
           // Pend Tag - #bbcode-buttons input:nth-child(18)
           // General Template Tag - #bbcode-buttons input:nth-child(19)

           if('<!-- |g_id| -->' != '4') {
               document.getElementById('bbcode-buttons')[17].style.display = 'none';
               document.getElementById('bbcode-buttons')[18].style.display = 'none';
               document.getElementById('bbcode-buttons')[19].style.display = 'none';
           }
           else if('<!-- |g_id| -->' == '4') {
               document.getElementById('bbcode-buttons')[17].style.display = 'inline';
               document.getElementById('bbcode-buttons')[18].style.display = 'inline';
               document.getElementById('bbcode-buttons')[19].style.display = 'inline';
           }
       </script>
Feb 2 2018, 08:33 PM
Would it be possible to make a BBCode or macro that would automatically tag the author of a thread in a post? Could be useful for character acceptance/pending forms where we use a custom BBCode with multimod for easy locking/moving/posting.
Dec 22 2017, 06:56 PM
I'm using a script in place of the more typical forum thread for things like member/faceclaims and whatnot, and have managed to get it to sort in the following ways. Having to edit only one line of code to add a member to more than one list at a time is amazing and I love it and could rave all day about it.

I am having one minor issue, though, that only seems to be an issue on the page that sorts by member group, and then only the group "Brothers of the Black Phoenix", which doesn't appear at all although it should be appearing after those in the faction "Hell" are displayed.

There is one character in that group, Farsot. His info shows up fine on the pages that sort by species and playerm where he shows up as part of Admin Tara's characters and the Angel species as he should. I've double-checked that the "brothers of the black phoenix" under affiliations and the one that I have in the character list are spelled the same, including casing, and they are, but it seems to just vanish on the page that sorts by group.

Sorted by member
Sorted by species
Sorted by group

I can post the code in my webpages if needed, chrome's "inspect" feature isn't showing any errors in the console.
Dec 17 2017, 11:30 AM
Edit: So, turns out I fudged the positioning. Changed it to absolute and bam, problem solved.

Started on the HTML templates for my skin finally, and ran into a bit of an odd issue. The text for the last post in a forum seems to get smooshed over to the right of it's div. I'm trying to get it to be centered in that, but for whatever reason it's being pushed to the right, then centered.

Link to board

-snipping the code out-
Dec 14 2017, 12:26 PM
I'm slowly working on building up a new skin, and want to use the parent_id variable to link to and send pms to parent accounts as I'll be disabling pms for character accounts.

As it is now, an account that does not have a parent account and uses that variable will default to 0. Is it possible to replace the parent_id with that account's own id, instead? There's probably a way to do this with js/jquery but if there is I'm having a brainfart.

Skin's an eyesore, you've been warned
Parent account - parent_id shows 0
Sub account - parent_id shows 1, which is correct
Last Visitors


May 8 2018, 03:23 PM




Apr 6 2018, 05:36 AM




Mar 17 2018, 06:09 PM



Comments
No comments posted.
Add Comment