Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Extra page driven by forum templates Details »»
Extra page driven by forum templates
Version: 1.00, by c-pr0mpt c-pr0mpt is offline
Developer Last Online: Apr 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-26-2002 Last Update: Never Installs: 42
 
No support by the author.

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:


Sshot of whos online if the person is on the page:



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:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-04-2003, 04:54 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #43  
Old 01-28-2003, 12:15 AM
Zombie-F's Avatar
Zombie-F Zombie-F is offline
 
Join Date: Mar 2002
Location: Spook City, USA
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #44  
Old 03-10-2003, 01:38 PM
Red Blaze's Avatar
Red Blaze Red Blaze is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #45  
Old 06-20-2003, 07:54 PM
Triality159 Triality159 is offline
 
Join Date: Apr 2002
Location: Illinois
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #46  
Old 06-21-2003, 02:54 AM
Triality159 Triality159 is offline
 
Join Date: Apr 2002
Location: Illinois
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvm i got this fixed.....
Reply With Quote
  #47  
Old 06-30-2003, 01:33 AM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would this work with a small cgi based script?
Reply With Quote
  #48  
Old 11-10-2003, 07:54 PM
Slybone Slybone is offline
 
Join Date: Sep 2003
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GReat Job, Just what I needed
/me clicks install
Reply With Quote
  #49  
Old 11-11-2003, 02:07 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:


Sshot of whos online if the person is on the page:



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?
Reply With Quote
  #50  
Old 03-25-2004, 09:07 AM
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #51  
Old 04-11-2004, 05:10 PM
Mythlander Mythlander is offline
 
Join Date: Dec 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:34 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
  • Page Generation 0.04973 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete