vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   HTML Username Markup with Custom Profile Field (https://vborg.vbsupport.ru/showthread.php?t=168603)

Mrajp 01-24-2008 12:26 AM

HTML Username Markup with Custom Profile Field
 
I was wondering if it would be possible to utilize the custom HTML Markup through the usergroups option towards a custom assigned profile field. I'm working for a company that is seriously considering purchasing vB but we would need the board to display a field containing real names instead of the user names that will be assigned. I know that its possible to change the field in the postbit as described in this article

http://www.vbulletin.com/forum/archi.../t-214234.html

I have been an admin on a vB board before and really like the HTML custom markup option to distinguish between users.

Also, would it be possible to use that custom profile field with the "Who's Online", and if so with the HTML markup?

Thanks,
MrAJP

Dismounted 01-24-2008 02:38 AM

All that you have mentioned is possible, but it requires someone to code modifications for. But I think you are taking the long route, instead of the short one. It would be simpler to dynamically change the profile field's markup through plugins prior to them being displayed.

Mrajp 01-24-2008 09:26 AM

I know I cant DL anything cause I don't have a vB license yet. However, could you point me to an example?

Thanks,
MrAJP

Dismounted 01-24-2008 09:42 AM

I don't believe there is a readily available modification/example for this kind of thing.

Mrajp 01-24-2008 11:27 AM

So after I get licensed, I would have to ask for a plug-in that could "dynamically change the profile field's markup"? Or is it something that could be changed in the theme code?

--------------- Added [DATE]1201185057[/DATE] at [TIME]1201185057[/TIME] ---------------

Basically, I need everywhere the username is, to be replaced with a custom profile field. I'm trying to figure out how complicated it would be for me to do that.

Thanks,
MrAJP

Dismounted 01-25-2008 02:19 AM

It can all be done through editing templates. There is even a Search & Replace function in the Admin CP. Basically, search for the username variable, and replace it with the profile field's variable. The only exception would be for the Who's Online section, in that the processing of username's are done in the code.

Mrajp 01-25-2008 08:53 AM

Alright, I'll have more questions I'm sure. But hopefully I'll have my license by then and can post it on the other forums.

Thanks Again,
MrAJP

Theoldwiz 01-25-2008 12:42 PM

This is pretty easy, all you do is add it in the cp and change the feild in the templates, if you couldnt manage I can help :)


All times are GMT. The time now is 06:49 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.01618 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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