Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2004
Posts: 15
T
stranger
stranger
T Offline
Joined: Oct 2004
Posts: 15
I have a site and I want to wrap UBBt inside templates. These templates set their navigation based upon their subdomain. I already have the boards working for any subdomain, but I need to pass a variable to the pages to tell it if it needs to build the header or not. From my templates I am calling the board using an include that calls the full URL (http://www.domain.com/forums/ubbthreads.php$REQUEST_URI). How can I pass one of my own variables and be able to check for it in the included header.

I have tried passing the variable in my include and then makeit global in the header, but still cannot recognize it.

Is there a better way to wrap the board?

Thanks.

T

Joined: Oct 2004
Posts: 15
T
stranger
stranger
T Offline
Joined: Oct 2004
Posts: 15
Ok. Two days and no one has help on custom headers and footers?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I don't see a real simple solution for this, simply for the fact that you'd need to pass that variable while navigating the forums as well. So, the variable would need to be passed from one page to the next. The best place to go for these type of questions is over to www.threadsdev.com. That's the best place to visit for complex customizing questions.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (1 invisible), 631 guests, and 152 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)