hey can i get some help ;o sorry to have to ask

Started by supernova777, June 25, 2017, 07:44:39 PM

Previous topic - Next topic

supernova777

im running 2.0.14 over at my site http://www.oldschooldaw.com
i had keybinds set up for moving through threads.. with the left + right keys
jumping forward or backward to the next/prev posts...
i did this by attaching a pre-existing javascript library called mousetrap.js
https://craig.is/killing/mice
i attached this library and used this code to "envoke it"

QuoteMousetrap.bind('left', onLeft_keyDown, 'keydown');   
Mousetrap.bind('right', onRight_keyDown, 'keydown');
function onLeft_keyDown() { GoToLocation(document.getElementById("prev").href); }
function onRight_keyDown() { GoToLocation(document.getElementById("next").href); }
function GoToLocation(url) { window.location=url; }

the keybinds were working 100% for forever but now.. something happened
and it also affected my youtube embed bbc code on my site..
its happened before and then started working again by itself at a later date somehow magically
im not quite sure if the smf code autoupdates itself in a way?? im completely clueless as to how
this happened im just describing what i think i observed.

im also trying to customize the display of my forum to remove redunandant info
seeing as most of hte posts on my site are done by myself id like to remove the
"Started by: Author name" that appears under each post in the index page:
http://www.oldschooldaw.com/forums/index.php?board=1.0

if someone can help me make these small powerful edits to my code
id be really appreciative :) :)

Advertisement: