Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GTCustom Pages - Create Custom Pages With Ease Details »»
GTCustom Pages - Create Custom Pages With Ease
Version: 0.5.0, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-21-2006 Last Update: 03-29-2007 Installs: 221
Uses Plugins Template Edits
Additional Files  
No support by the author.

Now, you have the POWER to CREATE CUSTOM PAGES with ease!

ACT NOW AND GET FREE BONUS!
  1. FREE Privacy Policy* (legal policy worth about $100**)
  2. FREE Terms of Services Policy* (legal policy worth about $100**)
  3. FREE Site Map Script
  4. NO COPYRIGHT TEXT visible to end-user!
* No need to edit content as name, companyname, address, etc, etc are all fetched from vBulletin Options.
** I couldn't find a free one that I like so I decided to GIVE you my own Site Policies.

How easy is it to create a custom page?
Create header and content phrase. That's it!

Yea, no joke ... it's that easy.

How to add Links
Add Links In Header: (view attachment)

FIND IN header TEMPLATE:
HTML Code:
    <td align="$stylevar[right]">
        &nbsp;
    </td>
REPLACE WITH:
HTML Code:
     <td align="$stylevar[right]">
<a href="goto.php?section=about$session[sessionurl]">$vbphrase[gtcustom_about_header]</a> | <a href="goto.php?section=privacy$session[sessionurl]">$vbphrase[gtcustom_privacy_header]</a> | <a href="goto.php?section=terms$session[sessionurl]">$vbphrase[gtcustom_terms_header]</a> | <a href="goto.php?section=sitemap$session[sessionurl]">$vbphrase[gtcustom_sitemap_header]</a>
        &nbsp;
    </td>
Add Links In Navbar: (view attachment)
FIND IN navbar TEMPLATE:
HTML Code:
         <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
REPLACE WITH:
HTML Code:
<if condition="$show['popups']">        
        <td id="navbar_tools" class="vbmenu_control"><a href="goto.php$session[sessionurl_q]section=about" accesskey="4" rel="nofollow">$vbphrase[help]</a> <script type="text/javascript"> vbmenu_register("navbar_tools"); </script></td>
<else />
        <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
</if>
FIND:
HTML Code:
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
REPLACE WITH:
HTML Code:
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
    <div class="vbmenu_popup" id="navbar_tools_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead" nowrap="nowrap">$vbphrase[need_help]</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="$vbphrase[faq]">
            <a href="faq.php$session[sessionurl_q]">$vbphrase[faq]</a>
 
        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_sitemap_header]">
            <a href="goto.php?section=sitemap$session[sessionurl_q]">$vbphrase[gtcustom_sitemap_header]</a>
 
        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_about_header]">
            <a href="goto.php?section=about$session[sessionurl_q]">$vbphrase[gtcustom_about_header]</a>
 
        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_privacy_header]">
            <a href="goto.php?section=privacy$session[sessionurl_q]">$vbphrase[gtcustom_privacy_header]</a>
 
        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_terms_header]">
            <a href="goto.php?section=terms$session[sessionurl_q]">$vbphrase[gtcustom_terms_header]</a>
            </td>
        </tr>
        </table>
    </div>

TUTORIALS
  1. [HOWTO] CREATE CUSTOM PAGES now available
  2. [HOWTO] Create "Latest Threads" Custom Page

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 04-19-2006, 01:51 AM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you will still need to do a little PHP to get anything accomplished

you may try
include() http://us3.php.net/include/
require() http://us3.php.net/require/
PHP Code:
switch($page)
{
case 
'index':
require(
'welcome.php');
break;
case 
'news':
require(
'news.php');
break;
default:
require(
'the file you want');
break;

good luck
Reply With Quote
  #63  
Old 04-23-2006, 09:16 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Princeton

Could you help me out here please?

I am trying to add my rules link into the menu but i keep getting

Code:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bashy/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 181
Here is what i have done

Code:
<if condition="$show['popups']">        
        <td id="navbar_tools" class="vbmenu_control"><a href="rules.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[help]</a> <script type="text/javascript"> vbmenu_register("navbar_tools"); </script></td>
<else />
        <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
</if>
And

Code:
<!-- gt custom start -->
 <div class="vbmenu_popup" id="navbar_tools_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead" nowrap="nowrap">$vbphrase[need_help]</td>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[rules]">
            <a href="rules.php$session[sessionurl_q]">$vbphrase[rules]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[faq]">
            <a href="faq.php$session[sessionurl_q]">$vbphrase[faq]</a>
        
        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_sitemap_header]">
            <a href="goto.php?section=sitemap$session[sessionurl_q]">$vbphrase[gtcustom_sitemap_header]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_privacy_header]">
            <a href="goto.php?section=privacy$session[sessionurl_q]">$vbphrase[gtcustom_privacy_header]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_terms_header]">
            <a href="goto.php?section=terms$session[sessionurl_q]">$vbphrase[gtcustom_terms_header]</a>
            </td>
        </tr>
        </table>
    </div>
<!-- gt custom end -->
Now where have i gone wrong please
Reply With Quote
  #64  
Old 04-24-2006, 01:21 AM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Hi Princeton

Could you help me out here please?

I am trying to add my rules link into the menu but i keep getting

Code:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bashy/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 181
Here is what i have done

Code:
<if condition="$show['popups']">        
        <td id="navbar_tools" class="vbmenu_control"><a href="rules.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[help]</a> <script type="text/javascript"> vbmenu_register("navbar_tools"); </script></td>
<else />
        <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
</if>
And

Code:
<!-- gt custom start -->
 <div class="vbmenu_popup" id="navbar_tools_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead" nowrap="nowrap">$vbphrase[need_help]</td>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[rules]">
            <a href="rules.php$session[sessionurl_q]">$vbphrase[rules]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[faq]">
            <a href="faq.php$session[sessionurl_q]">$vbphrase[faq]</a>
        
        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_sitemap_header]">
            <a href="goto.php?section=sitemap$session[sessionurl_q]">$vbphrase[gtcustom_sitemap_header]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_privacy_header]">
            <a href="goto.php?section=privacy$session[sessionurl_q]">$vbphrase[gtcustom_privacy_header]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_terms_header]">
            <a href="goto.php?section=terms$session[sessionurl_q]">$vbphrase[gtcustom_terms_header]</a>
            </td>
        </tr>
        </table>
    </div>
<!-- gt custom end -->
Now where have i gone wrong please
sorry ... I missed this one.


I don't see nothing wrong.
Upload your complete template (txt format) and I'll take a look.
Reply With Quote
  #65  
Old 04-24-2006, 03:45 AM
SMO's Avatar
SMO SMO is offline
 
Join Date: Sep 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton
you can remove them (edit template) or add to them ... it's up to you

Im sorry..i didnt really understand what you meant here.

What template/file would I modify to add "stuff" to the left side there?
Reply With Quote
  #66  
Old 04-25-2006, 12:29 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can edit any of the "GTCUSTOM_xx" templates
Reply With Quote
  #67  
Old 04-26-2006, 03:41 AM
SMO's Avatar
SMO SMO is offline
 
Join Date: Sep 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton
you can edit any of the "GTCUSTOM_xx" templates

ooh..templates..i was looking through phrases..

thx princeton
Reply With Quote
  #68  
Old 04-30-2006, 03:18 AM
SupremeWeapon SupremeWeapon is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so ummmm can you make the README more.. understandable?

Quote:
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
k I got my stuff done in my favorite editor.. the phrases are done. So what do i do witht he page I just made in my favorite editor?


at this point im just staring at it because thats all your directions state. there is no directions on HOW to get th epage IN
Reply With Quote
  #69  
Old 04-30-2006, 01:20 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you would add it to your "content" phrase

in the example you quoted ... it would be
"gtcustom_about "- contents of custom page

if you want to edit the template you can ... just edit the "custom_mypage" template
Reply With Quote
  #70  
Old 04-30-2006, 01:21 PM
SupremeWeapon SupremeWeapon is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k, I see what you mean.

anyway to remove the right side boxes?
Reply With Quote
  #71  
Old 04-30-2006, 01:51 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit the template(s)
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 01:25 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.05074 seconds
  • Memory Usage 2,342KB
  • 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
  • (6)bbcode_code
  • (6)bbcode_html
  • (1)bbcode_php
  • (4)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