View Full Version : Profile Enhancements - Extra Profile Fields Page
Wired1
05-20-2008, 10:00 PM
Don't forget to hit INSTALL! (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=179989)
You can find the 3.6.x version of this hack here (https://vborg.vbsupport.ru/showthread.php?t=123253).
This product will add a new page to the User CP for easy editing of specially marked profile fields, that for one reason or another you would like to split off from the main list. NOTE: Any fields marked for this page will not be seen in the user's profile. A mod I'll release later on will create a tab for them, fully editable like the "About Me" tab.
After the product is FULLY installed, when a you want to move a profile field to the new page for easy editing:
1. Go to the AdminCP and edit the field as normal.
2. At the bottom in the Display Page area, you will see "Which page displays this option?" The last option should say Options: $vbphrase[extra_options].
3. Save!
Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). With an ADDITIONAL product (e.g. NOT this one), I place these specs in a dropdown list under the user title in each user's post, as well as in their profile as an extra tab.
Here's some examples of how I use this mod (with the Add-On mod, Extra Profile Fields Tab (https://vborg.vbsupport.ru/showthread.php?t=180329), and a separate mod, Profile Fields in a Postbit Dropdown (https://vborg.vbsupport.ru/showthread.php?t=180309)):
http://www.houseofhelp.com/forums/showthread.php?t=39826
Note: the pics in that thread are from 3.6.x, but you'll get the idea.
# of plugins: 3
# of php page edits: 1 (admincp/profilefield.php)
# of new templates: 1 (page)
# of template edits: 1 (USERCP_SHELL)
# of new phrases: 3 Click here (https://vborg.vbsupport.ru/showthread.php?p=1526520#post1526520) for details. Also look at the attached pictures to see where they show up.
If you have a 3.6.x version of this on your forum and are running 3.7.0, please uninstall it via running backwards through the old instructions, and then follow the Install instructions.
To Install:
1) Save the attached product-wired1_epfp.xml file.
2) Navigate to AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
3) Browse to wherever you saved the file.
4) Allow Overwrite -> Yes.
5) Import!
6) Follow the instructions for the manual edits (1 template edit, 1 PHP page edit)
The install process should only take 5 minutes at most.
Don't forget to hit INSTALL! (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=179989)
Support will only be given to people who have hit install.
Wired1
05-21-2008, 06:43 AM
vB Phrases:
extra_options_updated - Simple message posted after you hit the SAVE button on the page.
edit_extra_options - Name of UserCP link
extra_options - Shows up in various places, mostly on the title of the extra page, as well as in the profile field selection area (see pics above for more info)
Version History:
3.0.0 - Initial Release
3.0.1 - Added header to edit page, cached templates, redirect now goes back to edit page
To uninstall a previous version (pre vB 3.7.0) of this mod, simply reverse the old instructions and edits!
FENIX
05-21-2008, 06:47 AM
Installed the 3.6 version on 3.7, but I can't quite remember what happened but I stopped using it. The extra profile fields still show up on the user profile (I think it's only viewable to admins) - any ideas on how to remove it?
If these extra fields can be on a seperate 'tab' when viewing their profile this will be an excellent addition to my board and will go straight back on! I look forward to seeing the images.
Cheers
Wired1
05-21-2008, 06:57 AM
Installed the 3.6 version on 3.7, but I can't quite remember what happened but I stopped using it. The extra profile fields still show up on the user profile (I think it's only viewable to admins) - any ideas on how to remove it?
If these extra fields can be on a seperate 'tab' when viewing their profile this will be an excellent addition to my board and will go straight back on! I look forward to seeing the images.
Cheers
1. Post in the CORRECT thread. This one is for the 3.7.x version, NOT the 3.6.x version.
2. Uninstall the 3.6.x version by following the instructions and edits in reverse.
3. Yes, they can be on a separate tab. It's a different product, so as to give people choices if they want to use it or not. I'll upload that one tomorrow though, didn't realize it's so late!
4. Also, please hit the INSTALL button!
The images are just the old ones pretty much :)
sorry, you haven't attached something.. where can I download it?
Wired1
05-21-2008, 07:16 AM
sorry, you haven't attached something.. where can I download it?You may have been looking when it wasn't attached yet (AND there was a message at the top of the description stating I was attaching it).
Either way, it's there right now. Don't forget to hit INSTALL!
FENIX
05-21-2008, 07:48 AM
1. Post in the CORRECT thread. This one is for the 3.7.x version, NOT the 3.6.x version.
2. Uninstall the 3.6.x version by following the instructions and edits in reverse.
3. Yes, they can be on a separate tab. It's a different product, so as to give people choices if they want to use it or not. I'll upload that one tomorrow though, didn't realize it's so late!
4. Also, please hit the INSTALL button!
The images are just the old ones pretty much :)
1. Yes, I realize this is for the 3.7 version but I thought I would ask anyway :)
3. Brilliant, I will hold fire until tomorrow
4. Will do once it is installed (tomorrow lol)
Cheers :)
TalkPhotography
05-21-2008, 12:47 PM
If you were running this on 3.6.8 and just upgraded to vb3.7 with the default vb files, while waiting for a new version of this :
Then you can just uninstall the old version 2.x then install 3.0.0, then make the 1 template, and 1 profilefield.php edits.
Then change the two phrases (or three if you have the redirects turned on), to your liking :)
Installed! :)
neologan
05-21-2008, 05:10 PM
is it just me or is there a little styling missing on the edit extra fields page in the user cp? i'm talking about the html which under user details would say:
<tr>
<td class="tcat">Edit Your Details<span class="normal"> username</span></td>
</tr>
it's missing for me under extra fields, did you forget it?.
Wired1
05-21-2008, 06:27 PM
1. Yes, I realize this is for the 3.7 version but I thought I would ask anyway :)
3. Brilliant, I will hold fire until tomorrow
4. Will do once it is installed (tomorrow lol)
Cheers :)Meant hit INSTALL on THIS product :)
If you were running this on 3.6.8 and just upgraded to vb3.7 with the default vb files, while waiting for a new version of this :
Then you can just uninstall the old version 2.x then install 3.0.0, then make the 1 template, and 1 profilefield.php edits.
Then change the two phrases (or three if you have the redirects turned on), to your liking :)
Installed! :)Correct, because after you upgrade, you've replaced the files, and of course they have no manual edits.
is it just me or is there a little styling missing on the edit extra fields page in the user cp? i'm talking about the html which under user details would say:
<tr>
<td class="tcat">Edit Your Details<span class="normal"> username</span></td>
</tr>
it's missing for me under extra fields, did you forget it?.Got a screenshot? Code's the same as before, but maybe they added something, or maybe it's been that way the whole time and no one's ever mentioned it :)
neologan
05-21-2008, 06:39 PM
i don't have a screen shot as i added the code to the post template so it looks the same now.
but if you go here: https://vborg.vbsupport.ru/profile.php?do=editoptions you see the light gradient blue bar saying: Edit Options: username, this is the bar that is totally missing in the mod. not a big deal really :)
Wired1
05-21-2008, 06:49 PM
What's the code? I'll add it tonight.
KHALIK
05-21-2008, 08:12 PM
How do I manage to get it displayed on postbit?
Example - like this or smiliar (prefer - just one line and the rest under popup)
This is from neologan forum
http://forums.pureoverclock.com/showthread.php?t=479
I have installed this and can see the extra options under my UserCP, but it does not display under postbit.
any ideas why?
Jase2
05-21-2008, 08:21 PM
Anything changed from the 3.6 version Wired ?
Big Boss
05-21-2008, 08:31 PM
Thanks for the update! I've been waiting for this and it's finally here.
neologan
05-21-2008, 08:36 PM
How do I manage to get it displayed on postbit?
Example - like this or smiliar (prefer - just one line and the rest under popup)
This is from neologan forum
http://forums.pureoverclock.com/showthread.php?t=479
I have installed this and can see the extra options under my UserCP, but it does not display under postbit.
any ideas why?that is a different mod: https://vborg.vbsupport.ru/showthread.php?t=97702
Wired1
05-21-2008, 08:39 PM
How do I manage to get it displayed on postbit?
Example - like this or smiliar (prefer - just one line and the rest under popup)
This is from neologan forum
http://forums.pureoverclock.com/showthread.php?t=479
I have installed this and can see the extra options under my UserCP, but it does not display under postbit.
any ideas why?Because this mod has nothing to do with the dropdown in the postbit :) That's a different mod of mine, although that site you linked to either made their own or uses someone else's. They do indeed use my profile page mod though.
Anything changed from the 3.6 version Wired ?Functionality, nope. easier install though (less manual edits). Still working on something new for it, but it would hardly be a noticable change.
Thanks for the update! I've been waiting for this and it's finally here.Hit INSTALL then! :)
neologan
05-21-2008, 09:10 PM
What's the code? I'll add it tonight. the actual table is
<tr>
<td class="tcat">[new phrase?]</td>
</tr>
in the page template above:
<tr>
<td class="thead">$vbphrase[extra_options]</td>
</tr>
<tr>
but i think a new phrase for naming this would be best, too?
odeezie
05-21-2008, 09:30 PM
I installed this, but im not seeing anything...Am I supposed to see an "Extra Options" link show up in my UserCP? :confused:
Wired1
05-21-2008, 09:37 PM
<tr>
<td class="tcat">$vbphrase[edit_extra_options]</td>
</tr>
just before
<tr>
<td class="thead">$vbphrase[extra_options]</td>
</tr>
is sufficient I think. Now that I see the change, I'll probably wait till the next product version update to add that, as no one's mentioned it in years :)
Wired1
05-21-2008, 09:38 PM
I installed this, but im not seeing anything...Am I supposed to see an "Extra Options" link show up in my UserCP? :confused:
If you followed the INSTRUCTIONS, yes. To be specific, you need to do the manual edits in the instruction file.
odeezie
05-21-2008, 09:41 PM
If you followed the INSTRUCTIONS, yes. To be specific, you need to do the manual edits in the instruction file.
I did those edits and went back over them a second time to make sure they were right. I would love to download your other mod too so I can get that drop down menu in users postbits, but I am stuck right now....:(
Can you tell me exactly where I should see the Extra Options link? Maybe I am simply overlooking it....sorry
Wired1
05-21-2008, 09:50 PM
I put pictures up which should explain everything (probably put up around when you were initially posting your question).
neologan
05-21-2008, 10:01 PM
<tr>
<td class="tcat">$vbphrase[edit_extra_options]</td>
</tr>
just before
<tr>
<td class="thead">$vbphrase[extra_options]</td>
</tr>
is sufficient I think. Now that I see the change, I'll probably wait till the next product version update to add that, as no one's mentioned it in years :) agreed!
odeezie
05-21-2008, 10:34 PM
I figured out why it would not show up.
The Extra Options link in the userCP will not show up if you have the UserCP icons hack installed: https://vborg.vbsupport.ru/showthread.php?t=170558
Once I disabled those icons, it worked just fine. Is there anyway I can make this work with the icons enabled?
SVTOA
05-22-2008, 12:04 AM
Very well done!
/installed
Wired1
05-22-2008, 12:21 AM
I figured out why it would not show up.
The Extra Options link in the userCP will not show up if you have the UserCP icons hack installed: https://vborg.vbsupport.ru/showthread.php?t=170558
Once I disabled those icons, it worked just fine. Is there anyway I can make this work with the icons enabled?His mod does much more than just add icons, it replaces the UserCP with its own template. You'd have to edit that new UserCP template.
Very well done!thanks!
toucan42
05-22-2008, 01:57 AM
Tagging this mod and looking forward to the one adding a tab to the 3.7 profile.
Wired1
05-22-2008, 04:31 AM
Tagging this mod and looking forward to the one adding a tab to the 3.7 profile.Please hit INSTALL as well (TBH, no idea what the use of tagging is).
KHALIK
05-22-2008, 01:01 PM
Because this mod has nothing to do with the dropdown in the postbit :) That's a different mod of mine, although that site you linked to either made their own or uses someone else's. They do indeed use my profile page mod though.
Can you link me to that mod please.
neologan
05-22-2008, 04:16 PM
This is the 3.6 version: https://vborg.vbsupport.ru/showthread.php?t=123254
but a 3.7 version is in the works which includes a profile tab as well, which i'm looking forward too
odeezie
05-22-2008, 04:54 PM
His mod does much more than just add icons, it replaces the UserCP with its own template. You'd have to edit that new UserCP template.
thanks!
This post has the solution for anyone having the icons hack problem that I was having:
https://vborg.vbsupport.ru/showpost.php?p=1527540&postcount=104
Thanks for your help Wired! I cant wait to see the 3.7 drop-down mod that goes with this!
Thanks again.
:D
rootnik
05-22-2008, 07:25 PM
This is always one of my favorites. Thanks Wired.
Wired1
05-22-2008, 07:38 PM
This is always one of my favorites. Thanks Wired.No problemo!
BTW, to those of you who use this mod, and don't use the dropdown / tab mods, what DO you use it for? :)
rootnik
05-22-2008, 08:17 PM
No problemo!
BTW, to those of you who use this mod, and don't use the dropdown / tab mods, what DO you use it for? :)
My website allows users to share friend codes. I have a separate profile field for the DS and the Wii.
http://www.friendcodes.com/forums/members/1/corey.html (friend codes block)
http://www.friendcodes.com/forums/site-news-and-updates/83599-forum-upgrade-complete.html (my friendcodes button under signature)
I have a custom page in the usercp that members use to submit the data.
The ability to add extra profile categories helps us allot, and is mostly what I use this mod for.
Wired1
05-22-2008, 09:13 PM
Cool idea!
SVTOA
05-22-2008, 09:42 PM
No problemo!
BTW, to those of you who use this mod, and don't use the dropdown / tab mods, what DO you use it for? :)
I used it to fix an issue with the "timeslips" hack I had installed way back when I had Vb3.0.
After upgrading to 3.7.0, I lost the "edit vehicle profile" function in that hack. (It would take a selected block of custom fields for a timeslip database and make it so the user could edit them as a group separate from the regular profile)
The sorting still worked, however the user had to sort thru all custom fields to change anything with the timeslip hack. Your hack allowed me to re-create the "Edit your Vehicle Profile Info" function (with working link to same) and I edited the phrases to suit my needs. So I guess I am using this as a "patch" for another hack and it was just what I needed....
I'll use the rest of it when you finish/release it....
verino
05-23-2008, 02:04 AM
Hello.
Can this be used as a dropdown user info such as to show :
- member userid
- member additional usergroup
- other info I want to be shown
Thank's
Wired1
05-23-2008, 02:36 AM
This mod is not a dropdown, so... NO. It's clearly only for PROFILE FIELDS. I have a different mod for dropdown (which I've gotta upload tonight, after some forum work).
MarkoXaser
05-23-2008, 07:25 AM
i have installe this for my 3.7 but the problem is one....
dropdown menu don't show! why?
SVTOA
05-23-2008, 09:54 AM
This mod is not a dropdown, so... NO. It's clearly only for PROFILE FIELDS. I have a different mod for dropdown (which I've gotta upload tonight, after some forum work).
I think people are getting confused by the example shown. If you bother to read carefully, it's explained pretty clearly what this mod does.
MarkoXaser
05-23-2008, 01:16 PM
excuse me if i not understand but i'm italian, and this forum is only english...please have a patience with me ;)
i still wait for a dropdown mod ;)
tpn87
05-24-2008, 12:22 AM
excuse me if i not understand but i'm italian, and this forum is only english...please have a patience with me ;)
i still wait for a dropdown mod ;)
See this mod also by wired1: https://vborg.vbsupport.ru/showthread.php?t=180309
Gio~Logist
05-24-2008, 06:17 AM
Can you add as many pages as you'd like, or just one?
Giovanni Martinez
Wired1
05-24-2008, 06:40 AM
Can you add as many pages as you'd like, or just one?One. Still no easy way to do it w/o editing vars. Looking into working something out w/ the new Categories, but no great luck ATM.
Mike-D
05-25-2008, 08:00 AM
To Wired: Is that correct, that we don't need editing the functions_user.php File anymore? Thank you, Sir :)
****************************************
*** open includes/functions_user.php ***
****************************************
Find:
-----
case 5:
$customfields['other'] .= $tempcustom;
break;
Add under:
----------
case 6:
$customfields['extra'] .= $tempcustom;
break;
// *** save and close includes/functions_user.php
Wired1
05-25-2008, 08:38 AM
To Wired: Is that correct, that we don't need editing the functions_user.php File anymore? Thank you, Sir :)Please read the instructions.
Mike-D
05-25-2008, 08:58 AM
Please read the instructions.That why I asked. Because I couldn't find the old Info in it. I'd like to know why we don't need to edit the functions_user.php anymore!
Wired1
05-25-2008, 08:59 PM
That why I asked. Because I couldn't find the old Info in it. I'd like to know why we don't need to edit the functions_user.php anymore!Because the manual edit is just no longer need :) Works without it, right? RIGHT.
Jase2
05-26-2008, 10:35 AM
Can you cache all templates ?
Gio~Logist
05-26-2008, 04:18 PM
Why not just change the var to a .= instead of a = and then change the query to pull all categories and sections within a table where the categories are made. From there it's just a matter of editing what's inserted in the usercp shell and then recoding the query on your custom page. But your custom page can be based on a request so that your query doesn't have to be edited too much.
Giovanni Martinez
Wired1
05-27-2008, 02:25 AM
Why not just change the var to a .= instead of a = and then change the query to pull all categories and sections within a table where the categories are made. From there it's just a matter of editing what's inserted in the usercp shell and then recoding the query on your custom page. But your custom page can be based on a request so that your query doesn't have to be edited too much.Are you thinking of a manual edit of a php file somewhere?
Jase2: Only 1 template, and yes, you can cache it.
shlomot
05-28-2008, 06:53 AM
Dear Wired1, need this MOD and much more additional help.
Sent you a PM. Please let me know.
Mike-D
05-29-2008, 05:12 PM
Because the manual edit is just no longer need :)Aaah, that's the reason why :)
Works without it, right? RIGHT.Yep it does. I'm really surprised how it works without any editing the functions_user.php file. Excellent job as always :up: Thank you so much for updating :) -Mike
Wired1
05-29-2008, 06:44 PM
Aaah, that's the reason why :)
Yep it does. I'm really surprised how it works without any editing the functions_user.php file. Excellent job as always :up: Thank you so much for updating :) -Mike
That's what hooks are for.
Mike-D
05-29-2008, 08:40 PM
That's what hooks are for.Sigh, the mystery Hooks. Some loves them and some hate them. Sometimes it's still a book of 7 seals for me :(
Mike-D
05-29-2008, 08:43 PM
Can you cache all templates ?You can do it yourself. It depends too which Templates should be cached.
Regarding my Snapshots here's the way I did...
<plugin active="1">
<title>Extra Profile Page Cache Templates</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('page','userfield_radio', 'userfield_radio_option', 'userfield_select', 'userfield_select_option', userfield_wrapper));]]></phpcode>
</plugin>
Jase2: Only 1 template, and yes, you can cache it.Strange because I had several of them :)
RedGTiVR6
05-29-2008, 09:38 PM
This might already be answered elsewhere in the bagillion posts...
is it possible to make this into multiple tabs?
In otherwords, lets say I want to have a tab for PC specs, but also a tab for Audio specs, and another for car specs...
Is this possible or is this only able to handle one page to enter these specs and one tab to display?
RedGTiVR6
05-29-2008, 09:42 PM
Also, I remember there being some talk about making these fields searchable through the members search list.
Has this been implemented yet or is it not possible/entirely too much work?
Wired1
05-29-2008, 11:18 PM
is it possible to make this into multiple tabs?
Also, I remember there being some talk about making these fields searchable through the members search list.
Search turns out was a typo all along, easy to implement. The 3.6.x page has the code near the end of the thread. I'll add it here, or add it in somehow later. Multiple pages / tabs is also on the schedule, probably this weekend. Easy way: duplicate code. Correct way: recode some stuff :)
RedGTiVR6
05-30-2008, 02:05 AM
https://vborg.vbsupport.ru/showpost.php?p=1505587&postcount=292
This is the post I take it?
The provided code is a bit off, but I figured it out.
I've entered the code as follows, but now my memberlist.php page doesn't even show up...
In memberlist.php:
FIND:
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
WHERE form = 0 "
REPLACE WITH:
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
WHERE form = 0 OR form = 6 "
FIND:
// get extra profile fields
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND form = 0
REPLACE WITH:
// get extra profile fields
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND form = 0 OR form = 6
The correct code should be as follows for the first replacement, the second one is right.
$profilefields = $db->query_read_slave("
SELECT profilefieldid, type, data, optional, memberlist, searchable
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 OR form = 6"
Mike-D
05-30-2008, 12:55 PM
To Wired: Would you please so kindly to tell me: How it's possible to prevent the page switching to the UserCP, after the Settings have been saved. Know what I mean? Let's start an example...
1. Currently I'm on the vbulletin/profile.php?do=extra page
2. After pressing the Save Button the Redirect appears to save the settings
3. After saving the page returned to vbulletin/usercp.php
And exactly the last point I'd like to know how it works. So I'm not sure but I believe it has something to do with that Code below. Especially the last "else" statement...
if (empty($vbulletin->GPC['gotopassword']))
{
$vbulletin->url = 'usercp.php' . $vbulletin->session->vars['sessionurl_q'];
}
else
{
$vbulletin->url = 'profile.php?' . $vbulletin->session->vars['sessionurl'] . 'do=editpassword';
}
Would you please help me? I'm sure it's just a small thing. Thanks in advance :) -Mike
Mike-D
05-31-2008, 10:22 AM
I figured out why it would not show up.
The Extra Options link in the userCP will not show up if you have the UserCP icons hack installed: https://vborg.vbsupport.ru/showthread.php?t=170558
Once I disabled those icons, it worked just fine. Is there anyway I can make this work with the icons enabled?Regarding the "Icons for UserCP Navigation 1.2" here an example to add the Extra Profile Link below the "Profile Picture" Link inside the UserCP...
Template USERCP_SHELL_ICONS => Add this Code
<if condition="$show['profilepiclink']">
<tr>
<td class="$navclass[profilepic]" nowrap="nowrap">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img border="0" src="$stylevar[imgdir_misc]/usercp_icons/picture_edit.gif" width="16" height="16"></td>
<td><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td>
</tr>
</table>
</td>
</tr>
</if>
<!-- Extra Profile Field -->
<tr>
<td class="$navclass[extraoptions]" nowrap="nowrap">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20">
<img border="0" src="$stylevar[imgdir_misc]/usercp_icons/page_user.gif" width="16" height="16"></td>
<td><a class="smallfont" href="profile.php?$session[sessionurl]do=extraoptions">$vbphrase[extra_options]</a></td>
</tr>
</table>
</td>
</tr>
<!-- / Extra Profile Field -->
<!-- / My Profile -->
Mike-D
05-31-2008, 06:27 PM
Attn To Wired: Could you please help regarding my last Post #62 ??? Please! Thank you :)
UK-Biker
06-01-2008, 08:06 AM
This is great, but it would be 500% greater if I could include an image field.
I was going to use the VB_garage mod for our motorbike club site, but ti's not compatible with 3.7
https://vborg.vbsupport.ru/showthread.php?t=63681&page=119
I've installed this mod, and made some extra fields for bike make, model, mods etc but would be awsome if I could include some images. Maybe 2 or 3 images.
I suppose I need to be able to create a New User Profile Field but have the option to have an image field instead of radio buttons or single line text box's etc.
Great hack anyway. Hope somebody can look into images side of it.
SVTOA
06-01-2008, 01:28 PM
This is great, but it would be 500% greater if I could include an image field.
I was going to use the VB_garage mod for our motorbike club site, but ti's not compatible with 3.7
https://vborg.vbsupport.ru/showthread.php?t=63681&page=119
I've installed this mod, and made some extra fields for bike make, model, mods etc but would be awsome if I could include some images. Maybe 2 or 3 images.
I suppose I need to be able to create a New User Profile Field but have the option to have an image field instead of radio buttons or single line text box's etc.
Great hack anyway. Hope somebody can look into images side of it.
Not sure what you mean, but I have this working for images as well with Vb Garage and Vb3.7.x. There's a field on my board "VB Garage Picture" using the IMG tag where if the member pastes an image URL into the profile field, it correctly parses the IMG code into the Vb Garage and displays the picture in the Garage section. This is nice because they can put any image they want on the web without having to upload it to my server or use up one of the uploads they get with the garage. I am using this hack for "Edit Vehicle Profile" but I can add any fields I want to that versus only the Timeslip Database fields. it works perfectly...
Audentio
06-01-2008, 05:05 PM
I don't see the point in this mod if you can't view what people fill in lol.
UK-Biker
06-01-2008, 07:55 PM
Not sure what you mean, but I have this working for images as well with Vb Garage and Vb3.7.x. There's a field on my board "VB Garage Picture" using the IMG tag where if the member pastes an image URL into the profile field, it correctly parses the IMG code into the Vb Garage and displays the picture in the Garage section. This is nice because they can put any image they want on the web without having to upload it to my server or use up one of the uploads they get with the garage. I am using this hack for "Edit Vehicle Profile" but I can add any fields I want to that versus only the Timeslip Database fields. it works perfectly...
VB Garage will not install on my 3.7 site
Get the error
Fatal error: Call to a member function on a non-object in /dir/00/0000000/htdocs/website/admincp/install_vbgarage.php on line 321
Wired1
06-03-2008, 02:08 AM
Attn To Wired: Could you please help regarding my last Post #62 ??? Please! Thank you :)When I fix it in a future version :)
Great hack anyway. Hope somebody can look into images side of it.Well that'd be me since it's my mod :) However, this mod is purely for the input page, so you'd use a different mod to display the image. In this mod, all you'd do is create a profile field that would take in the URL.
Guys, if you're having a problem with someone else's thread, please take it to their thread, not mine!
I don't see the point in this mod if you can't view what people fill in lol.Read the thread. People use it with other various mods, some are mine, some aren't. You've already downloaded it I see, so you've either installed it, or not...
Mike-D
06-03-2008, 02:05 PM
When I fix it in a future version :)There's no fix needed, because I have deleted that Code. The lines starting with 'gotopassword' makes no sense and is really not needed. Unless there exist an hidden Form Field 'gotopassword' and its value is '1'. After the User is being redirected to the Page to change his password. Without these lines it works perfectly ;)
UK-Biker
06-05-2008, 03:49 PM
Well that'd be me since it's my mod :) However, this mod is purely for the input page, so you'd use a different mod to display the image. In this mod, all you'd do is create a profile field that would take in the URL.
Any advice on how to create that profile field ?
Wired1
06-05-2008, 05:15 PM
Just like every other profile field: from the AdminCP.
UK-Biker
06-06-2008, 04:53 PM
Just like every other profile field: from the AdminCP.
I'm trying not to sound too thick here, and really appreciate your help and understand it's not part of your mod, BUT I know how to add a custom profile field, but getting it to allow the insertion of an image has stumped me.
I am sorry for bothering you. I'll have a good poke about for maybe a different mod that does what I need.
Many thanks - Still a good mod you have done by the way. Maybe not for me though.
Wired1
06-06-2008, 05:21 PM
Depending on where you call and want to display the img, you'd place the appropriate BBCODE or HTML references around it.
UK-Biker
06-07-2008, 06:39 AM
Depending on where you call and want to display the img, you'd place the appropriate BBCODE or HTML references around it.
Already tried that. Will not display image. Would be much easier to use a mod that has a full editor with insert image option OR an upload option, or something along those lines.
What I want is an option for my members along the lines of vb garage, but vb garage will not work on my site.
(and I've posted on that mods thread with no reply as yet from the developer).
solidlink
06-07-2008, 05:09 PM
is it possible to add icon/picture beside the field? for example MSN?
Wired1
06-07-2008, 08:56 PM
is it possible to add icon/picture beside the field? for example MSN?Please hit the INSTALL button for support.
Why would you want a MSN icon next to a profile field? There's already an IM option for MSN built into vB.
Subah
06-09-2008, 04:31 AM
Thanks for the update :)
RedGTiVR6
06-10-2008, 07:08 PM
Just install the .xml and that's it for updating I take it?
Wired1
06-10-2008, 09:51 PM
Just install the .xml and that's it for updating I take it?Yes, but if you've upgraded vB, then you'll need to make the manual edits as well.
vanbao
06-11-2008, 06:05 AM
Please forgive me if this has been answered somewhere. But after importing both .xml files and making the changes to the two html files, all I get is this. When I click on the link "Edit Extra Options", I don't see any thing on the right side.
Please see screen shot.
https://vborg.vbsupport.ru/external/2008/06/10.png
Wired1
06-11-2008, 06:27 AM
Please forgive me if this has been answered somewhere. But after importing both .xml files and making the changes to the two html files, all I get is this. When I click on the link "Edit Extra Options", I don't see any thing on the right side.
Go to the post at the top, and look for:
After the product is FULLY installed, when a you want to move a profile field to the new page for easy editing:The instructions are right after it.
vanbao
06-11-2008, 03:32 PM
Go to the post at the top, and look for:
The instructions are right after it.
Thank you so much Wired1. This is a very cool mod.
Suppose I want to change the name in the tab from "extra options" to "My Favarites", Could you tell me where I would go to change that.
Thanks so much.
Wired1
06-11-2008, 07:12 PM
This is not the tab mod. Please read the instructions at the top in full on both threads and they will explain what you are looking for.
UK-Biker
06-11-2008, 08:07 PM
I'm going to be a pain here, but can I pester you for more info on including images because it's driving me mad :confused:
Wired1
06-11-2008, 10:35 PM
I'm going to be a pain here, but can I pester you for more info on including images because it's driving me mad :confused:All this mod does is move the edit area of certain marked profile fields to a new page. It has nothing to do with displaying images. I would suggest that you start a new thread asking how to use a profile field (containing a URL) to display an image, where ever you'd like the image to be displayed.
UK-Biker
06-13-2008, 06:26 PM
All this mod does is move the edit area of certain marked profile fields to a new page. It has nothing to do with displaying images. I would suggest that you start a new thread asking how to use a profile field (containing a URL) to display an image, where ever you'd like the image to be displayed.
OK..........Thanks :rolleyes:
I'll get my coat :D
UK-Biker
06-14-2008, 06:06 AM
Success at at last :D
Used this option https://vborg.vbsupport.ru/showthread.php?t=138476 to allow images in user profile fields.
Just one question. Is there a template I can edit to clean up the layout ie; when somebody is viewing the extra profile fields page of another member, can I alter the layout ?
Wired1
06-14-2008, 07:01 PM
No one can see someone else's EPFP, as it is an EDIT only page.
Audentio
06-14-2008, 08:36 PM
Installed and lovin it.
Wired1
06-15-2008, 12:39 AM
Thanks!
shlomot
06-20-2008, 02:47 PM
Dear Wired1, I thank you for this great mod from the bottom of my heart, but it still needs some modifications for which I'm willing to pay (even though I'd still like them to be packed in this mod).
You can see what your page on my site looks like here (http://www.topsynergy.net/profile.php?do=extra) (use test/test to log in). In short, it is one big mess (and this is only the start:)) that can be organized in no time with your talented hands.
Required changes:
1. Field display order by "category order" / "field order"
2. Allow wrapping of field title, so it will be consistent with templates for outer and inner widths.
3. Allow to place a border around all fields that belong to the same category.
4. Allow category title to be output as that region's title.
5. Allow category description output below the category title.
6. Allow disabling border around each field.
7. Allow field description to be output below field title.
8. Mark category title as a bookmark so we can refer members to the specific region on the page via the URL.
9. This is a nice-to-have feature: place a "save" button beneath each category region.
10. Another nice to have: allow us to define a path to an include or cron file that is executed after data has been commited to the database, with a parameter of userid or username.
Please let me know a.s.a.p. how do you feel about making these modifications.
Thanks a lot.
Wired1
06-20-2008, 04:36 PM
10. Another nice to have: allow us to define a path to an include or cron file that is executed after data has been commited to the database, with a parameter of userid or username.What does this have to do with profile fields?
shlomot
06-21-2008, 01:00 AM
It has nothing to do with the profile fields. That's why I put it in the nice-2-have category:)
I was just hopping that if you could packaged it into the product, I won't have to make ANY customizations to it every time there's a new version upgrade, and just rely solely on your MOD.
Sorry if I mixed apples with oranges:)
What does this have to do with profile fields?
Dinatius
06-25-2008, 12:43 AM
Installed (upgrade from 3.6.x). Nice work, Wired :)
I actually have 2 pages running...
UK-Biker
06-29-2008, 06:53 PM
Wired .. Please help :confused:
Updated to VB 3.7.2, now I have lost all my extra fields.
They are showing on the site, but from admincp/User Profile Fields/User Profile Fields Manager I can only see category 1 which is everything in the normal profile area.
Cat 2 is my garage (which is what I'm using extra fields for) and nothing is showing.
It's the only place affected. The table in db are there, it's there on the site with all correct details, just admin cp missing.
Any ideas ?
Jase2
06-29-2008, 07:03 PM
Did you re-do the template edit?
admincp/profilefield.php
UK-Biker
06-29-2008, 07:16 PM
Did you re-do the template edit?
admincp/profilefield.php
Was just coming back to post I'd sussed that out.
Also had to redo the USERCP_SHELL edit.
Thanks for reply Jase. All sorted :D
Jase2
07-03-2008, 01:00 PM
I'm having a strange problem.
I go to:
ACP --> User Profile Fields --> User Profile Field Manager
...but the user profile fields for my system specs aren't there. I added one not so long ago, so I have no idea why they aren't showing. Even better, they still show on the extra_options page and everything is working fine. Any ideas?
Wired1
07-03-2008, 01:43 PM
You're missing one of the manual edits I believe. Or a plugin is disabled.
Jase2
07-03-2008, 01:57 PM
Nope, everything is working fine. Also, a plugin or manual edit wouldn't stop it from showing in the default vBulletin User Profile Field Manager..
Wired1
07-03-2008, 02:05 PM
If the extra edits for the profile field aren't there, it's outside of the normal scope of what vB's looking for, so it wouldn't show up. However, the page would work just fine.
Jase2
07-03-2008, 02:45 PM
Huh? Well, you create a new user profile field, and set it to display on the extra_options page. What I am saying, is that the user profile fields are now not showing in my ACP, so I cannot edit them...
Wired1
07-03-2008, 03:20 PM
Follow the instructions and do the manual edit again. I'm guessing you've upgraded your forum recently.
Jase2
07-03-2008, 03:50 PM
Ah, I forgot to re-do the /admincp/profilefield.php edit hehe.
Thanks, Wired! :)
tpn87
07-04-2008, 01:54 AM
Hi Wired1, How can I Change the layout of the page.
I have 2 categories and right now, all fields show up together. It would be great to divide them up with maybe the title of the Categories, perhaps in different tables or divs on the page.
Is this doable?
Yarike
07-05-2008, 03:22 PM
Its lovely, installed!
The only thing i can suggest is maybe show up on profile pages other then that thanks :)
RedGTiVR6
07-05-2008, 03:54 PM
it shows up on it's own profile page?
If you have a number of fields, you probably wouldn't want it to show up on the same profile page....no?
anderow
07-07-2008, 10:55 PM
Fantastic mod wired :D
Got it all working no problems....
But when I selected an existing field I wanted to make into 'extra options', although it shows in a new tab (using the other mod listed) and the extra options mod works, it has disappeared from 'user profile fields?)..complete with its ID number!
So I added a new one and tried again, that is also not visible in there (to edit) but is visiblt in my forum user control panels?
Any ideas on where I can find them?! :)
thanks
Wired1
07-08-2008, 01:59 AM
Check my profile.
anderow
07-08-2008, 08:09 PM
Can anyone help here please?
Ive got the mod working but the 'extra option' profile fields are not showing up in the Admin CP once I have created them.
So, if I create a field called 'test' and put it in the Extra Options group, it shows up fine in the users control panel and in the drop down from the username (different mod I know) but when I got to 'User Profile Fields' in the admin CP it does not show in there?
So ID number 5 is currently missing from there, and also 6 and 7?
Please tell me how I can find them or get them back because I want to delete 2 of them that were only for testing
thanks
Wired1
07-08-2008, 09:08 PM
Follow the instructions and make the manual edits.
anderow
07-08-2008, 09:41 PM
Follow the instructions and make the manual edits.
Ooops :eek:
My bad :o
I missed the final edit of the text file
find
5 => "$vbphrase[options]: $vbphrase[other]", (line 1247 of the default 3.7.0 file)
add under
6 => "$vbphrase[options]: $vbphrase[extra_options]",
that will serve me right for staying up too late :D
Thanks. Thats sorted it!
blind-eddie
07-08-2008, 09:52 PM
Wired1, are you pulling your hair out yet?
Great mod, Thank You for sharing it.
How hard would it be to make the contents of the Extra Profile Fields Tab, clickable? I have other uses for the addon. I did download & install the Dropdown in Postbit, it works great, but it wont work for me unless the drop down contents are clickable. Leaving the Extra Profile Fields Tab in place is working great for me, but wish they were clickable to send members and guest to external pages. I have tried a few ideas to get it to function they way I wish it to, but I cant seem to get it right. I will keep trying. Thanks
Wired1
07-08-2008, 11:43 PM
Please remove your post and place it in the correct thread!
mr clean
07-24-2008, 01:55 PM
Search turns out was a typo all along, easy to implement. The 3.6.x page has the code near the end of the thread. I'll add it here, or add it in somehow later. Multiple pages / tabs is also on the schedule, probably this weekend. Easy way: duplicate code. Correct way: recode some stuff :)Have the multiple tabs been implemented yet? I took the easy way out and just duplicated the code to get multiple tabs, but I would rather have everything done the "correct way" if at all possible. What's the downside of doing it the easy way?
cdnbacon
07-31-2008, 06:04 PM
Have the multiple tabs been implemented yet? I took the easy way out and just duplicated the code to get multiple tabs, but I would rather have everything done the "correct way" if at all possible. What's the downside of doing it the easy way?
I'm also curious when the multiple tab option will be available.
Warion
08-08-2008, 02:05 AM
# of plugins: 3
# of php page edits: 1 (admincp/profilefield.php)
# of new templates: 1 (page)
# of template edits: 1 (USERCP_SHELL)
# of new phrases: 3 Click here for details. Also look at the attached pictures to see where they show up.
no where does your readme mention a new template. Am I missing something.
Also how can I set it up to its own panel. (etc. Your Profile, Networking, Settings and Options, Private Messages...) Its own section in the User CP
Wired1
08-08-2008, 05:06 PM
multiple tabs in the ADVANCED format: nowhere enough responses for me to re-code the whole setup for it, but either way, the tabs are a different mod.
The template is built into the product, and as such, there is no need to mention it in the instructions.
StokoE
08-09-2008, 07:17 PM
Hi Wired,
Loving the work ! Although i dont know what i have missed but i cant display it like your site has it (under your username) Wired's System Specs or so..
I would like the click drop down to work on my site.
Could you help please
UK-Biker
08-12-2008, 08:48 PM
I may have missed something here, but if I have I am sorry, but is there a way to display one of my custom fields, say "field10" under the users name when viewing posts in the forum (showthread.php) ??
marrr
08-14-2008, 08:07 PM
I have it working but I have 1 problem. In admincp I see Profile Fields from Form" It should be Profile Fields from Form ''System Specs"
I did the changes in the profilefield.php..
Im using 3.7.2.
"$vbphrase[options]: $vbphrase[other]",
"$vbphrase[options]: $vbphrase[extra_options]"
5 => "$vbphrase[options]: $vbphrase[other]",
6 => "$vbphrase[options]: $vbphrase[extra_options]",
Wired1
08-15-2008, 06:55 AM
Hi Wired,
Loving the work ! Although i dont know what i have missed but i cant display it like your site has it (under your username) Wired's System Specs or so..
I would like the click drop down to work on my site.
Could you help please
Please read the description of this mod again.
Jeordie015
08-16-2008, 11:44 PM
This is somewhat of a minor thing, but it sort of bothers me. I'm not sure exactly what I did to make this happen, but a screenshot should show best what I'm talking about.
So basically I'm using this hack for video game username code things. The field that's showing up as Xbox Live in the Edit Profile pages in the Admin CP does not exist in the User Profile Fields page in the Admin CP. I just want to get rid of it. It might require some database table deleting, but I'm not sure. Please help.
Wired1
08-17-2008, 02:41 AM
I may have missed something here, but if I have I am sorry, but is there a way to display one of my custom fields, say "field10" under the users name when viewing posts in the forum (showthread.php) ??That would have NOTHING do do with any of my mods. It can probably be done though.
I have it working but I have 1 problem. In admincp I see Profile Fields from Form" It should be Profile Fields from Form ''System Specs"Nothing I can do about that w/o extensive manual edits to some of the adminCP php.
This is somewhat of a minor thing, but it sort of bothers me. I'm not sure exactly what I did to make this happen, but a screenshot should show best what I'm talking about.
So basically I'm using this hack for video game username code things. The field that's showing up as Xbox Live in the Edit Profile pages in the Admin CP does not exist in the User Profile Fields page in the Admin CP. I just want to get rid of it. It might require some database table deleting, but I'm not sure. Please help.Follow the instructions again, that's it. A step was missed.
ForgotenDynasty
08-20-2008, 08:54 PM
With an ADDITIONAL product (e.g. NOT this one), I place these specs in a dropdown list under the user title in each user's post, as well as in their profile as an extra tab.
could you tell us witch product it is so i we can also download it to get the most out of this mod
blind-eddie
08-20-2008, 09:10 PM
Look in first post in the Addon Section.
ForgotenDynasty
08-21-2008, 04:24 PM
Im getting a security token error
:(
I think im going to have to go back to the 3.6 one since that worked fine in my 3.7
Wired1
08-21-2008, 07:46 PM
Im getting a security token error
:(
I think im going to have to go back to the 3.6 one since that worked fine in my 3.7
The security token error will only pop up if you are using an old version of this mod, from before vB 3.6.10, when the security token was introduced.
To fix this pre-3.7.0, the 3.6.x thread has a link at the VERY TOP of the first post detailing how to add the required code (via manual edit or product update). This thread is about the 3.7.0 version, which already has the required code in place.
In otherwords, either you have a very old version of this mod installed, or the error is coming from something else.
ForgotenDynasty
08-22-2008, 08:26 PM
The security token error will only pop up if you are using an old version of this mod, from before vB 3.6.10, when the security token was introduced.
To fix this pre-3.7.0, the 3.6.x thread has a link at the VERY TOP of the first post detailing how to add the required code (via manual edit or product update). This thread is about the 3.7.0 version, which already has the required code in place.
In otherwords, either you have a very old version of this mod installed, or the error is coming from something else.
I re did everything and it worked fine this time :)
Wired1
08-22-2008, 09:54 PM
I re did everything and it worked fine this time :)
Please hit INSTALL.
StokoE
08-23-2008, 08:49 AM
Please read the description of this mod again.
Been over it more than twice now and still unable to see the system specs..
Dont worry its been marked as uninstalled now
nerofix
09-15-2008, 02:20 PM
Can I have several extra pages?
I've tried to modify the product to "do=secondextra", but I failed, it still shows me "do=extra" fields.
Is it possible to have several of these extra pages? Can you lead me to get more pages?
Edit: I think the problem I got has something to do with "fetch_profilefields(1);" ... How I can get the fields of the secondextra page?
Wired1
09-15-2008, 05:57 PM
Been over it more than twice now and still unable to see the system specs..That's because this mod doesn't do what you want. It's only what it says it is and not what you are looking for. That's another mod. Check my profile for other mods I've made that may or may not do what you're looking for.
Can I have several extra pages?
I've tried to modify the product to "do=secondextra", but I failed, it still shows me "do=extra" fields.
Is it possible to have several of these extra pages? Can you lead me to get more pages?
Edit: I think the problem I got has something to do with "fetch_profilefields(1);" ... How I can get the fields of the secondextra page?Try the attached file / instructions. Totally forgot I planned ahead :)
nerofix
09-15-2008, 07:20 PM
Thank you so much, I'll check the new xml out, .. I think I could need about 100 of them =)
Wired1
09-16-2008, 02:39 AM
100??? WHY? That's a bajillion profile fields! PM me w/ some more info, I'll see what I can do :)
Cocko
09-16-2008, 09:22 AM
Before installing there is a question of interrest,
Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shown
e.g. "miserables" don't have the option for this page and no profile tabs
(of this extra page) from miserables are shown.
Wired1
09-16-2008, 12:07 PM
Before installing there is a question of interrest,
Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shown
e.g. "miserables" don't have the option for this page and no profile tabs
(of this extra page) from miserables are shown.
In short: no. This is purely a cleaner way to edit profile fields on their own page. This does not make extra permissions around profile fields. Can you expand on why you'd only want certain users to edit their profile fields?
Cocko
09-16-2008, 12:58 PM
Just mentioned before, some usergroups users shouldn't be allowed to
setup addtional fields. the normal fields from vbulletin are ok but even
not the more with your add-on.
usergroup without that permission for using "more fields" or without the
feature of shown their "more fields" are miserables, inactive users and
users with bouncing emails.
Wired1
09-16-2008, 03:14 PM
This doesn't create more fields, it just separates the edit area for profile fields that you mark into a new page. If you need profile fields to be limited by user groups, I'd contact Jelsoft.
Sworm
09-20-2008, 02:08 PM
In 3.7.3 PL1 version this mod don't work!
A sintax error is showed when i try to click my "AdminCp/Manage Users field"
Sworm
09-20-2008, 02:10 PM
Uninstalled
Wired1
09-20-2008, 08:00 PM
I don't see "Manage Users" in the AdminCP. Is it under somewhere else? Have you reinstalled the mod? No one else has reported this.
Idawg
09-24-2008, 05:23 PM
All I get when I installed in 3.7.3 PL 1 a blank white page in the AdminCP/UserProfile Field/
*Uninstalled it for now*
Wired1
09-24-2008, 07:38 PM
It's not my mod doing that. Just installed 3.7.3 PL1 on my clean test bed, followed ALL of the instructions, works fine.
firstimecaller
11-21-2008, 03:02 PM
it works fine on 3.7.3 PL1
Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shownI got this to work by using conditionals in the userCP template
jjdurrant
11-27-2008, 03:25 AM
"Extra Profile Fields" How do I change the name of the link?
Wired1
11-27-2008, 08:08 PM
WHICH link? If you mean the ones in the UserCP, the variables are already shown in the attached pics.
Deviant K1
11-28-2008, 03:00 AM
Gonna give it a go... INSTALLED!
Turbe
01-03-2009, 08:12 PM
Before installing there is a question of interrest,
Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shown
e.g. "miserables" don't have the option for this page and no profile tabs
(of this extra page) from miserables are shown.
it works fine on 3.7.3 PL1
I got this to work by using conditionals in the userCP template
Can you show how please?
Turbe
01-03-2009, 08:20 PM
"Extra Profile Fields" How do I change the name of the link?
WHICH link? If you mean the ones in the UserCP, the variables are already shown in the attached pics.
I think perhaps he was asking how to change the string "Edit Extra Options" that is shown in the User's CP..
I would like to change it to something else: "Edit Referral System" or "Edit Referral System Options"
Where is that done?
EDIT: I am asking pre-install questions.. :)
lazyseller
01-04-2009, 12:38 AM
Did you try phrases?
firstimecaller
01-07-2009, 09:14 AM
in the userCP template responsible for making the menu on the left side (I don't know which off the top of my head) I added a conditional that checked the usergroup (you can find out how to do that here somewhere, it is trivial) and added an element in that to display the link to the extra profile fields edit/update page. On that page, you can also add a check for that usergroup, and deny access unless they have permission, but I didn't bother in my application.
transparent
01-17-2009, 12:58 AM
Could you please update this for 3.8 Gold??
I have it installed and working except if you set individual profile fields to show on the member list or be searchable they no longer appear. They were appearing perfectly on 3.7. Everything else seems to work fine including your additional profile tab hack!
It would rad if you could update it!
Wired1
01-18-2009, 08:49 AM
Could you please update this for 3.8 Gold??
I have it installed and working except if you set individual profile fields to show on the member list or be searchable they no longer appear. They were appearing perfectly on 3.7. Everything else seems to work fine including your additional profile tab hack!
It would rad if you could update it!
Don't recall that ever being an offical part of the product. IIRC that was a hack of the member list someone posted.
GHC Webmaster
01-27-2009, 06:59 AM
Don't recall that ever being an offical part of the product. IIRC that was a hack of the member list someone posted.
That's correct, see here (https://vborg.vbsupport.ru/showpost.php?p=1535841&postcount=61)
I notice one thing however. Using this code all profile fields from the extra page show on the advanced search form, even if they are set to not be searchable. Anyone an idea why?
GHC Webmaster
01-28-2009, 09:36 AM
I notice one thing however. Using this code all profile fields from the extra page show on the advanced search form, even if they are set to not be searchable. Anyone an idea why?
Solved this myself, put brackets around the "form = 0 OR form = 6" bit, which makes the complete code edit of memberlist.php for the search function:
FIND line 233 (vB 3.8.1)
// Process Custom Fields..
$userfields = '';
$profilefields = $db->query_read_slave("
SELECT profilefieldid, type, data, optional, memberlist, searchable
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 "REPLACE WITH
// Process Custom Fields.. EDITED
$userfields = '';
$profilefields = $db->query_read_slave("
SELECT profilefieldid, type, data, optional, memberlist, searchable
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 OR form = 6"FIND line 905 (vB 3.8.1)
// get extra profile fields
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND form = 0 REPLACE WITH
// get extra profile fields.. Edited
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND (form = 0 OR form = 6)
Wired1
03-14-2009, 10:55 PM
3.8.x version released:
https://vborg.vbsupport.ru/showthread.php?t=208356
No code changes whatsoever.
Hi, im working with 3.8.1 and installed this mod and the mod for a extra tab. Working great. One question.. If somebody register, then the extra page doesnt have a separed block. It fields stand under other information.. Is it possible to get a on his one standing thing?
Wired1
03-15-2009, 06:37 PM
Is it possible to get a on his one standing thing?I have no idea what you just said, but 3.8.x questions should be in the 3.8.x thread about the tab mod, NOT in this thread.
U.K.Visuals
05-05-2009, 06:04 AM
i have a very strange problem since i updatet from 3.7.x to 3.8.x.
i m using TMS together with this hack. i decided to deinstall this hack from our forums beacause it was not used very often.
i removed the Template edits and the the product. but now i till have the Extra Profile Fileds when new users try to register on the page.
i don't know how to remove them.
could someone please help me out with this?
i have no clue where i have to look for in this kind of problem.
Wired1
05-05-2009, 06:30 AM
It has nothing to do with the mod. You have enabled the profile fields to show upon registration. Turn that off for each profile field.
U.K.Visuals
05-05-2009, 06:44 AM
thanks for your answer.
this was also my first idea, but i have no more profile fileds defined in the forums.
the page with the extra fields is empty?!
Wired1
05-05-2009, 06:56 AM
If you didn't change the profile fields back to a normal edit page before uninstalling the mod, you'll have to reinstall the mod in order to see the profile fields in the AdminCP again. After removing the fields from registration, change them back to normal edit pages, and then uninstall it again.
U.K.Visuals
05-05-2009, 07:56 AM
if i install the mod again the userfilds are still not showing in the AdminCP.
can i remove the fileds somehow in the SQL DB or something like that?
i have filed01 to field33 which i'm not using anymore.
Wired1
05-05-2009, 03:37 PM
You need to edit the php files again. You could remove the info via the DB, but I'd recommend just editing the PHP, and then deleting the file from the User Profile Field Manager.
U.K.Visuals
05-08-2009, 07:46 AM
i did the edits on the PHP files, but i still have no possibility to remove it beacause the option for the extra field is not visible in the Profileflied page.
Wired1
05-09-2009, 11:31 PM
Re-do the whole installation. There's something missing. Either an edit, or the XML file itself.
U.K.Visuals
05-18-2009, 07:45 AM
ahhh... it worked. i think the porblem was that i used the file from 3.7 instead of 3.6 for removing the fileds.
thanks a lot for your help!
I'm thinking this could be what I'm after - but I need to ask a few questions before I install.
1) How do I do a Date field?
(drop-down calendar array like in the Calendar where fieldname is date1[month] date1[day] date1[year] // or is there a cool dropdown calendar class?)
2) How can I make it so that "adds" fields as they need them?
(i.e. like adding a new row with the same column headings)
Is this possible?
Wired1
07-09-2009, 07:55 PM
1. This mod just moved profile field edit areas around, so if it isn't a default option, it's something you'd have to code yourself.
2. Clarify / see above?
Thanks - so some custom coding is what I need ;)
Wired1
07-10-2009, 08:52 AM
For # 1 yes. Not sure what you meany by # 2. Note that this is the 3.7.x version. There's a 3.8.x version as well.
Feanor_87
08-11-2009, 06:23 PM
Great MOD, thanks! :)
Wired1
08-11-2009, 06:37 PM
Please hit install on whichever version you install (including the add ons).
yotsume
08-15-2009, 06:36 AM
Installed and so very nice! Now I will install your new profile tab mod in be in pure heaven!
yotsume
08-15-2009, 08:32 AM
Layout Issue and Searchable Fields?
I have some layout issues in both FF and IE8 when viewing the "Edit Extra Options" page.
1. In FF the profile field boxes are pushed to the right of the page and multi-line boxes show outside the right border a little. (See screenshot)
2. In IE8 a similar layout problem is seen. Again the boxes are pushed to the right. (see screenshot)
MAJOR PROBLEM:
3. All my fields that are moved to this extra page are no longer searchable on the members list even though they are set that way! This is a major problem. How can I get these fields that are moved to be searchable again???
THANKS!
Wired1
08-15-2009, 06:35 PM
1. There's no screenshot.
2. I can't duplicate your issue in FF v3.5.2.
3. https://vborg.vbsupport.ru/showpost.php?p=1727028&postcount=157
yotsume
08-15-2009, 08:20 PM
U updated my post to have the screenshots. What I get for posting so late at night! ;) The fields are pushed to the right in FF and IE. I need them set to the left border. My fields at 80 wide.
Wired1
08-15-2009, 09:54 PM
What version of FF do you have?
The fields are so long probably because of the profile field settings per field.
yotsume
08-16-2009, 12:48 AM
What version of FF do you have?
The fields are so long probably because of the profile field settings per field.
My fields are set at 80 long because they need to be for my members. In my screenshots you will see your page has a bunch of blank space on the left side. How can I get them moved to the left side please?
The problem is in latest FF IE Safari etc. Not sure why but again how can I get the wasted space removed on the left.
Your own screenshot seems to show the fields set way off to the right! Great for fields that are very short.... but not everyone will use short fields and I guess will have the same layout problem.
Thanks...
yotsume
08-16-2009, 01:14 AM
Solved this myself, put brackets around the "form = 0 OR form = 6" bit, which makes the complete code edit of memberlist.php for the search function:
FIND line 233 (vB 3.8.1)
// Process Custom Fields..
$userfields = '';
$profilefields = $db->query_read_slave("
SELECT profilefieldid, type, data, optional, memberlist, searchable
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 "REPLACE WITH
// Process Custom Fields.. EDITED
$userfields = '';
$profilefields = $db->query_read_slave("
SELECT profilefieldid, type, data, optional, memberlist, searchable
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 OR form = 6"FIND line 905 (vB 3.8.1)
// get extra profile fields
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND form = 0 REPLACE WITH
// get extra profile fields.. Edited
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND (form = 0 OR form = 6)
Does this code edit make the fields we had marked searchable and onces we do not mark not searchable? The wording in not clear to me.
I need fields I move to this mods new page to be searchable if I set them that way.
Thanks!
Wired1
08-16-2009, 01:56 AM
My fields are set at 80 long because they need to be for my members. In my screenshots you will see your page has a bunch of blank space on the left side. How can I get them moved to the left side please?Ok, did some quick testing with a normal profile field set to a field length of 80 within the standard Additional Information area. See pic below:
https://vborg.vbsupport.ru/attachment.php?attachmentid=103291
Basically, the space within the red box is dynamic depending on the browser's width. In my case I use a widescreen, so there's more spacing there. The blue box outlines the standard border. The EPFP uses standard vBulletin code to display the profile fields in a separate page. This is why the problem exists both in a standard profile field area as well as in the EPFP.
One option would be to lower the profile field length to a smaller number. This doesn't affect the character size of the variable itself, only the viewable size when editing it. Ultimately it's a limitation of the forum software itself in how it shows the editable area and overlaps the border.
Does this code edit make the fields we had marked searchable and onces we do not mark not searchable? The wording in not clear to me.Haven't tested his code myself, but yes, that's exactly what it should do. All that code does is allow the forum to be able to see the profile fields within the EPFP. From there standard profile field parameters would apply.
yotsume
08-16-2009, 02:38 AM
Ok I follow you. Should be an easy fix to just make the fields a little shorter and if needed multi line input so more is viewable.
I would have rather done one edit to a template of a file to try and get the space on the right removed but reediting 100 fields will work! UGGGG LOL
We use your mod to make an extensive member question section in a new tab due to the nature of our site.
I will test the code edits out to get the fields searchable. THANKS!
scandalous
12-03-2009, 09:34 AM
Is there a way to create extra similar pages using this product?
I need around 4 pages with the profile fields, can this be done? :)
Wired1
12-03-2009, 03:03 PM
Check the 3.8.x thread.
scandalous
12-04-2009, 12:51 AM
I checked and couldn't find what I was looking for.
Basically, there's going to be x amount of different sets of profile fields.
For example...
1.1
1.2
1.3
1.4
------
2.1
2.2
2.3
And so on, but we wish to have say set 1 on one page and then set 2 on another, to make the profile fields less cluttered on one page.
Can you help me with this? I would be grateful if you could. :)
Wired1
12-04-2009, 06:08 AM
What version of vB do you have?
scandalous
12-04-2009, 03:24 PM
vB v3.7.2 :)
Wired1
12-09-2009, 01:09 AM
IIRC the vB 3.8.x page already shows you how to create a 2nd page (I believe someone attached a 2nd page mod to the thread). Either way I'm working on making the vB 4.0 version be easier to use in the sense of unlimited pages (e.g. it'll use new tables).
Dave-M
01-02-2010, 12:50 AM
Hi Wired1,
I was just wondering how you are doing with the VB4 version of this? :)
Thanks,
Dave.
Wired1
01-02-2010, 07:42 AM
Hi Wired1,
I was just wondering how you are doing with the VB4 version of this? :)
Finished and posted it over 3 weeks ago :)
turbosatan
06-05-2010, 11:06 AM
i need to put conditionals around this
Can you tell me which parts would need conditionals to hide both the new tab and if that is hidden would the normal option just reappear in the left nav ? if so where do i need to add conditionals to hide this also
Thanks
T
EDIT
i just realised i posted this in the extra profile fields thread instead of extra profiles fields "TAB" thread
Please pretend this is in the other thread as they kind of join together anyway
Wired1
06-05-2010, 11:25 AM
Can you tell me which parts would need conditionals to hide both the new tab and if that is hidden would the normal option just reappear in the left nav ? if so where do i need to add conditionals to hide this also????????????
Nothing's hidden in the first place, so if you put a conditional around the edit in the USERCP_SHELL template, the page will disappear. If there's no data in there, the tab won't show up.
As it states in the main post, please hit install.
turbosatan
06-05-2010, 01:28 PM
????????????
Nothing's hidden in the first place, so if you put a conditional around the edit in the USERCP_SHELL template, the page will disappear. If there's no data in there, the tab won't show up.
As it states in the main post, please hit install.
ok i have clicked install now
the page is still showing with no data in there.
When you say no data do you mean no answers to the options or actually no questions in there?
UPDATE
I think what i need to do is put conditionals around the template edits i had to make in profilefields.php
Can you advised if these edits can be made within the normal vbulletin template files in style manager instead of in the actual php file?
If not could you point me in the right direction to somewhere that could guide me on how to do this.
turbosatan
06-08-2010, 04:28 PM
i shouldnt have clicked install. it gets a much quicker response ;)
but joking aside bump please i am waiting on the answer to this to put a load of changes live.
Wired1
06-09-2010, 03:20 AM
ok i have clicked install now
the page is still showing with no data in there.
When you say no data do you mean no answers to the options or actually no questions in there?No data = no page.
Can you advised if these edits can be made within the normal vbulletin template files in style manager instead of in the actual php file?
If not could you point me in the right direction to somewhere that could guide me on how to do this.Throw conditionals at the beginning and end of the templates in the product.
i shouldnt have clicked install. it gets a much quicker response ;)
but joking aside bump please i am waiting on the answer to this to put a load of changes live.Nah, I seem to randomly get the updates from this thread.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.