vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Expand the HTML Markup to the Thread and Last Post Columns. (https://vborg.vbsupport.ru/showthread.php?t=100026)

john1744 11-03-2005 09:10 PM

Expand the HTML Markup to the Thread and Last Post Columns.
 
Quote:

Originally Posted by Me @ vb.com
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

Quote:

Originally Posted by Jake Bunce
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:
PHP Code:

$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. ;)


All times are GMT. The time now is 07:12 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.01088 seconds
  • Memory Usage 1,720KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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