![]() |
Adding pages outside the vb template
Hi there,
I would like to add pages outside the vbulletin forum templates, that only can be viewed forum members (and if possible, spesific groups only). Any code snipples I can add to the pages? |
PHP Code:
|
Quote:
PHP Code:
Thanks for this quick tutorial :D Regards, jhonka |
OK What is if I want to create this page on another subdomain? Should I use the same code for remote file?
|
Is the subdomain on the same server? Can they access each others files internally?
|
Thank you, Dismounted. The subdomains are all on the same server. Yes I changed the path internally and this method works. But I still have these questions:
1. Will this method (chdir, etc.) affect my own script that is on the other subdomain? Will it be heavier? Will it produce any errors? Are there any functions that I should not run in the script? 2. What are the variables that I can retrieve and how? For example, I need to retrieve: UserID Username Member Level (regular, admin, etc.) Thank you. Never mind. Got that :) |
All times are GMT. The time now is 02:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|