vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How do i add Group? (https://vborg.vbsupport.ru/showthread.php?t=85560)

imported_DiPpY^ 12-05-2002 08:46 PM

How do i add Group?
 
Hello everyone ive been brosweing through this fourm for a couple of days now and i want to say wow :) very nice!

Well ive learned some were some of the templates are and i want to know how you get the group? i see some of the postbits use $post[usertitle] but i want to have it so u can have ur own usertitle and it will still show the group your in

i have evrything right except the group: plase help! :)

Example:

DiPpY^
Crazy One

[Avatar goes here]

Group: Founder
Regitsered: Dec 2000
Posts: 4562
User is: Online

Cypher720 12-06-2002 02:36 AM

$post[usegruop] is the variable i believe...is that what you need?

filburt1 12-06-2002 02:49 AM

I think you can only do $post[usergroupid] but don't quote me on that...

Cypher720 12-06-2002 11:15 AM

wont that show the # though???, not name???

filburt1 12-06-2002 11:45 AM

Right.

imported_DiPpY^ 12-06-2002 10:31 PM

$post[usergroup] didnt work and $post[usergroupid] gave me a number 6

so there is no way to do that? or can i make an template that will show me what group im in or anyone else ?

filburt1 12-06-2002 10:33 PM

It would normally be very easy via phpinclude to put it in a user's profile but due to IMHO a stupid design for this page you can't ($userinfo is destroyed before it can be read by phpinclude). Also, putting it in the postbit would require hacking.

So there's no real practical way of doing it purely through templates.

imported_DiPpY^ 12-06-2002 10:49 PM

ok well ill serach through the hacks on vbulletin and see if they have anything thanks


All times are GMT. The time now is 10:47 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.01046 seconds
  • Memory Usage 1,714KB
  • 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)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