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 Tab (https://vborg.vbsupport.ru/showthread.php?t=180329)

Wired1 05-27-2008 02:34 PM

How did you test this?

Jase2 05-27-2008 03:10 PM

I enabled debug mode from my ACP (using my hack) and went to the members profile page. It hit 24 queries (I think). I then went and disabled this product and returned to the members profile page - this time it hit only 22 queries.

Chadi 05-27-2008 05:55 PM

Can you please explain how to get the tab to show up static regardless if the fields have not been filled in by the member yet? Thank you

Wired1 05-27-2008 06:18 PM

Quote:

Originally Posted by Jase2 (Post 1533018)
I enabled debug mode from my ACP (using my hack) and went to the members profile page. It hit 24 queries (I think). I then went and disabled this product and returned to the members profile page - this time it hit only 22 queries.

I wonder if your hack and/or debug mode adds a query?


Quote:

Originally Posted by chadi (Post 1533179)
Can you please explain how to get the tab to show up static regardless if the fields have not been filled in by the member yet? Thank you

Please clarify: do you mean just the tab, or the fields within the tab as well?

Chadi 05-27-2008 06:22 PM

I mean the tab and fields. Basically, if the fields are not filled in it shows "n/a" by default which is fine. However, the tab is missing until then and basically no one knows it exists.

Wired1 05-27-2008 07:04 PM

Quote:

Originally Posted by chadi (Post 1533207)
I mean the tab and fields. Basically, if the fields are not filled in it shows "n/a" by default which is fine. However, the tab is missing until then and basically no one knows it exists.

EDIT PLUGIN: Extra Profile Fields Tab
Code:

        function confirm_empty_wrap()
        {
                return false;
        }

Change to true.

Chadi 05-27-2008 07:40 PM

Thank you. Now when you click the tab, its actually blank (nothing at all, not even the page itself for the tab). Can we have it defaul to "n/a" for all unfilled fields?

Wired1 05-27-2008 08:03 PM

Quote:

Originally Posted by chadi (Post 1533298)
Thank you. Now when you click the tab, its actually blank (nothing at all, not even the page itself for the tab). Can we have it defaul to "n/a" for all unfilled fields?

Odd, came up as n/a for me.

Chadi 05-27-2008 08:13 PM

Examples:
http://www.talkjesus.com/members/abigya.html
http://www.talkjesus.com/members/katzie.html

Jase2 05-27-2008 08:28 PM

Your forum requires registration, so no-one can see the above member profiles without being registered.

Chadi 05-27-2008 08:32 PM

See attached screenshot

Wired1 05-27-2008 09:06 PM

Figured it out. Shows N/A if you can edit it, but to all others, nothing shows up. Do this:

FIND
Code:

if ($show['profilefield_edit'] AND $profilefield['value'] == '')
REPLACE WITH
Code:

if ($profilefield['value'] == '')

Chadi 05-27-2008 09:12 PM

Perfect, that worked. Thank you.

dodjer42 05-28-2008 12:13 AM

Seems when i go to my usercp, i selecte extra options, but the table that comes up is blank and all i can do is select 'reset fields' or 'save' and neither does anything.

Any ideas?

Wired1 05-28-2008 02:36 AM

Quote:

Originally Posted by dodjer42 (Post 1533572)
Seems when i go to my usercp, i selecte extra options, but the table that comes up is blank and all i can do is select 'reset fields' or 'save' and neither does anything.

Any ideas?

Please post in the correct mod's thread, and make sure you have FULLY gone through the instructions.

EvilJohn 05-28-2008 02:46 AM

Installed :)

Seer 05-28-2008 08:55 AM

I have added some profile fields to this with catagories how ever the catagories do not show, do i need to make seperate tabs for them?

Thanks in advance

Chadi 05-28-2008 10:56 AM

[edit: my mistake]

Wired1 05-28-2008 07:14 PM

Quote:

Originally Posted by Seer (Post 1533866)
I have added some profile fields to this with catagories how ever the catagories do not show, do i need to make seperate tabs for them?

