![]() |
|
Article Options |
#61
|
|||
|
|||
Thanks...
Ok nice, but do you know the Advantage of this way to use Variables in a Template ? No members have liked this post.
|
#62
|
|||
|
|||
No members have liked this post.
|
#63
|
|||
|
|||
I like it Lynne... between this and the nav plugin, my life is now made a lot easier than having to sit down and come up with it myself. Very much appreciated. Custom page with menu... excellent.
No members have liked this post.
|
#64
|
||||||||
|
||||||||
![]()
No members have liked this post.
|
#65
|
||||
|
||||
1. No, you don't need all caps. You just need to be consistent when you use it. If it's in all small letters in the $globaltemplates area, then use all small letters in the $templater.
2. Sure, but you'll have to make sure when you include the global.php page, or any other scripts, you'll have to make sure the path to them are correct.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#66
|
||||||||
|
||||||||
I get the error:
I tried the other global method from the posts and I get a blank page. My template is under my default page. Code:
Thanks No members have liked this post.
|
#67
|
||||
|
||||
And are you putting this file in the same directory as all your other vbulletin files? If not, you need to do a chdir to get the global.php file.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#68
|
||||||||
|
||||||||
My index file is in unusualplants.net/
The forum is located at unusualplants.net/forums I tried changing the directory at the beginning of the code (never changing back), right before the global line(never changing back), at the beginning and changing the directory back after the global line, and right before the global line and changed it back after. I get a blank page for each one. I used this for changing the directory:
and this for moving back:
Thanks No members have liked this post.
|
#69
|
||||
|
||||
When you added the template, did you add it to the style you are currently using to browse your forum?
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#70
|
|||
|
|||
Yes
No members have liked this post.
|
#71
|
||||
|
||||
First, make sure the path is correct - it should be the full path to your vb forums directory.
Check your error_logs (if you don't know where they are, ask your host) to see if anything is in there.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#72
|
|||
|
|||
Originally Posted by Lynne
the forum.php file is located @ unusualplants.net/forums/![]()
(I'm not sure which time this is set on) For PHP: /home1/riptidep/public_html/unusualplants/error_log: [19-Dec-2009 17:45:25] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home1/riptidep/public_html/unusualplants/index.php on line 27 [19-Dec-2009 17:45:25] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/riptidep/public_html/unusualplants/index.php on line 27 Thanks for all of your help No members have liked this post.
|
#73
|
||||
|
||||
It looks like you didn't do your chdir correctly. You need to do the FULL path:
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#74
|
||||
|
||||
Okay Lynne I am in need of your assistance.
![]() How do i get it so that the nav button "Game Nights" is selected?
__________________
www.vbtree.com the newest and hotest vb skin site out. www.artvenom.com where the venom of art resides. No members have liked this post.
|
#75
|
||||
|
||||
If you defined THIS_SCRIPT at the top of your page, you should use it in your condition for your tab. You should post for help regarding this in the thread where you got the tab code.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:45.