![]() |
user profile drop down menu?
is there a way to add or change the options in the profile drop down menu? this is the drop down when you reading post in a thread and you wanna see a user's options
**user X** [View Public Profile] [Send a private message to user X] [Send email to user X] [Visit user X's homepage!] [Find More Posts by user X] [Add user X to Your Buddy List] i would like to add [Find all threads started by user X] so is this possible? thanks...im using 3.6.8 http://carolinabroncos.com |
I believe that you will need to edit template 'postbit' or 'postbit_legacy' according to your site config.
|
Quote:
thank you --------------- Added [DATE]1293852941[/DATE] at [TIME]1293852941[/TIME] --------------- heres an example of what im looking at(i think this is where i should be looking for it) <if condition="$show['emaillink']"> <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr> </if> <if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> <if condition="$post['userid'] AND $show['member']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> |
Try this:
<a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]&starteronly=1"> |
Quote:
BTT, anybody? is this what it might look like?? <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]&starteronly=1"><phrase 1="$post[username]">$vbphrase[find_threads_started_by_x]</phrase></a></td></tr> |
Then you shouldn't do anything to your vBulletin, you shouldn't install mods nor file edits or template changes.
Relax. Just do the edit and see if it works for you. If not, then simply revert the template. |
Quote:
--------------- Added [DATE]1293857229[/DATE] at [TIME]1293857229[/TIME] --------------- ok, its working-but not...here goes there is a blank spot right under the "find post by user X" and right above "add to buddy list" the blank spot takes you to all threads started by user...but the wording isnt there? i used this code: <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]&starteronly=1"><phrase 1="$post[username]">$vbphrase[find_threads_started_by_x]</phrase></a></td></tr> </if> also...i found these codes in "postbit" and "postbit_legacy"...so i added that code to both of those areas |
Quote:
You have no text because there's no such phrase as $vbphrase[find_threads_started_by_x]. You can edit the code directly and just put what you want there, or you can add a new phrase in the Phrase Manager. Will probably need to look like this... Varname: find_threads_started_by_x Text: Find threads started by {1} Everything else you can leave as default. --------------- Added [DATE]1293863086[/DATE] at [TIME]1293863086[/TIME] --------------- I just noticed, there is phrase callled $vbphrase[find_threads_started_by_user]. But it just says User, not their name. |
im sorry, i dont follow...i dont understand the "varname" and phrase...i put the code in the postbit and postbit_legacy....a lil more help please, thanks
--------------- Added [DATE]1293917144[/DATE] at [TIME]1293917144[/TIME] --------------- btt, thanks |
Quote:
|
Quote:
--------------- Added [DATE]1293919522[/DATE] at [TIME]1293919522[/TIME] --------------- ok, just found the phrase manager...and i added a new phrase/varname and text like you listed...gonna check it out now |
Quote:
|
<font color="Orange">Digital Jedi</font> that worked beautifully...i understand I was asking it something it didnt understand...until i gave it what it needed to look for. Thank you very much.
does it matter i made the caode change in both postbit and postbit_legacy? everything seems to be working, so should i even bother messing with it now? Thanks again, happy new year!!! |
It will only matter if you ever decide to start using the other postbit layout. Since the code is the same for both layouts, you can leave it or revert it at your choosing.
|
All times are GMT. The time now is 05:50 PM. |
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:
|