vb.org Archive

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

U.K.Visuals 05-05-2009 06:04 AM

i have a very strange problem since i updatet from 3.7.x to 3.8.x.

i m using TMS together with this hack. i decided to deinstall this hack from our forums beacause it was not used very often.
i removed the Template edits and the the product. but now i till have the Extra Profile Fileds when new users try to register on the page.

i don't know how to remove them.

could someone please help me out with this?
i have no clue where i have to look for in this kind of problem.

Wired1 05-05-2009 06:30 AM

It has nothing to do with the mod. You have enabled the profile fields to show upon registration. Turn that off for each profile field.

U.K.Visuals 05-05-2009 06:44 AM

thanks for your answer.

this was also my first idea, but i have no more profile fileds defined in the forums.
the page with the extra fields is empty?!

Wired1 05-05-2009 06:56 AM

If you didn't change the profile fields back to a normal edit page before uninstalling the mod, you'll have to reinstall the mod in order to see the profile fields in the AdminCP again. After removing the fields from registration, change them back to normal edit pages, and then uninstall it again.

U.K.Visuals 05-05-2009 07:56 AM

if i install the mod again the userfilds are still not showing in the AdminCP.

can i remove the fileds somehow in the SQL DB or something like that?
i have filed01 to field33 which i'm not using anymore.

Wired1 05-05-2009 03:37 PM

You need to edit the php files again. You could remove the info via the DB, but I'd recommend just editing the PHP, and then deleting the file from the User Profile Field Manager.

U.K.Visuals 05-08-2009 07:46 AM

i did the edits on the PHP files, but i still have no possibility to remove it beacause the option for the extra field is not visible in the Profileflied page.

Wired1 05-09-2009 11:31 PM

Re-do the whole installation. There's something missing. Either an edit, or the XML file itself.

U.K.Visuals 05-18-2009 07:45 AM

ahhh... it worked. i think the porblem was that i used the file from 3.7 instead of 3.6 for removing the fileds.
thanks a lot for your help!

ranz 07-09-2009 06:19 AM

I'm thinking this could be what I'm after - but I need to ask a few questions before I install.

1) How do I do a Date field?
(drop-down calendar array like in the Calendar where fieldname is date1[month] date1[day] date1[year] // or is there a cool dropdown calendar class?)

2) How can I make it so that "adds" fields as they need them?
(i.e. like adding a new row with the same column headings)

Is this possible?

Wired1 07-09-2009 07:55 PM

1. This mod just moved profile field edit areas around, so if it isn't a default option, it's something you'd have to code yourself.

2. Clarify / see above?

ranz 07-10-2009 06:31 AM

Thanks - so some custom coding is what I need ;)

Wired1 07-10-2009 08:52 AM

For # 1 yes. Not sure what you meany by # 2. Note that this is the 3.7.x version. There's a 3.8.x version as well.

Feanor_87 08-11-2009 06:23 PM

Great MOD, thanks! :)

Wired1 08-11-2009 06:37 PM

Please hit install on whichever version you install (including the add ons).

yotsume 08-15-2009 06:36 AM

Installed and so very nice! Now I will install your new profile tab mod in be in pure heaven!

yotsume 08-15-2009 08:32 AM

Layout Issue and Searchable Fields?

I have some layout issues in both FF and IE8 when viewing the "Edit Extra Options" page.

1. In FF the profile field boxes are pushed to the right of the page and multi-line boxes show outside the right border a little. (See screenshot)

2. In IE8 a similar layout problem is seen. Again the boxes are pushed to the right. (see screenshot)

MAJOR PROBLEM:
3. All my fields that are moved to this extra page are no longer searchable on the members list even though they are set that way! This is a major problem. How can I get these fields that are moved to be searchable again???

THANKS!

Wired1 08-15-2009 06:35 PM

1. There's no screenshot.
2. I can't duplicate your issue in FF v3.5.2.
3. https://vborg.vbsupport.ru/showpost....&postcount=157

yotsume 08-15-2009 08:20 PM

U updated my post to have the screenshots. What I get for posting so late at night! ;) The fields are pushed to the right in FF and IE. I need them set to the left border. My fields at 80 wide.

