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>
Does this go in the Headers or Footers?
It goes in either global footers, or an individual board's footers.
Hope you don't mind me adding that in Wrighty.
Okay, thanks. =)
Okay, thanks. =)
No Problem, and welcome to vForums!
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!
Can you have it where if they don't make a topic description it will be blank?
this is now possible through the 'Topic Listings Template' system!
huh!? Topic listening Template? I think i need a bit more guidance from you.
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!