If you have more than one style, is it possible to use this on a style other than the predomanant style?
I can get it working hith the main style of my forum but if I create a new style and make a new template in the new style, all I get is a blank page. Interestingly if I go to /forums/test/php?style=........whatever that style ID# is, I will get the page, HOWEVER, it changes the style of the forum to that ID style...... |
Quote:
|
Quote:
|
Quote:
This is one of the pages I got all the info to do the conditional. But everybody seems to have their own ideas and nothing worked for me. https://vborg.vbsupport.ru/showthrea...=62164&page=37 Code:
<?php |
Quote:
PHP Code:
PHP Code:
|
Hi Lynne,
Thank you for responding. After 'literally' going through every single thread and carefully re-reading @ Digital Jedi's responses, I have figured it out. Although my links were working this way: http://www.mywebsite.com/misc.php?do...te=downloads_1 As DJ said, I had created my templates wrong. I went back and re-config'd my templates as just "downloads_1" and added this right below "Start Main Script" Code:
if ($show['guest']) Whoooo! Thanks everybody for your expert help and for straightening me out :) |
i got this error :
Unable to add cookies, header already sent. Line: 1 and this is my page php code : Code:
<?php |
I notice your template is named chatbox. Are you trying to use combine this with another modification?
|
Quote:
============ Edited : My Problem Solved but new problem appear! now it cache a bit more ! for example i have to press Ctrl+F5 to see something new on it ! why it cached ? |
hey all, after reading through this thread i am a little lost, i need to create a page with php code from linkmarket embedded into it .
I was able to the the page running, having trouble addign PHP code to it. anyone can help? This is what i got for my template: Code:
$stylevar[htmldoctype] here is the code i need to add: Code:
<?php |
You cannot add php code to a template. You add all the php into the page script (your whatever.php page) and then spit the variables out in the template.
|
Quote:
|
A good start would be to read the article on the first page of this thread (No offense but it seems quite obvious to me that you haven't :p)
|
Hi, I cant get this to work.
This is the code I have: HTML Code:
<?php What am I doing wrong? |
Quote:
PHP Code:
|
PHP Code:
|
u are not using the googlesearch template
PHP Code:
PHP Code:
|
Oh thanks very much guys I fixed the problem now :) Thanks once again!
|
Maybe I've missed the answer to this in the previous 58(!) pages, but how do I get the footer to work in the new page?
The footer is there, but the usual 'whos online' etc info isn't. This would be nice to see. Cheers in advance. |
who's online is not part of the footer.
|
Quote:
|
I am trying to integrate coppermine gallery into vbulletin. Coppermine allows to include a custom header and footer. You can use html or php files for your custom header and footer.
I already tried it, but it does not seem to work. One problem is that the gallery is called from a sub directory (/forumroot/gallery). If I copy the needed vb files to the gallery directory, I get this error: Quote:
|
Do not copy the vb files to another folder because very often they call other vb files and won't be able to find them. Do a chdir, as mentioned already, in order to change to the vb forums directory and include them.
|
Thanks, now I can run the file from within the gallery file without copying vb files to the gallery directory. But I still get the error I posted above, when I try to include the file in coppermine. The file executes fine when I run it stand alone.
|
OK, I have it working but the page comes up completly white.
I replaced TEST with my style name, and test with my navbar display, and test page with Home.php My template is called Home I copied and pasted everything that was said to be coppied into everything but it still comes up white, Any suggestions? --------------- Added [DATE]1225161376[/DATE] at [TIME]1225161376[/TIME] --------------- Found my issue, Sorry :) |
Hi,
With regular forums, the breadcrumbs look like this: Quote:
Code:
$navbits[$parent] = 'My custom page'; Quote:
Quote:
That is, how can I add a "breadcrumb" to that first row? How would I add two, if necessary? Quote:
|
I figure it out. For anyone interested, you simply add items to the navbits array in the order you want them to appear, specifying the url of any link as the array key and the text to display as the value.
Another question I have, though, is how to pass a meta description tag that is dynamically generated via the php script? Right now it appears to be using the forum's default meta description tag. Thanks! |
Would a custom page still get displayed correctly if the forums are turned off?
I'm thinking of using this method to create a custom 404 error page that would perfectly match our forum's design, but I would need the page to work when the forums are both on & off. Thanks, James |
Quote:
|
Not if you make this:
PHP Code:
|
where do you create the template and where do you put the html code
Code:
$stylevar[htmldoctype] |
Quote:
|
nice but when i go back to forum or memberlist the pagina is going everytime to the added page ?
whats wrong? all the links that i click are going to the new page but if a delete the link in the navbar and going to the url then the links are good ! thx |
Quote:
|
Quote:
Code:
<td class="vbmenu_control"><a href="http://www.xx.eu/forum/Chat.php/">Chat</a></td> |
Quote:
Code:
<td class="vbmenu_control"><a href="http://www.xx.eu/forum/Chat.php">Chat</a></td> |
Quote:
--------------- Added [DATE]1227225877[/DATE] at [TIME]1227225877[/TIME] --------------- --------------- Added [DATE]1227225965[/DATE] at [TIME]1227225965[/TIME] --------------- --------------- Added [DATE]1227244261[/DATE] at [TIME]1227244261[/TIME] --------------- i have now an dating script but its not working to login (i know its not working with vbulletin username) if i open the script in a new window its working ! if i open it in vbforum cant login the script iframe not working cookies? any idea? thx |
Hi,
I have a serious problem. I made the following chat page; it is called parachat.php and this is the code: Quote:
Quote:
Is this a problem with the php page, or with the use of conditionals? Could anybody help me? Thanky you in advance. |
Quote:
its not working the php script in a vbulletin page , the users cant login i have the same problem with a dating inlog program |
In my case, the page IS working for all users, with only one excepcion: there is ONE user that is entering the page, although she belongs to a usergroup which is not authorized to enter it.
That user is the only exception... the page is working fine for all other users. Some days ago, this user belonged to another usergroup (a usergroup allowed to enter the page), and, after i moved her to usergroup #21, she continued entering the page. Perhaps her browser is showing her a cached version? |
All times are GMT. The time now is 05: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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|