vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   HTML Markup (https://vborg.vbsupport.ru/showthread.php?t=211661)

Feanor_87 04-19-2009 08:44 PM

HTML Markup
 
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/showthrea...ghlight=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/showthrea...ht=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

Quote:

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.


All times are GMT. The time now is 06:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01099 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete