The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hey
![]() ![]() I'd like that when in the profile, fields such as the Optional Information ones or the Additional Information ones aren't filled, a "Not Available" to appear in the profile. Hope you guys can help me! ![]() Thanks ![]() |
#2
|
||||
|
||||
![]()
There are a few hacks that do certain fields. All you need to do if go through member.php and find the variables (like $userinfo[icq] for ICQ) and add what you want to be displayed instead of a blank field.
Eg $userinfo[icq]=''; would become $userinfo[icq]='N/A'; |
#3
|
||||
|
||||
![]()
KK, Thanks
![]() |
#4
|
||||
|
||||
![]()
It worked for the ICQ, AIM and Yahoo fields, but I couldn't find any way of doing the same with the custom fields.. Any idea? :$
Thanks for the help btw ![]() |
#5
|
||||
|
||||
![]()
i think custom fields are store in the database.
|
#6
|
||||
|
||||
![]()
Yes, custom ones are stored in the database, in the userfields table.
Untest but should work, in member.php replace: PHP Code:
PHP Code:
|
#7
|
||||
|
||||
![]()
It didn't work
![]() |
#8
|
||||
|
||||
![]()
It should work fine, I just tested the code and the results were as expected. You did replace the code and not add before or after it?
|
#9
|
||||
|
||||
![]()
Yes, I did replace it. Just tried again, and it won't work :S.
|
#10
|
||||
|
||||
![]()
It does work
![]() What version of vB are you running? Satan |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|