View Full Version : BIG problems with php in non vb page :(
I have www.707imports.com
Im usin that php in the non vb page hack from a while back, it works but like...when ur not logged in, and you try to go to the .com site it comes up with the login screen of the vb msg board and the links are all broken, if you try to login it says it can't find the member.php , WHY?
Also, i want to make it so it displays the newest like 5 posts and have a search engine, HOW!? anyone wanna help for CASH!? :)
My guess.
Your index.php for the site as shownopermissions in it somewhere. As far as the login gose. Well the file is not in the vB root directory, the the login only points to member.php. So you will have to stick the direct path to the file in the template.
Could you be more specific?
What template do I need to change? :)
Thanks anime ;)
I don't have shownopermissions in my .com index.php - do you mean the vb index.php ? :( Thanks again.
I was usin this...
Welcome/Login from non-vB Pages
===============================
Version 1.30 14 September 2002
Should i use vbindex?
I just searched and saw vbindex, it looks pretty dope.
The thing is... I dont' want to have to redo my site to work with that... the one I'm usin jus let's you sorta copy paste into your index.php ( .com ) is this the same?
Anime-Loo, how much would it cost to have you do this for me buddy ole' pal? :) I'm strapped for time and patience! :(
Send me a copy of your index.php. Via email:
brad@kousetsu.net
ill have a look :)
Ok you have your forum closed to guest, thats why its doing this why you include global.php in the file. you can do one of two things. Open the board to guest. or change a template so it points to member.php correctly and change the { imagefolder } call so the images will not be broken when someone gets the error on index.php.
Directions:
------------------------------------------------------------
Open template: error_nopermission_loggedout
------------------------------------------------------------
## Find:
<form action="member.php" method="post"><input type="hidden" name="s" value="$session[sessionhash]">
$logincode
## Change to:
<form action="/path/to/vB/directory/member.php" method="post"><input type="hidden" name="s" value="$session[sessionhash]">
$logincode
Change this bit of code to suit your server:
/path/to/vB/directory/member.php
Next, under Replacments click the modify link.
## Find (without the spaces): { imagesfolder }
Click edit and change this to the directpath to the image folder. for example mine is set to http://www.kousetsu.net/forums/images insted of /images.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.