View Full Version : Profile Enhancements - Additional Section within Profile and Dropdown within Posts
nighthalk
04-15-2008, 10:17 PM
Sent you pm with login details and yes field 23 is the operating system field.
Wired1
04-15-2008, 10:43 PM
Try this:
<!-- post specs_menu -->
<div class="vbmenu_popup" id="specs_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]'s System Specs</td>
</tr>
<tr><td class="vbmenu_option">Operating System: $post[field23]</td></tr>
<tr><td class="vbmenu_option">Motherboard: $post[field11]</td></tr>
<tr><td class="vbmenu_option">Processor: $post[field12]</td></tr>
<tr><td class="vbmenu_option">Memory: $post[field13]</td></tr>
<tr><td class="vbmenu_option">Video Card: $post[field14]</td></tr>
<tr><td class="vbmenu_option">Hard Drive: $post[field17]</td></tr>
<tr><td class="vbmenu_option">Hard Drive 2: $post[field18]</td></tr>
<tr><td class="vbmenu_option">Hard Drive 3: $post[field16]</td></tr>
<tr><td class="vbmenu_option">Optical Drive: $post[field19]</td></tr>
<tr><td class="vbmenu_option">Optical Drive 2: $post[field20]</td></tr>
<tr><td class="vbmenu_option">Sound Card: $post[field21]</td></tr>
<tr><td class="vbmenu_option">Monitor: $post[field22]</td></tr>
<tr><td class="vbmenu_option">Power Supply: $post[field15]</td></tr>
</table>
</div>
<!-- / post specs_menu -->
nighthalk
04-16-2008, 01:47 AM
Ok I got it the problem was I put half the code in postbit_legacy and the other half in postbit.
lmao
Thanks for your help man. Thats what I get for sleeping while reading instructions.
Wired1
04-16-2008, 07:26 PM
lol, glad to hear it works :)
imports
04-23-2008, 08:10 PM
i did all them instruction and double check my work but i don't see any drop down on the profile fields i can't even see this one New Hook Location: vBulletin: Member's Profile -> member_extras (see? I told you it would create a new hook!)
www.importsview.com
help anyone?
Wired1
04-23-2008, 08:23 PM
Can you clarify what you mean? Please PM me a test account on your site, that may help.
Dave-M
05-11-2008, 06:30 PM
Would anyone like to reveal how they got this working on 3.7.0 please?
Thanks
:)
Wired1
05-11-2008, 07:25 PM
Don't recall anyone saying they did actually. I'm working on it right now actually, and they've moved quite a bit of functions around, and changed some functions. Haven't looked at the dropdown yet, but can't see it being that difficult to get up and running.
viper357
05-11-2008, 07:36 PM
Don't recall anyone saying they did actually. I'm working on it right now actually, and they've moved quite a bit of functions around, and changed some functions. Haven't looked at the dropdown yet, but can't see it being that difficult to get up and running.
That would be awesome Wired1.
This is one of the main add-ons that is making me reluctant to upgrade to 3.7 as I really do not want to lose this add-on, my members love it.
Thanks for the hard work you're putting into this :up::up::up:
Dave-M
05-11-2008, 08:56 PM
Don't recall anyone saying they did actually. I'm working on it right now actually, and they've moved quite a bit of functions around, and changed some functions. Haven't looked at the dropdown yet, but can't see it being that difficult to get up and running.
I don't know if this is helpful or not, but when I applied my entire database backup to my new installation, the dropdown and everything was still working. I had to update my custom template and that's where I realised things were different.
The other half of your hack is working as far as the extra profile fields are concerned.
I will happily drop you a few $$ when this is done, it is one of the most handy hacks I use :)
Dave.
Wired1
05-12-2008, 01:26 AM
$$ is always appreciated :)
Looks like they put in a LOT more hook locations and whatnot. Looks like it'll be a product install now, no more edits necessary for the member's page / dropdown stuff!
As it stands, all profile fields show up under the "About Me" tab, regardless if you create a new tab via a plugin (that does NOT query for them itself), or using the built-in creator for categories. A very simple plugin can prevent profile fields from showing up, but it affects anything the default profile field SQL query spits out.
So, the current way I'm going is to have no edits, and keep the extra SQL call in, versus removing the extra SQL call, but leaving in a couple of edits. This way, if/when Jelsoft fixes it so that you can mark profile fields not to show up in About Me, a simple update will fix it versus more edits.
Also, since they've added this new category feature to profile fields, it will probably be possible to have multiple dropdowns (1 per category), without installing multiple versions of the plugin.
Dave-M
05-18-2008, 01:04 AM
How are you doing with this Wired1?
Not pushing, just interested thats all :)
Wired1
05-18-2008, 02:41 AM
Just about done, but still working through the code, putting more phrases in.
I did find a way to make the dropdown TOTALLY automated, no edits needed, but you can't change the order. Working on something for that ATM though. Have the old way in a template as an alternate / backup though.
Dave-M
05-18-2008, 01:07 PM
Thanks for the update :)
TalkPhotography
05-21-2008, 12:53 PM
As per your update email, I would prefer the 3.7 version to be one product.
Containing :
Extra Profile Fields (UserCP)
Tab within user profile
Dropdown in postbit
Wired1
05-21-2008, 06:31 PM
As per your update email, I would prefer the 3.7 version to be one product.
Containing :
Extra Profile Fields (UserCP)
Tab within user profile
Dropdown in postbit
EPFP will ALWAYS be a separate mod, mainly because more people install it than the other mod (by double apparently), so apparently they have other uses for it and don't need the other stuff.
neologan
05-21-2008, 09:46 PM
looking forward to the 3.7 version of this if it gets rid of template modifications to post bit
Wired1
05-21-2008, 10:31 PM
Yep, no edits necessary.
KHALIK
05-22-2008, 09:00 PM
I am waiting for the 3.7.0 as well.
really need this mod on my forum.
Wired1
05-22-2008, 09:14 PM
I am waiting for the 3.7.0 as well.
really need this mod on my forum.
You never hit the install button on this version, but you downloaded it, tsk tsk.
ComputerVitals
05-23-2008, 05:04 PM
Not to nag.
I had this on 3.6 but upgraded to 3.7.0
Any updates on the new version?
Wired1
05-23-2008, 09:48 PM
3.7.0 version of the dropdown part of this mod is now out:
https://vborg.vbsupport.ru/showthread.php?t=180309
The tab part that works in conjunction with the Extra Profile Field Page mod is done, just gotta clean up some code, so I'm working on that right now, should be out within an hour or so, no promises though!
richards112
05-27-2008, 03:48 PM
does this work for 3.7?
Wired1
05-27-2008, 04:16 PM
3.7.0 version of the dropdown part of this mod is now out:
https://vborg.vbsupport.ru/showthread.php?t=180309
does this work for 3.7?See, this is why you should hit the INSTALL BUTTON. When UPDATES are sent out, you are notified of them.
DarkSoroush
06-24-2009, 09:24 PM
About a year from last post, But any way. There are any new coding for 3.8.x?!
I have problem with this section of instructions:
vB AdminCP -> Styles & Templates -> Style Manager -> (Select Style) -> Member Info Templates -> MEMBERINFO
Change the vB Phrase [group_memberships] to whatever you would like the title of the new area to be.
Example: System Specs
OR if you would like the extra options page and this quadrant to have the same title, change // This adds the label for the extra options page within the profile,
change:
<td class="tcat" width="50%">$vbphrase[group_memberships]</td>
to:
<td class="tcat" width="50%">$vbphrase[extra_options]</td>
FIND:
<if condition="$show['membergroups']">
<dl id="membergroups_list" class="smallfont">
$membergroupbits
</dl>
<else />
<div class="smallfont"><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></div>
</if>
REPLACE WITH:
<if condition="$show['extrainfo']">
<dl id="additionalinfo_list">
$customfields2
</dl>
<else />
<div class="smallfont"><strong><phrase 1="$userinfo[username]">$vbphrase[n_a]</phrase></strong></div>
</if>
Wired1
06-25-2009, 01:37 AM
3.7.0 version of the dropdown part of this mod is now out:
https://vborg.vbsupport.ru/showthread.php?t=180309About a year from last post, But any way. There are any new coding for 3.8.x?!
Yes and no. This mod is incompatible with 3.7.x and 3.8.x because of the radical change to the member page. However, new mods were made to place a tab on the member page, and a separate one just for dropdown. Check my profile for links.
In short:
See, this is why you should hit the INSTALL BUTTON. When UPDATES are sent out, you are notified of them.
Dave-M
01-15-2010, 01:30 PM
Sorry bud, I posted in your extra profile fields thread about a possible VB4 upgrade, it's actually this one I would like to know about :)
Will you be doing a VB4 one, and if so, just a ballpark when please :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.