The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Can anyone tell me where the mod is for making custom pages is please.
Im using 3.7.4 |
#2
|
|||
|
|||
![]()
the box at the top is a search - where it says All Posts change that to Titles Only and in the long white box if you type custom pages it will tell you all the mods for custom pages.
I hope this can help |
#3
|
|||
|
|||
![]()
This may seem silly, but would it be possible to take a page & just edit it with my own details then name that file a different name?
|
#4
|
|||
|
|||
![]()
There are two ways to create these custom pages. One way requires making a PHP file, like mycustompage.php and making a template like MYCUSTOMPAGE. The other way is a bit simpler and just requires making a template.
There is a difference in how the pages will appear (based on what method you use). The harder way will make things look more "pretty" because it will have a URL that looks something like http://www.Example.com/forums/lol.php while the easier way will have a URL like http://www.Example.com/forum/misc.ph...e&template=lol (lol being the example name of the page you are creating) The harder method will be able to have a custom breadcrumb, and the easy one will have a breadcrumb that is basically the template name. I only use the easier method, and this is how I do it: Bring up the AdminCP and go to the Style Manager. For the style that you want to have the page in, click the options select bar (it says "All Style Options") and select "Add New Template" (and click go if the page doesn't automatically change). Now you will be faced with two important boxes (the Title box and the Template box). For the title, you can have it whatever you want, but it must have "custom_" in front of it (for instance, custom_lolz). It should all be lowercase because everything after "custom_" will be within the URL, and every internet link should always be lowercase. Now for the Template box, you should copy this code and paste it in there to begin with: HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">%ARTICLE1_TITLE%</td> </tr> <tr> <td class="alt1"> %ARTICLE1_CONTENT% </td> </tr> </table> $footer </body> </html> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> ... </table> Now, for your first article, you need a title. Replace %ARTICLE1_TITLE% with your choice for the title. Now that you put your article's title down, it's time to do the content. This uses standard HTML, so you need to remember that more than one space will just show as one space and you should use the following tags for things you want to do: The PHP Code I used for; bold, italics, line breaks, and underlines was: line break: <br /> bold: <strong></strong> italics: <em></em> underline: <span style="text-decoration: underline"></span> The content that you type up will replace %ARTICLE1_CONTENT%. Once you're done with your page, save the template. If you want it to display for all styles, you will need to copy the template contents (and title) to a new template within the other styles. The URL for the page will be something like http://Example.com/forum/misc.php?do...mplate=%TITLE% where %TITLE% is whatever came after "custom_" in the template's title. So a template named custom_lolz would have a URL of http://Example.com/forum/misc.php?do=page&template=lolz. I hope this helps, sorry it's so long >_> |
#5
|
|||
|
|||
![]()
got it. That was a great help.
Thank you VERY MUCH |
#6
|
|||
|
|||
![]()
No problem - I don't know the 'clean' way to make the URL look prettier - but my friend does, and if you need that also, I'm sure I can get how to do it for ya
![]() |
#7
|
|||
|
|||
![]()
Search 'Easy Pages' in 3.7 Mods and you will find it, I use it often and is probably the fasted way to make a vB based page from your admincp.
|
#8
|
|||
|
|||
![]()
'Easy Pages' seems good, however it would be good if it didnt give link names as 'easy_page'
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|