PDA

View Full Version : Forum Display Enhancements - Nexia's Alt/Title Tags for sub-forums


05-12-2009, 10:00 PM
Actually, when you want to be fully XHTML compliant, you need to have alt content for your icons, and a title content for your links... vBulletin sub-forums have no alt/title tags, and this is not good.

So here is the little quicky to change this situation...

For both templates "forumhome_subforumbit_nopost", "forumhome_subforumbit_post", edit the tags like this:

you will findalt=""and will replace withalt="$forum[title]"then you find <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">and you replace with <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" title="$forum[description]">that's all... everything is supposed to work like planned, when you hover the sub-forum icon, you will see the title of the forum itself, and when you hover the link, you will see it's description.

99100

you can modify this by using anything other to fit your needs.

Theater
05-12-2009, 10:46 PM
It gets a little quirky when you have HTML in your forum description, but nice. :)

nexialys
05-12-2009, 10:56 PM
i think there is a small javascript on dynamicdrive.com which answer that problem, by replacing the html with its result in the hover... but i can not add that to the addon.

Theater
05-12-2009, 10:58 PM
Thanks for the heads up. I just took out the 3 HTML links I had in 3 separate sub-forums for now. Lookin' good!

TheLastSuperman
05-12-2009, 11:13 PM
i think there is a small javascript on dynamicdrive.com which answer that problem, by replacing the html with its result in the hover... but i can not add that to the addon.

Besides being quite rude to you in that other thread a few weeks ago (fogive me, you caught me @ a bad time) I still like you AND yes you can, all you have to do on Dynamic Drive is visit the forums and ask ddadmin for permission to use/include it in your mods... He is very nice and gave me permission to release any DD script/code as or used in a vb mod if credit is given.

S-MAN

EagleNick
05-12-2009, 11:17 PM
Nice, thanks. I really like a lot of the hacks you've recently released.