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)

UK-Biker 08-12-2008 08:48 PM

I may have missed something here, but if I have I am sorry, but is there a way to display one of my custom fields, say "field10" under the users name when viewing posts in the forum (showthread.php) ??

marrr 08-14-2008 08:07 PM

I have it working but I have 1 problem. In admincp I see Profile Fields from Form" It should be Profile Fields from Form ''System Specs"
I did the changes in the profilefield.php..

Im using 3.7.2.
Code:

"$vbphrase[options]: $vbphrase[other]",
"$vbphrase[options]: $vbphrase[extra_options]"

Code:

5 => "$vbphrase[options]: $vbphrase[other]",
6 => "$vbphrase[options]: $vbphrase[extra_options]",


Wired1 08-15-2008 06:55 AM

Quote:

Originally Posted by StokoE (Post 1594945)
Hi Wired,

Loving the work ! Although i dont know what i have missed but i cant display it like your site has it (under your username) Wired's System Specs or so..

I would like the click drop down to work on my site.

Could you help please

Please read the description of this mod again.

Jeordie015 08-16-2008 11:44 PM

This is somewhat of a minor thing, but it sort of bothers me. I'm not sure exactly what I did to make this happen, but a screenshot should show best what I'm talking about.

So basically I'm using this hack for video game username code things. The field that's showing up as Xbox Live in the Edit Profile pages in the Admin CP does not exist in the User Profile Fields page in the Admin CP. I just want to get rid of it. It might require some database table deleting, but I'm not sure. Please help.

Wired1 08-17-2008 02:41 AM

Quote:

Originally Posted by UK-Biker (Post 1597279)
I may have missed something here, but if I have I am sorry, but is there a way to display one of my custom fields, say "field10" under the users name when viewing posts in the forum (showthread.php) ??

That would have NOTHING do do with any of my mods. It can probably be done though.


Quote:

Originally Posted by marrr (Post 1598729)
I have it working but I have 1 problem. In admincp I see Profile Fields from Form" It should be Profile Fields from Form ''System Specs"

Nothing I can do about that w/o extensive manual edits to some of the adminCP php.


Quote:

Originally Posted by Jeordie015 (Post 1600396)
This is somewhat of a minor thing, but it sort of bothers me. I'm not sure exactly what I did to make this happen, but a screenshot should show best what I'm talking about.

So basically I'm using this hack for video game username code things. The field that's showing up as Xbox Live in the Edit Profile pages in the Admin CP does not exist in the User Profile Fields page in the Admin CP. I just want to get rid of it. It might require some database table deleting, but I'm not sure. Please help.

Follow the instructions again, that's it. A step was missed.

ForgotenDynasty 08-20-2008 08:54 PM

Quote:

With an ADDITIONAL product (e.g. NOT this one), I place these specs in a dropdown list under the user title in each user's post, as well as in their profile as an extra tab.
could you tell us witch product it is so i we can also download it to get the most out of this mod

blind-eddie 08-20-2008 09:10 PM

Look in first post in the Addon Section.

ForgotenDynasty 08-21-2008 04:24 PM

Im getting a security token error
:(

I think im going to have to go back to the 3.6 one since that worked fine in my 3.7

Wired1 08-21-2008 07:46 PM

Quote:

Originally Posted by ForgotenDynasty (Post 1603879)
Im getting a security token error
:(

I think im going to have to go back to the 3.6 one since that worked fine in my 3.7

The security token error will only pop up if you are using an old version of this mod, from before vB 3.6.10, when the security token was introduced.

To fix this pre-3.7.0, the 3.6.x thread has a link at the VERY TOP of the first post detailing how to add the required code (via manual edit or product update). This thread is about the 3.7.0 version, which already has the required code in place.

In otherwords, either you have a very old version of this mod installed, or the error is coming from something else.

ForgotenDynasty 08-22-2008 08:26 PM

Quote:

Originally Posted by Wired1 (Post 1603985)
The security token error will only pop up if you are using an old version of this mod, from before vB 3.6.10, when the security token was introduced.

To fix this pre-3.7.0, the 3.6.x thread has a link at the VERY TOP of the first post detailing how to add the required code (via manual edit or product update). This thread is about the 3.7.0 version, which already has the required code in place.

In otherwords, either you have a very old version of this mod installed, or the error is coming from something else.

I re did everything and it worked fine this time :)

Wired1 08-22-2008 09:54 PM

Quote:

Originally Posted by ForgotenDynasty (Post 1604739)
I re did everything and it worked fine this time :)

