vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   display images or icons instead of text in Members 'About Me' profile tab? (https://vborg.vbsupport.ru/showthread.php?t=249961)

Hall of Famer 09-05-2010 10:41 AM

display images or icons instead of text in Members 'About Me' profile tab?
 
Well I've installed Country Flag and Gender in postbit addons, and they worked perfectly well. The only issue is that the images only show up in Postbit but not on their profile page. The country flag and gender still say 'USA/UK' and 'Male/Female' instead of displaying the images. What if I'd like to add special profile fields which are supposed to display images/icons instead of text? Is it possible to do so, or do I have to manually edit some template? Can anyone of you please show me an example of how to do this if possible? Thank you so so much. ^^

Hall of Famer 09-06-2010 07:27 AM

Umm please help?

Lynne 09-06-2010 01:54 PM

You'd probably just need to write a plugin to change it to an image. However, I know nothing about those mods and how they are written so I can't give any specifics. The best place to ask for help with this may be in the modification threads themselves since they know the specifics of the mods.

Hall of Famer 09-06-2010 03:17 PM

Well someone from theadminzone said this:

Quote:

Originally Posted by DeadlyStream (Post 522567)
I'm going by memory so this may not actually work. If it doesn't ask at vbulletin.org and I'm sure they'll correct the code.

Code:

<vb:if condition="$bbuserinfo[fieldxx]">
<img src="{vb:raw bbuserinfo[filedxx]}.png">
</vb:if>


Will it work? And if so, where should I insert these lines to?


All times are GMT. The time now is 09:12 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.00921 seconds
  • Memory Usage 1,715KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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