vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] is it possible - View Topic (Page 1 of 2)Page: 1 2
Topic Rating: *****
Printable View
This topic was locked 6th Mar 08 at 5:24pm by Michael
goldigga
Guest
[F] is it possible (4th Mar 08 at 1:17pm UTC)
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?
Graham
Support Administrator
*****

[Avatar]

Posts: 1,642
Status: Offline
Gender: Male
Location: Sussex, UK
Age: 40
Joined:  

Additional Groups:
Support Team
***


Reputation: 57%  


pmwww
Re: is it possible (4th Mar 08 at 1:33pm UTC)
Do you mean having it in a separate table to the board description?
goldigga
Guest
Re: is it possible (4th Mar 08 at 1:41pm UTC)
 
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}
Graham
Support Administrator
*****

[Avatar]

Posts: 1,642
Status: Offline
Gender: Male
Location: Sussex, UK
Age: 40
Joined:  

Additional Groups:
Support Team
***


Reputation: 57%  


pmwww
Re: is it possible (4th Mar 08 at 1:56pm UTC)
This would probably be better off in the code support section {Smile}

*moves it*
goldigga
Guest
Re: is it possible (4th Mar 08 at 1:59pm UTC)
 
This would probably be better off in the code support section {Smile}

*moves it*


oops sorry
Graham
Support Administrator
*****

[Avatar]

Posts: 1,642
Status: Offline
Gender: Male
Location: Sussex, UK
Age: 40
Joined:  

Additional Groups:
Support Team
***


Reputation: 57%  


pmwww
Re: is it possible (4th Mar 08 at 2:03pm UTC)
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}
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: is it possible (4th Mar 08 at 6:24pm UTC)
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?
goldigga
Guest
Re: is it possible (4th Mar 08 at 6:39pm UTC)
 
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}
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: is it possible (4th Mar 08 at 7:32pm UTC)
Sure I do! {Smile}

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

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: is it possible (4th Mar 08 at 10:40pm UTC)
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
goldigga
Guest
Re: is it possible (5th Mar 08 at 7:30am UTC)
 
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/
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: is it possible (5th Mar 08 at 7:47am UTC)
Can you please make it so that I don't have to register to view your forum?
goldigga
Guest
Re: is it possible (5th Mar 08 at 8:15am UTC)
 
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}
goldigga
Guest
Re: is it possible (5th Mar 08 at 8:24am UTC)
done it eventually {Grin}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: is it possible (5th Mar 08 at 4:20pm UTC)
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>
 

rroll.to— Shorten a link, rickroll your friends.
 Printable View
Page: 1 2

All times are GMT+0 :: The current time is 6:21pm
Page generated in 0.4589 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums