vBulletin Mods

The Official vBulletin Modifications Site
http://www.vbulletin.org/forum/showthread.php?t=62164

PKRWUD 28 Mar 2004 14:43

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.

PKRWUD 28 Mar 2004 14:49

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?

Gary King 28 Mar 2004 15:07

Quote:

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.

SVTBlackLight01 28 Mar 2004 16:13

Quote:

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.

AutomatikStudio 28 Mar 2004 16:36

Quote:

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.

FASherman 28 Mar 2004 18:19

Quote:

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.

SVTBlackLight01 28 Mar 2004 19:12

Some of us need all the help we can get. :D

What is the purpose of this code
by attroll
29 Mar 2004 16:51

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.


Outside of vB dir problem
by Indy
29 Mar 2004 17:37

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

raynett 29 Mar 2004 18:41

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.

Indy 29 Mar 2004 19:11

Quote:

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!

Gary King 29 Mar 2004 20:09

Quote:

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.

attroll 30 Mar 2004 04:53

Quote:

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?

Gary King 30 Mar 2004 13:19

Those lines would cause less memory usage.

attroll 30 Mar 2004 13:50

Quote:

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.


All times are GMT. The time now is 11:20.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2001 - , vbulletin.org. All rights reserved.