Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2011, 04:31 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default View your...

Okay so I was wondering if someone would be kind enough to help me.
I am attempting to add three links to one of my drop downs.
View YOUR Threads
View YOUR Posts
and Threads YOU have posted in.

However I continue to get stuck on what the actual URL of the link should be, everytime I attempt something it says either:
Invalid Username Specified
or
Please add more constraints to your search.

Can anyone please help me
Reply With Quote
  #2  
Old 02-19-2011, 04:38 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something along these lines?

https://vborg.vbsupport.ru/showthread.php?t=230302
*View post #4 for more info, most want those added in as well .
Reply With Quote
  #3  
Old 02-19-2011, 04:44 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn it, please accept my apologies TLS - I had searched however obviously I wasn't using the right terms as that post didn't even come up.

Thanks for taking the time, and sorry for looking like a newbie who cant use the search button.
Reply With Quote
  #4  
Old 02-19-2011, 04:54 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk_aus View Post
Damn it, please accept my apologies TLS - I had searched however obviously I wasn't using the right terms as that post didn't even come up.

Thanks for taking the time, and sorry for looking like a newbie who cant use the search button.
pfff no worries, I've released a mod albeit different when a similar one existed and I was none the wiser until about a month later .
Reply With Quote
  #5  
Old 02-19-2011, 05:01 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks that was very helpful (the thread) after like 3 hours of trying different lines/queries/ and anything else I can think off it was doing my head in but is all good now.

The only issue I am having now is with the View your threads and View your posts code I am using:
Code:
search.php?do=finduser&userid=&contenttype=vBForum_Post&showposts=1
And it continues to come up with:
Please add more constraints to your search. Searches that return all or most of the database are a bad idea.

^^ Because of that I feel like slapping vBulletin lol.
Reply With Quote
  #6  
Old 02-19-2011, 05:20 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk_aus View Post
Thanks that was very helpful (the thread) after like 3 hours of trying different lines/queries/ and anything else I can think off it was doing my head in but is all good now.

The only issue I am having now is with the View your threads and View your posts code I am using:
Code:
search.php?do=finduser&userid=&contenttype=vBForum_Post&showposts=1
And it continues to come up with:
Please add more constraints to your search. Searches that return all or most of the database are a bad idea.

^^ Because of that I feel like slapping vBulletin lol.
Well it feels the same way... because your not specifying which user to search all that for instead it's sloppily searching for all or none at all i.e. the message .

If your adding it to a drop-down in the navbar you can simply use the memberinfo codes and change from userinfo to bbuserinfo that way when you click the link it shows all your posts, if they click the same link it knows their number and finds their posts etc.

Example:

Code:
<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw bbuserinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_posts}" class="inlineimg" /> {vb:rawphrase find_all_posts}</a></li>
That will add in the little image icon you see in the profiles so for just the link use this:

Code:
<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw bbuserinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1">{vb:rawphrase find_all_posts}</a></li>
See if that helps and remember it needs something to search for not everything .
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:21 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.01858 seconds
  • Memory Usage 2,218KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete