View Full Version : How to specify TEMPLATE location?
GateKeeper_
02-08-2012, 10:40 PM
I am using jQuery but it require me to specify the location of that HTML.
How do I specify the location of a vBulletin TEMPLATE?
Like for a regular file it would be: www.domain.com/forum/demo.html
I suppose it would be the name of the php script that generates it? Like www.domain.com/forum/demo.php.
GateKeeper_
02-08-2012, 10:45 PM
What if it's: http://domain.com/newthread.php?do=newthread&f=2646
How do you specify this? I can't use vBulletin commands cause I'm using an external HTML page.
Also is it possible to use vBulletin command in an HTML page? Somehow connect it?
What if it's: http://domain.com/newthread.php?do=newthread&f=2646
How do you specify this? I can't use vBulletin commands cause I'm using an external HTML page.
If you can specify a url, then I don't know why you couldn't give that as the url. But it might see that page as a guest would see it.
Also is it possible to use vBulletin command in an HTML page? Somehow connect it?
It would need to be a php script that outputs your html. But you could make your own "vbulletin powered" page like in this article: https://vborg.vbsupport.ru/showthread.php?t=228112 .
GateKeeper_
02-08-2012, 11:04 PM
FIXED!!!!
Found out why that I can configure the code so that it won't overlap.
vBulletin commands do not work in script tags? e.g. <script> stuff </script>
No, they only work in a template. ETA: Well, yes, they'll work in <script> tags if it's in a template.
It looks to me like you want to put your code in a template and use it as part of an existing vbulletin page, or else write your own page using the instructions at the link posted above.
GateKeeper_
02-08-2012, 11:45 PM
No, they only work in a template. ETA: Well, yes, they'll work in <script> tags if it's in a template.
It looks to me like you want to put your code in a template and use it as part of an existing vbulletin page, or else write your own page using the instructions at the link posted above.
I'm not so sure what happen, but I think there were to many {vbulletin} tags in that var source = "____.php" code, so I shortened it to one and it worked flawlessly.
But one thing I noticed, is it normal that if you try to post the same content twice in vBulletin 4.1.10 the second one doesn't post?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.