The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Difficulty in External Page
I developed a game and I'm having it use the user table from VBulletin. I'm already including the backend of it. The problem lies when I have action as a parameter. Certain values do not seem to work. I've noticed the following do not work for me:
usercp member faq The urls look like www.mysite.com/mydirectory/x.php?action=y While yes I could technically rename the parameter action in my files, that would end up going through several hundred KB of files. Is there any alternative perhaps? |
#2
|
||||
|
||||
Exactly what is happening when you use one of them? Is the variable getting passed? What sort of troubshooting have you done?
|
#3
|
|||
|
|||
My external page has its own way of outputing the content. What ends up happening is it outputs the forum header below my header I have for the external file. I'll just attach a screenshot of what happens.
I also just tried changing the parameter name, but that doesn't work either. I believe somewhere in the VBulletin end it does a strpos() or similar on the url and searches for certain words. I'm hypothesizing that because values that have nothing to do with VBulletin work ok. |
#4
|
||||
|
||||
That looks like an html/CSS issue. It's really hard to tell what is going on without actually seeing the page and seeing the page code.
That being said, I do seem to recall coming across some code at one point that set some 'universal' variable names. I honestly can't tell you what file that was in though. But, global.php, and also /includes/init.php, are called in just about every page. So, you might want to take a look at those. |
#5
|
|||
|
|||
I have solved the issue. In order to help others who might have the same or similar issue the solution is simple. You can't have a file that has the same name as a VBulletin file. I had renamed member.php in my game to members.php and adjusted my file that loads it to use members.php. It then works as intended.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|