vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   registered or not? (https://vborg.vbsupport.ru/showthread.php?t=45685)

Automated 11-13-2002 02:57 PM

registered or not?
 
Hi Guys,

I have just made a few changes to my site and what i want to do is have a bit of text/image's to unregistered users getting them to signup and if they are a member i would display a new message or latest article of something.

Basically what i want to do is have the page get template x if unresgistered and template y if they are. Then put the contents of that template into a the big white space i have at the top of the page in my header - Have a look at the top of the page


Thanks
Matthew

Logician 11-13-2002 05:17 PM

maybe you can use this:
https://vborg.vbsupport.ru/showthrea...threadid=43194

Automated 11-13-2002 07:50 PM

seems a bit complex for me, i thought this would be quite simple to do :(

Logician 11-13-2002 09:03 PM

another alternative: (I dont know though if you find this one complex either) :)

1- Install this hack:
https://vborg.vbsupport.ru/showthrea...threadid=43325

2- Edit your header template and insert this where your big white space is:
[[($bbuserinfo[userid]<1)]]
Your HTML code you want to display if visitor is a guest
[[/($bbuserinfo[userid]<1)]]
[[($bbuserinfo[userid]>=1)]]
Your HTML code you want to display if visitor is a member
[[/($bbuserinfo[userid]>=1)]]

Automated 11-14-2002 04:57 PM

thanks ;) I will start on that now and let you know how i get on :p

Mattehw


All times are GMT. The time now is 11:17 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.01028 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
  • (5)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