The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Anchor and Jump BBCode! Details »» | |||||||||||||||||||||||||
This hack adds 2 BBCodes to your forum: [anchor] and [jump]
Demo: http://www.socomcity.net/forum/showthread.php?p=7353 Cross-Page Jump Demo: http://www.socomcity.net/forum/index.php (below the header, Latest Glitches Added) [username:test][password:test] (thanks to acidburn0520 ) Functions --------------
Features ------------
Installation ------------------
Hyperlinking Anchors -----------------------------
Key-Shortcuts -----------------------------
Supporters / CoAuthors Show Your Support
|
Comments |
#2
|
|||
|
|||
Very nice, thanks for sharing.
Could you please also provide these instructions in a textfile, so people can keep that for future reference and upgrades. |
#3
|
|||
|
|||
I don't know js that well, so have no clue what that code does. Not using it on my site .. using other bbcodes that works without file modifications.
http://www.vbulletin-tutorials.com/showthread.php?t=2 |
#4
|
|||
|
|||
Quote:
Instructions put in a zipped txt as for Marco's request. Thanks Marco! |
#5
|
||||
|
||||
Oh dear lord. I love you. This is incredible... my website compiles lists of working glitches on various video games. I've moved them all into one post and have always wanted a way so that users could simply click a glitch's name from a list and they would be pointed to the appropriate glitch. Did I mention I love you?
Edit: It makes perfect sense that the hack I've been dreaming of finally arrives and I can't get it to work. Ha! I've cleared my cache, but still no go. I've tried in Firefox, Opera, and Internet Explorer. Will this work across most common browsers, or is it limited to IE only? Perhaps I'm not properly clearing my cache. In Firefox and Opera, there's an option that specifically states, "Clear Cache". However, in IE, there is no similar option. Perhaps an auto-installer isn't such a bad idea... for those of us not gifted with intelligence, lol. :nervous: |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
Oh yes, Acidburn - I forgot to tell you that for your purpose another hack I made might be better - it's called Accordion BBCode: (https://vborg.vbsupport.ru/showthrea...t=76405&page=4)
|
#8
|
||||
|
||||
Well, it's still not working. I've seen the Accordian BBCode before, it's cool, but this BBCode works the best, in my opinion... plus it's like extra super-special cool. I just wish I could get it to work. I've rechecked the BBCode replacements, they're correct... I'm putting the provided code at the bottom of my vbulletin_global.js file.
Code:
tds[i].origclass = tds[i].className; tds[i].swapclass = iif(tds[i].className == "alt1Active", "alt2Active", "alt1Active"); tds[i].onmouseover = activecells_mouseover; tds[i].onmouseout = activecells_mouseout; tds[i].onclick = activecells_click; } break; } } } function jump(a){var b=document.getElementById(a);if(b){var c=b.offsetTop;while(b.offsetParent){c=c+b.offsetParent.offsetTop;b=b.offsetParen t;}var d=document.documentElement;var e;if(c<d.scrollTop){e=-1;}else{e=1;}while(c!==d.scrollTop){scroll(0,d.scrollTop+Math.pow(Math.abs(c-d.scrollTop),1/3)*e);}}else{alert("Jump Error: '"+a+"' does not exist");}} /*======================================================================*\ || #################################################################### || # Downloaded: 15:34, Wed May 4th 2005 || # CVS: $RCSfile: vbulletin_global.js,v $ - $Revision: 1.89 $ || #################################################################### \*======================================================================*/ By the way, I've noticed that when I place the Javascript code into the .js file, some things on my Forum mess up. Like I cannot type in the New Reply box and I cannot click on a drop-down menu. |
#9
|
|||
|
|||
Acid,
Ahhh - figured it out. For some reason the install instructions within the code tags in my post were being screwed up. The code tag added spaces as shown between the n and the t: "b=b.offsetParen t" Now I only have the instructions in the zip attached. Please just download the zipped txt and copy the function from there. Sorry for the inconvenience - I guess code tags aren't suited for pasting in javascript |
#10
|
|||
|
|||
Oh ya - If it does work after copying, please tell me so I can move the hack into the regular section.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|