Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 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.0.0, by Wired1 Wired1 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-18-2005 Last Update: 10-18-2005 Installs: 52
Uses Plugins Template Edits
Code Changes Is in Beta Stage  
No support by the author.

Link to 3.6.0 version:
https://vborg.vbsupport.ru/showthread.php?t=123254

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 EFP hack is basically the entry form for the data that's manipulated in this hack. Please check out the pics at the EFP 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/v2/showthread.php?t=39826

Example of user profile with specs:
http://www.houseofhelp.com/v2/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


An admin section will eventually be done for this, as well as extra areas to place the new specs within. Because this is based upon the EFP hack, the upgrades in functionality to this hack will depend on the EFP hack's upgrades. In otherwords, staggered upgrades. Other functionality has been recommended and will be added at a later date. Any suggestions are appreciated.

Don't forget to hit INSTALL!

Also, please post where you've installed this, as I'd like to see how people are using it. That'll help me think of new ways to add to it aside from my own needs for this hack. 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
  #12  
Old 10-19-2005, 10:17 PM
predatorkill predatorkill is offline
 
Join Date: Apr 2005
Location: Greece
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1
Nice! The info in the dropdown, it's supposed to be in one line? Where'd the info come from?

I ve told ya,i ve made it to meet ma own needs!!! It's better for me in one line,cos i cant figure out or guess how many games a user has!!If someone got 20,it would be a huge list for the dropdown.So i ve limited it in 1 line seperated with commas!!!
Reply With Quote
  #13  
Old 10-19-2005, 10:26 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 predatorkill
I ve told ya,i ve made it to meet ma own needs!!! It's better for me in one line,cos i cant figure out or guess how many games a user has!!If someone got 20,it would be a huge list for the dropdown.So i ve limited it in 1 line seperated with commas!!!
Relax!
Reply With Quote
  #14  
Old 11-09-2005, 10:16 AM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, great hack. Dont mean to be a pain but how could i recycle the group memberships to show

Guilds: Group Membership fields

Thanks for your help
Reply With Quote
  #15  
Old 11-09-2005, 03:19 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a pain at all, in fact I was wanting to get around to this eventually. While this isn't as elegant as I want it to be, this should do it for you. Basically it adds the Group Membership and a blank area below the current profile. You can swap the Group Membership and Extra Info areas if you'd like, just have to swap the code in the appropriate areas.

REPLACE:

Code:
</tr>
</table>

$footer

</body>
</html>

With:

Code:
</tr>
<tr>
	<td class="tcat" width="50%">$vbphrase[group_memberships]</td>
	<td class="tcat" width="50%">				<em>$vbphrase[n_a]</em></td>
</tr>
<tr valign="top">

	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
		
		<div class="fieldset">
			<if condition="$show['extrainfo']">
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<if condition="$userinfo['birthday']">
				<tr>
					<td>
						<strong>$vbphrase[birthday]</strong>:<br />
						$userinfo[birthday]
					</td>
				</tr>
				</if>
				$customfields
				</table>
			<else />
				<em>$vbphrase[n_a]</em>
			</if>
		</div>
		
		</div>
	</div>
	</td>
	
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
		
			<div class="fieldset">
				<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
				<tr>
				</tr>
				</table>
			</div>
		
		</div>
	</div>
	</td>

</tr>
</table>

$footer

</body>
</html>
Reply With Quote
  #16  
Old 11-09-2005, 04:28 PM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, just need to think how to do it so that i dont have a spare box
Reply With Quote
  #17  
Old 11-09-2005, 05:36 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't forget to hit Install!

It can probably be done, but the downside is that the opposite cell has a large area of nothing in it. You can remove the info in that <TR> to make it completely blank of even the title bar, or you could have the last cell stretch the whole width if you wanted.
Reply With Quote
  #18  
Old 12-01-2005, 02:58 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, installed no problems

*clicks install*
Reply With Quote
  #19  
Old 12-01-2005, 04:18 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 rootnik
Nice, installed no problems

*clicks install*
glad to hear! Going to try to lay out some framework for some new features this weekend.
Reply With Quote
  #20  
Old 12-01-2005, 05:49 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks on install
Reply With Quote
  #21  
Old 12-01-2005, 07:30 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 Aftermath
[high]* Aftermath clicks on install[/high]
Thanks for the install!

BTW, (quoting what I just added to the install notes)
please post where you've installed this, as I'd like to see how people are using it. That'll help me think of new ways to add to it aside from my own needs for this hack. Or if guests can't see the effects, then please post a pic.
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 01:42 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.11208 seconds
  • Memory Usage 2,315KB
  • 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
  • (2)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
  • (3)pagenav_pagelink
  • (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