vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

FreshPrince 12-29-2006 05:47 PM

Quote:

Originally Posted by RedTyger (Post 1147035)
Just place it where you think best then, you can move it if it's not right. I can't help with custom templates.

OK. I haven't really customized anything (unless you consider V-badvanced and VBSEO and a few other hacks as customization). Still using the standard V-bulletin out of the box.

FreshPrince 12-29-2006 09:24 PM

I figured it out. Great hack, Red Tyger.

Mecho 12-30-2006 03:08 PM

Hi ..

i installed Thread Prefix Product v1.6.1. and now i have problem with Threadbit Ads ! take a look at screenshot plz .

i appreciate if u can help me to fix it :)

Maur?cioSB 12-30-2006 04:23 PM

Very easy to Install (vBul. 3.6.4)!

I´ll test later

anywares 12-30-2006 05:48 PM

thanx allot. I can really use this.

TeknoSounds 12-31-2006 01:16 AM

so anyone that can help with custom templates? It installed fine on the vb default template, but on my custom template I replaced the header code with that mentioned
Quote:

v2.0 Find   in your header template and replace it with $header_advertisement.
, and nothing is showing up.

http://teknosounds.com

RedTyger: I have some suggestions for future updates if you're taking them, should they be listed here or PM'd?

RedTyger 12-31-2006 09:39 AM

Quote:

Originally Posted by Mecho (Post 1147561)
Hi ..

i installed Thread Prefix Product v1.6.1. and now i have problem with Threadbit Ads ! take a look at screenshot plz .

i appreciate if u can help me to fix it :)

Sorry, I will not give support to piracy or warez sites.

Quote:

Originally Posted by TeknoSounds (Post 1147809)
RedTyger: I have some suggestions for future updates if you're taking them, should they be listed here or PM'd?

Listing them here is fine, someone else might want to discuss them.

Snake 01-02-2007 02:40 PM

Wow! I have been waiting for something like this.

Thank you very much!

giorgioarmani 01-03-2007 03:24 PM

Hello there... So after looking at all kinds of ways of implementing ads Ive decided to go with this... Ive followed the instructions (I believe step by step), gone to admin panel and set everything... But ads appear to not be showing... Any ideas?

RedTyger 01-04-2007 09:37 AM

What ad code are you trying to use?

giorgioarmani 01-04-2007 02:39 PM

Im using Google Adsense

RedTyger 01-04-2007 03:07 PM

Try something like a simple image instead, does that show up?

giorgioarmani 01-04-2007 04:24 PM

No images either....

This is what Ive got:

Static advertisement code (put Google Adsense code here)

Ooops.. I cant believe it.. I just got to:

Display advertisements with posts?
Choose Yes to have advertisements display with posts.

And realised it was on no :surprised:

Sorry to bother you for nothing, RedTyger

sgrynd 01-04-2007 09:23 PM

Question for a possible future release:
Would it be possible to make it so you could specify ads per group? For example, I would want my unregistered users to see header/footer and posbit ads, and just regular users see the header ads.

This is a great mod, thanks for all the work!

RedTyger 01-04-2007 09:28 PM

Quote:

Originally Posted by sgrynd (Post 1150911)
Question for a possible future release:
Would it be possible to make it so you could specify ads per group? For example, I would want my unregistered users to see header/footer and posbit ads, and just regular users see the header ads.

This is a great mod, thanks for all the work!

That's the reason all the ads are templated, so people can make further customisations if they need to. It was made with that in mind. :)

Surround the contents of the templates you want to alter with a conditional. Put this at the top of each template you want to alter:

Code:

<if condition="is_member_of($bbuserinfo, 1,2,3)">
And this at the bottom:

Code:

</if>
Replace 1,2,3 with the Usergroup IDs of the ones you want to see the advert, or put an ! between the " and is_member_of to change it to the usergroups you don't want to see the advert.

sgrynd 01-04-2007 09:44 PM

perfect! thank you sooo much!

triphp 01-05-2007 06:41 AM

Quote:

Originally Posted by RedTyger (Post 1146862)
I ran into a problem or two doing it. But I've done most of it so I assume it'll be included whenever the next update is.

No estimates, done when it's done. :)

