vForums Support > Programming & Coding :: Code Requests & Support :: > MiniProfile remodel o_O

MiniProfile remodel o_O - Posted By ashkir (ashkir) on 30th Jul 08 at 12:30am
First of all I blame Wrighty. >_>. This request is now for a mini profile. O_o. o_O.

I would like the default mini profile moved to the right and contact icons moved to under the post with a [view profile] added. :].

http://wimg.co.uk/Jk74cG.gif concept art.

Re: MiniProfile remodel o_O - Posted By Michael (wrighty) on 30th Jul 08 at 12:31am
Could you show in the pic where you want the contact icons? {Tongue Out}

Re: MiniProfile remodel o_O - Posted By ashkir (ashkir) on 30th Jul 08 at 12:37am
 
Could you show in the pic where you want the contact icons? {Tongue Out}
My editor chipped it ><' . Er I lost the copy I can extend it. But the icons / contact below it . ^_^ I'll try to fix it o_o

Re: MiniProfile remodel o_O - Posted By Michael (wrighty) on 30th Jul 08 at 12:39am
aligned to the left?

Re: MiniProfile remodel o_O - Posted By ashkir (ashkir) on 30th Jul 08 at 12:42am
http://wimg.co.uk/JqbDEQ.gif

How's that?

Smiley paint =P

Re: MiniProfile remodel o_O - Posted By Michael (wrighty) on 30th Jul 08 at 12:44am
Awesome sauce! {Smile}

Just quickly - do you want the posts split or not? {Smile}

Re: MiniProfile remodel o_O - Posted By ashkir (ashkir) on 30th Jul 08 at 12:45am
 
Awesome sauce! {Smile}

Just quickly - do you want the posts split or not? {Smile}
No. :].

Re: MiniProfile remodel o_O - Posted By Michael (wrighty) on 30th Jul 08 at 12:51am
Oki dokie - it'll get done tomorrow when I get back from work! {Smile}

Re: MiniProfile remodel o_O - Posted By ashkir (ashkir) on 30th Jul 08 at 12:58am
 
Oki dokie - it'll get done tomorrow when I get back from work! {Smile}
Have fun at work. :]

Re: MiniProfile remodel o_O - Posted By Michael (wrighty) on 30th Jul 08 at 8:28pm
<script>
/*Ash's Remodel
Created By Wrighty
Do Not: Rip, Repost, Reuse or Claim*/

var m = {
    d: get('td','tag'),
    i: function(){
        if(location.href.match(/view_topic/)){
        this.a();
        }
    },
    a: function(){
        for(a = 0; a < this.d.length; a++){
            if(this.d[a].width == '20%' && this.d[a].className.match(/window(1|2)/)){
                this.d[a].parentNode.appendChild(this.d[a]);
            }
        }
        this.b();
    },
    b: function(){
        var n = 0;
        for(a = 0; a < this.d.length; a++){
            if(this.d[a].width == '20%' && this.d[a].className.match(/window(1|2)/)){
                var c = document.getElementsByName('contact')[n];
                var h = this.d[a].getElementsByTagName('a')[0].href;
                var r = document.createElement('tr');
                var x = document.createElement('td');
                var l = document.createElement('a');
                with(l){
                    href = h;
                    appendChild(document.createTextNode('View Profile'));
                }
                with(c.firstChild){
                    insertBefore(document.createTextNode('] '), c.firstChild.firstChild);
                    insertBefore(l, c.firstChild.firstChild);
                    insertBefore(document.createTextNode('['), c.firstChild.firstChild);
                }
                with(x){
                    innerHTML = c.innerHTML;
                    className = 'title1';
                    colSpan = '2';
                    align = 'right'
                }
                c.style.display = 'none';
                r.appendChild(x);
                this.d[a].parentNode.parentNode.insertBefore(r, this.d[a].parentNode.nextSibling);
                n++;
            }
        }
    }
};
m.i();
</script>


Global Footer - try that.

Re: MiniProfile remodel o_O - Posted By ashkir (ashkir) on 30th Jul 08 at 9:10pm
Nice! Thanks. :].