The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Additional Section within Profile and Dropdown within Posts Details »» | |||||||||||||||||||||||||||
Additional Section within Profile and Dropdown within Posts
Developer Last Online: Dec 2021
NOTE: After checking out the vBulletin 3.7 First Look thread, which contains significant changes to the Member Profile page, it is clear that this mod as-is will probably not work properly when it comes to displaying the Extra Profile Info on that page. As soon as an official 3.7 comes out, I'll start working on the changes.
The 3.5.x version of this hack can be found here. This hack builds upon my Extra Profile Fields Page hack. This template mod lets you take the extra fields from that hack and places them within a dropdown that sits below the user's title within each post, as well as replaces the Group Memberships area with a listing of only these specs. The EPFP hack is basically the entry form for the data that's manipulated in this hack. Please check out the pics at the EPFP hack link to get the full idea. In my case, it is used for PC specs (and as you will see the instructions are tailored towards this), however it can be easily used for parts or specifications of almost anything (car parts for example). An example is shown here: http://www.houseofhelp.com/forums/sh...ad.php?t=39826 Example of user profile with specs: http://www.houseofhelp.com/forums/member.php?userid=15 # of plugin hooks: 1 # of php page edits: 1 (just 1 line to add the custom hook line into member.php) # of template edits: 3 # of phrase edits: 1 Any suggestions are appreciated. Don't forget to hit INSTALL! Support will only be given to people who have hit install. Also, please post where you've installed this, as I'd like to see how people are using it. Or if guests can't see the effects, then please post a pic. Show Your Support
|
Comments |
#142
|
|||
|
|||
Installed, working, thanks!
|
#143
|
|||
|
|||
Hi Wired1, and thanks for an awesome hack
I'm using this for members to list their collection and I've added some code to one of the template modifications in order to prevent the dropdown from being rendered off the page. It works ok for IE, but not in FF....does anyone have any ideas??? In postbit: FIND: Code:
<!-- / post $post[postid] popup menu --> Code:
<!-- 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 PC Specs</td> </tr> <if condition="$post['field5']"> <tr><td width="500px" class="vbmenu_option">Motherboard: $post[field5]</td></tr> </if> <if condition="$post['field6']"> <tr><td width="500px" class="vbmenu_option">Processor: $post[field6]</td></tr> </if> <if condition="$post['field7']"> <tr><td width="500px" class="vbmenu_option"> You get the idea. Fill in the blanks!!! </td></tr> </if> </table> </div> <!-- / post specs_menu --> Many thanks, Adam. Edit: Nevermind, managed to sort it by changing the td class and order to: Code:
<if condition="$post['fieldX']"> <tr><td class="alt2" width="670px"><b>X:</b> $post[fieldX]</td></tr> </if> Adam. |
#144
|
||||
|
||||
cool beans
|
#145
|
|||
|
|||
Hi Wired1,
Thanks for this I posted in the other thread last week, and managed to get that part working, but am still struggling with this part. I have this custom skin, and I have followed the instructions to the letter, and here is what I have. As you can see, I dont have any extra options showing, but I do have the extra options in the User CP menu on the left. If someone could point me in the right direction, i would be eternally greatful Thanks. Dave. |
#146
|
||||
|
||||
Quote:
|
#147
|
|||
|
|||
Great mod, many thanks!
Works fine, except this little problem; Let's say I have 5 extra fields. IF a user enters all 5, they all appear ok in the drop down. But if he SKIPS let's say the 3d field, the last two are not displayed in the drop down, even if they are filled in by the user. I checked my <if> </if> parts in the code and there doesn't seem to be any inconsistency. Can you please help me out on this? Again thanks for a great hack. |
#148
|
||||
|
||||
Yeah, it does scream as if there's an <if> somewhere. If you want to post or PM your dropdown code, I'll take a look at it.
|
#149
|
|||
|
|||
Ok I found the problem, I had the same if condition="$post['field6'] twice. Sorry for the messup.
Thanks for offering to help |
#150
|
|||
|
|||
Quote:
Yep, already got that bit sorted, its just that theres no dropdown menu in the avatar area (postbit?). Like this. And this is what i have in the admincp. |
#151
|
||||
|
||||
Dave, for the dropdown to be there, you need to add the dropdown code to the sidebar postbit. Hack only has instructions for the one w/ the user info above the post.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|