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
  #22  
Old 05-05-2002, 10:54 AM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats up with this? http://www.nerdnations.com/bbs/cams.php


this is my template code
Reply With Quote
  #23  
Old 05-05-2002, 12:49 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 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:
I cant even get what nerdnations has...

What am I doing wrong?

Satan
Reply With Quote
  #24  
Old 05-05-2002, 04:11 PM
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NerdNations
whats up with this? http://www.nerdnations.com/bbs/cams.php


this is my template code
That page displays exactly what your code is telling it to. What is the problem? :ermm:
Reply With Quote
  #25  
Old 05-05-2002, 04:11 PM
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by hellsatan


I cant even get what nerdnations has...

What am I doing wrong?

Satan
What are you getting? To know what you are doing wrong, I need to see what you have currently.
Reply With Quote
  #26  
Old 05-05-2002, 04:18 PM
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by 212rikanmofo
the hack works i think, but when i click on to view my privacy statement, it shows up, but up top it doesnt have those navigational links like you do:

like:

site -> privacy statement

it doesnt have that, what did i do wrong???
Thats something I added on mine manually. Just add this code to the top below the header of any page you create.

Code:
&nbsp;<smallfont><b>? <a href="index.php?s=$session[sessionhash]">Forum Index</a> ? Page You Created</b>
<br><br>
Reply With Quote
  #27  
Old 05-05-2002, 07:37 PM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it has a black background, mabey i should re look my code :P

$backcolor doesnt work :alien:
Reply With Quote
  #28  
Old 08-22-2002, 05:15 PM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, what if I want to have some PHP code where

<!-- YOUR CONTENT GOES HERE -->

is? The code I have is a SQL driven audio database table.

Help!
Reply With Quote
  #29  
Old 08-22-2002, 05:17 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to add the php code to the file you upload, the only template that can have php in it is the phpinclude template.
Reply With Quote
  #30  
Old 08-22-2002, 05:24 PM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR
You need to add the php code to the file you upload, the only template that can have php in it is the phpinclude template.
I think the code is a bit too much to put into the php include template, as that is loaded with each page right?

I have put it in the main file that calls the templates, but how do I get the template to place my code between the vB header and footer? It just appears below the footer at the moment
Reply With Quote
  #31  
Old 08-22-2002, 05:26 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm interested in using this, but I'm using WebTemplates. Is there a difference in the two? :$
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 02:04 AM.


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.06098 seconds
  • Memory Usage 2,308KB
  • 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
  • (1)bbcode_code
  • (5)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
  • (4)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