![]() |
I played around with the script a bit and I got the ads to work after the last post
SHOWTHREAD template, I added the red text. Now I have the first and last post Quote:
|
Love this hack. I started using it with 3.7 and the same version works fine with 3.8.6.
If I could add a feature, it would be to have the option to add code in multiple areas of a thread, use different code and be able to set each for different usergroups. For example: After the third post, a leaderboard is placed which is set to be viewed by all. After the sixth post, a 300x250 is added to be seen by only guests. I think I can add conditions for it to be seen by only certain groups but can't figure out how to add multiple code options. |
Nice hack tks! Lots of good ideas here for this, should be interesting to see what will be the results of all these?
Anyway, installed ;) |
I tried to get an answer in the programming area, but nobody there seems to know how to do this, or doesn't want to help out ....
I have this mod installed and it works great, so I thought either the programmer here or someone else could help me with a simple question ... I'm not a programmer, but know enough to be dangerous and can insert code within templates etc. I'd like to have my adsense ads only appear for specific usergroups (1,2,3,4,6,13,16)... So, in simple terms, what is the code to wrap around my adsense script to have the ads displayed for just those usergroups and centered. ie: =================== if .... <script> xxx xxxx xx <script> endif ================== Thanks for any help ... :) Regards, Badger |
Try this:
PHP Code:
|
Quote:
Regards, Badger |
Is there a way to use this twice? So I can see the mod twice in control panel and add ads under two different number posts?
Many thanks |
Quote:
Regards, Badger |
Quote:
I can't seem to find the code you posted anywhere in showthread template, so I can add the part you indicated in red and get adsense in the two places? Thanks for any help .... Regards, Badger |
Quote:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 03:55 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:
|