Thanks in advance

Categories have a built in ability to create their own tab.

Jase2 05-29-2008 02:45 PM

Hi Wired,

If a user hasn't filled in any of the system specs field, then the tab still shows with N/A -- anyway to stop it showing if they don't fill in at least one system spec field? That way, you save on queries. :)

Wired1 05-29-2008 06:43 PM

Quote:

Originally Posted by Jase2 (Post 1535183)
Hi Wired,

If a user hasn't filled in any of the system specs field, then the tab still shows with N/A -- anyway to stop it showing if they don't fill in at least one system spec field? That way, you save on queries. :)

It shouldn't show the tab unless you've made the manual edits someone else asked for. Either way, it won't stop the query.

RedGTiVR6 05-29-2008 09:46 PM

Quote:

Does anyone want a future version of this to have a mini block w/ the same data?
Yes please!

wWw.Fun2Wii.Com 05-29-2008 09:48 PM

thanks nice

RedGTiVR6 05-29-2008 09:52 PM

Quote:

Originally Posted by Wired1 (Post 1530365)
Gotta manually hack it a bit, I'll throw something together this weekend.

I'll second this! I know this would be great for a lot of forums out there.

For instance...car forums...or our forums...

One for CarPC specs, one for audio specs, and one for vehicle specs....

:up:

Jase2 05-29-2008 10:40 PM

Quote:

Originally Posted by Wired1 (Post 1535461)
It shouldn't show the tab unless you've made the manual edits someone else asked for. Either way, it won't stop the query.

Hmm, so no way to stop this:

http://www.techsupportteam.org/forum.../blind-dragon/

He hasn't filled in his system specs, yet the tab still shows...

Wired1 05-29-2008 11:21 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1535638)
Yes please!

That's 1 vote :)


Quote:

Originally Posted by wWw.Fun2Wii.Com (Post 1535639)
thanks nice

????? You haven't downloaded it or installed it.


Quote:

Originally Posted by Jase2 (Post 1535699)
Hmm, so no way to stop this:

http://www.techsupportteam.org/forum.../blind-dragon/

He hasn't filled in his system specs, yet the tab still shows...

Shouldn't even happen though. Gotta modify the code to make it do that, unless there's some vB setting that's doing it. Un/reinstall the product.

mr clean 05-30-2008 12:59 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1535646)
I'll second this! I know this would be great for a lot of forums out there.

It would absolutely make things better for some forums. More intuitive with the User CP from a users standpoint for sure. The way the built-in tabbing and category system shows profile fields in the 'About Me' tab even when they have their own tab or block is rather silly. I just don't see the point in it.

This is a very useful mod, Wired. Thank you.

Quote:

Does anyone want a future version of this to have a mini block w/ the same data?
Yes. It would be great.

kether1 06-03-2008 09:30 PM

*Installed* - and loving it! Brilliant modification, M8! :up:

Is there a way to link to the specific tab this mod creates? I would like to be able to link to it from a thread. Right now, I just link to the profile and the first tab shows opened. I want to be able to link to the content in the different tabs.

Is this possible? If so, what is the tab's URL ?

Thanks,
Kether

kether1 06-03-2008 11:32 PM

Quote:

Originally Posted by kether1 (Post 1540043)
*Installed* - and loving it! Brilliant modification, M8! :up:

Is there a way to link to the specific tab this mod creates? I would like to be able to link to it from a thread. Right now, I just link to the profile and the first tab shows opened. I want to be able to link to the content in the different tabs.

Is this possible? If so, what is the tab's URL ?

Thanks,
Kether


Well, I figured out how to link to the other tabs (friends, stats, contactinfo, etc) but cannot find a way to link the tab this modification creats. It appears to be 'EPFP_tab" but that does not work. Anyone have any idea? It is a bummer to not be able to link to the content on this specific tab.

Thanks for your help!
Kether

Wired1 06-04-2008 01:11 AM

I made the tab from a tutorial here on vB.org, and there's no mention on how to do it there. I checked the HTML, and it all looks the same, so I don't know why it's not working. What's the link that works for the other tabs?

