vBulletin Modifications

Ony Logged in memebrs can view the page

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 01-28-2006, 04:32 PM   #11
Coder
Idan's Avatar
Join Date: Feb 2005
Real Name: Idan
Location: Israel
Idan is on a distinguished road

Default

Quote:
Originally Posted by salman
by the way i tried what u said ebore and made a file like that called wat.php and it didnt work!?!?!?!?!!??!?!


i put
You must first be a registered member to view any code.
first be sure the file name is with .PHP extension & NOT .htm/html.
2nd, u can't write html in mid php without closing tags, or u need indeed to use echo.
meanning u can do either this:
You must first be a registered member to view any code.
or like this:
You must first be a registered member to view any code.
greets.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 01-29-2006, 02:53 PM   #12
Junior Member
Join Date: Nov 2005
salman is on a distinguished road

Default

i tried that and still no matter what it goes to the "location" specified not any other paege that i type below it even if im loged in it goes to the location if im logged out it still goes to the "location: "....




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2006, 03:55 AM   #13
vBulletin Guru
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default

I'm going to guess this is for vBulletin 3.5x and not 3.0. If your using 3.0x. The above codes will not work. Try this only if your using vB 3.5x.

You must first be a registered member to view any code.
Note: This will only work if the .php file you using is in the /forums/ directory. (same directory as global.php). If not then you will get a no global.php file found error. If you want to add this outside of the forums directory, you will need to add.

You must first be a registered member to view any code.
above require_once('./global.php');

Last edited by Ken Iovino; 02-02-2006 at 03:58 AM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2006, 05:00 AM   #14
Advanced Coder
Niels's Avatar
Join Date: Jun 2004
Real Name: Niels
Location: NL
Niels is on a distinguished road

Default

Quote:
Originally Posted by LiveWire
I'm going to guess this is for vBulletin 3.5x and not 3.0. If your using 3.0x. The above codes will not work. Try this only if your using vB 3.5x.

You must first be a registered member to view any code.
Note: This will only work if the .php file you using is in the /forums/ directory. (same directory as global.php). If not then you will get a no global.php file found error. If you want to add this outside of the forums directory, you will need to add.

You must first be a registered member to view any code.
above require_once('./global.php');
Isn't it better to use the vbulletin redirect system instaed of header()?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2006, 05:17 AM   #15
vBulletin Guru
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default

either or will work, if you want to display a messgae; then vB redirect would do.

You could use:

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only certian users can view this page salman General vBulletin Support 6 03-19-2006 09:16 AM
vBulletin 3.0.2 Released Ryan Ashbrook Announcements 8 07-06-2004 01:51 PM


All times are GMT -3. The time now is 07:48 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)