|
Post by Kenshin on Apr 6, 2005 15:16:13 GMT -8
Main Footer: <script type="text/javascript"> <!-- // Created By Himura - AnimeUni.net // vBulletin Style Create New Thread - ProBoards Style Version //Compatibility: Cross-Browser
Object = document.getElementsByTagName('TD'); for(x=0;x<Object.length;x++){ if(Object[x].width=="66%"){ Object[x].innerHTML+='<br /><br /><a href="'+Object[x].getElementsByTagName('A')[1].href+'&action=post">[ New Thread ]</a>' } }
//--> </script>
Preview: staffcol.proboards30.com/index.cgiIt ads a link to create a New Thread under your board descritpion just like vBulletin Enjoy
|
|
|
Post by KunaiFlame on Apr 6, 2005 15:40:01 GMT -8
Hey,nice code.For a second there,it seemed longer than it should have,then I realized that you had the "for(){}" loop in there.Great job.
|
|
|
Post by CD on Apr 6, 2005 16:15:18 GMT -8
Nice. I don't use vBulletin, so I can't say how accurate it is, but its still nice. You should code it to add a "New Poll" option also.
|
|
|
Post by Kenshin on Apr 6, 2005 17:31:25 GMT -8
I'll make that code later,ok ^_~
|
|
|
Post by Marty on Apr 6, 2005 18:31:40 GMT -8
I made a code exactly like this as a request a long time ago! I did mine exactly the same way, except I made two variables so users could change the [ and ] to something else if they wanted. Edit: In fact, I even posted it here. LinkGreat job on the code anyway.
Last Edit: Apr 6, 2005 18:35:00 GMT -8 by Marty
|
|
100%
|
Post by Aaron on Apr 6, 2005 19:54:38 GMT -8
Yeah nice work.
Maybe have the link in between "[" and "]". Makes it look cooler.
Also a suggestion if you ever make a better version of the code:
Have it align align to the right as if in a new td, just like a vB (Zero Tolerance's vB).
|
|
|
Post by Hamirick on Apr 7, 2005 11:29:54 GMT -8
Nice code... very close to VB look ... i'm sure with a few simple mods by whoever uses the and it'll look even more like VB... nice job .
|
|
|
Post by Kenshin on Apr 7, 2005 12:37:56 GMT -8
Marty, I studied your code awhile back and tried other methods to grab the board link, but I couldn't think of any =/ so if ya want me to remove the code I will...
|
|
|
Post by Marty on Apr 7, 2005 13:09:21 GMT -8
Marty, I studied your code awhile back and tried other methods to grab the board link, but I couldn't think of any =/ so if ya want me to remove the code I will... Nah, it's ok, I don't mind. Take some of the suggestions from this thread and improve the code. Then I'll add it to the index.
|
|
|
Post by CrAzY_J on Apr 7, 2005 13:17:16 GMT -8
Yeah nice work. Maybe have the link in between "[" and "]". Makes it look cooler. Also a suggestion if you ever make a better version of the code: Have it align align to the right as if in a new td, just like a vB (Zero Tolerance's vB). a new TD will screw stuff up. he can just use a DIV tag
|
|