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

 
 
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
  #192  
Old 12-20-2007, 01:17 PM
cbiweb cbiweb is offline
 
Join Date: May 2004
Location: Nova Scotia, Canada
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the instructions, there's a line that says:
"New Hook Location: vBulletin: Member's Profile -> member_extras (see? I told you it would create a new hook!)"

Where exactly is 'vBulletin: Member's Profile -> member_extras'? I have no idea where I'm supposed to see that.
Reply With Quote
  #193  
Old 12-21-2007, 01:57 AM
shcchief shcchief is offline
 
Join Date: Nov 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cbiweb View Post
In the instructions, there's a line that says:
"New Hook Location: vBulletin: Member's Profile -> member_extras (see? I told you it would create a new hook!)"

Where exactly is 'vBulletin: Member's Profile -> member_extras'? I have no idea where I'm supposed to see that.
I couldn't either, I didn't worry about it though (well I don't think I did...I remember thinking wtf??) perhaps this could be the source of my problem in my post above?
Reply With Quote
  #194  
Old 12-21-2007, 10:09 AM
xt0m xt0m is offline
 
Join Date: Mar 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant wait for a 3.7 release either :up:
Reply With Quote
  #195  
Old 12-25-2007, 09:07 PM
fmntprsv fmntprsv is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everybody. Please excuse my poor english. I?m trying to install this hook, but it doesn?t work.

Well, i have to do all the steps of the instructions, but it?s impossible, doesn?t work. You can see it at: www.razorman.net/forodeinformatica.

Please help me!
Reply With Quote
  #196  
Old 12-29-2007, 03:52 AM
shcchief shcchief is offline
 
Join Date: Nov 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fmntprsv View Post
Hi everybody. Please excuse my poor english. I?m trying to install this hook, but it doesn?t work.

Well, i have to do all the steps of the instructions, but it?s impossible, doesn?t work. You can see it at: www.razorman.net/forodeinformatica.

Please help me!
Assuming you've installed the hook, you will need to do this as well.

Click on that option


Then make all these


Then choose this option for each field


Hope that helps anyway...
Reply With Quote
  #197  
Old 12-29-2007, 03:53 AM
shcchief shcchief is offline
 
Join Date: Nov 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As for my problem...I've got the mod working fine but only for myself it seems.

I got another member to fill everything in, and nothing appeared in the postbit for his posts...it was as if the mod wasn't installed for them (i.e. no extra dropdown bar, nothing).

Any ideas?
Reply With Quote
  #198  
Old 12-29-2007, 08:30 AM
fmntprsv fmntprsv is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your interest scchief, that?s the problem , i don?t have these field, see you:



so, ?i must to have to add manually the field "Power supply"? , excuse my ignorance please...

Reply With Quote
  #199  
Old 12-30-2007, 09:59 AM
shcchief shcchief is offline
 
Join Date: Nov 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah mate, you make them yourself (whatever fields you want) and as you make each one, you select which page you want those fields to display on (look at the picture, for me it says "Options:Edit PC Specs") from the drop down box.

But yes, you have to make the fields yourself.
Reply With Quote
  #200  
Old 12-30-2007, 06:13 PM
fmntprsv fmntprsv is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well shcchief the solution of this trouble it?s pretting closer, i think!


Quote:
you select which page you want those fields to display on (look at the picture, for me it says "Options:Edit PC Specs") from the drop down box.

But yes, you have to make the fields yourself.
I was doing these steps and now appear in the profile, see the image:



Well, in order to appear these fields, the help of the forum says:

Quote:
User profile fields can be displayed in posts next to the author's name. If you want to display a profile field in posts then you need to edit your postbit or postbit_legacy template (depending on which one you use as is indicated by the "Use Legacy (Vertical) Postbit Template" option in your vBulletin options) and add $post[fieldX] where X is the field ID of the profile field as shown under the "Name" column on this page.
I use postbit_legacy in my forum, but i don?t know how i can post these fields ( field12, field13, field14) on this.

?Can anybody help me?

Thanks a lot!!!!
Reply With Quote
  #201  
Old 01-03-2008, 07:00 AM
shcchief shcchief is offline
 
Join Date: Nov 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You simply replace X with the number of the field.

You will have to scroll across here to see what words I used, for example Mobo, CPU, GFX etc. Just make sure the fields tie up with each other.


Here is my postbit_legacy for this mod.

Code:
<!-- post specs_menu -->
<div class="vbmenu_popup" id="specs_$post[postid]_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	
	<if condition="$post['field6']">
		<tr><td class="vbmenu_option"><b><font color=#00FF00>Mobo:</b></font> $post[field6]</td></tr>
	</if>

	<if condition="$post['field7']">
		<tr><td class="vbmenu_option"><b><font color=#FF9900>CPU:</b></font> $post[field7]</td></tr>
	</if>

	<if condition="$post['field12']">
		<tr><td class="vbmenu_option"><b><font color=#00FF00>GFX:</b></font> $post[field12]</td></tr>
	</if>

	<if condition="$post['field8']">
		<tr><td class="vbmenu_option"><b><font color=#FF9900>RAM:</b></font> $post[field8]</td></tr>
	</if>

	<if condition="$post['field9']">
		<tr><td class="vbmenu_option"><b><font color=#00FF00>Sound:</b></font> $post[field9]</td></tr>
	</if>

	<if condition="$post['field10']">
		<tr><td class="vbmenu_option"><b><font color=#FF9900>PSU:</b></font> $post[field10]</td></tr>
	</if>

	<if condition="$post['field11']">
		<tr><td class="vbmenu_option"><b><font color=#00FF00>O/S:</b></font> $post[field11]</td></tr>
	</if>

	</table>
</div>
<!-- / post specs_menu -->
Reply With Quote
 


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 01:27 PM.


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.06209 seconds
  • Memory Usage 2,314KB
  • 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
  • (1)bbcode_code
  • (4)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
  • (1)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