Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Create Custom Pages
Princeton
Join Date: Nov 2001
Posts: 6,693

Joe Velez began developing for the web in 1998. He is an avid vBulletin user and volunteers his services as a vbulletin.org administrator. He currently spends his time maintaining and developing allnurses.com.

Vineland, NJ
by Princeton Princeton is offline 22 Feb 2006

GO-TOTAL LLC had everyone in mind when GTCustom Pages was created.
Custom pages can now be created with little or no coding knowledge.

If you know how to create a phrase within ADMINCP / LANGUAGES then you can create custom pages with ease.

First Download and install product and...

Let's Create A Custom "About Us" Page:
  1. In your favorite editor, create the contents of the page. HTML is allowed.
  2. When you finish with the contents of the page, create 2 phrases (an optional subtitle is available).
    • "gtcustom_about_header" - title of custom page
    • "gtcustom_about" - contents of custom page
    • "gtcustom_about_subtitle" -optional subtitle for custom page; the subtitle (table cell) will only display if it's created
  3. That's it! Now, go visit the page via URL: $vboptions[bburl]/goto.php?section=about
NOTE:
- Replace bold text with your choice of name. Follow naming convention as described above or the pages will not display.
- All 'xxx_header' phrases should be added to GLOBAL phrase group. (Needs to be global to display in navbar, etc.)
- All other phrases are required to be in GTCustom Pages phrase group. (If it's not here, cutom page will not work.)
Tips:
  • URL looks good with mod-rewrite enabled.
    For example, $vboptions[bburl]/goto/section/about, $vboptions[bburl]/goto_section_about.html
  • Use short names to prevent mod-rewrite (SEO links) problems. (It really depends on your setup. For example, some SEO scripts will convert every '_' into '/'. Which will prevent custom page from being displayed.)
    • Examples:
      • about - (GOOD)
      • terms - (GOOD)
      • privacy - (GOOD)
      • about_us - (BAD)
      • terms_of_service - (BAD)
      • privacy_policy - (BAD)

Examples Included With Product:
  • About Us Custom Page - phrases: gtcustom_about_header, gtcustom_about
    URL: $vboptions[bburl]/goto.php?section=about
  • Terms Of Service Custom Page - phrases: gtcustom_terms_header, gtcustom_terms
    URL: $vboptions[bburl]/goto.php?section=terms
    Additional options available in Admincp/ vBulletin Options/ Site Name / URL / Contact Details to create Terms of Service
  • Privacy Policy Custom Page- phrases: gtcustom_privacy_header, gtcustom_privacy
    URL: $vboptions[bburl]/goto.php?section=privacy
Now Let's Create Who's Online Location For All Custom Pages:
  • Oops, this feature is only available to those who donate.
  • What do you get? A new Custom Pages Plugin. All you have to do is overwrite the original.

Last edited by Princeton; 22 Feb 2006 at 01:50..
Views: 38330
Reply With Quote
Comments
  #2  
Old 25 Apr 2006, 03:38
Connector's Avatar
Connector Connector is offline
 
Join Date: Dec 2005
Real name: nardo
Very nice .. if i need to show a messge for each usergroup when they visit the about page .. is there any way to do this ?

Thanks
Reply With Quote
  #3  
Old 25 Apr 2006, 13:25
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
Arrow

edit the goto.php and create a new template with conditionals

FIND:

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

REPLACE:

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


FIND:

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

REPLACE WITH:

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


Create new template as you see fit (use conditionals, use phrases, it's up to you):
name it "gtcustom_about"

that's it
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #4  
Old 25 Apr 2006, 18:15
Connector's Avatar
Connector Connector is offline
 
Join Date: Dec 2005
Real name: nardo
Thankyou very much .. It's work fine. . i'm not sure if there is way where i can add UserPost Count ..

Example

Welcome Username You have Made XX Post ..

Welcome username i find how to do this but Their postcount i dont no

Thanks
Reply With Quote
  #5  
Old 04 May 2006, 13:13
almukmin almukmin is offline
 
Join Date: Feb 2006
What if I need the page to do some PHP commands?

How do I just add a header and a footer to that PHP file?
Reply With Quote
  #6  
Old 04 May 2006, 19:23
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Im sorry, but im new to this and i dont have a clue what you are talking about in your instructions.

In the admin CP im going to phrase manager, then what, you havent said?!

Phrase type = ?
Product type = ?
Var name = gtcustom_about_header (for first one)
Text = ?

Thank you
Reply With Quote
  #7  
Old 05 May 2006, 00:07
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
Originally Posted by aceofspades
Im sorry, but im new to this and i dont have a clue what you are talking about in your instructions.

In the admin CP im going to phrase manager, then what, you havent said?!

Phrase type = ?
Product type = ?
Var name = gtcustom_about_header (for first one)
Text = ?

Thank you
- Replace bold text with your choice of name. Follow naming convention as described above or the pages will not display.
- All 'xxx_header' phrases should be added to GLOBAL phrase group. (Needs to be global to display in navbar, etc.)
- All other phrases are required to be in GTCustom Pages phrase group. (If it's not here, cutom page will not work.)
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #8  
Old 12 May 2006, 20:32
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Here is my page:

http://www.hiven.net/forum/goto.php?section=rules

Can you tell me how i get rid of the box's on the left please, i just want the text no search / advert / stuff box. Thank you

James
Reply With Quote
  #9  
Old 12 May 2006, 20:43
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
edit the CUSTOM_SHELL template
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #10  
Old 14 May 2006, 13:09
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks for the tutorial. Very useful!
Reply With Quote
  #11  
Old 27 May 2006, 01:39
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Originally Posted by Princeton
edit the CUSTOM_SHELL template
can you tell me exactly what to remove in order to get rid of that stuff on the left?

Awesome product, I donated to help the cause
Reply With Quote
  #12  
Old 27 May 2006, 03:51
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
replace custom_shell with

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

thanks Arin ... appreciate the donation
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #13  
Old 27 May 2006, 06:23
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Thanks! That did the trick
Reply With Quote
  #14  
Old 22 Jun 2006, 05:40
blankoboy blankoboy is offline
 
Join Date: Apr 2006
Great looking mod. Will this allow me to update the body of the custom page via the Admin CP?

For example, I want to have a custom page to list advsertising rates and availability. I would then also like to regularly update the availability and pricing. Is this possible with this mod?


---off-topic----
ps - off-topic but hoping someone here might know the answer. How do sites like totalbf2.com and evilavatar.com display news pulled from specific forums on their front page? Are they using vbexternal or a similar available mod? thx.
---off-topic----
Reply With Quote
  #15  
Old 22 Jun 2006, 13:44
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
the "body" of the page is a phrase
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
GTCustom Pages - Create Custom Pages With Ease Princeton vBulletin 3.5 Add-ons 160 17 Jun 2010 23:40



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article 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 18:04.

Layout Options | Width: Wide Color: