vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Additional Section within Profile (https://vborg.vbsupport.ru/showthread.php?t=82040)

Wired1 05-25-2005 10:00 PM

Additional Section within Profile
 
This hack builds upon Zachery's Extra Profile Fields Page hack. This template mod lets you take the extra fields from his hack and places them within a dropdown that sits below the user's title within each post.

I also made a link directly from the UserCP -> Settings & Options sub-menu directly to the new page Zachery's hack creates (which is part of the optional instructions within his hack. I've added the snipped for that within my instruction file as well, just in case). One thing about his hack, when a poster hits their save button, there's no real notification that it's saved. This modification is also in the attached instructions.

This template mod also lets you replace the Group Membership quadrant of a user's profile with this info. 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


NOW updated for 3.5.0!
https://vborg.vbsupport.ru/showthread.php?t=98753

MiniMo 09-10-2005 01:41 PM

I've just gone trough installing the extra profile fields page hack, can you show me how to replace the group membership area and also the nifty dropdown? Can't seem to find it anywhere...

Ok, I found out how to get the postbit dropdown to work. Took me like 3 hours... pfhew!

But I've got absolutely no idea how to get started on replacing the group membership. Any hints?

Wired1 09-12-2005 02:44 AM

Had thread moved to appropriate section, and added instructions to thread. This was originally a request for a mod.

Wired1 09-12-2005 02:54 AM

Forgot to mention that since over @ House of Help we are using it for PC specs, I've set up the dropdowns within a post only to occur if the first field has something in it (which in this case is the user's motherboard). Instructions are included as to how I did this (yes, it's just an if condition).

I haven't set it up to allow hyperlinks within the dropdowns yet because it can be easily abused.

MiniMo, where are you using this mod?

MiniMo 09-12-2005 06:42 AM

Thx for the instructions, pm sent. :up:

MiniMo 09-12-2005 02:42 PM

Can you add the changes you made to member.php to your instructions?
I don't think that the changes of zachary's hack are enough to make your template hack work.

I've tried some things but once I ended up with some infinite loops and a very messed up member profile page I just thought I'd ask :)

Allan 09-12-2005 04:06 PM

thanks for this hack :)

very cool ..


Click Install !

Wired1 09-14-2005 06:53 AM

Quote:

Originally Posted by MiniMo
Can you add the changes you made to member.php to your instructions?
I don't think that the changes of zachary's hack are enough to make your template hack work.

I've tried some things but once I ended up with some infinite loops and a very messed up member profile page I just thought I'd ask :)

Doh! You're right, I did! Forgot about that tweak, as it's just duplication of some vB code that queries the profile info. The added code queries and brings back only the new fields. Updated the instruction file.

Allan, did it work for you without that code?

MiniMo 09-14-2005 07:08 PM

Thx, got it all working now!

I think we need to expand this hack with some option to upload a couple of pictures to show off our PC specs :) Anyone in to this?

Wired1 09-15-2005 02:48 AM

1. Where to show pics?
Possibly tie it in to one of the vB gallery hacks


All times are GMT. The time now is 04:47 AM.

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.01028 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete