Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
My Posts & Threads in navbar Details »»
My Posts & Threads in navbar
Version: 1.00, by dutchbb dutchbb is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 08-31-2006 Last Update: Never Installs: 171
Template Edits
 
No support by the author.

Port from: https://vborg.vbsupport.ru/showthread.php?t=118306

This adds a "My Posts" link to your navbar with a drop down menu for threads. Now you can easily find your recent topics and post with one click

Installation is easy and should take no more than a few minutes.

Please click install if you use this, thank you.

**** Due to unethical actions by vBulletin Solutions I can no longer support this modification ****

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 02-04-2007, 01:50 PM
mandy71480's Avatar
mandy71480 mandy71480 is offline
 
Join Date: Jun 2005
Location: South Carolina
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a nice addition! Thanks! I have 3.6.4 and had no problems finding the edits and I have over 10 mods installed.
Reply With Quote
  #23  
Old 02-08-2007, 03:20 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this! - wonderful addition to a great modification. :up:
Quote:
Originally Posted by alkatraz View Post
since my navbar is sorta customized already i'm too lazy to cut and paste step by step instructions, but here's a quick run down

- I did the mod as instructed first
- then I moved the part that goes beside "New Posts" so it was beside "UserCP"

ah screw it, here's the bits of code you can figure it out it's pretty easy =)


basicaly I replaced the bits within the USERCP <td>'s with:
Code:
<a href="usercp.php$session[sessionurl_q]">My Account</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span>
and here's what my dropdown setup is like:
Code:
<!-- My Posts Menu -->
<div class="vbmenu_popup" id="navbar_myposts_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">My Account</td>
        </tr>

        <tr>
        <td class="vbmenu_option"><a href="usercp.php$session[sessionurl_q]">My Account Settings</a></td>    
        </tr>
        
        <tr>
        <td class="vbmenu_option"><a href="search.php?do=finduser&u=$bbuserinfo[userid]">View My Posts</a></td>    
        </tr>
        <tr>
        <td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">View My Threads</a></td>    
        </tr>
        
        <tr>
        <td class="vbmenu_option"><a href="member.php?u=$bbuserinfo[userid]">View My Profile</a></td>    
        </tr>        
        
        </table>
    </div>
<!-- / My Posts Menu -->
Reply With Quote
  #24  
Old 02-09-2007, 04:45 PM
Philster Philster is offline
 
Join Date: Nov 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks works good in version 3.6.3 with the 3.6.4 security patch.

Phil.
Reply With Quote
  #25  
Old 02-10-2007, 12:21 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering.
Someone mentioned recently that the "My Posts" formatting is not quite as appealing as the Advanced Search "Username" results. Does anyone know if it's possible to get the same look and feel as the Advanced search with the "My Posts" addon?
Reply With Quote
  #26  
Old 02-13-2007, 09:33 PM
Reedly Reedly is offline
 
Join Date: Oct 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I assume you're talking about the fact that the link doesn't 'drop down' like the search and 'quick links' links unless you click the arrow instead of the words "my posts"?

I noticed this too, and it was a bit confusing at first since click 'my posts' took me directly to that section. But, then I clicked the arrow to receive the drop down menu.

Is there a way to easily make the words part of the advanced link also?

Oh, and this is a great mod that's working wonderfully - thank you!!!
Reply With Quote
  #27  
Old 02-13-2007, 11:43 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JohnBee View Post
I was wondering.
Someone mentioned recently that the "My Posts" formatting is not quite as appealing as the Advanced Search "Username" results. Does anyone know if it's possible to get the same look and feel as the Advanced search with the "My Posts" addon?
What you mean is "threads I posted in"...

That will show you a list with all the threads you have posted in, ordered by the last post in it.

You can use this string to replace the one in "my posts":
Code:
search.php?do=process&showposts=0&starteronly=0&exactname=1&searchuser=$bbuserinfo[username]
However I believe when someone searches for 'their posts', it's more logical to show the latest posts, not the threads they posted in.

A better way to do it IMO would be to add the extra feature like mentioned above (threads I posted in) in the drop down menu:

FIND in navbar:

Code:
		<tr>
		<td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">My Threads</a></td>	
		</tr>
ADD BELOW:

Code:
<tr>
		<td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=0&exactname=1&searchuser=$bbuserinfo[username]">Threads I Posted in</a></td>	
		</tr>
So now you have the 3
-my posts (YOUR posts, listed as posts)
-my threads (threads YOU started, listed as threads)
-threads I posted in (threads you DIDN'T neccecairly start, but containing your posts, listed as threads)

Hope this makes sense to you
Reply With Quote
  #28  
Old 02-14-2007, 12:00 AM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reedly View Post
I assume you're talking about the fact that the link doesn't 'drop down' like the search and 'quick links' links unless you click the arrow instead of the words "my posts"?

I noticed this too, and it was a bit confusing at first since click 'my posts' took me directly to that section. But, then I clicked the arrow to receive the drop down menu.

Is there a way to easily make the words part of the advanced link also?

Oh, and this is a great mod that's working wonderfully - thank you!!!
Well my members use "my posts" most of the time so they actually wanted to click once and get the posts. But you can have it your way:

In navbar FIND:

Code:
<td class="vbmenu_control"><a href="search.php?do=finduser&u=$bbuserinfo[userid]" accesskey="2">My Posts</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span></td>
REPLACE WITH:


Code:
<td id="navbar_myposts" class="vbmenu_control"><a href="$show[nojs_link]#navbar_myposts">My Posts</a><script type="text/javascript">vbmenu_register("navbar_myposts");</script></td>
Reply With Quote
  #29  
Old 02-14-2007, 07:59 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea
Reply With Quote
  #30  
Old 03-20-2007, 10:10 AM
Sakera Sakera is offline
 
Join Date: May 2002
Location: Trondheim, Norway
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The search cache gives a problem with the View my threads stuff, sadly. When you Write new threads, you can risk that View my threads is'n updated for over an hour, as the search is cached....
Reply With Quote
  #31  
Old 03-24-2007, 11:29 PM
styleforum styleforum is offline
 
Join Date: Jun 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod, I'll see how people like it and if it needs to be spiffed up like some here have done.

One note though - shouldn't the accesskey be something other than '2'? I bet 99.9% of people would never use that, but since 2 is already the accesskey for New Posts, it will probably confuse some browsers.

Thanks for writing it though! I'm sure people will enjoy it.
Reply With Quote
Reply

Thread Tools

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 03:57 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.04882 seconds
  • Memory Usage 2,311KB
  • 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
  • (7)bbcode_code
  • (3)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
  • (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_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