|
Post by Scott on Sept 24, 2005 4:24:48 GMT -7
yeah, I need to edit the info center code below the... //Carefull when Editing Anything Below This Line because I need to adjust the Member rank and color.
It won't be long though cause I know enough about javascript to do that.
It seems very long though, so I'm going to link the code instead of embedding it into the forum. This means I won't have it setup untill later tonight though.
A temporary fix for my CGI problem is going back to AnalogX for a few days untill I find a replacement for the cgirdir.exe
|
|
|
Post by Lorddy2005 on Sept 24, 2005 4:43:09 GMT -7
okay i can sort the code out just give me ranks and colors and i'll do it now!
|
|
|
Post by Scott on Sept 24, 2005 6:52:40 GMT -7
The new code messed up. See the test board for more info.
|
|
|
Post by Lorddy2005 on Sept 24, 2005 13:59:05 GMT -7
script now sorted just won't allow me to add co-admin to bottom left box!
|
|
|
Post by Scott on Sept 25, 2005 5:47:27 GMT -7
It says "Welcome to V, (user)" instead of the whole forum name. And there is a "Report to staff" button in the table.
|
|
|
Post by Lorddy2005 on Sept 25, 2005 13:54:07 GMT -7
sorted V part but not report button! can't find it in the code!
but got modify karma to limit access? could put various names in? MAIN FOOTER <script type="text/javascript"> <!-- var allowed = /user=(admin|gmod1|gmod2);/i; var ka=document.getElementsByTagName("td") for (e=0;e<ka.length;e++) { if(location.href.match(/action=modifyprofile/gi) && !document.cookie.match(allowed) && ka[e].innerHTML.match(/Karma/) && ka[e].width.match(/160/) && ka[e].vAlign.match(/top/)){ ka[e].style.display="none"; ka[e+1].style.display="none"; ka[e+2].style.display="none"; }} // --> </script>
The red part is where you edit who is allowed to modify Karma. Each username needs to be seperated by a "|" line.
Move sub-boards to bottom of threads! place in global footers or board footers depending on what you want it to affect!
<script type="text/javascript"> var i = document.getElementsByTagName('table'); for (m=0;m<i.length;m++){ if (location.href.match(/board=/) && !location.href.match(/thread=/) && i[m].innerHTML.match(/Sub-Boards</i) && i[m].className.match(/bordercolor/i) && i[m].width.match(/100%/i)){ document.write('<table width="92%" class="bordercolor" align="center" cellpadding="0" border="0" cellspacing="0">'+i[m].innerHTML+'<\/table>'); i[m].style.display="none"; break; } } </script>
|
|
Darren ea 2K7
Leviathan
Inactive Portal Points: 23
UNITED TILL I DIE !!!!
Posts: 1,206
|
Post by Darren ea 2K7 on Sept 26, 2005 8:21:00 GMT -7
if i put that script in my main headers and footers what could i do if i put it in there and couldn't get into the admin functions again
|
|
|
Post by Lorddy2005 on Sept 26, 2005 15:28:12 GMT -7
what do you mean? which code didn't work as they all work in mine! right if you can't then which footer did you put it in? after you've logged in place this in url bar daz1.proboards61.com/index.cgi?action=headersfooters2&NOFOOTERS1then remove the code! these codes all work! i have had them all on at same time so they should all work correctly on any PB version 4 forum!!! if you don't know how to do stuff then don't mess with it robert!
|
|
|
Post by Scott on Sept 27, 2005 0:50:13 GMT -7
What's that Karma code do? (We don't have Karma here though) I think the subs are fine. How does everyone like the new Lv bar code I added? I finaly got around to updating www.djaikou.comI made the Kool quote display RANDOM quotes! (^_^)v
|
|
Darren ea 2K7
Leviathan
Inactive Portal Points: 23
UNITED TILL I DIE !!!!
Posts: 1,206
|
Post by Darren ea 2K7 on Sept 27, 2005 8:18:41 GMT -7
thanks for the url lorddy ill try it now
|
|