Wired1 08-15-2009 09:54 PM

What version of FF do you have?

The fields are so long probably because of the profile field settings per field.

yotsume 08-16-2009 12:48 AM

Quote:

Originally Posted by Wired1 (Post 1868167)
What version of FF do you have?

The fields are so long probably because of the profile field settings per field.

My fields are set at 80 long because they need to be for my members. In my screenshots you will see your page has a bunch of blank space on the left side. How can I get them moved to the left side please?

The problem is in latest FF IE Safari etc. Not sure why but again how can I get the wasted space removed on the left.

Your own screenshot seems to show the fields set way off to the right! Great for fields that are very short.... but not everyone will use short fields and I guess will have the same layout problem.

Thanks...

yotsume 08-16-2009 01:14 AM

Quote:

Originally Posted by GHC Webmaster (Post 1727028)
Solved this myself, put brackets around the "form = 0 OR form = 6" bit, which makes the complete code edit of memberlist.php for the search function:

FIND line 233 (vB 3.8.1)

Code:

    // Process Custom Fields..
    $userfields = '';
    $profilefields = $db->query_read_slave("
        SELECT profilefieldid, type, data, optional, memberlist, searchable
        FROM " . TABLE_PREFIX . "profilefield
        WHERE form = 0 "

REPLACE WITH

Code:

    // Process Custom Fields.. EDITED
    $userfields = '';
    $profilefields = $db->query_read_slave("
        SELECT profilefieldid, type, data, optional, memberlist, searchable
        FROM " . TABLE_PREFIX . "profilefield
        WHERE form = 0 OR form = 6"

FIND line 905 (vB 3.8.1)

Code:

    // get extra profile fields
    $profilefields = $db->query_read_slave("
        SELECT *
        FROM " . TABLE_PREFIX . "profilefield
        WHERE searchable = 1
            AND form = 0

REPLACE WITH

Code:

    // get extra profile fields.. Edited
    $profilefields = $db->query_read_slave("
        SELECT *
        FROM " . TABLE_PREFIX . "profilefield
        WHERE searchable = 1
            AND (form = 0 OR form = 6)


Does this code edit make the fields we had marked searchable and onces we do not mark not searchable? The wording in not clear to me.

I need fields I move to this mods new page to be searchable if I set them that way.

Thanks!

Wired1 08-16-2009 01:56 AM

Quote:

Originally Posted by yotsume (Post 1868235)
My fields are set at 80 long because they need to be for my members. In my screenshots you will see your page has a bunch of blank space on the left side. How can I get them moved to the left side please?

Ok, did some quick testing with a normal profile field set to a field length of 80 within the standard Additional Information area. See pic below:
https://vborg.vbsupport.ru/attachmen...hmentid=103291

Basically, the space within the red box is dynamic depending on the browser's width. In my case I use a widescreen, so there's more spacing there. The blue box outlines the standard border. The EPFP uses standard vBulletin code to display the profile fields in a separate page. This is why the problem exists both in a standard profile field area as well as in the EPFP.

One option would be to lower the profile field length to a smaller number. This doesn't affect the character size of the variable itself, only the viewable size when editing it. Ultimately it's a limitation of the forum software itself in how it shows the editable area and overlaps the border.


Quote:

Originally Posted by yotsume (Post 1868252)
Does this code edit make the fields we had marked searchable and onces we do not mark not searchable? The wording in not clear to me.

Haven't tested his code myself, but yes, that's exactly what it should do. All that code does is allow the forum to be able to see the profile fields within the EPFP. From there standard profile field parameters would apply.

yotsume 08-16-2009 02:38 AM

Ok I follow you. Should be an easy fix to just make the fields a little shorter and if needed multi line input so more is viewable.

I would have rather done one edit to a template of a file to try and get the space on the right removed but reediting 100 fields will work! UGGGG LOL

We use your mod to make an extensive member question section in a new tab due to the nature of our site.

I will test the code edits out to get the fields searchable. THANKS!

scandalous 12-03-2009 09:34 AM

Is there a way to create extra similar pages using this product?

I need around 4 pages with the profile fields, can this be done? :)

Wired1 12-03-2009 03:03 PM

Check the 3.8.x thread.

scandalous 12-04-2009 12:51 AM

I checked and couldn't find what I was looking for.

Basically, there's going to be x amount of different sets of profile fields.

For example...

1.1
1.2
1.3
1.4
------
2.1
2.2
2.3

And so on, but we wish to have say set 1 on one page and then set 2 on another, to make the profile fields less cluttered on one page.

Can you help me with this? I would be grateful if you could. :)

Wired1 12-04-2009 06:08 AM

What version of vB do you have?

scandalous 12-04-2009 03:24 PM

vB v3.7.2 :)

Wired1 12-09-2009 01:09 AM

IIRC the vB 3.8.x page already shows you how to create a 2nd page (I believe someone attached a 2nd page mod to the thread). Either way I'm working on making the vB 4.0 version be easier to use in the sense of unlimited pages (e.g. it'll use new tables).

