vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - My Threads & My Posts Links in a Drop-Down Menu (https://vborg.vbsupport.ru/showthread.php?t=227856)

justicechick 03-16-2013 07:15 PM

OK MY Threads links has suddenly stopped worked in bulletin 4.2 pl3. Ive reinstalled and overwritten , deleted and recreated the link in my nav bar. Still when I click on it it only goes to a white screen.

spillage 04-23-2013 02:08 AM

Quote:

Originally Posted by Geoff_M (Post 2331998)
You don't need this for 4.2

vB built in a navigation manager found in ACP.

ACP->Setting->Navigation Manager.

From there click on forum so it expands.

Then select add link from the drop down next to quick links and add the following:

Title: My Posts
Target URL: search.php?do=finduser&userid={userinfo.userid }&contenttype=vBForum_Post &showposts=1

Then select active and save.

Do the same for:

Title: My Threads
Target URL: search.php?do=finduser&userid={userinfo.userid}&st arteronly=1&contenttype=vBForum_Thread

To hide these links from guests add "member" in the box 'Show Permission Name'.
(thanks Fleiding)

This has stopped working after upgrading to 4.2.1.
userinfo.userid is not returning a number.
Any thoughts?

MikeF 04-24-2013 06:04 PM

Quote:

Originally Posted by spillage (Post 2418017)
This has stopped working after upgrading to 4.2.1.
userinfo.userid is not returning a number.
Any thoughts?

Replace with {bbuserinfo.userid}

Example

My Threads
search.php?do=finduser&userid={bbuserinfo.user id}&contenttype=vBForum_Post&showposts=1

My Posts
search.php?do=finduser&userid={bbuserinfo.user id}&contenttype=vBForum_Post&showposts=1

tagline 04-24-2013 08:22 PM

Thank's! Work very well :up:

spillage 04-24-2013 09:56 PM

Thank you, Mike... greatly appreciated.

Priyanshu 04-26-2013 06:08 AM

installed, but not working now what i do..

datoneer 06-03-2013 05:37 PM

Quote:

Originally Posted by mmogy (Post 2381586)
Code:

search.php?do=finduser&userid={userinfo.userid}&starteronly=1&contenttype=vBForum_Thread

Code:

search.php?do=finduser&userid={userinfo.userid}&contenttype=vBForum_Post &showposts=1

Getting this message

Please add more constraints to your search. Searches that return all or most of the database are a bad idea.

vb version 4.2.1

datoneer 06-03-2013 05:42 PM

My Threads
search.php?do=finduser&userid={bbuserinfo.user id}&contenttype=vBForum_Po st&showposts=1

My Posts
search.php?do=finduser&userid={bbuserinfo.user id}&contenttype=vBForum_Po st&showposts=1[/QUOTE]

Ok it works now but how can be the same code for posts & threads?

pelican 06-13-2013 04:56 PM

Quote:

search.php?do=finduser&userid={bbuserinfo.user id}&contenttype=vBForum_Post&showposts=1
the above link return result as posts for My Posts.

anyway to return result as threads for My Posts.
please take note, it is different from My Threads which return threads started by me.

DemOnstar 07-11-2013 06:27 AM

My Threads
search.php?do=finduser&userid={bbuserinfo.user id}&contenttype=vBForum_Po st&showposts=1

My Posts
search.php?do=finduser&userid={bbuserinfo.user id}&contenttype=vBForum_Po st&showposts=1

Both show the same information...I take it as being posts btu the thread view doesn't show so O have removed that link...


All times are GMT. The time now is 09:40 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.01262 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete