![]() |
Quote:
And I'm glad I found your html/txt/java integrator and flash hacks, Erwin, before I came across this one. Will plan to use them all for our site. We have a number of Admins supporting our site, with all different areas of expertise. I can use the approach in this hack for our fairly static, text-based pages of reference material and our Admins can easily update the appropriate template(s), as needed. Will then use Erwin's hack for the more dynamic pages we want to integrate that our web-guys can use with more complex html coding, flash movies, java applets, etc. It's truly a pleasure to browse through the many threads here. And it really helps me understand how to better maintain and develop our site. Thanks, again. |
This is exactly what I was just looking for! Thanks for the nifty little hack. I'm sure I'll use it for more than just the Privacy Statement. :D
|
I wanted to make something like this, is there a way to keep guests from entering certain pages I'd make? Lets say I'm making an MP3 section and I only want members to access that page. Do you know what I mean?
Also, I wanted to move the files else where besides the forums directory. For example I want all the pages on my main directory. www.mysite.com. Not on the /forums directory. I tried moving the new php files I made and I got this error. Quote:
|
i am also having a problem..I get this error
Warning: Cannot modify header information - headers already sent by (output started at /home/advanced/public_html/advertising.php:7) in /home/advanced/public_html/admin/functions.php on line 1652 someone please help thanks |
nvm i got this fixed.....
|
Would this work with a small cgi based script?
|
GReat Job, Just what I needed
/me clicks install |
Quote:
There are plentu of hacks like this, why is this better than, for example, the one Logician made? |
Quote:
Gmarik, what did you discover? |
Thank you for this hack. Very simple and straightforward. I'm amazed vB doesn't have a mechanism to view the TOS/Privacy Statement after you've registered.
|
Can anyone assist please... I get an error reported when I try to load the new page which is:
Fatal error: Call to undefined function: gettemplate() in ......../forums/privacy.php on line 7 ... and line 7 is highlighted in red below Code:
<?php Can anyone advice please... thanks |
"Undefined function" looks like it can't find global.php.
Is this file (privacy.php) in the same directory as global.php? It needs to be. Also, make sure your forumprivacy template is part of the default template style. I also copied it to all of my other template styles. |
Hi Mythlander,
Thanks for the reply so promptly... much appreciated... Quote:
Quote:
Can you suggest something else for me to try please...? is it to do with vB3 Gold perhaps...? |
Well this is a vB2 hack. I'm not sure if it works with vB3. Heck, I couldn't tell you if vB3 even has a gettemplate() function! :D
[Edit] I just checked. It looks like gettemplate() no longer exists in vB3. It's now fetch_template(). Also, I found a thread on doing this for vB3 here. |
Yup, this hack won't work on vB3. :) Use the link I provided in my previous message for the same (apparent) functionality.
|
Quote:
|
All times are GMT. The time now is 09: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:
|