Profile
Personal Photo

No Photo

Options
Custom Title
Eternal Scout
Personal Info
Location: [redacted]
Born: 11 October 1990
Interests
No Information
Other Information
Test: <b>test</b>
Statistics
Joined: 09/06/2012
Status: (Offline)
Last Seen: Yesterday at 08:46 pm
Local Time: Jun 23 2017, 03:39 PM
2102 posts (1.2 per day)
( 0.99% 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

owl

Members

Topics
Posts
Comments
Friends
Video
My Content
Jun 5 2017, 01:10 PM
For some reason all of the Javascript in my header just up and stopped working.

CODE
snipped


This includes:

1. A cbox toggle that moves the rest of the board depending on the state of the toggle.
2. A code to re-route people using the wrong domain.
3. A code to auto-track most of the threads on our site.

Script in our footer includes:

1. Hiding empty sections of our profile
2. Styling our tooltips
3. Appending our recent topics feature

And those all seem to be working.

Not really sure what's up, but I'm hoping there's some sort of typo I'm not picking up on because I don't have a good grasp on Javascript. Any help would be much appreciated. This is regarding the site linked in my signature.


edited


Changing my code to this seemed to make it work: (added that </script><script> to it)
CODE
<script>function sideToggle(){var a=document.getElementById("sidebar"),b=document.getElementById("sidebarHandle"),c=document.getElementById("wrapper");"0px"==a.style.right?(a.style.right="-275px",b.style.right="0px",c.style.margin="0px",localStorage.setItem("sidebarState","false")):(a.style.right="0px",b.style.right="0px",c.style.margin="0 219px 0 0px",localStorage.setItem("sidebarState","true"))}var desireddomain="tedison.space";null===window.location.href.match(new RegExp("^http://"+desireddomain))&&(document.location=window.location.href.replace(/^http:\/\/.*\//i,"http://"+desireddomain+"/"))</script><script>if (typeof no_track === 'undefined') {
$(document).ready(function(){$("input[name=enabletrack]").length>0&&$("input[name=enabletrack]").attr("checked","checked")});
} else {
$(document).ready(function(){$("input[name=enabletrack]").length>0&&$("input[name=enabletrack]").attr("checked","")});
}</script>


Do these have to be separated as such to continue functioning?
Jun 2 2017, 06:13 PM
So I have a code that allows for all threads a member interacts with to automatically be tracked and it's fantastic. We get way less problems with members forgetting threads. That being said, there is one section (the game section) that tends to just spam members with alerts, because it's always jumping. Is there a way to hide alerts from a specific forum, or a way to edit my code so that it works everywhere but a specific form? Or another code I can add to the rules section of that forum to disrupt this behavior? Is there a setting I missed that could be applied to exclude certain forums from being track-able?

I don't know much about Javascript but I believe this is the relevant part, and is currently in my site's <head> area:

CODE
$(document).ready(function(){$("input[name=enabletrack]").length>0&&$("input[name=enabletrack]").attr("checked","checked")});
May 25 2017, 08:53 PM
I've provided a screenshot and this is the link I'm looking at in case it helps explain my issue. Basically, though I've just submitted a reason for the rep change, the reason itself isn't appearing to me. I thought I might have accidentally hidden something with CSS but when I looked in the source code it doesn't seem like there's any info there to hide. I tried looking in the rep options in the ACP but I couldn't find anything. I suspect I'm just missing something right in front of my face, but any help is much appreciated.
May 20 2017, 11:11 PM
Here's my mobile site, as an example and you can see I've put my chat up there which is snazzy (I love that macro, and it's a million times better than nothing) but it would be helpful to move the chat to the bottom of the site, so that mobile users didn't have to scroll past it on every page. Having an additional macro that interjects things at the bottom (maybe directly before the copyright notice) would be extremely helpful.

Alternatively, is there some Javascript that would accomplish something similar? I tried to append it to the bottom with #boardstats as a test (since, had it worked, it would have only done so on the index, but I figured I'd work out something from there) but I couldn't get it to work. Then again, I can't rule out that it just might be that I've made some sort of mistake cause historically append and I rarely see eye to eye for some unknowable reason.
Thanks for reading. http://files.b1.jcink.com/html/emoticons/smile.gif
May 19 2017, 02:11 PM
Last Visitors


Jun 20 2017, 11:24 PM




Jun 20 2017, 06:02 AM




Jun 11 2017, 01:30 PM



Comments
owl
Hey there! I run both martian.jcink.net (which is a sort of speculative fiction-esque sci-fi site) and nightvale.jcink.net (which is based on the podcast o the same name). Both are linked in my signature. ^^ Sorry I took so long to notice this.
Jan 7 2015, 03:52 PM
Smokey
Hi there! :) Just curious as to what your forum URL is and what it's about? ^_^
Jul 23 2014, 02:58 PM
Add Comment