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.
GO-TOTAL LLC had everyone in mind when GTCustom Pageswas 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:
In your favorite editor, create the contents of the page. HTML is allowed.
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
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
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----
Is there a way to set a permission on these pages so that I can only allow serton usergroups into the serton custom section page?
Like make some sort of code so I can add it to the page I want a serton group to access only and leave the others like sitemap so that any one can see them?
is_member_of()
Works out if a user is a member of the specified usergroup(s)
This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
boolean is_member_of (array &$userinfo, integer $usergroupid)
* array &$userinfo: User info array - must contain userid, usergroupid and membergroupids fields
* integer $usergroupid: Usergroup ID to test