Please hit INSTALL.

StokoE 08-23-2008 08:49 AM

Quote:

Originally Posted by Wired1 (Post 1599020)
Please read the description of this mod again.

Been over it more than twice now and still unable to see the system specs..

Dont worry its been marked as uninstalled now

nerofix 09-15-2008 02:20 PM

Can I have several extra pages?

I've tried to modify the product to "do=secondextra", but I failed, it still shows me "do=extra" fields.

Is it possible to have several of these extra pages? Can you lead me to get more pages?

Edit: I think the problem I got has something to do with "fetch_profilefields(1);" ... How I can get the fields of the secondextra page?

Wired1 09-15-2008 05:57 PM

Quote:

Originally Posted by StokoE (Post 1605020)
Been over it more than twice now and still unable to see the system specs..

That's because this mod doesn't do what you want. It's only what it says it is and not what you are looking for. That's another mod. Check my profile for other mods I've made that may or may not do what you're looking for.


Quote:

Originally Posted by nerofix (Post 1622631)
Can I have several extra pages?

I've tried to modify the product to "do=secondextra", but I failed, it still shows me "do=extra" fields.

Is it possible to have several of these extra pages? Can you lead me to get more pages?

Edit: I think the problem I got has something to do with "fetch_profilefields(1);" ... How I can get the fields of the secondextra page?

Try the attached file / instructions. Totally forgot I planned ahead :)

nerofix 09-15-2008 07:20 PM

Thank you so much, I'll check the new xml out, .. I think I could need about 100 of them =)

Wired1 09-16-2008 02:39 AM

100??? WHY? That's a bajillion profile fields! PM me w/ some more info, I'll see what I can do :)

Cocko 09-16-2008 09:22 AM

Before installing there is a question of interrest,

Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shown
e.g. "miserables" don't have the option for this page and no profile tabs
(of this extra page) from miserables are shown.

Wired1 09-16-2008 12:07 PM

Quote:

Originally Posted by Cocko (Post 1623242)
Before installing there is a question of interrest,

Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shown
e.g. "miserables" don't have the option for this page and no profile tabs
(of this extra page) from miserables are shown.

In short: no. This is purely a cleaner way to edit profile fields on their own page. This does not make extra permissions around profile fields. Can you expand on why you'd only want certain users to edit their profile fields?

Cocko 09-16-2008 12:58 PM

Just mentioned before, some usergroups users shouldn't be allowed to
setup addtional fields. the normal fields from vbulletin are ok but even
not the more with your add-on.

usergroup without that permission for using "more fields" or without the
feature of shown their "more fields" are miserables, inactive users and
users with bouncing emails.

Wired1 09-16-2008 03:14 PM

This doesn't create more fields, it just separates the edit area for profile fields that you mark into a new page. If you need profile fields to be limited by user groups, I'd contact Jelsoft.

Sworm 09-20-2008 02:08 PM

In 3.7.3 PL1 version this mod don't work!

A sintax error is showed when i try to click my "AdminCp/Manage Users field"

Sworm 09-20-2008 02:10 PM

Uninstalled

Wired1 09-20-2008 08:00 PM

I don't see "Manage Users" in the AdminCP. Is it under somewhere else? Have you reinstalled the mod? No one else has reported this.

Idawg 09-24-2008 05:23 PM

All I get when I installed in 3.7.3 PL 1 a blank white page in the AdminCP/UserProfile Field/

*Uninstalled it for now*

Wired1 09-24-2008 07:38 PM

It's not my mod doing that. Just installed 3.7.3 PL1 on my clean test bed, followed ALL of the instructions, works fine.

firstimecaller 11-21-2008 03:02 PM

it works fine on 3.7.3 PL1

Quote:

Originally Posted by Cocko
Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shown

I got this to work by using conditionals in the userCP template

jjdurrant 11-27-2008 03:25 AM

"Extra Profile Fields" How do I change the name of the link?

Wired1 11-27-2008 08:08 PM

WHICH link? If you mean the ones in the UserCP, the variables are already shown in the attached pics.

Deviant K1 11-28-2008 03:00 AM

Gonna give it a go... INSTALLED!

Turbe 01-03-2009 08:12 PM

Quote:

Originally Posted by Cocko (Post 1623242)
Before installing there is a question of interrest,

Is it definable which usergroups can have the extra profile fields page
and in additon to your add-on from which usergroups the tabs are shown
e.g. "miserables" don't have the option for this page and no profile tabs
(of this extra page) from miserables are shown.

Quote:

Originally Posted by firstimecaller (Post 1670097)
it works fine on 3.7.3 PL1

I got this to work by using conditionals in the userCP template

Can you show how please?

Turbe 01-03-2009 08:20 PM

Quote:

Originally Posted by jjdurrant (Post 1673759)
"Extra Profile Fields" How do I change the name of the link?

Quote:

Originally Posted by Wired1 (Post 1674226)
WHICH link? If you mean the ones in the UserCP, the variables are already shown in the attached pics.


I think perhaps he was asking how to change the string "Edit Extra Options" that is shown in the User's CP..

I would like to change it to something else: "Edit Referral System" or "Edit Referral System Options"


Where is that done?

EDIT: I am asking pre-install questions.. :)

lazyseller 01-04-2009 12:38 AM

Did you try phrases?

firstimecaller 01-07-2009 09:14 AM

in the userCP template responsible for making the menu on the left side (I don't know which off the top of my head) I added a conditional that checked the usergroup (you can find out how to do that here somewhere, it is trivial) and added an element in that to display the link to the extra profile fields edit/update page. On that page, you can also add a check for that usergroup, and deny access unless they have permission, but I didn't bother in my application.

transparent 01-17-2009 12:58 AM

Could you please update this for 3.8 Gold??

I have it installed and working except if you set individual profile fields to show on the member list or be searchable they no longer appear. They were appearing perfectly on 3.7. Everything else seems to work fine including your additional profile tab hack!

It would rad if you could update it!

Wired1 01-18-2009 08:49 AM

Quote:

Originally Posted by transparent (Post 1715294)
Could you please update this for 3.8 Gold??

I have it installed and working except if you set individual profile fields to show on the member list or be searchable they no longer appear. They were appearing perfectly on 3.7. Everything else seems to work fine including your additional profile tab hack!

It would rad if you could update it!

Don't recall that ever being an offical part of the product. IIRC that was a hack of the member list someone posted.

GHC Webmaster 01-27-2009 06:59 AM

Quote:

Originally Posted by Wired1 (Post 1716628)
Don't recall that ever being an offical part of the product. IIRC that was a hack of the member list someone posted.

That's correct, see here

I notice one thing however. Using this code all profile fields from the extra page show on the advanced search form, even if they are set to not be searchable. Anyone an idea why?

GHC Webmaster 01-28-2009 09:36 AM

Quote:

Originally Posted by GHC Webmaster (Post 1725957)
I notice one thing however. Using this code all profile fields from the extra page show on the advanced search form, even if they are set to not be searchable. Anyone an idea why?

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)


Wired1 03-14-2009 10:55 PM

3.8.x version released:
https://vborg.vbsupport.ru/showthread.php?t=208356

No code changes whatsoever.

Cees 03-15-2009 11:00 AM

Hi, im working with 3.8.1 and installed this mod and the mod for a extra tab. Working great. One question.. If somebody register, then the extra page doesnt have a separed block. It fields stand under other information.. Is it possible to get a on his one standing thing?

Wired1 03-15-2009 06:37 PM

Quote:

Originally Posted by Cees (Post 1768575)
Is it possible to get a on his one standing thing?

I have no idea what you just said, but 3.8.x questions should be in the 3.8.x thread about the tab mod, NOT in this thread.


All times are GMT. The time now is 08:10 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.01604 seconds
  • Memory Usage 1,843KB
  • 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
  • (6)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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