vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Advanced Templates: Dynamic Templates Changing according to different conditions (https://vborg.vbsupport.ru/showthread.php?t=43325)

allfather 07-13-2003 10:54 PM

style then ffs :p

Logician 07-13-2003 11:04 PM

this hack can not help you to change style according to usergroup. Try searching in hack requests forum with keywords "$styleid*" "$style*". You can find a solution there.

allfather 07-13-2003 11:09 PM

bollox, i got told this was what i needed for that :(

sweet22 08-18-2003 04:47 AM

how do you know user group ids?

Dolby 08-25-2003 08:22 PM

Quote:

08-18-03 at 12:47 AM sweet22 said this in Post #234
how do you know user group ids?
Go to the Admin Control Panel and go to User Groups menu heading and click [Manage]. Hover your mouse over the [edit] link for each usergroup and you will find the group id in the URL.

The standard group ID's are:

Unregistered / Not Logged In = 1
Registered = 2
Users Awaiting Email Confirmation = 3
(COPPA) Users Awaiting Moderation = 4
Super Moderators = 5
Administrators = 6
Moderators = 7
Banned by Moderators = (custom to forum must look up your self)

99SIVTEC 08-26-2003 10:17 PM

I've got a forum that is a network of sites using vbulletin and phpportals. I would like the header to change depending on which sub forum you are in. This would allow me to have a unique look for each "club". Is this possible with this hack?

Logician 08-27-2003 06:51 AM

Quote:

Today at 02:17 AM 99SIVTEC said this in Post #236
I've got a forum that is a network of sites using vbulletin and phpportals. I would like the header to change depending on which sub forum you are in. This would allow me to have a unique look for each "club". Is this possible with this hack?
I would say use an external hack for your request. I guess it is already provided in hacks requests forum. Check with keyword "$header" or "forumdisplay.php". Also check in this forum as a hack might already exist.

ImportPassion 08-29-2003 06:55 PM

how can i use this to only show something if the user is Online?
I have tried several things, none have worked.

THanks,
Derek

memobug 08-29-2003 08:44 PM

Who is the user are you talking about? The one looking at the forum or the one whose user information might appear in the context of one of the other other templates?

There is an $onlinestatus in the postbit template. If you mean the person looking at the pages, that's different.

Maybe you could suggest what you are trying to do for more help.

Regards,

Matt

ImportPassion 08-29-2003 11:43 PM

ya, i should have explained it better.

I want to use it for any user in the postbit. I tried using the $onlinestatus=='Online' and it doesn't work. I tried several variations of it in fact.
I want to show a graphic if the user is in x usergroup and currently online.

Derek


All times are GMT. The time now is 10:50 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.01413 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete