vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Custom Username Markup (https://vborg.vbsupport.ru/showthread.php?t=191791)

SEOvB 09-24-2008 07:18 PM

Custom Username Markup
 
I need the ability to add custom HTML markup to individual users rather then creating usergroups and doing it.

Should be simple can anyone help.

Lynne 09-24-2008 07:28 PM

Have you tried to play around with it yet? musername, which is the MarkedupUsername is defined in fetch_username which is a function found in functions.php. At the bottom of the function is a hook called fetch_musername. I'm guessing that you could put in some conditionals - if userid=x, then musername = whatever. Does that help out?

SEOvB 09-24-2008 07:40 PM

Well that might work if i was doing it. But its for these guys who aren't ass "technically savy" as us so i think that would have a disasterous effect for them :D

I appreciate the suggestion

Lynne 09-24-2008 07:45 PM

What do you mean you are not doing it? You mean you need this done from some remote script or something? Or you need it written out in plain code for them?

SEOvB 09-24-2008 08:52 PM

Oh no, i need it like on the Edit user page in the admin cp. A markup box like the usergroup options has where you can enter the markup before and after the username.

hope that makes more sense!

Lynne 09-24-2008 09:48 PM

Ah, I see. Not quite as easy. In fact, ick. Maybe someone else can take a stab at that.

Hornstar 09-25-2008 06:12 AM

if you have vbplaza installed you will have exactly what you need, however it is currently only available as a paid release. But if anything, it would be the best way to go.

Lynne 09-28-2008 04:41 PM

I just did a search of "username" "all mods" "titles only" and there are several mods there including this one - Individual Username HTML Markup Perhaps you can modify that to do what you want.

Shazz 09-28-2008 04:45 PM

Quote:

Originally Posted by Lynne (Post 1632366)
I just did a search of "username" "all mods" "titles only" and there are several mods there including this one - Individual Username HTML Markup Perhaps you can modify that to do what you want.

Wow that one looks nice.

Lynne 09-28-2008 04:48 PM

Quote:

Originally Posted by Shazz (Post 1632370)
Wow that one looks nice.

Yep, it does. I'm thinking of adding it to my forum once I upgrade to 3.7.


All times are GMT. The time now is 03:38 PM.

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.01219 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete