vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Simple unregistered_welcome hack (https://vborg.vbsupport.ru/showthread.php?t=53445)

NexDog 05-27-2003 01:29 PM

Simple unregistered_welcome hack
 
We are developing a new support site and I have a question about the message that is shown to unregistered surfers. First take a look:

http://www.nexusportal.net/index.php

You will see the panel on the left with Register for free! That is contained within the forumhome_unregmessage template. What we want is for the member info below it not to show to unregistered users. At the moment, I just put $unregwelcomemessage variable above the Member Info tables. Also, the unregistered meesage needs to be hidden from members. How do I do this? Does this require hacking of the code and if so what and where?

You can also login with user: Test and pass: vborg

Thanks for your help but please remember the site is not finished. It's looking great but will be so nice when it's finished. :)

filburt1 05-27-2003 02:21 PM

Look for various conditional templates hacks; they'll let you do what you want without hacking (beyond installing the conditional template hack itself).

NexDog 05-27-2003 09:30 PM

ilburt, it looks like Logicians Adanced Templates hack will do the job. I just need to know the variables for registered users and unregistered users. Do you know what they are?


All times are GMT. The time now is 08:57 PM.

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.01867 seconds
  • Memory Usage 1,710KB
  • 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
  • (3)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