Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Topic Description Under Topic Title (30th Dec 07 at 5:37am UTC) | | Preview: http://wrighty.info/img/images/7.jpg
As you know, when you hover over a topic title a description appears, this code will move that description to where the started on info normally appears!
Placement: Global/Board Footers
Code: - <script type="text/javascript">
- /*Topic Description Under Topic Title
- Created By Wrighty - vForums Support
- Don't RIP, Repost or Claim! */
-
- var d = get('td','tag')
- for(i=0;i<d.length;i++){
- if(d[i].className=="window2" && d[i].width=="54%" && d[i].innerHTML.match(/started by/i) && location.href.match(/\/board\/(\w)/)){
- d[i].getElementsByTagName('span')[2].innerHTML = d[i].getElementsByTagName('span')[0].getElementsByTagName('a')[0].title
- }
- }
- </script>
| |
|
Lincoln New Member
Posts: 2 Status: Offline Gender: Male Location: Ohio Age: 32 Joined:
pmmsnyahooaim | Re: Topic Description Under Topic Title (30th Dec 07 at 6:43pm UTC) | | Does this go in the Headers or Footers? | |
|
Marc vChat Developer
I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 32 Joined:
Additional Groups: Coding Team
pmwww | Re: Topic Description Under Topic Title (30th Dec 07 at 6:47pm UTC) | | It goes in either global footers, or an individual board's footers.
Hope you don't mind me adding that in Wrighty. | |
rroll.to— Shorten a link, rickroll your friends. |
|
Lincoln New Member
Posts: 2 Status: Offline Gender: Male Location: Ohio Age: 32 Joined:
pmmsnyahooaim | Re: Topic Description Under Topic Title (30th Dec 07 at 6:49pm UTC) | | Okay, thanks. =) | |
|
Marc vChat Developer
I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 32 Joined:
Additional Groups: Coding Team
pmwww | Re: Topic Description Under Topic Title (30th Dec 07 at 6:50pm UTC) | |
No Problem, and welcome to vForums! | |
rroll.to— Shorten a link, rickroll your friends. |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Topic Description Under Topic Title (30th Dec 07 at 7:33pm UTC) | | It goes in either global footers, or an individual board's footers. Hope you don't mind me adding that in Wrighty.
OMG I can't believe you did that... I'm totally not going to talk...
ya it's fine! | |
|
blanka Full Member
Posts: 319 Status: Offline Gender: Male Joined:
pm | Re: Topic Description Under Topic Title (14th Jul 08 at 10:53pm UTC) | | Can you have it where if they don't make a topic description it will be blank? | |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Topic Description Under Topic Title (14th Jul 08 at 10:55pm UTC) | | this is now possible through the 'Topic Listings Template' system! | |
|
blanka Full Member
Posts: 319 Status: Offline Gender: Male Joined:
pm | Re: Topic Description Under Topic Title (14th Jul 08 at 10:58pm UTC) | | huh!? Topic listening Template? I think i need a bit more guidance from you. | |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Topic Description Under Topic Title (15th Jul 08 at 5:47am UTC) | | Admin Panel => Manage Templates!
I'm out till later tonight, If you create your own thread in the code requests board, I'll help you in there! | |
|