Quote:
|
Not very promissing, waiting for somehting more fundamental ...
|
Quote:
Code:
require_once('./global.php'); Code:
chdir('/home/site/public_html/testvb/'); |
Sorry newbie here, can some kind sole please explain what this is suppose to do.
I have created the test.php and called it and yes looks nice:) What is the template part for and how would you best make use of this please. Thanks lol well hush my mouth, I see now (-0-0-) ;) Yes nice concept and thanks |
i have done some thing like this a while ago and i loe it as i use it for my affialites and rules page
|
Quote:
|
alright, hopefully someone can help me with this:
i have some large files i want to make available to certain usergroups, but not other. the files are way too large to upload as "attachments" with vb so i would have to upload them via ftp and then just post a link in a thread...of course this means the only way to prevent people from downloading it is to prevent them from seeing the thread at all, which is not my intention. with this new way of making a vb page, is there any way to do what i am trying to do? any help would be great. |
Quote:
PHP Code:
Also, save this code in a file such as download.php and then you can use the file by linking to it like http://www.example.com/forum/downloa...=something.php which will download www.examlpe.com/forum/files/something.php if the user is an administrator. |
Nice job although I think personally this would be a template mod rather than a hack, since no vBulletin files were modified.
Still good job though. ;) |
This looks promising gary -> a few questions !!!
1) How can I use this outside my forums directory? Do i just use this? PHP Code:
3) I have a php links script which I would like integrated into my forums in terms of the way it looks and the way only certain usergroups can access it. Can i use your hack to do this? If so, how I would I make a php page appear in the content area instead of the TEST template ??? Thanks again :) |
All times are GMT. The time now is 02:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|