http://deluxeanimeforum.vforums.co.uk/
Ok i am always logged in so i never noticed this before. With the board mod you made me, if your not logged in then the boards i all pushed together and has no categories ex... can you please fix it![]()
Code:
- <style>
- .boardtotals{
- display: none;
- }
- </style>
- <script>
- /*Board Mod
- Created By Wrighty*/
- for(i=0; i<get('td','tag').length; i++){
- if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
- get('td','tag')[i+1].width = '55%';
- var a = get('td','tag')[i].parentNode.insertCell(3);
- with(a){
- className = 'window1';
- width= '50px';
- align= 'center';
- innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
- innerHTML += '<br />Posts'
- }
- var b = get('td','tag')[i].parentNode.insertCell(3);
- with(b){
- className = 'window1';
- width= '50px';
- align= 'center';
- innerHTML = (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
- innerHTML += '<br />Topics'
- }
- }
- if(get('td','tag')[i].colSpan == '3'){
- if(get('td','tag')[i].width == '100%' && get('td','tag')[i].className == 'title1'){
- get('td','tag')[i].colSpan = '5';
- }
- if(get('td','tag')[i].innerHTML.match(/\/category\//) ){
- get('td','tag')[i].colSpan = '5';
- }
- }
- }
- </script>
also can you add this to it?
http://i25.photobucket.com/albums/c51/dog199200/Untitled-7.j pg
the top bar is where i'd like the category title to go and well the second bar is to show what is whats for the stats. and that means can you remove the topic and post text in the code and if you can do this would you mind doing another mod to it, but only if you want to, and if you need me to split the images thats fine, i can seperate out the images manually but that would be 5 images i think.
Right the error of it not showing as a guest is not related to this code, you have an error with cr0w's 'No Subject Code', which you shouldn't need anymore anyway as the 'no subject' bug has been sorted.
Try removing that code, should work then.
Failing that, I have another thought as to why it might be happening.
But as can be seen on: http://wrighty.vforums.co.uk there is no guest viewing bug.
ok well i removed it and it still does it so should i repost it to ross?
also can you possibly do my second part of the request?
bump
bump
bump
bump, please someone take care of this...![]()
plz....
bump
Should be able to do this. So you want the category name first, and then in a row beneath, you want those things?![]()
Shouldn't be overly hard! ^_^ I'll see if I have some time for this tonight!![]()
yep thats how i want it and ok i'll be waiting
Edit: also i noticed that the code aint working right anymore.
http://deluxeanimeforum.vforums.co.uk/
What's wrong with it?
its not formated in Board, Last Post, Threads, Posts anymore, just Board and Last Post
Ross changed some classes. I hate him!![]()
Try this![]()
<style>
.boardtotals{
display: none;
}
</style>
<script>
/*Board Mod
Created By Wrighty*/
for(i=0; i<get('td','tag').length; i++){
if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1 boardstatus"){
get('td','tag')[i+1].width = '55%';
var a = get('td','tag')[i].parentNode.insertCell(3);
with(a){
className = 'window1';
width= '50px';
align= 'center';
innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
}
var b = get('td','tag')[i].parentNode.insertCell(3);
with(b){
className = 'window1';
width= '50px';
align= 'center';
innerHTML = (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
}
}
if(get('td','tag')[i].colSpan == '3'){
if(get('td','tag')[i].width == '100%' && get('td','tag')[i].className.match(/title1/)){
get('td','tag')[i].colSpan = '5';
}
if(get('td','tag')[i].className.match(/categorytitle/)){
get('td','tag')[i].colSpan = '5';
var r = document.createElement('tr');
var a = document.createElement('td');
var b = document.createElement('td');
var c = document.createElement('td');
var d = document.createElement('td');
var e = document.createElement('td');
a.className = b.className = c.className = d.className = e.className = 'title1'
a.appendChild(document.createTextNode(' '));
b.appendChild(document.createTextNode('Forum'));
c.appendChild(document.createTextNode('Last Post'));
d.appendChild(document.createTextNode('Topics'));
e.appendChild(document.createTextNode('Posts'));
r.appendChild(a);
r.appendChild(b);
r.appendChild(c);
r.appendChild(d);
r.appendChild(e);
get('td','tag')[i].parentNode.parentNode.insertBefore(r,get('td','tag')[i].parentNode.nextSibling);
}
}
}
</script>
umm if possible can you remove where it says Topics and Posts under the numbers?
woops, meant to do that. Recopy!![]()
ty