![]() |
Extra Profile Fields Page
Extra Profile Fields Page Version 1.2
1.1 updated version, minor fix for searching in memberlist.php 1.2 fixed for RC2 the current instructions will not work with anything lowerrequested by Caszi @ http://www.vbulletin.nl/community/showthread.php?t=1190 Screen Shots update2.gif is the optional part of the hack :) Description Adds an Extra Page for you to Define Profile Fields :D install time~ 5-10 min Files to Edit 4 Tempaltes to edit/add 2 Enjoy ^^ |
you should attach screenshot here, no one can see those in vb.nl if they dont have account.
|
Not to mention you copied disfigured URLs. ;)
|
I'm also interested in this hack, but don't want to sign up on your site just to see the screenshot.
|
Whe thank you for releasing this here XD you still gave me credit for requesting *Sniffs*
Anyway i'll get some screenshots up of it working on my forums. It's really helpfull ^^; |
you did ;D its in the install
#Idea: Caszi i will get updated screens posted here, sometimes i forget about vbnl restriction |
all updated, screens too
|
possible to be able to upload images to that w00t page? that would be cool
|
not at this time, however you can have them point to a url and then include it in your own coding
|
fair enough, i just saw this as a great basis for the hack i requested
https://vborg.vbsupport.ru/showthread.php?t=59581 and with image attachments wood b perfect :) nice werk |
i can take a look into it, however i feel it would be a hole nother hack more than anything else >.< and im sure it would be rather large of a hack @ that
|
If I'm reading that 3rd screen right, then you can add a variable to the user, but you can set it so that the member won't know it's there, it won't show up on their profile, and there's no option for them to edit it anywhere in their cp?
|
Quote:
|
I would like to add fields like you are doing here but when they show up, allow the USER to decide if the fields are publicly viewable or not....this is for an alumni site and they may not want to share certain info....anyone done anything like this?
|
This one feels food.
Agree with "schuelerd's" post. |
Quote:
|
BIG PROBLEM
If you update the options page for vb3 all your options for the second options page are reset to defualt. Any ideas on how to fix this? |
Quote:
|
Does This Work Fine On VB3 RC3?
|
i dont see why it wouldnt :) it is working on RC2 and i dont think there was too much more, its sorta stand alone. as in it shoudl always work :D
|
With all respect but...what is the function of this hack? I tried to understand it but i can't. Can someone explain it? :)
|
It gives you an extra page to display uuser profile feilds :)
|
Will this hack give me the option to add a new custom user filed, which is NON editable by the user, and every time a new user signs up, add a default value in the database?
I have tried to do this but no success. cheers. |
That is a nice hack, exactly what I was looking for. Was tired of adding all custom profiles under "Miscellaneous Options". Will add your hack soon!
|
Could you use put into the install instructions where above or below to add code?
I'm not sure if I have changed my profile.php. Here are my lines 2415-2120 PHP Code:
|
Hack (1.1 / 1.2?) needs 2 fixes (one bug mentioned by eXtremeTim). Thanks to Zachery for this nice hack :P
Edit: FIX FIXED :) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- FIX 1 (no more option resets) - Open file includes/functions_user.php Find: ----- PHP Code:
------------- PHP Code:
Find: ---- PHP Code:
------------- PHP Code:
FIX 2 (Cache templates) - Open file profile.php Find: ----- PHP Code:
------------- PHP Code:
|
Quote:
|
Zachery, I fixed my fix. Your hack works great now.
Thanks again! |
so your code is all good now?
If so i will patch this with my original instructions |
Can this hack be modified, so that only certain user(groups) get access / can fill in those extra profile fileds?
|
Quote:
Greets Alex |
Quote:
Code:
<if condition="$bbuserinfo['usergroupid'] == XX"> Note that this is not fool-proof. A user who KNOWS that there is such an extra field section and who knows the url can access it directly. In this case, I guess adding some php code would do the trick. |
Thx for that alexander,
I'll have a further go then myself. I'm setting up vB for my fraternity. so far we've used a private Lotus Notes R5 DB for internal affairs, however I can't give access to our alumni anymore and I would like to have some sort of "address tool" that I can associate with vB users... I think those extra fields will do the trick. sjau |
Quote:
Can somebody update where this needs to be placed? I'm trying to find my copy of rc1 to try and figure it out... |
it is not really so important where you put the code... you can for instance put the hack code ABOVE the following original code:
PHP Code:
|
Quote:
but I changed something trying to change some of the displayed text and now I no longer have the extra options appear in the admincp when using the profile field manager. The Extra fields are still in the usercp and if I add a new profile field, I can select the other: extra, and it appears in the usercp, but not in the admin profile manager. I've checked the profilefield.php file but I must be missing something thanks |
yes i suggest you go over Zachery's hack instruction again. There shouldn't be any problem with admincp and the hack if you follow the instruction correctly.
|
Out of curiosity, how would I refer to the custom field in the postbit?
|
Same way you do any other field in the postbit
$post[fieldX] |
yeah but is it referred to as fieldx or is it referred to by name (in my case, blog)? Bear with me, it's been about 8 months since I did any kind of extensive work with vB and vb3 is quite different, you know? ;)
|
All times are GMT. The time now is 02:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|