Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Extra Profile Fields Tab Details »»
Extra Profile Fields Tab
Version: 4.0.1, by Wired1 Wired1 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.0.6 Rating:
Released: 06-08-2010 Last Update: 08-14-2010 Installs: 112
Uses Plugins
Re-useable Code Is in Beta Stage  
No support by the author.

Don't forget to hit INSTALL!

This product requires my Extra Profile Fields Page product. This product places the Extra Profile Fields into a new tab on the user's Public Profile.

To Install:
1) Save the attached product-extratab.xml file.
2) Navigate to AdminCP -> Plugins & Products -> Manage Products
3. Uninstall the 3.8.x version if you have it installed.
4) [Add/Import Product] -> Browse to wherever you saved the file.
5) Import!

NOTE: Support will only be given to those who have hit install.

Don't forget to hit INSTALL!

Download Now

File Type: xml product-extratab.xml (6.7 KB, 402 views)

Screenshots

File Type: jpg tab.jpg (32.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
kevius

Comments
  #22  
Old 08-14-2010, 10:31 PM
alexp999 alexp999 is offline
 
Join Date: Jul 2010
Location: Dorset, UK
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
Still can't reproduce it. Just nuked my whole site / DB, rebuilt from scratch. Default 4.0.6 install, installed EPFP then the tab mod. Created 1 field and filled it out. No issues whatsoever. Cannot duplicate.

Everyone please list your extra mods.
Only other mods is the required mod for this and downloadsII, running 4.0.6 to reproduce, I find it will always do it if I log out, then view my profile. Tested on latest versions of opera, firefox, chrome and ie.
Reply With Quote
  #23  
Old 08-14-2010, 10:52 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bloody hell, I think I just remembered what can cause this from some old 3.8.x development work. Are the profile fields in question in a category?

[Edit: just tried it, can't duplicate it, but try it anyway]
Reply With Quote
  #24  
Old 08-14-2010, 10:58 PM
alexp999 alexp999 is offline
 
Join Date: Jul 2010
Location: Dorset, UK
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have some in a category, some not. All show up on about me tho. My fix sets the class to view_section instead of block which seemed to be the culprit.
Reply With Quote
  #25  
Old 08-14-2010, 11:19 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why is the question though. Doesn't happen on default install. Are you still on vB 4.0.0 as per your profile suggests?
Reply With Quote
  #26  
Old 08-14-2010, 11:20 PM
alexp999 alexp999 is offline
 
Join Date: Jul 2010
Location: Dorset, UK
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No 4.0.6.
Reply With Quote
  #27  
Old 08-15-2010, 12:03 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 alexp999 View Post
I find it will always do it if I log out
Ahah! Yep, duplicated! Logging out's the key! Confirmed your code's the exact fix. WHY it happens and WHY that fixes it I have no idea. Thanks for the fix! How'd you figure out the solution?

4.0.1's being pushed up right now!
Reply With Quote
  #28  
Old 08-15-2010, 09:22 AM
alexp999 alexp999 is offline
 
Join Date: Jul 2010
Location: Dorset, UK
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firstly I launched opera (as I find it really handy for debugging) and saw that the "Extra Tab" was having a class of "block" applied to it for the outermost div. All the other tabs were being given a class of "view-section". I changed the class to "view-section" and hit apply, low and behold it fixed it!

Now I had to find a way of having that code applied, not just modifying the incoming source for me locally.

I looked through the XML, and compared to as many other plugins I could find which also added a tab to the profile. (one being downloadsII) and I found that they were all specifying their own outer div, to set the class as "view-section"). So I tried changing the template in your xml, (as shown in the first find and replace in my fix). But that alone, just caused nothing to appear in the tab at all.

I found the vbulletin was adding the outermost div itself, outside the template you specify in the plugin. I looked a bit more and found that the other plugins using tabs, were telling vbulletin not to wrap the html output. So I added the line "'wrap' => false". Which stops vbulletin putting the outer most div on, therefore using the template, and having a class of "view-section".

Hope that makes sense, gets a bit complicated trying to explain things like this, lol.
Reply With Quote
  #29  
Old 08-15-2010, 05:07 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Note to self: Test in Opera more often Thanks for the blow by blow, helped out a lot!
Reply With Quote
  #30  
Old 10-29-2010, 03:44 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any plans on making a update for vb4.0.8 new tabs?
Reply With Quote
  #31  
Old 11-12-2010, 12:57 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New tabs? I'll have to read up on that. Haven't looked at vB 4.0.x development in a while.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04880 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete