![]() |
Quote:
Some Miscellaneous sections would be nice. I was redoing my Navbar anyway, I just hard coded the phpAdsNew code in the Navbar. We have ads in both the header and the Navbar (http://forum.voxilla.com/). I'm not using the left and right columns, so I guess I could retask one of those for the Navbar. The reason we started using your mod was to move the ads into the thread and post bit area. We had a wide skyscraper, but we didn't like the wasted space below the ad right column. I still need to do some tweaking, like sending the ad post position information back to phpAdsNew, so we can track which ad positions work best. The mod was easy to install and works great. |
sorry if this is a repeat question, but with 17 pages its hard to sort through
here is what i want to do display header and footer ads to all users display thread/forum/post ads to all users except premium members i see i can set users that see ads by user and group, but i only see this at a global option, not per ad type/location, am i missing it? or is it not there thanks, great mod BTW.. :) |
It is there, it's why all the ads are templated. Surround the ads with a template conditional.
<if condition="!is_member_of($bbuserinfo, 1,2,3)"> $threadbit_adcode </if> Change 123 to the Usergroup IDs of your premium member usergroups. |
Quote:
|
Has anyone got Google Adsense Ads to work yet? If so, how?
Thanks :) |
A possible bug I found. If you copy and paste the Google Adsense code into the static header/footer box and save it, the ad WILL show up. However, if you put the same code into the rotation banner box with another banners code, the Google Adsense ads don't show correctly. The other banner shows fine.
|
Quote:
FWIW i am also using PHPAdsNew injection code in the static field as well and its working great too |
Quote:
so if i make that change in the "postbit_advertisement" using what you posted above, that will accomplish the goal. i had a feeling it was something like that, thanks for the great support, one of the fastest i have received here, and polite.. thanks |
Thank you for this hack.
My client love it :D |
I wonder how I done without this now.... Excellent mod
|
Quote:
Quote:
Quote:
|
Quote:
http://img72.imageshack.us/img72/691...tledni5.th.png The text shows fine btw. It's just the crappy screenshot which messes up the text! |
What's the code you're trying to use? PM it if you prefer.
|
PM sent, thanks :)
|
Aha, it's what I thought. Your Adsense contains a , which is used to separate the banners in the rotation, so it's split the Adsense code down the middle. I didn't think any code would use a , but I guess I was wrong. I'll just change it to a more unusual character to separate the banners in the next release.
|
Quote:
Thanks for your help :) |
Oh right, didn't realise it was optional. Ok I won't change it then. :D
|
Quote:
i think i just didnt put the pieces together, and even if i had, i would not have known the code to use, which you pasted in the forum post for me. if you ever decide to go all out and to a full "pro" version with loads of customizable features (using the admincp) let me know i think it would make a GREAT package and i would get it.. :) |
Quote:
:D |
i installed (vB 3.6.4) and it work fine but...
it display ads ONLY to registered users... any suggestion? brgds Manuel |
Quote:
Quote:
|
Quote:
where exactly please?:confused: |
Global settings. Make sure that 2 is in the option where you choose which Usergroups the advertisements should display to.
|
perfect!
thanx a lot |
Quote:
|
Quote:
|
Quote:
Don't take my word for it though, be sure to look it up yourself. |
Whose TOS? That's what the THIS_SCRIPT setting is for, so you can avoid violating advertisement provider's TOS by excluding certain page types. If there are other things you need to do to avoid violating a TOS that's up to you.
|
How to rotate the banners ?? i am not able to rotate banners :(
|
Quote:
|
Quote:
|
Hope this helps....
Quote:
Code:
<if condition="!( |
Sweet hack mate, just a few questions.
The left column, how can I make it so it only displays on the forumhome. |
Quote:
Code:
<if condition="THIS_SCRIPT == 'forumhome'"> |
Cheers bud, I tried this but no joy, where exactly should I place it?
PHP Code:
|
Oh, I forgot. The column templates actually spread across two templates, not one. And also I gave you the wrong conditional. Faux pas, sorry 'bout that.
Because the columns use multiple templates, this means that you can't do the usual technique of just excluding it from a page because it would exclude everything between that template and the footer as well. Which is a lot. So for a bit of a rough workaround, we can remove the adcode and just hide the table instead. Replace the contents of the leftcolumn_advertisement template with: PHP Code:
|
umm I added the code, but consequently it removed all my forums just leaving the header and footer, lol.
|
Quote:
Sorry, not my best time of night for clear thinking. Ok, try this: PHP Code:
|
Brilliant, cheers for that mate. Just one more thing, when you view a thread it's all centred, how can I make it so its the same as the default, see below.
Centred (not right) https://vborg.vbsupport.ru/external/2007/01/11.jpg New default style, correctly aligned. https://vborg.vbsupport.ru/external/2007/01/12.jpg |
is there a way that you can have it display certain ads for certain usergroups?
|
All times are GMT. The time now is 02:30 AM. |
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:
|