![]() |
Users Select Logo
I want my users can Select the Logo Image on Top...
My Settings on Profile Field: https://vborg.vbsupport.ru/external/2011/10/22.png and in my header template: PHP Code:
Its work but there are 2 Problems: 01. No Image is show up for Guests 02. No Image is show up to New Registered Users ?!? |
You could do this:
Code:
<if condition="empty($bbuserinfo[field5])"> of course you'd want to change default_img to some actual image name. That should give everyone the default unless they have made a choice. Also, I'm not sure but maybe if you set the field Required to "Yes", new users will have to choose something or go with the default. |
hmm this is not working, my header is empty and nothing shown up on Forumhome :O
... no idea why |
There must be an error in that template. I guess try taking out what I posted above, and make sure you're not getting any errors when you save the template.
|
Can not find Error ... i try out the Original Template...
PHP Code:
EDIT: Is not working on the Original Template too... but that one in the first Posting works... |
Quote:
Quote:
|
Quote:
|
@KH99, it was aimed at the OP, i have had trouble in the past with that kind of declaration for folders :)
|
not working with images and not with /images and not with ./images
This from my OP: PHP Code:
--------------- Added [DATE]1319338172[/DATE] at [TIME]1319338172[/TIME] --------------- some thing is wrong with that line: PHP Code:
PHP Code:
--------------- Added [DATE]1319338408[/DATE] at [TIME]1319338408[/TIME] --------------- hmm Can i use this: <if condition="$bbuserinfo['fieldX'] == empty"> or <if condition="$bbuserinfo['fieldX'] == 0"> or <if condition="$bbuserinfo['fieldX'] == null"> or <if condition="!empty($bbuserinfo[field5])"> or... |
Hmm...it seems like empty should work, and in any case I can't see how changing the condition could cause it to display twice. Can you post the entire template you're using?
I guess you could try $bbuserinfo[field5] != '' - BTW, are you sure it's field5? The screen grab you posted above shows it as id=10. |
All times are GMT. The time now is 09:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|