![]() |
Custom pages based on your vBulletin forum !
1 Attachment(s)
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 |
if you want forum header and footer
and forum style at your custom page copy that code to your template HTML Code:
{vb:stylevar htmldoctype} |
Good work Ali.
|
Wounded product
nice job Thanks installed |
Quote:
Quote:
|
Do you have screen to result please ?
|
Quote:
check that http://www.masrawycafe.com/vb/pages.php and that http://www.masrawycafe.com/vb/pages.php?p=about but its Arabic : ) |
Hi Ali
wonderful work! Maybe a fool question ... It's possible create more than one page? tks again |
Quote:
create any template with prefix page_ : ) |
Hi Ali
thank you a lot :D |
Good job Ali,
Regards. |
Ok i have installed on a test site and 1st of all i could not get to work as i used the upload and the XML files in the folder...
vb4-product-madkour_custom_pages >>vb4-product-madkour_custom_pages >> uload/Xml Then i used the files in the vb4-product-madkour_custom_pages >> upload/xml and it worked ok. I hope that made sence :) P.S when you click the lint to the Custom Pages under the installed products it goes to the wrong page. heres the Url it goes to. I will look at putting on our live site soon great work m8 :) |
Dang , thats what i was looking whole night yesterday , you read my mind , thankyou alimadkour , awsome job
|
is there anyway to also get the cms sidebars on these custom pages? and how can we rename each individual page?
|
This is a good addon but it would be much better if the added template was within VB.
|
???? ???? ?? ????? ??? ??? ???? ?? ?????? ??? ?? ??
??? ???? ??? ???? ??????? ??????? ?? ?????? .. ????? ??????? thanxxx ali installed ________ How does easy vape work |
Quote:
you are welcome! |
Ok, I'm a little confused. I now understand how to create the new template, but this is what I want to do... I want to have custom HTML with my forum header, footer, etc there, much like you have it on this link: http://www.masrawycafe.com/vb/pages.php
How do I do that? I am hoping to be able to put game server monitors on a page with my forum theme. |
Quote:
and edit it! |
Salamu Alaikum Ali,
Great work, I was looking for something similar long time. 1. Will I be able to add php code inside a page (template) ? I have a php-mysql application I built long time, I need it to be inside a vBulletin page (with header & footer), 2. Also I need that application to be integrated with vBulletin users, meaning I need to post things in that app using vb users no. Thanks,, |
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 :)
|
I am trying to add php code, but the page wont show... any ideas why?
|
this is much needed, but the directions here are very bad, how i nthe heck to you create pages?
|
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.
|
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. |
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:( so if you make more than one then they all have the same breadcrumb...that can be an issue |
Quote:
But if you have more of 1 page , this edit will change the titles of all your custom pages |
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 |
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:
// ####################################################################### Code:
// ####################################################################### so if the page is page_test the breadcrumb will be test |
Somehow I can't get this thing to work :(. When I create custom template, namely page_example and when I call that page in the browser ....?p=example it gives me this:
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. |
Lines 9 and 10 of pages.php have references to deprecated code ($HTTP_GET_VARS):
PHP Code:
PHP Code:
Marked as installed! |
@BlueChipEarth:
Thank you for this small bugfix. Works perfect now. :) (4.1.1) Great mod. |
That was my problem as well!
Moved hosts and this mod stopped working. That PHP fix solved it, thanks. |
It's possible to tweak the URL with a vBSEO url structure?
Have tried the vBSEO custom rewrite rules but I wonder if there's a way to do this without manually edits, at least not one by one. |
Is it possible to have this page outside of the forum directory.
I tried modifying the page.php file line 30 PHP Code:
Any assistance would be great |
Quote:
PHP Code:
PHP Code:
|
Thank you HMBeaty, that worked like a charm. ;)
|
OK, For anyone
I'm thinking I can use this add on but don't know for sure and would love some help. I have a separate database outside of the vbulletin database. I have a non-vbulletin programmer creating the database for me, he's a member of my site and doing it for free. I'd like the results of the queries to show up on this page I create. I assume there is something or many things special that will need to be done. Can it be done with this add on or will I need to have a vbulletin programmer make the page or a seperate add on for this? |
All times are GMT. The time now is 06:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|