I am getting this error when i create a new page, so i tried using the same php file and template info but still get an error:
Code:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/sdfaheem/public_html/desimeet.com/disclaimer.php on line 2 |
Make sure you are using a text editor made for coding, not something like Microsoft Word. It sounds like line breaks or extra text is getting added to your file.
|
I just used this again and I just wish I could give it more stars because I LOVE THIS TUTORIAL.
:D I don't find this code in functions_online any longer, is there a new fix for that? Quote:
|
Quote:
|
Sorry if this has already been asked but what would I have to change in the php file in order to place the page in another directory?
|
You need to add a line leading to the forum with the vbulletin files like this prior to requiring the global.php file:
PHP Code:
|
Many thanks for the quick response. :)
|
What can I add or remove from the following code to keep out Guests and members of Usergroups 1, 2, 3, & 4 who are not also part of Usergroups 5 or higher (if that makes a difference)?
Code:
<?php |
Quote:
Code:
if (!$vbulletin->userinfo['userid']) print_no_permission(); Code:
if (!$vbulletin->userinfo['userid'] OR !is_member_of($vbulletin->userinfo, 5, 6, 7)) print_no_permission(); |
Quote:
|
All times are GMT. The time now is 10:46 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:
|