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

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

Category: Profile Enhancements - Version: 3.7.3 Rating:
Released: 05-23-2008 Last Update: 06-26-2008 Installs: 202
Uses Plugins
 
No support by the author.

Don't forget to hit INSTALL!

This is an evolution of my Additional Section within Profile and Dropdown within Posts mod from 3.6.x.

If you have a pre-3.7.x version installed:
UNINSTALL the old product and reverse the edits. Don't forget to revert those templates

-----------------------------------------------------------------------

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

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

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

Version History:
1.0.0 - Initial Release
1.0.1 - Cached template

Don't forget to hit INSTALL!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 06-01-2009, 05:46 PM
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 chet View Post
Is there any way I can alter so only admins can fill in the options, reason being is I would like to add a membership number there which can not be changed by the user

Thanks

Chet
That's completely outside the scope of this mod. That has to deal with the profile fields and not this mod.
Reply With Quote
  #123  
Old 08-15-2009, 06:44 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install both your extra options and this profile tab mod. VERY AWESOME!

QUESTION:

Now can you please post clear instruction on how to reorder the profile tabs. I want this new tab to site right next to the default About Me tab.

THANKS!
Reply With Quote
  #124  
Old 08-15-2009, 06:56 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="DarkRed">post deleted sorry not needed</font>
Reply With Quote
  #125  
Old 08-15-2009, 07:22 AM
GHC Webmaster GHC Webmaster is offline
 
Join Date: Aug 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post
QUESTION:
Now can you please post clear instruction on how to reorder the profile tabs. I want this new tab to site right next to the default About Me tab.
I can help you a bit with that. The problem with this is that the plugin uses template hooks, and to do what you want, you would need to move one of those hooks in the MEMBERINFO template.

Look in that template for something like:

Code:
    <div id="profile_tabs">
        $template_hook[profile_left_first]
        $blocks[visitor_messaging]
        $blocks[aboutme]
        $blocks[stats]
        $blocks[friends]
        $blocks[infractions]
        $blocks[contactinfo]
        $template_hook[profile_left_last]
    </div>
And then move the line with "$template_hook[profile_left_last]" up till it's between "about me" and "stats". That should do what your want. (Assuming your extra tab is on the far right at the moment.)

Regards,

Walrick
Reply With Quote
  #126  
Old 08-15-2009, 08:03 AM
GHC Webmaster GHC Webmaster is offline
 
Join Date: Aug 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Addition: be aware that this moves other tabs by addons which use the same hook as well. (The Blog tab for example.) Is this happens you can change the hook which extra tab uses in this plugin to "profile_left_first" and move that hook in the template instead of the hook I mentioned above.
Reply With Quote
  #127  
Old 08-15-2009, 10:01 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GHC Webmaster View Post
Addition: be aware that this moves other tabs by addons which use the same hook as well. (The Blog tab for example.) Is this happens you can change the hook which extra tab uses in this plugin to "profile_left_first" and move that hook in the template instead of the hook I mentioned above.
I knew about this already. Yes I have blogs, experience, recipes, etc mods all using the damn right hook punch junk way to make a tab! So because multiple coders went the easy right hook punch way to rig their tabs we cant easily reoder tabs. What a waste of time on our end. So I will have to recode a number of mods so they use their own hook and can be reordered at anytime. Personally this is the way they should all be coded in the first place.

So now where or where do I change this to use the left hook punch code???

Better yet here is the plugin:

Code:
$blocklist = array_merge($blocklist, array(
    'EPFP_tab' => array(
        'class' => 'EPFP_tab',
        'title' => $vbphrase['extra_options'],
        'hook_location' => 'profile_left_last',
        'options' => array(
            'simple' => $vbulletin->GPC['simple'],
        ),
    )
));
How do I make it so I can have it located in its own hook by altering the red code??? This needs to be standard for this mod as an update asap please! So to be clear here the real question that I need answered is how to make my own hook to call this tab to where I want it so it can be in the standard list on its own? I guess its time to learn how to make my own custom hooks....
Reply With Quote
  #128  
Old 08-15-2009, 10:54 AM
GHC Webmaster GHC Webmaster is offline
 
Join Date: Aug 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is profile_left_first in use already on your site as well? If not you could use that.

Otherwise I'd suggest googling for "vbulletin adding hooks" or something similar. I found some results already.
Reply With Quote
  #129  
Old 08-15-2009, 10:03 PM
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 yotsume View Post
Where did you think I started first in hunting! LOL I will quote for you word for word!

"VB can not and will not support any modification to the core code of VB go look on vborg."
There's a difference between them supporting modification of the code and asking for more hook locations / forum features. They've added many hooks and features with version changes in the past, so they're definitely open to suggestions.


Quote:
I suggest you change your mod to use a more diverse way to manipulate the profile tab.
No. I will not complicate this mod to make up for a perceived limitation of the tab functionality within the profile. If someone wants to make a mod that allows admins / users to easily reorganize tabs that's fine by me, but it's well outside the scope of this mod.


Quote:
Thanks for a great mod! Now we need my question answered of how to get the fields which are moved to your mods extra page searchable again??? How can I do that? When fields are moved they loose their ability to be searched. Any solutions?
I have already answered that question when you asked it in the main modification's thread. Also, if you're using vB 3.8.x, it's noted at the top of the modification for that version how to have the fields searchable.
Reply With Quote
  #130  
Old 08-15-2009, 10:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thread cleaned.

Please keep this thread centered around comments regarding this modification. Thank you.
Reply With Quote
  #131  
Old 08-16-2009, 06:34 AM
GHC Webmaster GHC Webmaster is offline
 
Join Date: Aug 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Thread cleaned.

Please keep this thread centered around comments regarding this modification. Thank you.
In my view the solution you removed could be very useful to the users of this modification. Now every user who needs something similar has to search for a solution elsewhere and find out for themselves how to implement that for this mod.

Not a helpful moderation. Luckily I still got the notification of new post email with the full solution in it.
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 04:42 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.11305 seconds
  • Memory Usage 2,322KB
  • Queries Executed 27 (?)
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_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete