Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #121  
Old 28 Mar 2004, 14:43
PKRWUD's Avatar
PKRWUD PKRWUD is offline
 
Join Date: Jan 2003
Okay, I just copied it straight out of the control panel, and those "+" marks weren't there. I have no idea where they came from, but when I pasted here, they showed up.
Reply With Quote
  #122  
Old 28 Mar 2004, 14:49
PKRWUD's Avatar
PKRWUD PKRWUD is offline
 
Join Date: Jan 2003
Fascinating. For some reason, my copy of BBEdit is placing characters in those places in my files when I save them. Looks like problem solved. Thank you.

One question, though; There's no link in the NavBar for the page. Where in the NavBar should it be?
Reply With Quote
  #123  
Old 28 Mar 2004, 15:07
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Originally Posted by FASherman
I believe this is incorrect. If yo do it this way, you will display a non-functioning navbar. The pop-up menus will not work. I don't know why, and I don't know how to fix it, but I do know if you create test.php in your forum root dir and the TEST template exactly as given in the first post, it works.

Take that same script and more it to another directory and it breaks on global.php. Add the chdir as above just before your require statement and you will have a non-functioning navbar. No pulldown menus.

Any ideas on how this is resolved?
Just chdir() back to the vBulletin directory.
Reply With Quote
  #124  
Old 28 Mar 2004, 16:13
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Originally Posted by FASherman
I believe this is incorrect. If yo do it this way, you will display a non-functioning navbar. The pop-up menus will not work. I don't know why, and I don't know how to fix it, but I do know if you create test.php in your forum root dir and the TEST template exactly as given in the first post, it works.

Take that same script and more it to another directory and it breaks on global.php. Add the chdir as above just before your require statement and you will have a non-functioning navbar. No pulldown menus.

Any ideas on how this is resolved?
Check out this post.

http://www.vbulletin.org/forum/showp...3&postcount=36




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

also needs to be added to the beginning of all the relative linnks in the navbar and footer templates.

I have many operating pages outside the forums directory using this hack.
__________________
MODern ENGINEuity
Modular Ford Powered Community

Automotive Books, Movies, Games and More!

Last edited by SVTBlackLight01 : 28 Mar 2004 at 16:19.
Reply With Quote
  #125  
Old 28 Mar 2004, 16:36
AutomatikStudio's Avatar
AutomatikStudio AutomatikStudio is offline
 
Join Date: Dec 2003
Originally Posted by PKRWUD
One question, though; There's no link in the NavBar for the page. Where in the NavBar should it be?
You have to manually code in what you want in the navbar. Just go to the navbar template and type it in and link it to your custom page.
__________________
Mmmm....
Reply With Quote
  #126  
Old 28 Mar 2004, 18:19
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Originally Posted by SVTBlackLight01
Check out this post.

http://www.vbulletin.org/forum/showp...3&postcount=36




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

also needs to be added to the beginning of all the relative linnks in the navbar and footer templates.

I have many operating pages outside the forums directory using this hack.

I knew I could count on a fellow Texan for help.
Reply With Quote
  #127  
Old 28 Mar 2004, 19:12
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Some of us need all the help we can get.
__________________
MODern ENGINEuity
Modular Ford Powered Community

Automotive Books, Movies, Games and More!
Reply With Quote
  #128  
Old 29 Mar 2004, 16:51
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
What is the purpose of this code

I have removed the following code from the PHP file and it still works. Could you tell me what the purpose of this code is and what it does?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #129  
Old 29 Mar 2004, 17:37
Indy Indy is offline
 
Join Date: Jun 2002
Outside of vB dir problem

OK, read through everything - I think. When I run test.php located in my development forum dir, it comes out correct

When I try to run test.php outside of my dev forum, I get this:

http://www.rimfirecentral.com/test.php

I have modified test.php with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'll keep playing with it until someone responds, but any assistance would be appreciated.

Thanks,
Dan

Last edited by Indy : 29 Mar 2004 at 17:46.
Reply With Quote
  #130  
Old 29 Mar 2004, 18:41
raynett raynett is offline
 
Join Date: Nov 2002
I had the same style problem on my page outside of the forum. Copying the clientscript and images folders in the directory the test.php page resides seemed to correct that.

The problem I can't figure out though... the links in the navbar and footer portion of the test page do not link properly if the page is outside of the forum folder. The address is missing the forum portion of the URL. Example: link leads to http://www.yourdomain.com/register.php when it should lead to http://www.yourdomain.com/forum/register.php.
Reply With Quote
  #131  
Old 29 Mar 2004, 19:11
Indy Indy is offline
 
Join Date: Jun 2002
Originally Posted by raynett
I had the same style problem on my page outside of the forum. Copying the clientscript and images folders in the directory the test.php page resides seemed to correct that.

The problem I can't figure out though... the links in the navbar and footer portion of the test page do not link properly if the page is outside of the forum folder. The address is missing the forum portion of the URL. Example: link leads to http://www.yourdomain.com/register.php when it should lead to http://www.yourdomain.com/forum/register.php.
$vboptions[homeurl]/

"also needs to be added to the beginning of all the relative links in the navbar and footer templates."

If I have to copy any script out there, I'm not even going to mess with it. I did have use for it if I could get it to work though. I'm also going to use it within my forum dir for two or three pages that I need too. Will start working on those tonight!
Reply With Quote
  #132  
Old 29 Mar 2004, 20:09
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Originally Posted by attroll
I have removed the following code from the PHP file and it still works. Could you tell me what the purpose of this code is and what it does?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
They save you queries; yes you can remove them, but they are there as 'fillers' so you can put in your own values if you ever need to.

They are for phrasegroups, and also for template-cache; meaning if you put your template names there then you will save 1 extra query.
Reply With Quote
  #133  
Old 30 Mar 2004, 04:53
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Originally Posted by Gary W
They save you queries; yes you can remove them, but they are there as 'fillers' so you can put in your own values if you ever need to.

They are for phrasegroups, and also for template-cache; meaning if you put your template names there then you will save 1 extra query.
The reason I asked this is because shortly after I install this mod and replaced it with the other version I was using I started getting MYSQL errors. I narrowed down where the errors were coming from. They were coming from to much memory being used. So I removed this mod and put the other version back in and now I have not had any problem any MYSQL errors. I don't know if this was just coindence or not. But I like this version of the mod here and would like to reinstall it. But I am afraid to put it back in because the errors might come back. The other mod that I am using now it pretty much identical to this mod except for the lines I asked about.

Would those lines cause more memory usage?
Reply With Quote
  #134  
Old 30 Mar 2004, 13:19
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Those lines would cause less memory usage.
Reply With Quote
  #135  
Old 30 Mar 2004, 13:50
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Originally Posted by Gary W
Those lines would cause less memory usage.
I will switch back over and reinstall it again later this week and see if the errors come back. I hope they do not. I like this version of the hack. I will keep you posted.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
tommydamic68
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:14.

Layout Options | Width: Wide Color: