vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding a My Threads link (https://vborg.vbsupport.ru/showthread.php?t=188389)

Rubiano 08-17-2008 02:20 PM

Adding a My Threads link
 
I am going to add a "My threads" link to my forum, so I need a link that will work.

I have tried this: <a href="search.php?$session[sessionurl]do=mythreads">

but when i clicked that link, it took me to a blank page.

veenuisthebest 08-17-2008 04:39 PM

<a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;e xactname=1&amp;searchuser=$bbu serinfo[username]">My Threads</a>

Rubiano 08-17-2008 06:22 PM

hmm....that link won't work either..........

--------------- Added [DATE]1219002102[/DATE] at [TIME]1219002102[/TIME] ---------------

It goes to this link when i click on it:
http://www.kinzkingdom.com/forums/se...ser=%20serinfo[username]

--------------- Added [DATE]1219003643[/DATE] at [TIME]1219003643[/TIME] ---------------

Anyone know how to fix this?

Note: The link is inside of a drop-down menu

veenuisthebest 08-18-2008 02:06 PM

it cannot be wrong coz I am using it. and i had copy pasted it here from the template. try it once again, it must be some mistake from your side.

blind-eddie 08-18-2008 02:25 PM

Please post your drop down section of your navbar that this link will be added to.

Digital Jedi 08-18-2008 03:04 PM

Quote:

Originally Posted by veenuisthebest (Post 1600850)
<a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;e xactname=1&amp;searchuser=$bbu serinfo[username]">My Threads</a>

You put a space after bbu in bbuserinfo for some reason. That's why he's getting a %20serinfo[username] in his link, instead of the username.

veenuisthebest 08-18-2008 03:33 PM

hmm.. i just notice that.

Well.. that space was not put intentionally or by mistake. I just now tried posting that code again and I notice in "Preview Message" AND in "Quote" that space getting inserted their by itself.

Lynne 08-18-2008 03:56 PM

It's probably the line length setting in vb (or whatever it's called). Use code tags next time, veenu, I think that will stop it from happening.

Rubiano 08-18-2008 05:10 PM

it was the space, thanks!

UaECasher 08-18-2008 07:08 PM

nice info i needed it too ^_^


All times are GMT. The time now is 05:14 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.01498 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete