vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Images as custom profile fields (https://vborg.vbsupport.ru/showthread.php?t=214070)

imk 05-19-2009 05:44 PM

Images as custom profile fields
 
so on my site i want people to choose what footbal team they support,

i have some nice team icons that i want them to select within their profile and then appear in their postbit

how can this be done?

RLShare 05-19-2009 05:49 PM

You need to take the code that makes up your header of your main site, whatever that may be, and copy it to the head template of the vbulletin style. And also copy the CSS the extra css field

BlueNinjaGo 05-19-2009 05:51 PM

Quote:

Originally Posted by RLShare (Post 1813612)
You need to take the code that makes up your header of your main site, whatever that may be, and copy it to the head template of the vbulletin style. And also copy the CSS.

Wrong thread?

RLShare 05-19-2009 05:52 PM

yeah wrong thread. I meant to reply to his other thread about copying the header

BlueNinjaGo 05-19-2009 05:55 PM

Quote:

Originally Posted by imk (Post 1813610)
so on my site i want people to choose what footbal team they support,

i have some nice team icons that i want them to select within their profile and then appear in their postbit

how can this be done?

The only way I can think of doing this, would be to upload all the images on your sever.

The create a custom profile field, where users can only choose one team from your list.

then I guess you would create a case structure in the postbit template, so it'll pull the profile field and display the corresponding image.


If anyone can think of an easier way I'm overlooking ,by all means let me know.

imk 05-19-2009 05:57 PM

i tried adding the css and this came upp


Required variables have gone missing and execution can not continue. Please try again.

This error can sometimes occur as a result of Suhosin / Hardened PHP being installed on your server. If you know that you have Suhosin running and you have access to the PHP configuration, try increasing the value of the following variables:
php_value suhosin.post.max_vars
php_value suhosin.request.max_vars

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

??????

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

anyone else?


All times are GMT. The time now is 02:08 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.02620 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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