Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Additional Section within Profile and Dropdown within Posts Details »»
Additional Section within Profile and Dropdown within Posts
Version: 2.1.1, by Wired1 Wired1 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 08-06-2006 Last Update: 06-18-2007 Installs: 182
Uses Plugins Template Edits
Code Changes  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 10-13-2007, 07:22 AM
l3it3r l3it3r is offline
 
Join Date: May 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, working, thanks!
Reply With Quote
  #143  
Old 10-17-2007, 09:06 PM
Arachnophiles Arachnophiles is offline
 
Join Date: Mar 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
After it post: (added code marked in red)
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 -->
Appreciate any suggestions.

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>
Cheers,
Adam.
Reply With Quote
  #144  
Old 10-18-2007, 06:41 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool beans
Reply With Quote
  #145  
Old 10-24-2007, 09:13 PM
Dave-M Dave-M is offline
 
Join Date: Sep 2007
Location: UK
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #146  
Old 10-25-2007, 12:24 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave-M View Post
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.
When a new profile field is added, in the Display Page area, select Options: Extra Options (or whatever you placed in the extra_options vB Phrase)
Reply With Quote
  #147  
Old 10-25-2007, 11:33 AM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #148  
Old 10-25-2007, 04:47 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #149  
Old 10-25-2007, 07:23 PM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I found the problem, I had the same if condition="$post['field6'] twice. Sorry for the messup.

Thanks for offering to help
Reply With Quote
  #150  
Old 10-25-2007, 07:23 PM
Dave-M Dave-M is offline
 
Join Date: Sep 2007
Location: UK
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
When a new profile field is added, in the Display Page area, select Options: Extra Options (or whatever you placed in the extra_options vB Phrase)
Thanks

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.



Reply With Quote
  #151  
Old 10-28-2007, 05:18 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05208 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete