vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help: How To Add Member Id In Members Profile (https://vborg.vbsupport.ru/showthread.php?t=118023)

imran_khatri 06-08-2006 02:19 PM

Help: How To Add Member Id In Members Profile
 
1 Attachment(s)
Pls Guys Help Me How To Add Members Id In Members Profile..
exemple i posted in pic......... please guys help me ........in it.........

Thanks Admin Of Gsmmind .......... Imran_Khatri

bjs144 06-08-2006 03:36 PM

What version of vB you running?

imran_khatri 06-08-2006 04:08 PM

3.5.4

pls guys help me

pls guys help me in it ..... i am waiting ...... for u r help

DrewM 06-08-2006 08:05 PM

oh thats easy just put:
$userinfo[userid]
where you want the idea.

imran_khatri 06-09-2006 07:14 PM

Pls Explane More Sir..........

i don't under stand pls explane more in wich template to edite and .......

Antivirus 06-10-2006 05:06 PM

Quote:

Originally Posted by imran_khatri
Pls Explane More Sir..........

i don't under stand pls explane more in wich template to edite and .......

It's difficult to know which template you need to edit since you aren't stating where in your forums you want the userid to show - my guess is that it's the postbit or postbit_legacy template in which you should add $userinfo[userid] wherever you want the member's userid to appear within the template.

you can get to the postbit template in AdminCP>Style&Templates>StyleManager> then click expand templates and search for the template, copy and paste the html into dreamweaver or notepad, and then...

Find
PHP Code:

<div>
$vbphrase[posts]: $post[posts]
</
div

and below that, add
PHP Code:

$userinfo[userid

so it looks like
PHP Code:

<div>
$vbphrase[posts]: $post[posts]
</
div>
$userinfo[userid

then save your template and refresh your thread youre viewing.
make sure to save a copy of your template before editing in case you need to revert.

Buczilla 06-10-2006 07:30 PM

I think you'll need to use $post[userid] instead of $userinfo[userid].

imran_khatri 06-10-2006 08:28 PM

Ok Thanks all is OK now
Thanks again...

Gsmmind 06-11-2006 02:17 PM

yaa thanks guys ..........


All times are GMT. The time now is 01:54 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.01143 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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