Profile
Personal Photo

No Photo

Options
Custom Title
spooky skeleton
Personal Info
Location: Hell, AZ
Born: 13 June 1991
Website: No Information
Interests
No Information
Other Information
Gender:: Female
Test:: No Information
Statistics
Joined: 11/22/2013
Status: (Offline)
Last Seen: Jun 13 2018, 12:08 AM
Local Time: Jun 21 2018, 04:04 AM
29 posts (0 per day)
( 0.02% 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

croixbones

Members

Topics
Posts
Comments
Friends
Video
My Content
Mar 23 2018, 03:13 AM
I was wondering if someone could help me with a script I'm using on my board. Although it's not something that's created by Jcink, I know there's a lot of people in the General Support forum that know way more JavaScript than me (my knowledge of scripting is about 0). And I know this is a popular script that many sites use, so they may have the same question as I do.

If this isn't the proper place to ask this questions just let me know. I'll preface this by saying that I've already contacted the creator of the script but I haven't heard anything back yet.

I am using a push menu script created by MERC (link to script) and I noticed that when I first load my board I see that the state of the push menu is set to "Undefined", which shows up in my menu bar:



It's supposed to show an icon from Font Awesome:



but I'm guessing it shows undefined as default because the user hasn't selected an option (open or closed menu bar) when they first visit the site (after leaving the menu bar open or closed the script leaves a cookie for the user to remember the option that was last selected).

I was wondering if there's anything I could add or change the script so that would choose the open option automatically instead of showing "Undefined" in the menu bar area?

Additionally, I did edit the script Merc is using to show icons instead of the default "Open" or "Closed" text that they have on their test site. My board is located at: http://muerte.jcink.net/ (I haven't opened yet because I am still working on the skin). I've copied my edits below:

CODE
<script>
/*****************
Put this just before the body tag ends but
above the push-menu div. You can delete this
when you are done.
*****************/
$(document).ready(function(){

var $body = $('body'),
    $btn = $('#push-menu-toggle'),
    $menu = $('#push-menu'),
    menu_state = $.cookie('my_cookie_name'),
    viewportX = $(window).width();

var cookieValue = $.cookie('my_cookie_name');

if ( cookieValue === '<span title="Show Sidebar" class="fas fa-chevron-circle-right"></span>' ) {
  $body.addClass('small-menu');
} else {
  $body.removeClass('small-menu');
}
 
$.cookie('my_cookie_name', menu_state);

$('.cookie-is').find('em').remove();
$('.cookie-is').prepend().html( '<em>' + $.cookie('my_cookie_name') + '</em>');
   
$btn.click(function(){
     
  $body.toggleClass('small-menu');
 
  $.removeCookie('my_cookie_name');
 
  if ( $body.hasClass('small-menu') ) {
    menu_state = '<span title="Show Sidebar" class="fas fa-chevron-circle-right"></span>';
  } else {
    menu_state = '<span title="Hide Sidebar" class="fas fa-chevron-circle-left"></span>';
  }
 
  $.cookie('my_cookie_name', menu_state);

  $('.cookie-is').find('em').remove();
  $('.cookie-is').prepend().html( '<em>' + $.cookie('my_cookie_name') + '</em>');
});

});
/*****************
Find more cookie resources at:
http://mercdoescookies.jcink.net
*****************/
</script>
Dec 12 2017, 11:37 PM
I was wondering if a variable could be added for the forum row so that I'd be able to show post icons from the index page. I noticed that the <!-- |posticon| --> variable will show up for topic rows and post rows, but not the forum rows.

The reason why it's needed for me is because the site I help admin was planning on using the post icons to include common tags for posts, like the trigger warning [tw] tag. And while you'd be able to see the post icon in the topic and post rows, if someone was clicking a thread from the index they wouldn't realize it was triggering until after they clicked on the thread because they wouldn't see that post icon. And because we want a safe and welcoming environment for our members, this is no bueno.

As far as I could tell, this wasn't an option and I was wondering if it could be?
Sep 21 2017, 09:07 PM
I've had a problem ever since I enabled Quick Edit on my board, Quick Edit just refuses to work.

I thought it was because my Custom HTML Templates had tables (including the mini profile), but I went back and meticulously removed all tables from my code and it's still not working.

My board is located here (it's not open yet)
Nov 8 2016, 04:55 PM
Hi! I was hoping someone might be able to help me. I'm switching from Black's CFS over to the HTML Templates. I'm trying to hide empty fields using the code from here.

But I realized this won't work because the empty fields will not default to N/A anymore, they are blank instead. Until a default value for empty fields is possibly implemented I was wondering if there was a script I could use that would act like the naremove script I had been using.

Basically I want to be able to hide or remove an entire class if the field is left empty.
Mar 9 2016, 09:09 PM
Last night I had an issue with a member and ended up having to ban the account. This next part was probably my mistake: after I banned the account and IP, I went and deleted the account.

Now, the IP for the banned account is still banned but the account has mysteriously returned, this time under a different name. Please correct me if I'm wrong, but what I think happened was that the deleted account, let's call "Abe" was deleted and the new account, let's call "Bart" has taken over Abe's member ID. The IP addresses for Abe and Bart are completely different and I don't believe them to be the same person due to the reasons why Abe was banned.

The problem is that my PM's with Abe is now showing that I'm having a conversation with Bart (the new account). So what I'm wondering is if Bart can now see those conversations? Which would be a huge problem, since the contents of those PM's were the reasons why Abe was banned.

Please let me know if this all makes sense or if you need any more information from me. I'm pretty confused by it all as well.
Last Visitors


Mar 27 2018, 01:42 PM




Mar 25 2018, 06:04 PM




Mar 24 2018, 04:28 PM



Comments
No comments posted.
Add Comment