Dave-M 01-02-2010 12:50 AM

Hi Wired1,

I was just wondering how you are doing with the VB4 version of this? :)

Thanks,

Dave.

Wired1 01-02-2010 07:42 AM

Quote:

Originally Posted by Dave-M (Post 1944502)
Hi Wired1,

I was just wondering how you are doing with the VB4 version of this? :)

Finished and posted it over 3 weeks ago :)

turbosatan 06-05-2010 11:06 AM

i need to put conditionals around this

Can you tell me which parts would need conditionals to hide both the new tab and if that is hidden would the normal option just reappear in the left nav ? if so where do i need to add conditionals to hide this also

Thanks

T

EDIT

i just realised i posted this in the extra profile fields thread instead of extra profiles fields "TAB" thread

Please pretend this is in the other thread as they kind of join together anyway

Wired1 06-05-2010 11:25 AM

Quote:

Originally Posted by turbosatan (Post 2048707)
Can you tell me which parts would need conditionals to hide both the new tab and if that is hidden would the normal option just reappear in the left nav ? if so where do i need to add conditionals to hide this also

????????????

Nothing's hidden in the first place, so if you put a conditional around the edit in the USERCP_SHELL template, the page will disappear. If there's no data in there, the tab won't show up.

As it states in the main post, please hit install.

turbosatan 06-05-2010 01:28 PM

Quote:

Originally Posted by Wired1 (Post 2048713)
????????????

Nothing's hidden in the first place, so if you put a conditional around the edit in the USERCP_SHELL template, the page will disappear. If there's no data in there, the tab won't show up.

As it states in the main post, please hit install.

ok i have clicked install now

the page is still showing with no data in there.

When you say no data do you mean no answers to the options or actually no questions in there?

UPDATE

I think what i need to do is put conditionals around the template edits i had to make in profilefields.php

Can you advised if these edits can be made within the normal vbulletin template files in style manager instead of in the actual php file?

If not could you point me in the right direction to somewhere that could guide me on how to do this.

turbosatan 06-08-2010 04:28 PM

i shouldnt have clicked install. it gets a much quicker response ;)

but joking aside bump please i am waiting on the answer to this to put a load of changes live.

Wired1 06-09-2010 03:20 AM

Quote:

Originally Posted by turbosatan (Post 2048749)
ok i have clicked install now

the page is still showing with no data in there.

When you say no data do you mean no answers to the options or actually no questions in there?

No data = no page.

Quote:

Can you advised if these edits can be made within the normal vbulletin template files in style manager instead of in the actual php file?

If not could you point me in the right direction to somewhere that could guide me on how to do this.
Throw conditionals at the beginning and end of the templates in the product.


Quote:

Originally Posted by turbosatan (Post 2050548)
i shouldnt have clicked install. it gets a much quicker response ;)

but joking aside bump please i am waiting on the answer to this to put a load of changes live.

Nah, I seem to randomly get the updates from this thread.


All times are GMT. The time now is 01:33 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.01461 seconds
  • Memory Usage 1,829KB
  • 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
  • (4)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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