Hey all,
I've just received my Javascript tags from tribalfusion, for the EchoTopic in-text advertising. Now, I would like to pick up the words within the actual posts. Where about in the SHOWTHREAD template would I place my tags?
-- Jason
This is a discussion on SHOWTHREAD template within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Hey all, I've just received my Javascript tags from tribalfusion, for the EchoTopic in-text advertising. Now, I would like to ...
Hey all,
I've just received my Javascript tags from tribalfusion, for the EchoTopic in-text advertising. Now, I would like to pick up the words within the actual posts. Where about in the SHOWTHREAD template would I place my tags?
-- Jason
In the actual post would be in the postbit template.
The Forum Hosting - Forum Hosting from the Forum Experts
Are you sure? I think that is just the 'postbit'.... the bit where your "Join Date" ect are.
The postbit contains the user that is posting information as well as the posts on the page. It is basically like this:
SHOWTHREAD
header
navabar
---postbit (post#1)
---postbit (post#2)
---postbit (post#3)
---postbit (post#4)
footer
The Forum Hosting - Forum Hosting from the Forum Experts
yup, postbit or postbit legacy if you have that one chosen
Ah, right. Can it go anywhere? I'm thinking right at the top?
i would think toward the bottom would help with pageloads, could be wrong though....
Hmm.... This is was I'm thinking:
Below:
$template_hook[postbit_start]
Add:
Or shall I add it just before:Code:<!-- Begin Tribal Fusion Text Links --> SCRIPT FOR ADS HERE <!-- _End_ Tribal Fusion Text Links -->
$template_hook[postbit_end]
... so that it picks everything up. Correct?
Last edited by Jason_A; 07-07-2008 at 03:57 PM.
Well if you put it their without any conditions, it will show on every post on that page. Is that what you want? Or where do you want it exactly?
The Forum Hosting - Forum Hosting from the Forum Experts
Hi Michael,
Yes, it is in-text advertising, so I want it to show on every post in a thread, so that "keywords" are picked out. So do I put it just before the postbit end hook ?
Well like I said, where are you wanting it exactly. You can take a picture and put an arrow where you would like it. IF you use the hooks, then I think it will not look right at all, more then likely you are going to want it around this:
HTML Code:<!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message -->
The Forum Hosting - Forum Hosting from the Forum Experts
Hmmm...
It is in-text advertising, so it will need to be in the posts that members make..... so it can target the keywords and use them as ads.
I am using ET as well. You can post the JS code in any area of the page. However there is a Div tag you need to cover the whole content area. Their app would automatically pick up the keywords and display the ads.
My last thread is what shows what they write, so as close to that is the best.
The Forum Hosting - Forum Hosting from the Forum Experts
That doesn't work. Also, it causes 60 validation errors: [Invalid] Markup Validation of http://www.techsupportteam.org/forum/malware-removal/2774-bombarded-popups.html - W3C Markup Validator
I think at the top of 'postbit' may be best. Maybe not. Being honest, in the showthread template has been the best, as that picks up the words...