Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2011, 01:09 AM
blazinchuck blazinchuck is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 01-01-2011, 01:11 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe that you will need to edit template 'postbit' or 'postbit_legacy' according to your site config.
Reply With Quote
  #3  
Old 01-01-2011, 01:28 AM
blazinchuck blazinchuck is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jscieza View Post
I believe that you will need to edit template 'postbit' or 'postbit_legacy' according to your site config.
ok, i found it in the postbit_legacy...however, what would be the code for that option...to show "threads started by user"

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&amp;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&amp;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&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
Reply With Quote
  #4  
Old 01-01-2011, 01:41 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:

<a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]&starteronly=1">
Reply With Quote
  #5  
Old 01-01-2011, 02:15 AM
blazinchuck blazinchuck is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jscieza View Post
Try this:

<a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]&starteronly=1">
hmm, i was expecting something different...i dont want to make a change that will mess things up, especially if i cant find or fix them fast enough lol

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&amp;u=$post[userid]&starteronly=1"><phrase 1="$post[username]">$vbphrase[find_threads_started_by_x]</phrase></a></td></tr>
Reply With Quote
  #6  
Old 01-01-2011, 02:26 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 01-01-2011, 02:38 AM
blazinchuck blazinchuck is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jscieza View Post
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.
touche'...aight...ill try

--------------- 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&amp;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
Reply With Quote
  #8  
Old 01-01-2011, 04:21 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blazinchuck View Post
touche'...aight...ill try

--------------- 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&amp;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
It's in both because their different templates for different postbit layouts. Your site will only use one of them, as per the settings in vBulletin Options. You only need to edit the one your using.

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.
Reply With Quote
  #9  
Old 01-01-2011, 01:26 PM
blazinchuck blazinchuck is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 01-01-2011, 07:45 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blazinchuck View Post
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
$vbphrase[find_threads_started_by_x] is a phrase that doesn't exist in vBulletin. Since it doesn't exist, vBulletin doesn't know what convert it into, so it converts it into nothing. That's why you're getting no text in that space. You need to add the phrase to your Phrase Manager or just type what you want that to say instead of using the phrase. My instructions above were for if you chose to add a phrase to the Phase Manager. Which if you opened up, you would see what I'm talking about.
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:35 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
  • Page Generation 0.04182 seconds
  • Memory Usage 2,264KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • 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