![]() |
Show "About Me" tab in profile by default
Just a quick question, how can we show "About Me" tab in member profile by default?
For example, when we click on a member name and go to his profile, we see info about him instead of guest message.. Thanks W |
Either turn off visitor messages, which would make the About Me tab the default one or use a link like this:
Quote:
|
Try the following Plug-in code on Hook member_build_blocks_start
PHP Code:
|
Quote:
Thanks guys and happy new year! |
Thanks, this one helped me out as well.
|
Thank you VERY much!
|
N00b question:
How do I edit this hook ? |
Quote:
|
You would go to plugin manager in Admin CP, Add a new Plugin, and choose that hook from the drop down menu.
|
Thanks so much!
|
Quote:
For me, this plugin removes the text editing part of the visitor message box (pic below) in IE 9 using any style, including default. Resizing the message box restores it. https://vborg.vbsupport.ru/external/2011/08/53.png |
is it possible to make this work only for a specific usergroup?
|
maybe wrap it with the vb if member show tags?
|
Code:
if (!$vbulletin->GPC_exists['tab'] AND is_member_of($vbulletin->userinfo, 2)) |
This still works n 4.2 by the way.
Anyone looking for a way to put Visitor Messages back as the default instead of the Activity Stream use this code: Code:
if (!$vbulletin->GPC_exists['tab']) |
Yep, it still works. Andreas showed how to do this a while back.
|
Quote:
Exactly what i needed. |
Quote:
|
Can you explain how to do this in 4.2.0 step by step for the most mentally challenged? Thank you.
|
Log into the Admin CP.
On the side menu expand "Products & Plugins" Click on "Plugin Manager" At the very bottom there is a link to "Add New Plugin" On that page put in the following information- Product: vBulletin (this should be default) Title: Tab Fix Hook: member_build_blocks_start (from a drop-down list) Execution Order: 5 (default value) To make Visitor Messaging the default past this into the PHP Code box: PHP Code:
Or to make About Me as the default paste in this instead: PHP Code:
|
Quote:
The best solution, though, would be able to switch the activity stream in the profile off, most of our users hate it, they don't want to be in a fish bowl with BB watching over their shoulder |
Quote:
|
Works perfect, but if I have Visitor messaging off it shows me a empty page. Could it be a condition if Visitor messaging is off to redirect me to the About me tab?
I tried with options[vm_enable] but it's not working :( |
Okay, I've had this little mod installed since before 4.2.0. I am wondering if it is causing some display issues with the user's Activity tab.
On my site, when I click on the user's Activity tab, the All sub-tab displays all the activity from all the members across the entire site. When I check this on the vB.com site, their All sub-tab only shows that user's activity. Any thoughts on this? |
Well disable the plugin and see if it helps. I doubt it is the cause but it is easy to test.
|
Thanks Joe. It's not this plugin. Further research as relieved that what I am seeing is "normal" behavior.
I do want to do something similar to what this mod does, would you mind taking a look at this thread for me since you seem to know what you are about ;) |
Sorry, I tried a few things but nothing worked.
|
Thanks for looking Joe. Someone pointed me to the memberinfo_block_activity template, so I'm going to do some surgery in there and see what I can come up with.
|
Thanks! my members are glad that they don't have to stare at the Activity as default when they do to their profiles now. Much prefer VM as default.
|
Thanks, why hasn't this been added in the acp as an option, new features like these need to have options, I mean I like the new feature but it seems like they made it the default page just to show it off lol
|
Quote:
|
Quote:
Do I do it in the memberinfo template? |
Quote:
--------------- Added [DATE]1362428662[/DATE] at [TIME]1362428662[/TIME] --------------- Never mind! I had to enable it... it works fine. One of those duhhhh moments on my part. Sorry. |
Wonderful! Thank you for the tip on how to replace the activity stream with visitor messaging. It is not too bad having the my activity stream, it is just horribl to look at all the time when you click a users profile. Otherwise, it's good for latest posts/threads at a quicker rate.
Thanks again. |
I know this is reviving an old thread but... when i get the plugin created and make a custom tab the default, it makes both the "My Activity" AND custom tab default. so both of the are highlighted when loading the page.
http://immortalarg.com/forum/member.php?1-stoute If I choose another tab, such as the "aboutme" tab to make default then it works perfect... I must be missing something. Any Ideas? I can post source if needed. **EDIT** I figured it out. The custom tab needs the hook of "member_complete" and the tab fix gets the aforementioned hook of "member_build_blocks_start". |
Excellent - Thank you. Works perfectly on vb 4.2.1.
|
how do I remove the about me tab as default?
I am using vb 4.2.1 and after someone leaves a message it redirects to the about me page instead of staying on the visitor message page. |
Quote:
|
oops sorry I meant so it wont be the default.
|
Which tab did you want as the default tab?
--------------- Added [DATE]1380158305[/DATE] at [TIME]1380158305[/TIME] --------------- Actually, it don't matter, here is a mod I just made that you can set a tab as default, [ozzy47] Default Profile Tab |
All times are GMT. The time now is 05:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|