The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Using usercp.php on a external file
Hey, I want to use my usercp.php in a external page.
For example, I want to have: example.com example.com/options <- Here I want to use the UserCP example.com/forum <- My forum example.com/forum/usercp.php <- Redirect to example.com/options What could I do? Wich things should I consider? |
#2
|
||||
|
||||
Be wary of links going to that file and file includes.
|
#3
|
||||
|
||||
Can you please explain it more, Dismounted?
|
#4
|
||||
|
||||
I have try changing all the links on the required vBulletin files.. and I can reproduce this on my example.com/options page:
http://img403.imageshack.us/img403/1619/immaginepj0.jpg ..but when I go to my forum now I get some errors created my the includes files where I have edited the required locations.. |
#5
|
|||
|
|||
Are you doing this with a .htacces redirect? Or are you actually creating new files and trying to include the old one?
|
#6
|
||||
|
||||
What should be done, in order to get the most efficent work?
|
#7
|
|||
|
|||
Code:
RewriteEngine On RewriteRule ^options$ /forum/usercp.php [L] |
#8
|
||||
|
||||
Yup, I know that.. but I don't want to do this. I'm searching for some solution that allow me to port the UserCP to this file instead: example.com/options/index.php.
|
#9
|
||||
|
||||
Can somebody help me or give me some advice?
|
#10
|
||||
|
||||
I'm currently using this code at the top of every file I've reproduced on my site directory:
PHP Code:
Quote:
I can't lie, I have encoutered some bug that I will try to fix.. for example I don't know how, but I cannot switch to WYSWIG mode to normal mode in my forms like the one to edit my signature, etc.. even if I have reproduced the /clientscript/ folder in my site directory. Also, when I upload a new avatar, in my usercp it is not displayed as image, so I see just the title attribute. Now I will try to edit it more in order to create specifics templates to be called in. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|