The Arcive of vBulletin Modifications Site. |
|
|
Create Custom Pages
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:
- 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:
Examples Included With Product:
|
|
#2
|
|||
|
|||
|
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
|
|
#3
|
||||
|
||||
|
edit the goto.php and create a new template with conditionals
FIND: HTML Code:
switch($_REQUEST['section'])
{
HTML Code:
switch($_REQUEST['section'])
{
case 'about';
$globaltemplates[] = 'gtcustom_about';
break;
FIND: HTML Code:
switch ($section)
{
HTML Code:
switch ($section)
{
case 'about';
eval('$HTML = "' . fetch_template('gtcustom_about') . '";');
break;
Create new template as you see fit (use conditionals, use phrases, it's up to you): name it "gtcustom_about" that's it |
|
#4
|
|||
|
|||
|
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
|
|
#5
|
|||
|
|||
|
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? |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
||||
|
||||
|
Quote:
- 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.) |
|
#8
|
||||
|
||||
|
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 |
|
#9
|
||||
|
||||
|
edit the CUSTOM_SHELL template
|
|
#10
|
||||
|
||||
|
Thanks for the tutorial. Very useful!
|
![]() |
|
|