vForums Support > Programming & Coding :: Code Requests & Support :: > [F] is it possible

[F] is it possible - Posted By goldigga (goldigga) on 4th Mar 08 at 1:17pm
Is it possible to create a dividing line to the left of Topics - Posts to separate it from the board names and descriptions on the main page?

Re: is it possible - Posted By Graham (amusedtodeath) on 4th Mar 08 at 1:33pm
Do you mean having it in a separate table to the board description?

Re: is it possible - Posted By goldigga (goldigga) on 4th Mar 08 at 1:41pm
 
Do you mean having it in a separate table to the board description?


yes {Grin}

also is there anyway you can add extra smilies onto forum?


sorry to be a pain {Rolleyes}

Re: is it possible - Posted By Graham (amusedtodeath) on 4th Mar 08 at 1:56pm
This would probably be better off in the code support section {Smile}

*moves it*

Re: is it possible - Posted By goldigga (goldigga) on 4th Mar 08 at 1:59pm
 
This would probably be better off in the code support section {Smile}

*moves it*


oops sorry

Re: is it possible - Posted By Graham (amusedtodeath) on 4th Mar 08 at 2:03pm
No worries {Smile} I believe that both of what you want are possible, but coding isn't my strong point so i'll leave it up to the professionals {Wink}

Re: is it possible - Posted By Michael (wrighty) on 4th Mar 08 at 6:24pm
Could you (mainly for my own sake) please create another request for 'extra' smilies? {Cheesy}

And, for the first one do you mean to show the stats in their own cell?

Re: is it possible - Posted By goldigga (goldigga) on 4th Mar 08 at 6:39pm
 
Could you (mainly for my own sake) please create another request for 'extra' smilies? {Cheesy}

And, for the first one do you mean to show the stats in their own cell?


we would like it so that the section where for example" 7 Topics - 7 Posts" is in its own column.........hope you understand what i mean {Wink}

Re: is it possible - Posted By Michael (wrighty) on 4th Mar 08 at 7:32pm
Sure I do! {Smile}

I'll go about that sometime soon, got to pop-out and fix a computer shortly.

Re: is it possible - Posted By Michael (wrighty) on 4th Mar 08 at 10:40pm
First one 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"){
        var a = get('td','tag')[i].parentNode.insertCell(2);
        with(a){
            className = 'window1';
            width= '8%px';
            align= 'center';
            innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
            innerHTML += ' Posts<br>'
            innerHTML += (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
            innerHTML += ' Topics'
        }
    }
    if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
        get('td','tag')[i].colSpan = '4';
    }
}
</script>


Global Footer

Re: is it possible - Posted By goldigga (goldigga) on 5th Mar 08 at 7:30am
 
First one 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"){
        var a = get('td','tag')[i].parentNode.insertCell(2);
        with(a){
            className = 'window1';
            width= '8%px';
            align= 'center';
            innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
            innerHTML += ' Posts<br>'
            innerHTML += (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
            innerHTML += ' Topics'
        }
    }
    if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
        get('td','tag')[i].colSpan = '4';
    }
}
</script>


Global Footer


thanks this code is on and has made another column, but where Board Name and and Last Post is we have a section that had gone into a blue box (its the width of the last column where the last post shows) this is hard to explain without seeing it

http://benalmadena.vforums.co.uk/

Re: is it possible - Posted By Michael (wrighty) on 5th Mar 08 at 7:47am
Can you please make it so that I don't have to register to view your forum?

Re: is it possible - Posted By goldigga (goldigga) on 5th Mar 08 at 8:15am
 
Can you please make it so that I don't have to register to view your forum?



{Rolleyes} if i could find how to do i would {Cry} {Cry}

Re: is it possible - Posted By goldigga (goldigga) on 5th Mar 08 at 8:24am
done it eventually {Grin}

Re: is it possible - Posted By Marc (cr0w) on 5th Mar 08 at 4:20pm
Code:
 
  1. <style>
  2. .boardtotals{
  3.     display: none;
  4. }
  5. </style>
  6. <script>
  7. /*Board Mod
  8. Created By Wrighty*/
  9.  
  10. for(i=0; i<get('td','tag').length; i++){
  11.     if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
  12.         var a = get('td','tag')[i].parentNode.insertCell(2);
  13.         with(a){
  14.             className = 'window1';
  15.             width= '8%px';
  16.             align= 'center';
  17.             innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
  18.             innerHTML += ' Posts<br>'
  19.             innerHTML += (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
  20.             innerHTML += ' Topics'
  21.         }
  22.     }
  23.     if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
  24.         get('td','tag')[i].colSpan = '4';
  25.         get('td','tag')[i-1].colSpan = '4';
  26.     }
  27. }
  28. </script>
 

Re: is it possible - Posted By goldigga (goldigga) on 5th Mar 08 at 6:57pm
 
Code:
 
  1. <style>
  2. .boardtotals{
  3.     display: none;
  4. }
  5. </style>
  6. <script>
  7. /*Board Mod
  8. Created By Wrighty*/
  9.  
  10. for(i=0; i<get('td','tag').length; i++){
  11.     if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
  12.         var a = get('td','tag')[i].parentNode.insertCell(2);
  13.         with(a){
  14.             className = 'window1';
  15.             width= '8%px';
  16.             align= 'center';
  17.             innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
  18.             innerHTML += ' Posts<br>'
  19.             innerHTML += (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
  20.             innerHTML += ' Topics'
  21.         }
  22.     }
  23.     if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
  24.         get('td','tag')[i].colSpan = '4';
  25.         get('td','tag')[i-1].colSpan = '4';
  26.     }
  27. }
  28. </script>
 



tried that one and its no differant

Re: is it possible - Posted By Michael (wrighty) on 5th Mar 08 at 7:01pm
Code:
 
  1. <style>
  2. .boardtotals{
  3.     display: none;
  4. }
  5. </style>
  6. <script>
  7. /*Board Mod
  8. Created By Wrighty*/
  9.  
  10. for(i=0; i<get('td','tag').length; i++){
  11.     if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
  12.         var a = get('td','tag')[i].parentNode.insertCell(2);
  13.         with(a){
  14.             className = 'window1';
  15.             width= '8%px';
  16.             align= 'center';
  17.             innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
  18.             innerHTML += ' Posts<br>'
  19.             innerHTML += (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
  20.             innerHTML += ' Topics'
  21.         }
  22.     }
  23.     if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
  24.         get('td','tag')[i].colSpan = '4';
  25.     }
  26.     if(get('td','tag')[i].className == 'title1 forumname' && get('td','tag')[i].colSpan == '3'){
  27.         get('td','tag')[i].colSpan = '4';
  28.     }
  29. }
  30. </script>
 


{Grin}

Re: is it possible - Posted By goldigga (goldigga) on 5th Mar 08 at 7:09pm
thanks that ones seems to have done the trick {Grin}

Re: is it possible - Posted By goldigga (goldigga) on 5th Mar 08 at 7:25pm
{Unsure}
spoke to soon have this at bottom of forum

Code corrupted. Insert fresh copy.

Re: is it possible - Posted By Michael (wrighty) on 5th Mar 08 at 7:27pm
That's your statcounter code, please just recopy the code for it! {Smile}