PDA

View Full Version : Expand the HTML Markup to the Thread and Last Post Columns.


john1744
11-03-2005, 09:10 PM
We use HTML markup and it makes the forum more colorful, but its a bit bland to not see it in those two columns, the colors are simply grey. Is there a way to expand the markup for the usernames in these columns?
Edit/Delete Message

There doesn't appear to be any variables defined for marked up usernames in those locations.

You can create a plugin with PHP code to create marked up names for those locations. For help with this I recommend you post on www.vbulletin.org.

Any ideas here?

Chris M
11-03-2005, 10:29 PM
Try using fetch_musername in a plugin to manipulate the $lastpostinfo['lastposter'] variable:)

Chris

john1744
11-03-2005, 10:34 PM
I'm sorry that I don't comprehend that well.

You say, create a plugin, and where it says hook location use fetch_username? I dont see fetch_username, unless it was included in 3.5.1 and I would just put $lastpostinfo['lastposter'] in as the php code?

I am incredibly new to this. :(

Chris M
11-03-2005, 10:36 PM
Heh... fetch_musername is a function to fetch the HTML markup for a username...

I'm not sure what the location is where the lastposter is declared, or even if a plugin exists around that area, but experimenting with the code might get it to work:
$lastpostinfo['lastposter'] = fetch_musername($lastpostinfo['lastposter']);
Something like that - Hopefully Kirby will come along with his magical plugin wotsit ;)

Chris

john1744
11-05-2005, 03:03 AM
Yeah hopefully. ;)