vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Extra Profile Fields Page (https://vborg.vbsupport.ru/showthread.php?t=123253)

GameWizard 05-01-2008 12:02 PM

Quote:

Originally Posted by Wired1 (Post 1504177)
Search the thread, you'd have to edit the search code, and even then, it may not work, at least not most of the time in pre-3.7.0. No idea what changes were made in 3.7.0.

Could you post this code for me? I have looked through many of the pages without any luck of finding it. I have 3.7 installed, but will try it regardless.

Quote:

Originally Posted by Wired1 (Post 1504177)
Don't quite understand what you mean.

GameWizard, do you see this same issue?

I have a similar issue, but for me the "reset fields" button (beside the submit button) does not work at all, thats including the stock vb pages and the pages created with your hack, and all they contain is regular text multi-line text boxes. But this could very well be as a result of all the template modifications I've made, I'd have to play around with it a bit to know for sure.

GameWizard 05-02-2008 09:44 AM

Alright, I have gone through your thread and managed to dig this code up:
https://vborg.vbsupport.ru/showpost....&postcount=137

Basically it allows me to show ALL the custom profile fields, and they become searchable. HOWEVER, I have 2 hidden fields that are appearing, which is the issue that has been made aware of here:
https://vborg.vbsupport.ru/showpost....&postcount=215

The problem is, I don't understand what he means by 'a new query'. I have tried different code variations and it simply does not work. Basically what I have discovered is that if I use only Form = 6, it will ONLY display the ones I need appropriately, and if they are hidden, it won't display them. However, as soon as I use the "form = 0 or 6" it completely ignores the hidden fields and shows them all, even though the hidden ones are not functional.

Please let me know if there is a remedy for this situation as it's important for me.

====== UPDATE =======


[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.

stemmy 05-02-2008 10:39 AM

Please can somebody help me. I had this hack installed on an old version of vb.

I upgraded to 3.7.0 and wanted to install this hack.

I have deleted as much as I can remember and followed the instructions. Deleted the plug-in etc.

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)

Please help as I don't want to confuse my new members before they have even registered.

I have no customized templates that would affect this as far as I can see.

Thanks in advance

Ted S 05-02-2008 04:26 PM

All is working in 3.7 with just one other code edit and a few template changes & conditionals... Once again, great addon... thanks!

Wired1 05-03-2008 05:35 AM

Quote:

Originally Posted by GameWizard (Post 1505587)
[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 (Post 1505623)
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 (Post 1505904)
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!

stemmy 05-03-2008 02:31 PM

Please can somebody help me with my problem.



Quote:

Originally Posted by stemmy (Post 1505623)
Please can somebody help me. I had this hack installed on an old version of vb.

I upgraded to 3.7.0 and wanted to install this hack.

I have deleted as much as I can remember and followed the instructions. Deleted the plug-in etc.

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)

Please help as I don't want to confuse my new members before they have even registered.

I have no customized templates that would affect this as far as I can see.

Thanks in advance


Ted S 05-03-2008 08:00 PM

Quote:

Originally Posted by Wired1 (Post 1506495)
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!!

To achive the functionality shown in the screenshots from my last post I had to make another code hack and a template change. I've sent over a PM with my how to although I think with some work you could make this hack even more extensible and really take advantage of the new userprofilefield categories.

Thanks for the great product again!

Wired1 05-03-2008 08:49 PM

Quote:

Originally Posted by stemmy (Post 1506924)
Please can somebody help me with my problem.

Read the post above, I answered you!

Jase2 05-04-2008 04:07 PM

I have this running on 3.7 Wired.

Site: www.techsupportteam.org

stemmy 05-04-2008 06:07 PM

Hi and sorry I didnt see your reply.

I havent got any user defined profile fields in admin cp now and yet I still see the radio buttons.

I simply cant get rid of them.


Quote:

Originally Posted by Wired1 (Post 1507296)
Read the post above, I answered you!



All times are GMT. The time now is 12:40 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.01565 seconds
  • Memory Usage 1,757KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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