vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Extra page driven by forum templates (https://vborg.vbsupport.ru/showthread.php?t=36600)

Talisman 01-04-2003 04:54 AM

Quote:

Originally posted by Erwin
Interesting... similar to my "HTML/ JAVA integrator hack" - didn't know that this one existed when I wrote mine. :)
This is really great. Thank you c-prOmpt.

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.

Zombie-F 01-28-2003 12:15 AM

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

Red Blaze 03-10-2003 01:38 PM

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:

Warning: main(./admin/config.php) [function.main]: failed to create stream: No such file or directory in /home/thesonic/public_html/forums/global.php on line 129
I'm guessing the problem lies with in global.php. Can someone help me out?

Triality159 06-20-2003 07:54 PM

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

Triality159 06-21-2003 02:54 AM

nvm i got this fixed.....

dotagious 06-30-2003 01:33 AM

Would this work with a small cgi based script?

Slybone 11-10-2003 07:54 PM

GReat Job, Just what I needed
/me clicks install

gmarik 11-11-2003 02:07 PM

Quote:

Originally Posted by c-pr0mpt
This is a really simple hack. This is for adding other pages to your site all driven by the forums templates. This also has instructions for adding it to whos online!


Example:
http://www.yaxay.com/yack/privacy.php?s=

This page is driven via the normal forum templates.
Sshot of admin area for this page:
http://www.yaxay.com/sshotadmin.gif

Sshot of whos online if the person is on the page:
http://www.yaxay.com/online11.gif


The instructions are for installing a page for a privacy statement. But just replace all instances of privacy, and privacy.php with the page you are creating. Very easy.

Instructions attached. :classic:

Any live demo?
There are plentu of hacks like this, why is this better than, for example, the one Logician made?

glo 03-25-2004 09:07 AM

Quote:

Originally Posted by gmarik
There are plentu of hacks like this, why is this better than, for example, the one Logician made?

Exactly what i was thinking!

Gmarik, what did you discover?

Mythlander 04-11-2004 05:10 PM

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.


All times are GMT. The time now is 11:31 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.01251 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete