Previous Thread
Next Thread
Print Thread
Hop To
#129729 08/09/2006 10:10 AM
Joined: Aug 2006
Posts: 13
N
stranger
stranger
N Offline
Joined: Aug 2006
Posts: 13
I'm trying to add some advertisement tracking (specifically Insight XE tags) to the footer of my main page template. It consists of two PHP includes an a variable in the middle that does the tracking for each page. When I add it to the ubbt_footer.tmpl file, I put it just under this code:

Code
include("{$config['path']}/includes/$file");


Everything on the page from that point on diappears. The code stops at a <br /> and nothing else.


My second question with this is how I can add unique tags to each forum to do specific tracking? This is essential for ad tracking.

#129730 08/09/2006 3:17 PM
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
You could make forum-specific tags and add them to their forum-specific footers. You add those in the

control panel > forum settings > details > Header/Footer > "Use a unique header/footer for this forum"


- Allen
- ThreadsDev | PraiseCafe
#129731 08/09/2006 3:18 PM
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
oh, and for the first issue, got a link to what's going on? Sounds like an error in your included code.


- Allen
- ThreadsDev | PraiseCafe
#129732 08/10/2006 3:00 PM
Joined: Aug 2006
Posts: 13
N
stranger
stranger
N Offline
Joined: Aug 2006
Posts: 13
Really all that happens is that the bottom bar with the Contact Us and site link disappears. Am I not understanding correctly that the UBBPRINT and UBBTREMARK are how Threads process PHP and prints non-php code? Even when I try to duplicate these for adding additional content, they just end up printing out so you can see the UBBPRINT and TREMARK code right on the page. Argh!

#129733 08/15/2006 9:15 AM
Joined: Aug 2006
Posts: 13
N
stranger
stranger
N Offline
Joined: Aug 2006
Posts: 13
I added that PHP include code into the General > HTML Includes > Default Footer and it worked fine. Now if I also add includes on a individual form basis under the forum settings > details > Header/Footer, does that override this general footer in those individual forums? Because these are Ad tracking tags, the information needs to be specific so I want to make sure that only one of the includes is being output onto the specific forum pages.


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), 831 guests, and 191 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)