BTW, if you're just trying to get profile info in posts, check out my Dropdown mod.

kether1 06-04-2008 02:47 AM

Quote:

Originally Posted by Wired1 (Post 1540173)
I made the tab from a tutorial here on vB.org, and there's no mention on how to do it there. I checked the HTML, and it all looks the same, so I don't know why it's not working. What's the link that works for the other tabs?

BTW, if you're just trying to get profile info in posts, check out my Dropdown mod.

The link for the other tabs are as follows:
Code:

For About Me: ?tab=aboutme 
For Contacts: ?tab=contact
For Friends:    ?tab=friends
For Statistics: ?tab=stats

I used firefox web browser and the Firebug Addon to inspect the links since they are basically hidden because the ajax changes the tabs but doesn't reload the page.

I see that the link for your mod's tab is supposed to be
Code:

?tab=EPFP_tab
But it will not work for some reason. It always loads the regular profile page.

I am using the link in the drop down of the profile. It was an easy template edit to put it in, but I still need to get the correct url to display the custom tab.

Thanks for any assistance you can offer. And again - excellent modification!

Thanks,
Kether

kether1 06-05-2008 06:50 PM

Anyone know of a way to link to the tab that this mod creates? I still cannot get it to link directly to the specific tab. It always opens the profile's first tab and not the one this modification creates.

Thanks for any help!

Kether

Wired1 06-05-2008 07:05 PM

Do you have an example of a FULL URL link to a tab (that works)?

This does not work for me:
http://www.houseofhelp.com/forums/me...15?tab=contact

kether1 06-05-2008 07:22 PM

Quote:

Originally Posted by Wired1 (Post 1541745)
Do you have an example of a FULL URL link to a tab (that works)?

This does not work for me:
http://www.houseofhelp.com/forums/me...15?tab=contact

This is how it works for me:

Code:

http://www.yoursitename.com/forum/members/kether.html?tab=friends
or
http://www.yoursitename.com/forum/members/kether.html?tab=stats
etc...

Hope this helps!

Thanks,
Kether

kether1 06-05-2008 07:31 PM

I have VBSEO so my urls are rewritten. Here is a link that works on your site.

Code:

http://www.houseofhelp.com/v3/member.php?u=15&tab=stats

Thanks,
Kether

Wired1 06-07-2008 12:38 AM

Ah, I typed in a ? before it instad of an &.

I think I know how to fix it, I'll do some testing.

neologan 06-07-2008 02:07 PM

my apologies if this is already discussed, but i was wondering if this could handle multiple tabs? i use this for system specs, but had the idea of another tab with extra details for console user names and all that stuff.

I'd also really like a way to edit each fields look, with images etc. At the moment you are using some nice code, but it makes it hard to edit. I'm quite happy to just throw some less advanced code to get the fields to show up in the template, and then edit them all with images etc, and use the <if> to make them not disply if it's not filled in etc.

I love this mod, but i really think it needs these sort of options in there so it can be customised more.

any thoughts on ways to do this?

neologan 06-09-2008 02:53 PM

i added a custom User Profile Field and wanted it to be second inline, but it's pushing in front of the system specs plugin. I assume it's using the same hook here, so how to i get the pc specs tab to display in front of it.

the custom field is "gaming": http://forums.pureoverclock.com/member.php?u=1

Wired1 06-09-2008 04:42 PM

Quote:

Originally Posted by neologan (Post 1545054)
i added a custom User Profile Field and wanted it to be second inline, but it's pushing in front of the system specs plugin. I assume it's using the same hook here, so how to i get the pc specs tab to display in front of it.

the custom field is "gaming": http://forums.pureoverclock.com/member.php?u=1

Try editing the plugin and changing the Execution Order # of the plugin.

neologan 06-09-2008 05:09 PM

i've changed them to 1, but it hasn't changed things.


All times are GMT. The time now is 11:53 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.01540 seconds
  • Memory Usage 1,833KB
  • 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
  • (7)bbcode_code_printable
  • (19)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