The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
||||||||||||||||||||||||||||
Custom pages based on your vBulletin forum !
![]() Developer Last Online: Sep 2023 ![]() ![]()
![]() Elsalam Alikom
Hi with that Product you can make pages based on your vBulletin forum just create a new template with prefix page_ ex: when I create a template page_Ali the url of that page will be : http://www.example.com/forum/pages.php?p=Ali and you can also make a default fpage edit template called pages_default and write your own code ! Installing product : Upload : pages.php to your vBulletin root folder Install the xml file via AdminCP Make it as Installed ! Enjoy You can control the product from AdminCP->Settings->Options->Custom Pages and you can also rename pages.php Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#22
|
|||
|
|||
![]()
How can I add my content to the php page file? like html content? What do you mean "create a new template" How do I create a new template? what is a template? is it the same as a style? Sorry for my newb questions. I was just so used to the mod called bf easy pages and now it doesn't work with vbulletin 4.0.2 All I did was enter my html code and it would display it. I don't know where to enter the html code with this. Can you please clarify my questions? thank you
![]() |
#23
|
|||
|
|||
![]()
I am trying to add php code, but the page wont show... any ideas why?
|
#24
|
|||
|
|||
![]()
this is much needed, but the directions here are very bad, how i nthe heck to you create pages?
|
#25
|
|||
|
|||
![]()
4.0.2 broke this (doesn't display the style correctly), but you can easily fix it by replacing all {vb:var vbcsspath} with {vb:raw vbcsspath} in the page_default (or your own custom) template.
|
#26
|
||||
|
||||
![]()
The breadcrumb navigation only shows "My Page" for all custom pages.
Is there a way to use the title of the custom page instead? Great mod by the way. |
#27
|
|||
|
|||
![]()
installed!
starbug.... You can control the product from AdminCP->Settings->Options->Custom Pages and you can also rename pages.php i did that and it says the same name on all the custom pages ![]() |
#28
|
|||
|
|||
![]() Quote:
But if you have more of 1 page , this edit will change the titles of all your custom pages |
#29
|
|||
|
|||
![]()
good mod... installed and works like a charm.
1 question. Is it possible to load comments on the page ( so that people can comment on that page? how will i do that, what code etc. anyone that can help me with that? Thank you in advance |
#30
|
||||
|
||||
![]() Quote:
For example, my main page is called Games, one subpage is Mablibs instead of having the breadcrumb be {home_icon} Games for lal pages could it be {home_icon} Games > Madlibs? I have been looking at the code, but I am not familiar enough with VB4 yet, to figure it out... EDIT: Ok, I got it working. replace (in page.php) Code:
// ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### //$navbits = construct_navbits(array('' => $vbulletin->options[bbtitle])); $navbits = construct_navbits(array('games.php' => $vbulletin->options[madkour_custom_pages_nav])); $navbar = render_navbar_template($navbits); Code:
// ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### $subpagetitle = $HTTP_GET_VARS[p]; if($subpagetitle == ""){ $navbits = construct_navbits(array('games.php' => $vbulletin->options[madkour_custom_pages_nav])); } else { $navbits = construct_navbits(array('games.php' => $vbulletin->options[madkour_custom_pages_nav], '' => $subpagetitle)); } //$navbits = construct_navbits(array('' => $vbulletin->options[bbtitle])); //$navbits = construct_navbits(array('games.php' => $vbulletin->options[madkour_custom_pages_nav])); $navbar = render_navbar_template($navbits); so if the page is page_test the breadcrumb will be test |
#31
|
||||
|
||||
![]()
Somehow I can't get this thing to work
![]() Notice: Use of undefined constant p - assumed 'p' in C:\wamp\www\upload\pages.php on line 9 Notice: Undefined variable: HTTP_GET_VARS in C:\wamp\www\upload\pages.php on line 9 Notice: Undefined variable: p in C:\wamp\www\upload\pages.php on line 10 Any help? Using VB 4.0.3 PL1 on a local test site on WAMP. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|