<h2 class="blockhead">Titre de la page (title page)</h2> <div class="blockbody"> <div class="blockrow"> Le texte que vous souhaitez mettre (the text) </div> </div>
{vb:raw footer} </body> </html>
It'll just create a link to this url: /forum/misc.php?do=page&template=wazaaa
The template MUST be named custom_xxxxxx - change xxxxxx to whatever you want.
When call the page, you enter template=xxxxxx where xxxxxx is the part of the template name after custom_
PS: You are free to customize the text in the template
For the condition used for the tab, did you try this?
PHP Code:
if (THIS_SCRIPT == 'misc')
or, you may have to do:
PHP Code:
if (THIS_SCRIPT == 'misc' AND $_REQUEST['template'] == 'whatever')
Something like that should work. Play with it.
Exactly what are you trying to do? You don't want to include the whole misc.php page in another script. Where are you adding the php code to include the misc.php page? If you have other php pages already, you probably would do better following this - [HOW TO - vB4] Create a own vBulletin page
Had a play around with that mate and nothing has worked - say my page is called shoutbox i have tried putting that in aswell and instead of misc etc and still nothing. Thanks for help so far though but any other will be really appreciated!
My apologies, I'm understanding what you told me but I'm not understanding why you told me and how this would get rid of the aboutus text?
I've create a template called, "custom_aboutus".
....
I thought maybe getting rid of this...
Code:
{vb:raw navbar}
would do it but that removes my entire menu.
Thanks
You would have to actually edit the navbar itself. That part is called the breadcrumbs. If you remove it in the navbar, it will be removed everywhere that you use that style (like in the forums and threads also).
Quote:
Originally Posted by I.am
I can't see the text when i write on this template what stylevar color i have to edit?
Had a play around with that mate and nothing has worked - say my page is called shoutbox i have tried putting that in aswell and instead of misc etc and still nothing. Thanks for help so far though but any other will be really appreciated!
You'll have to look at your shoutbox page and find out what THIS_SCRIPT is defined as. I have no idea and can't help with that since I don't have the mod.
You would have to actually edit the navbar itself. That part is called the breadcrumbs. If you remove it in the navbar, it will be removed everywhere that you use that style (like in the forums and threads also).
You'll have to look at your shoutbox page and find out what THIS_SCRIPT is defined as. I have no idea and can't help with that since I don't have the mod.
That URl wont work, as it's not a web link the http://localhost bit should be your website e.g my website is www.twingooc.com localhost wont work as a URL iirc?
That URl wont work, as it's not a web link the http://localhost bit should be your website e.g my website is www.twingooc.com localhost wont work as a URL iirc?
It doesn't really matter that it is on localhost. Just figured I didn't need to use the forum dir.
Thanks for your reply.
You code removes the blockhead, I want to retain it.
Actually what I'm looking to do is change the text from this...
to this...
Any idea on how to accomplish this?
I plan on creating a massive amount of customized pages, like 50+ pages, so I'm debating on whether I should go this route or go with Lynne's method of using actual php files.