Excellent guide.
|
Cool! I'm gonna install that I think!
|
Quote:
|
And while I'm at it, I would like a link to appear below their location of my new page. Every time I try to add one (Going off what I see in other conditions), I end up getting a parse error. Any suggestions?
|
would this be compatible with vB2 or can anybody make it so its compatible with vB2
|
I got my test page (test.php) to work, but it comes up without showing my forum style (it shows the original vB style). Here's the code of the page (oh yeah, the page is outside the vB directory):
PHP Code:
2. And the links all point to my website's root directory, not my forum's root directory. For example: http://domain.com/usercp.php instead of http://domain.com/forum/usercp.php. 3. And the navbar drop down menus don't work. How do I fix this also? Thanks for answering all my questions. |
so would this or would it not work for vb2
|
Wreck look here https://vborg.vbsupport.ru/showthread.php?t=66153 for vb2 powerd pages
|
thanks
|
Ok I created the test page and in my template I try and put in this
<?php $db = mysql_connect("localhost", "root", ""); mysql_select_db("reports",$db); $result = mysql_query("SELECT * FROM hrc",$db); echo "<TABLE BORDER=2>"; echo"<TR><TD><B>Full Name</B><TD><B>Credit Card Number</B><TD></TR>"; while($myrow = mysql_fetch_array($result)) { echo "<TR><TD>".$myrow["firstname"]." ".$myrow["lastname"]."</a><TD>".$myrow["creditcardnum"]; } echo "</TABLE>"; ?> I always get an error trying to put in php code into a template. I am trying to have a page that only a group of people can view and which must be logged into the board to see this page. I want this code to be used to retrive info from a database. It works as it stands like it is and as it is but I cant place this code into a template. Any Ideas? |
All times are GMT. The time now is 11:25 PM. |
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:
|