Thanks for it. Can't wait to see it :)

Mecho 01-05-2007 03:00 PM

i dunno why but Forumbit ads doesnt show up in default style . any idea plz ?

p.s. i edited all templates , and i set id no. of forum !

RedTyger 01-05-2007 03:20 PM

Quote:

Originally Posted by Mecho (Post 1151367)
i dunno why but Forumbit ads doesnt show up in default style . any idea plz ?

p.s. i edited all templates , and i set id no. of forum !

Quote:

Originally Posted by RedTyger (Post 1147975)
Sorry, I will not give support to piracy or warez sites.

....

Mecho 01-05-2007 04:23 PM

Ok , np

thanks anyway for ur great mod .

admin0 01-07-2007 03:14 AM

Hi,

This is not working at all for me.
Any suggestions on how to debug?

The ads simply does not show up in the forumbit and postbit.
Shows fine in header and footer.

Thanks

RedTyger 01-07-2007 08:58 AM

Double-check you've done the template edits again and go over the settings and instructions very carefully. If they're working in one place there's no reason they shouldn't be working in another.

admin0 01-07-2007 10:00 AM

Fixed.

Is it possible to have specific control over advertisements shown in the PM part ?

Thanks,

RedTyger 01-07-2007 05:26 PM

Possibly...what do you want to be done?

lazydesis 01-08-2007 05:06 AM

thanx

admin0 01-08-2007 07:41 AM

I have implemented advertisements on header, footer and postbit .

The header will be shown to those who are NOT registered, but after login, the header ads will not be shown. The header ad will show exciting things like "JOIN AND WIN FREE GIFTS" etc. The footer ad will not display ad, but I plan to put some howtos and help as shown in this new vb.org skin down below -- table that says "new to this site? need help? etc. The ads below posts, those will be used to display weekly lotteries, quizzes and gifts.

I want to have a specific section for ads in the PM part, because the PM will be only opened from inside the control panel, and there I want to put something like "Have you set your gender? do this this.. or Add yourself to the google map .. click to the right etc"


I am going to put phpadsnew codes into the ads box. Hope that works fine :)


Thanks,

RedTyger 01-08-2007 08:22 AM

You can add a specific message to PMs by adding this to your postbit_advertisment template:

<if condition="THIS_SCRIPT == 'private'">
What you want to say
</if>

And that will only show in PMs. That will allow for one static message only, if you want rotation or something like that then it's a custom job.

butty 01-08-2007 10:14 AM

i have a question. i have a few different styles and different coloured google ad's to match the particular style. does this plugin allow me to add different google ad code for each style?

many thanks for you time

RedTyger 01-08-2007 10:15 AM

I'm afraid not, sorry. Might be something for me to look at in the future though.

admin0 01-08-2007 10:59 AM

Quote:

Originally Posted by RedTyger (Post 1153404)
You can add a specific message to PMs by adding this to your postbit_advertisment template:

<if condition="THIS_SCRIPT == 'private'">
What you want to say
</if>

And that will only show in PMs. That will allow for one static message only, if you want rotation or something like that then it's a custom job.


This is perfect. I can just make a zone called PrivateMessage in phpAdsNew, and target this area.


Thanks,

Suzie 01-09-2007 08:45 PM

When inserting ads into single threads, what if you want one specific ad in individual threads? Can you do that and have several different ads for individual threads and not rotate ads. For instance if you have 3 advertisers that want to advertise in a thread about a specific topic .... and no where else can you set 3 ads about 3 different items and have them show only in the threads specified?

snikle 01-10-2007 02:30 AM

Excellent work, installation was a breeze and it works perfectly thus far. Great job!

Ok, question. ;)
Say I wanted only the ad banners to show up on my very first forum page (forum home), would that be done using the forumbit controls?

RedTyger 01-10-2007 08:19 AM

Quote:

Originally Posted by Suzie (Post 1154928)
When inserting ads into single threads, what if you want one specific ad in individual threads? Can you do that and have several different ads for individual threads and not rotate ads. For instance if you have 3 advertisers that want to advertise in a thread about a specific topic .... and no where else can you set 3 ads about 3 different items and have them show only in the threads specified?

Not with this modification, no. You'd have to edit the postbit template and for each specific thread add this to where you wanted the ad to go:

Code:

<if condition="$thread[threadid] == '12345'">
Adcode for this thread ID
</if>
<if condition="$thread[threadid] == '678910'">
Adcode for this thread ID
</if>

And so on.

Quote:

Originally Posted by snikle (Post 1155155)
Excellent work, installation was a breeze and it works perfectly thus far. Great job!

Ok, question. ;)
Say I wanted only the ad banners to show up on my very first forum page (forum home), would that be done using the forumbit controls?

Forumbit ads would make them show up where the name of each each forum is, yes.

echamberlain 01-10-2007 03:17 PM

Great mod, I have it working with phpAdsNew (I was using another mod with xml-rpc, but have switch to javascript for this mod).

I'd like to add a feature request for the following ad locations:
  • navbar
  • search_results_postbit
and the option to left align postbit ads.

I've manually edited the templates for now, but would like to be able to make the changes in the adminCP.

admin0 01-10-2007 03:51 PM

Yep. This works perfectly with phpAdsNew.

Would love to see more places where ads can be targeted.

RedTyger 01-10-2007 04:07 PM

Quote:

Originally Posted by echamberlain (Post 1155547)
Great mod, I have it working with phpAdsNew (I was using another mod with xml-rpc, but have switch to javascript for this mod).

I'd like to add a feature request for the following ad locations:
  • navbar
  • search_results_postbit
and the option to left align postbit ads.

I've manually edited the templates for now, but would like to be able to make the changes in the adminCP.

Just taken a look at search_results_postbit and I agree. I'll add it to the next version. I didn't include any search templates because of Google's TOS, but of course that doesn't apply to everyone so...

Styling is unlikely to ever be done via the AdminCP. it's very unwieldy, especially since there's no way to hook CSS into the forum's existing stylesheet. And more to the point there's so many ways people might want to format, I could never cover them all. The options would be huge! It's likely to be template edits all the way.

Navbar you can already do if you need. Just change the template edit to $GLOBALS[$header_advertisement] (I think it is, it's discussed earlier in the thread for vBCMPS) and add it to the navbar template instead of the header template. But the thought does occur that I could add perhaps two "miscellanous" adcode sections which can be placed anywhere at all in case someone wants a header template and a navbar template, for instance.

Quote:

Originally Posted by admin0 (Post 1155566)
Yep. This works perfectly with phpAdsNew.

Would love to see more places where ads can be targeted.

Such as? If you don't ask, you don't get...

GFX Brands 01-10-2007 06:56 PM

THis is a great code. But it seem to have one bug i found.

When i do the template edit on the header template while using the rightside advertisement on show thread the sidebar advertisemetn dosent seem to work but on forumhome it does. When i use the default header leftsider advertisement works. So is there any fix.

admin0 01-10-2007 09:40 PM

i am using this via phpadsnew, but for some reasons, cannot get the rotator to work ;)
It works fine when people move from 1 page to another, but staying in the same page, the ads stay the same.
calling the same zone command, exactly as the first one using a , also does not rotate without refresh.

RedTyger 01-11-2007 07:47 AM

Quote:

Originally Posted by GFX Brands (Post 1155680)
THis is a great code. But it seem to have one bug i found.

When i do the template edit on the header template while using the rightside advertisement on show thread the sidebar advertisemetn dosent seem to work but on forumhome it does. When i use the default header leftsider advertisement works. So is there any fix.

Didn't quite follow that, sorry. Could I have a link to see the problem?


Quote:

Originally Posted by admin0 (Post 1155794)
i am using this via phpadsnew, but for some reasons, cannot get the rotator to work ;)
It works fine when people move from 1 page to another, but staying in the same page, the ads stay the same.
calling the same zone command, exactly as the first one using a , also does not rotate without refresh.

It was never intended to rotate without a refresh. It just picks a random advert on page load.

ESADCG 01-11-2007 12:43 PM

I am having an issue.
If I enter a user ID in the "Do NOT display advertisements for UserIDs:"
It turns off ads on the entire forum for everyone.


All times are GMT. The time now is 04:20 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
  • Page Generation 0.03533 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete