Getting a blank page. What are some things I can troubleshoot? The path is correct and the theme is correct and ive created the template in the right place.
|
Post your current files
|
I'm just wondering, is there any way to make pages for vb4 like you're able to make pages for 3.8.4 using vbadvanced? It was a lot more simpler than editing templates and instead using the BB code editor I believe that was how?
|
Quote:
|
...
|
Quote:
|
your to fast Lynne i removed to last post cause i finally saw my error.
i used lowercase test in my template and that was the result. |
I did it and got this on a blank white page:, my website is: Radar-Detector.Net and I set my path to /home/matt/public_html/speed.php
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/matt/public_html/speed.php on line 2 Parse error: syntax error, unexpected T_STRING in /home/matt/public_html/speed.php on line 2 |
Try reuploading the file, and make sure there are no characters before <?php.
|
I have used this GREAT instructions to create a custom page.
I am aiming for a 2 or 3 column page but have not been able to sort out how to increase padding around the table cells. My code looks like this: PHP Code:
Anyone here who have a clue which StyleVar to change? |
Quote:
|
Quote:
PHP Code:
|
Try changing this line:
PHP Code:
to this: PHP Code:
|
changed that and still not working? I am using a text editor: wordpad
|
I dont understand to much and im really interested on this :(
I created the test.php file with the first code, the file is on the forum root. Now on the part I have to create the TEST template with the code that shows there. How do I create that template D:??? |
Lynne thanks for the help!
For those that read my problem I was using "wordpad" instead of "notepad" and "wordpad" was adding a lot of random junk above the <php code....even though when I opened the file you couldnt see it....but was hiding it above it...fixed by saving to notepad then reuploading. Thanks Lynne! |
Quote:
(I always add it to my MASTER STYLE.) |
Quote:
Please modify the article and teach how to add that option :D |
Hi lynne ive created a new tab for an arcade i want on my site i used ragteks mod create a new tab in the navbar https://vborg.vbsupport.ru/showthread.php?t=228313
So do i now have to use this mod for it to work i already have the flash game on my server. but i also have to add some HTML.. <html> <head> <title>Pacman Advanced</title> </head> <body> <center> <h1>Pacman Advanced</h1> <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="400"> <param name="movie" value="pacmanadv.swf"> <param name="quality" value="high"> <embed src="pacmanadv.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="400"> </embed> </object> <br> <a href="http://www.startgames.ws">Online flash game</a> </center> </body> </html> for the game to work and not sure where to put either been trying 13 hours now and the whte flag is nearly up so any kinda help apprieciated thanks.. |
Quote:
|
Quote:
|
Quote:
http://99nicu.org/testforum/test.php |
Quote:
Quote:
HTML Code:
<td width="33%" valign="top" style="padding: 25px;"> |
Quote:
|
Could someone help me adding columns at both side of the content, but with the same style of the content bar??
|
Thanks for a great tutorial. I have some custom pages I am creating and it only took a few minutes to do so by following this example code.
I didn't see this mentioned in the thread but there is one slight problem with the code as it exists. (or at least there was when I implemented it on my site) In the php code, you load the page title in to variable pagetitle but in the template you have vboptions.bbtitle so the title for the page shows up as forums. I changed the line in the template from: <title>{vb:raw vboptions.bbtitle}</title> to <title>{vb:raw pagetitle}</title> and it worked as expected. Take care! --Ed |
Thanks Lynne it was extremely helpful and easy.. was able to create loads of pages in a matter of minutes... Cheers
|
How would I add my forum's sidebar,getting kinda stuck,brain turning to spaghetti.
a nudge in the right direction may be all I need. |
Couple questions about this one.
When I try to add any HTML code underneath the ###Your Custom Code Goes Here### section I get this error. Parse error: syntax error, unexpected '<' in /home/elantrax/public_html/forums/cotm.php on line 41 When I just add regular text underneath the ###Your Custom Code Goes Here### section it only displays the word "text" no matter what I have typed in. Here's the URL. Everything else seems to be working fine. http://www.elantraxd.com/forums/cotm.php |
Hi, could someone please, please help me as I'm struggling adding code containing php code to my template. It's driving me nuts !! The code I want to add is the following so it loads within the forum environment, but I'm completely stuck...
PHP Code:
Simon |
Quote:
Quote:
Quote:
|
Thanks Lynne, but could you possibly help me with the coding for the first one. Once I have an idea then I will be able to cover the rest of my pages. Sorry, if I'm asking to much, but I'm by no means a programmer and new to vbulletin. Thanks very much.
Simon |
You should post out in the main forums for help with converting your code for use in a page (that really isn't what this article is about and your stuff will get lost in here among other posts). You may also want to look at how vbulletin does it in their pages. You will probably want a second template for your while loop stuff also.
|
I see. So can you give me an example of what type of "stuff" should go underneath the ###### YOUR CUSTOM CODE GOES HERE ##### part of the xxxxxx.php file that you've instructed us to make?
EDIT- I know this is newb question! |
Quote:
|
Ohhh, I think I understand now, so...
PHP Code:
Upload whatever .php file you want to call to the yoursite/forum/ folder. So, does everything I've <<<<<'d next to and everything I've marked in red look ok? Thanks in advance! |
Quote:
Thanks Simon |
Quote:
Quote:
Have you tried to get it running as is, i.e. exactly like explained in the article before making any changes? What exactly are you trying to do anyway? What php-code do you want to execute? |
Quote:
PHP Code:
|
Quote:
Quote:
From what you are saying here I understand now I'm supposed to have just one template and one php file (the one included above that will include all of my custom code). Right now I have it running exactly how it is. See here. http://www.elantraxd.com/forums/cotm.php The template works great and it seems ok, but whenever I try to add anything to the ###add your custom code### section of that PHP file I throw errors. Maybe this isn't the right thing for me. I don't need to add php stuff I guess, just HTML code, but I figured that would still be possible. Guess not? If not that's ok too, I can jump on another solution. Basically I want it to look like this: http://www.elantraxd.com/forums/misc...&template=cotm I just found this HOW TO guide from Lynne after I used a different HOW TO guide to make that above. The reason I wanted to use this one from Lynne is because the URL would be a lot better. So, am I out of luck or what? Thanks a great deal for any help! |
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|