The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding PHP code?
I am trying to add this PHP code so it works in the header or footer, I cant seem to get it to work.
Any ideas? Please? PHP Code:
|
#2
|
||||
|
||||
Quote:
i need it danger! please somebody say something... |
#3
|
||||
|
||||
Have you tried using a plugin at 'global_start'?
PHP Code:
|
#4
|
||||
|
||||
yes, i try
it work completely but i have new problem $vboptions[bbtitle] i am sure this code but don't take page name is it different code for title? you can see http://www.turkishboard.net/bbclone/ ================================================== ======= ================================================== ======= i edit code Code:
define("_BBC_PAGE_NAME", "$_SERVER[REQUEST_URI]"); define("_BBCLONE_DIR", "bbclone/"); define("COUNTER", _BBCLONE_DIR."mark_page.php"); if (is_readable(COUNTER)) include_once(COUNTER); it's working with this code but i am see only url i can't see topic or page title how i can see title? whats is the code title? my link : http://www.turkishboard.net/bbclone/ other use site: http://bbclone.de/demo/ |
#5
|
||||
|
||||
Sorry, can you explain a little better?
|
#6
|
||||
|
||||
thank you to everything
i solved it |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|