Thread: Profile Enhancements - Extra Profile Fields Page
View Single Post
  #296  
Old 05-03-2008, 05:35 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 GameWizard View Post
[high]* GameWizard pats himself on back[/high]

I figured it out, it should be:
form = 0 OR form = 6 rather than form = 0 OR 6
*this has to be done on both entries inside memberlist.php - Tested on 3.7 Gold
The result is that it displays the correct custom profile fields on your advanced member list search and keeps the unsearchable fields hidden as it should. In addition, the functionality I originally asked for is also there, which allows for search custom fields on another page (created by this hack) to be found via url:

/memberlist.php?do=getall&field23=test123 - where as field23 is located on the new page i created with this hack (previously this feature wasn't working until i fixed it with my modification above)

I will post any other issues as I find them.
Well, that explains why it never worked lol! Can't believe I missed that syntax problem! Got a link to the custom search working live?


Quote:
Originally Posted by stemmy View Post
I deleted the extra fields from the users profile field section. I then re added them as I wanted them to show in members profiles.

The problem I have is this. The details only show once in the usercp etc - and on their profiles.

My problem is that on registration they are asked the same question twice -see attached image ??

What do I have to do to get rid of the old section (The bottom section)
WAIT. You DELETED the Profile Fields, then re-created them? WHY? This mod does NOT touch the Profile fields AT ALL. It just changes how they're displayed! Not sure what you did exactly, but if you're seeing fields multiple times when registering, then you have multiple repeating fields in the Profile Fields in the AdminCP.


Quote:
Originally Posted by Ted S View Post
All is working in 3.7 with just one other code edit and a few template changes & conditionals... Once again, great addon... thanks!
Did you make a code change for 3.7.0 that was not in the current instructions? If so, what did you do, and why?



TO ALL: Anyone using this on 3.7.0, please PM me a link ASAP! I was going to test some stuff this weekend, but hell, if it works already, then that'll save me some time!

I will be putting out a new thread in the 3.7.x area here, and probably cleaning up the instructions and whatnot. Any and all suggestions are appreciated!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01261 seconds
  • Memory Usage 1,777KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete