Log in

View Full Version : HTML Markup


Feanor_87
04-19-2009, 08:44 PM
How do you get the HTML Markup (colored usernames) to show up in the "Thread Starter" part on the Forum??

I've seen it done on other forums, so I know it's possible. I've already searched this forum but I can't find the answer

Lynne
04-19-2009, 09:12 PM
I believe there is a modification here to do it. Perhaps search "usergroup*" or "color*" or "markup*" or similar in "all mods" "titles only" to find it.

Feanor_87
04-20-2009, 01:43 AM
Thanks, I'll try that

I could only find one for Markup in the entire Forumdisplay page, if you can, could you link me to the mod please. I'll keep trying to search it in the meantime

Lynne
04-20-2009, 02:57 AM
Really, this came right up when I did a search on "markup" https://vborg.vbsupport.ru/showthread.php?t=124996&highlight=markup

Feanor_87
04-20-2009, 03:53 AM
Thanks! It's not what I was looking for though. This Mod just added the colored name in the Welcome Panel

Lynne
04-20-2009, 04:26 AM
Then modify the other mod to just do it where you want.

Feanor_87
04-20-2009, 07:54 PM
I did all these before asking the question.

This is the mod I'm referring too, I tried editing myself but I always mess up my forum doing it
https://vborg.vbsupport.ru/showthread.php?t=199109&highlight=HTML+Markup

Lynne
04-20-2009, 08:10 PM
Looking at that mod, I guess I would just take it and try to remove the part in the threadbit_process plugin that doesn't have to do with last_post_user_displayid (the first if in that plugin). Does that not work?

Feanor_87
04-20-2009, 09:03 PM
For "threadbit_process" I left it as

if($thread['post_user_displaygid']!=0)
{
$thread['postusername'] = fetch_musername($thread, 'post_user_displaygid', 'postusername');
}
else
{
$thread['postusername'] = fetch_musername($thread, 'post_user_usergid', 'postusername');
}

It worked! If anybody is trying to do what I did just download the Mod I linked and copy that code into "threadbit_process"

Thanks for the help Lynne :)

dbirosel
04-22-2009, 08:34 PM
Hey I tried this but didn't work. What exactly do I have to do? Thanks.

Lynne
04-23-2009, 02:26 AM
You download the mod and then modify it as posted above.