vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How Do I Get the USERID #... (https://vborg.vbsupport.ru/showthread.php?t=104989)

LLIFE 01-10-2006 05:28 PM

How Do I Get the USERID #...
 
I want to put a simple "view my profile" link in UserCP, whats the quickest way to get the USERID as a digit?

I edited the USERCP_SHELL and added a view profile with an href of

/forum/member.php?u=$vbulletin->userinfo['userid']"

but thats not working, im sure there is a global varible for this I just dont know it, anyone know what it is?

Thanks.

Reeve of shinra 01-10-2006 05:32 PM

Wrong forum...

peterska2 01-10-2006 05:33 PM

The easiest way is to get the link from the navbar template and copy it into the usercp shell where you want it.

BTW, you posted in the wrong forum

LLIFE 01-10-2006 05:33 PM

I know, looks like there is no way to delete it. Maybe someone can give me an answer before the moderator whacks it.

peterska2 01-10-2006 05:36 PM

Quote:

Originally Posted by peterska2
The easiest way is to get the link from the navbar template and copy it into the usercp shell where you want it.

see there

LLIFE 01-10-2006 05:41 PM

navbar template does not give you the USERID number anywhere.

Guest190829 01-10-2006 05:42 PM

HTML Code:

<a href="$vboptions[bburl]/member.php?u=$bbuserinfo[userid]"> My Profile </a>
I'm not sure if there is another template form of bburl for 3.5...

LLIFE 01-10-2006 05:51 PM

Thank you sir, that worked.


All times are GMT. The time now is 03:02 AM.

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.01088 seconds
  • Memory Usage 1,721KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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