vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

wowautoauctions 05-02-2011 03:40 AM

Is it possible to change the template to work exactly like the front-page cms (create menu and everything).. So for it to look like this :

https://vborg.vbsupport.ru/external/2011/05/49.png

Lynne 05-02-2011 04:04 AM

Quote:

Originally Posted by wowautoauctions (Post 2190913)
Is it possible to change the template to work exactly like the front-page cms (create menu and everything).. So for it to look like this :

If you put all the code into the php page and then the html into the template, then sure.

wowautoauctions 05-02-2011 04:30 AM

Quote:

Originally Posted by Lynne (Post 2190920)
If you put all the code into the php page and then the html into the template, then sure.

So I have to find each template that the cms uses and combine them all into one template?

Lynne 05-02-2011 04:51 PM

Quote:

Originally Posted by wowautoauctions (Post 2190922)
So I have to find each template that the cms uses and combine them all into one template?

You need at least the template code for the areas you want to show. You could use the same templates, but you will need to render them in your php code in order to use them.

mintman72 05-03-2011 04:11 PM

Ok, so I know I've got to be doing something wrong, but I cannot figure it out for the life of me. I've loaded the php file into my root directory, added the template into my style, but whenever I try to key in the URL for the php, I get a 404 error.

I've checked my spelling, capitalization, and file location. Made sure everything is lined up, but I just cannot seem to clear the 404 error. Any suggests?

Lynne 05-03-2011 04:48 PM

How about a URL?

mintman72 05-03-2011 04:51 PM

PHP Code:

http://www.ourcouponhome.com/coupons.php 

is supposed to be where you can pull it up

--------------- Added [DATE]1304454436[/DATE] at [TIME]1304454436[/TIME] ---------------

OK, figured out what was going on! Thanks for the willingness to help out!

Mark4865 05-06-2011 01:28 PM

Hello Lynne,

we managed to use this fantastic mod to create the perfect custom page using this mod and wanted to thank you for all your hard work and great support, much appreciated. We want to use our new custom page as the first page (log in page) people see when they type in our website URL, how do we change things in VB so we can make this happen. When they log in they are then taken to the front page in the CMS as per normal. We have set all the log in places and links to do this all I need to know is where to change things to make this the 1st log in page please.

thanks again for a great mod and great support

Lynne 05-06-2011 03:28 PM

Quote:

Originally Posted by Mark4865 (Post 2192664)
Hello Lynne,

we managed to use this fantastic mod to create the perfect custom page using this mod and wanted to thank you for all your hard work and great support, much appreciated. We want to use our new custom page as the first page (log in page) people see when they type in our website URL, how do we change things in VB so we can make this happen. When they log in they are then taken to the front page in the CMS as per normal. We have set all the log in places and links to do this all I need to know is where to change things to make this the 1st log in page please.

thanks again for a great mod and great support

Have you tried just naming this new page index.php so that is the first page people go to?

Mark4865 05-06-2011 04:18 PM

Heh Lynne,

thanks for response. No I am a total technical idiot so would never have thought of that. I assume I would then have to name orignal index.php something else or is there not currently a file called index.php


All times are GMT. The time now is 01:49 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.02269 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete