Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Extra page driven by forum templates Details »
Extra page driven by forum templates
Mod Version: 1.00, by c-pr0mpt (Member) c-pr0mpt is offline
Developer Last Online: Apr 2004 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 42
Released: 27 Mar 2002 Last Update: Never Downloads: 45
Not Supported  

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:

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 27 Mar 2002, 20:26
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
I wasn't saying the users might not like it, what I meant was I didn't need it.
Reply With Quote
  #17  
Old 27 Mar 2002, 21:15
Floris Floris is offline
 
Join Date: Jan 2002
okidoki
__________________
My community; http://wetalknation.net
Reply With Quote
  #18  
Old 03 Apr 2002, 12:18
E's Avatar
E E is offline
 
Join Date: Mar 2002
hmm ill try it.. .seems a bit like vbhome
__________________
Signature Suspended as it is in violation with signature rules.
Reply With Quote
  #19  
Old 06 Apr 2002, 03:44
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Originally posted by E
hmm ill try it.. .seems a bit like vbhome
Not really. I just like to do it for extra pages like privacy statements, terms of use, etc. vBhome adds a home index like that of vB.org.
Reply With Quote
  #20  
Old 19 Apr 2002, 03:44
212rikanmofo 212rikanmofo is offline
 
Join Date: Nov 2001
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???
Reply With Quote
  #21  
Old 05 May 2002, 11:54
RDX1 RDX1 is offline
 
Join Date: Apr 2002
whats up with this? http://www.nerdnations.com/bbs/cams.php


this is my template code
Attached Files
File Type: txt code.txt (1,018 Bytes, 48 views)
Reply With Quote
  #22  
Old 05 May 2002, 13:49
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Re: Extra page driven by forum templates

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
  #23  
Old 05 May 2002, 17:11
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
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
  #24  
Old 05 May 2002, 17:11
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Re: Re: Extra page driven by forum templates

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
  #25  
Old 05 May 2002, 17:18
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #26  
Old 05 May 2002, 20:37
RDX1 RDX1 is offline
 
Join Date: Apr 2002
it has a black background, mabey i should re look my code :P


$backcolor doesnt work :alien:

Last edited by NerdNations; 05 May 2002 at 20:39.
Reply With Quote
  #27  
Old 22 Aug 2002, 18:15
stuuu stuuu is offline
 
Join Date: Jan 2002
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
  #28  
Old 22 Aug 2002, 18:17
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
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.
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #29  
Old 22 Aug 2002, 18:24
stuuu stuuu is offline
 
Join Date: Jan 2002
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
  #30  
Old 22 Aug 2002, 18:26
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Real name: Rose
I'm interested in using this, but I'm using WebTemplates. Is there a difference in the two? :$
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 14:19.

Layout Options | Width: Wide Color: