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
  #22  
Old 08-10-2006, 09:19 AM
Aligator21 Aligator21 is offline
 
Join Date: Sep 2005
Location: Greece
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi again, i have another question!

Can i dublicate this hack?
I want to use it for another extra fields.

How can i do this???
Reply With Quote
  #23  
Old 08-10-2006, 11:57 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1996: I'm going to try to duplicate the problem tonight if I have time.

Aligator: Can you be more precise in what you want to do?
Reply With Quote
  #24  
Old 08-11-2006, 07:15 AM
Aligator21 Aligator21 is offline
 
Join Date: Sep 2005
Location: Greece
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In my forum, i have your hack for users favorite games.
I want to add and another drop down menu, for my users pc specs.

is there any way to do this???
Reply With Quote
  #25  
Old 08-11-2006, 01:59 PM
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 Aligator21
In my forum, i have your hack for users favorite games.
I want to add and another drop down menu, for my users pc specs.

is there any way to do this???
Yes, although it depends on some other things. Do you want a seperate entry page? If not, then simply repeat the last two steps of the instruction file with whatever you'd like in the second dropdown. If you do want a seperate entry page, then some minor code edits have to be made to the plugins, products, and instructions, just so no variables conflict basically.
Reply With Quote
  #26  
Old 08-13-2006, 01:02 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 1996 328ti
I deleted all products and started from scratch, and this is what I got. When not selected there is only one post per page. I removed the code so not to screw up my board.
Just tried it on postbit_legacy on my test server, worked fine. May want to try turning off all other plugins, then see how it works. Assuming it does, enable a plugin one by one to see which one does it.
Reply With Quote
  #27  
Old 08-13-2006, 05:04 AM
hurry hurry is offline
 
Join Date: Feb 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to have url links in these dropdown rows? Also I want it only for the admin usergroup.
Reply With Quote
  #28  
Old 08-13-2006, 05:32 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Links: No.

You'd have to place conditionals around the last two steps in the instructions. They are the ones that place the dropdowns in the posts.

Why only admins though?
Reply With Quote
  #29  
Old 08-13-2006, 01:20 PM
ssvp's Avatar
ssvp ssvp is offline
 
Join Date: May 2006
Location: Bloomington, IL
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<!-- post specs_menu -->
<if condition="$post['field5']">
	<div id="specs_$post[postid]" class="vbmenu_control">
		<a href="#specs">$post[username]'s PC Specs</a> 
		<script type="text/javascript"> vbmenu_register("specs_$post[postid]"); </script>
	</div>
</if>
<!-- / post specs_menu -->
How can I change this so rather than displaying the user's name again. It would just display "My Gear".

I actually was able to remove the username, but the size of the "My Gear" background seemed to change depending on the length of the username.
Reply With Quote
  #30  
Old 08-14-2006, 02:09 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<a href="#specs">$post[username]'s PC Specs</a>
change to

Code:
<a href="#specs">My Gear</a>
Please hit Install.
Reply With Quote
  #31  
Old 08-14-2006, 01:55 PM
Arachnophiles Arachnophiles is offline
 
Join Date: Mar 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, did you have any joy in getting the field entries to display vertically rather than horizontally ??

Cheers,
Adam.
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 02:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05115 seconds
  • Memory Usage 2,310KB
  • 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
  • (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