The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Extra Profile Fields Page Details »» | |||||||||||||||||||||||||
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 install time~ 5-10 min Files to Edit 4 Tempaltes to edit/add 2 Enjoy ^^ Show Your Support
|
Comments |
#62
|
||||
|
||||
works great! thanks for the info
|
#63
|
||||
|
||||
Very cool, thanks.
|
#64
|
|||
|
|||
Can someone please tell me what is line 2418? I installed some hacks and I am not too sure. As a result, I installed the hack, it displays properly, but it is not updating the profile. I had installed the favorites hack from vbtemplates, that was working. I placed it on the extra page, it displays, but cannot update.
|
#65
|
|||
|
|||
ok, I fixed it. I am using the fix at
https://vborg.vbsupport.ru/showpost....9&postcount=26 if ($_POST['do'] == 'updateextra') { $userfields = verify_profilefields(6); But since the weather is using (6), I changed it to 7 and that works. |
#66
|
||||
|
||||
will this work on v3.0.3? I notice that some i have
Code:
// Process Custom Fields.. $userfields = ''; $profilefields = $DB_site->query(" SELECT profilefieldid, type, data, optional, title, memberlist, searchable FROM " . TABLE_PREFIX . "profilefield WHERE form = 0 " . iif(!($permissions['genericpermissions'] & CANSEEHIDDENCUSTOMFIELDS), " AND hidden = 0") . " ORDER BY displayorder "); Code:
$profilefields = $DB_site->query(" SELECT profilefieldid, type, data, optional, title, memberlist, searchable FROM " . TABLE_PREFIX . "profilefield WHERE form = 0 " . iif(!can_moderate(), " AND hidden = 0") . " "); |
#67
|
|||
|
|||
can someone please explain a bit more:
a.) is it possible to add more than one page of new Useroptions with this hack (two, three?) b.) what is the most recent hackinstructions? I do not understand some of the code-snip-postings here. Are those modifications not included in the dowload? thanks! |
#68
|
|||
|
|||
Just curious. What exactly does this hack do? Can you use this to hide these profile fields from normal users and specify per usergroup?
Thanks! |
#69
|
||||
|
||||
with that post of mine being month's old - i wouldn't expect much as far as support. i've been subscribed to this thread since i posted in December and nothing....
I couldn't get it to work - i really wanted to, and a really cool feature, but my code differed too much than from what was explained in the howTo. |
#70
|
|||
|
|||
I have it working on vb 3.0.5 with out any problems! Just read the instructions carefully.
|
#71
|
||||
|
||||
which i did, but never could get an answer on this one: https://vborg.vbsupport.ru/showpost....5&postcount=65
|
#72
|
|||
|
|||
Can't get it to work on 3.0.6
profile.php has changed. 2418 is now 2421 added it there. the template in usercp shows the link to that extra field but when clicked it's blank. |
#73
|
|||
|
|||
nevermind fixed it.
I added the following above line: 707 in profile.php instead above line: 2418 in the original instruction. Code:
// ############## boiboi ##################### // ## Start Extra Profile Page - by Faranth ## //############################################ // This is if a user requests ?do=extra it will do start the actions if ($_REQUEST['do'] == 'extra') { // makes the user cp nav look correct construct_usercp_nav('extra'); // Gets our Extra Page Fields $customfields = array(); fetch_profilefields(1); // sets the area discription, feel free to change $navbits[''] = "Extra Info Page"; // sets template name to be called when the action is preformed $templatename = 'page'; // sets shell template $shelltemplatename = 'USERCP_SHELL'; } // this is so that when a user saves their info it does get saved if ($_POST['do'] == 'updateextra') { $userfields = verify_profilefields(6); if (!empty($userfields)) { $DB_site->query("UPDATE " . TABLE_PREFIX . "userfield SET userid=$bbuserinfo[userid]$userfields WHERE userid=$bbuserinfo[userid]"); } eval(print_standard_redirect('redirect_updatethanks')); } // ######################################### // ## End Extra Profile Page - by Faranth ## // ######################################### Code:
$userfields = verify_profilefields(1); Code:
$userfields = verify_profilefields(6); https://vborg.vbsupport.ru/showpost....9&postcount=26 Don't forget that, otherwise your users won't be able to update. |
#74
|
||||
|
||||
Sorry for the lack of updates; notice this is not "my" hack, I only added a few fixes. It still works very well with vB 3.0.5, as you can see on my site (use profile). (I haven't upgraded to 3.0.6 yet, but see no reason why it shouldn't work for it as well).
|
#75
|
|||
|
|||
Alex is it working in the admincp > profile fields?
I upgraded to the latest vb and now in the admincp > profile fields sometimes it shows the extra fields, sometimes not. try viewing profile fileds in the admincp a few times to see what I mean! a fix would excellent. |
#76
|
|||
|
|||
ok, it seems to be working in IE but not Firefox 1.0, I have reinstalled, cleared cache etc still no luck!
but its working in 3.0.6 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|