![]() |
Settings Table
Edit (let me rephrase):
I have a url ($forumsurl) in the settings table in mysql. I am trying to call this url in certain parts of the forums for links. How do I make it pass this globaly (not sure where to put it). It will call it in the header/footer but not anywhere else. |
Settings are already in the global scope.
|
PHP Code:
|
Use the variable $bburl - that's what its for :D
- miSt |
$bburl would give me the directory for that part of the forums not the main forums.
I have 2 forums running sharing the database (one forums, one a file database). I want the certain links (like the profile of that user that posted it) to pull from the main forums profile page. |
As I said:
Quote:
|
Quote:
This is the code in forumhome_lastpostby: PHP Code:
PHP Code:
PHP Code:
----------------- Its as if it see's the "/" after $forumsurl and goes to the root of the address. Almost as if $forumsurl is not defined but its called everywhere else I have it but here. |
I just tested $bburl in place of $forumsurl and it still doesnt display path for $bburl, it also goes to root of address.
|
Make sure you're adding the variable to the options template. vB is dumb and has data redundancy in a lot of places.
|
I did a little playing because I felt as if it was not passing globaly...
PHP Code:
Where would be a good place to place this to make it global since its a little faulty the current way it is. |
All times are GMT. The time now is 03:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|