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)

RedTyger 10-26-2007 05:11 PM

Are other users reporting that they never see their own shared stuff, or is it just you? Shared code is never displayed to the person who owns it, to avoid accidentally clicking on it yourself and getting into trouble with your ad provider.

iogames 10-26-2007 05:54 PM

Quote:

Originally Posted by RedTyger (Post 1369216)
Are other users reporting that they never see their own shared stuff, or is it just you? Shared code is never displayed to the person who owns it, to avoid accidentally clicking on it yourself and getting into trouble with your ad provider.

I rather wait for the next version :P
any ETA? ;)

Hendrizius 10-26-2007 05:55 PM

Only guests are seing advertisments on my forum.

I logged out and checked another users thread (he entered is pub-xxxxx) and refreshed several times and then looked up the source code. Out of 6 times there were never his ads displayed.

Thanks for the quick reply by the way. Are my settings correct?

I just noticed:
Quote:

If you only want to exclude usergroups instead of including them, leave this blank to display the advertisement to everyone except those listed below.
Could this be the mistake? I disabled showing advertisments globally for the Usergroups: 5|6|29|39|28. I do not want advertisments to be shown for them, however I would like to allow them pariticipating iat the sharing program.

RedTyger 10-27-2007 09:12 AM

Quote:

Originally Posted by Hendrizius (Post 1369238)
Could this be the mistake? I disabled showing advertisments globally for the Usergroups: 5|6|29|39|28. I do not want advertisments to be shown for them, however I would like to allow them pariticipating iat the sharing program.

That probably is it. Technically its correct behaviour, but I'm not sure it should be. I'll mull that one over.

class101 10-27-2007 01:32 PM

an useful option would be to be able to configure differents ads skins for people using several skins, because yet I'm forced to use my dark colors adsense ads on a white and clear skins, not really good we cant setup specific ads for each of our skins.

illz- 10-27-2007 04:13 PM

thanks man this is a great mod...

it has been installed on my forum...

class101 10-27-2007 04:24 PM

Quote:

Originally Posted by class101 (Post 1369702)
an useful option would be to be able to configure differents ads skins for people using several skins, because yet I'm forced to use my dark colors adsense ads on a white and clear skins, not really good we cant setup specific ads for each of our skins.

Have found a workaround for peoples with several styles, if you wanna change your ad colors , setup custom replacement variables within the style section in admincp that way:

you setup to replace the var google_color_bg = "2C2C2C"; by google_color_bg = "FFFFFF"; for example and it's working fine without modding any code :)

Hendrizius 10-27-2007 04:44 PM

Quote:

Originally Posted by class101 (Post 1369838)
Have found a workaround for peoples with several styles, if you wanna change your ad colors , setup custom replacement variables within the style section in admincp that way:

you setup to replace the var google_color_bg = "2C2C2C"; by google_color_bg = "FFFFFF"; for example and it's working fine without modding any code :)

Wow, thanks. That helped my other prior problems as well!

I wondered if anyone could share acceptable-banner locations for members. I do not want to start them disliking my board because of the banners. Are there good/acceptable locations? Currently only guests see ADs on my board, but it seems to cause problems with the sharing-option.

class101 10-27-2007 04:56 PM

yeah that's an awesome feature replacement variable. I use a lot to change images from style to style without modding the original style, that's really awesome feature.
If you want to make your google ad color code unique , put "//header1" "//header2" that way in the google adsense code located in the vvb ads options

google_ad_channel = "";//thread1
google_color_border = "2C2C2C";//thread1
google_color_bg = "2C2C2C";//thread1
google_color_link = "0B0B0B";//thread1
google_color_text = "000000";//thread1
google_color_url = "008000";//thread1


then it adds a better check on the replacement variable if you replace

google_color_text = "000000";//thread1
to
google_color_text = "FFFFFF";//thread1

that way you sure the replacement variable won't affect another google ads than the one for the threadbit1 you have setup. hope you see what I mean

Quote:

I wondered if anyone could share acceptable-banner locations for members. I do not want to start them disliking my board because of the banners. Are there good/acceptable locations? Currently only guests see ADs on my board, but it seems to cause problems with the sharing-option.

me I use all the one available in vbad without on forum sides, all members , guest , also activated it in the newpost section, they are really cool locations and so far enough

Effendy Hakim 10-28-2007 06:37 AM

Dear All

Left / Right margin not balance, anyone can help ??

asforum 10-28-2007 08:29 AM

very attrective features, help a lot.

RedTyger 10-28-2007 03:31 PM

Is anyone interested in Ad Sharing for vBulletin blogs?

Quote:

Originally Posted by Effendy Hakim (Post 1370229)
Dear All

Left / Right margin not balance, anyone can help ??

You can edit the leftcolumn_advertisement and rightcolumn_advertisement templates, in there is some use of margin. You can change the values if they don't fit. I took the screenshot in Firefox, which has pretty erratic display of columns, so don't do it because of that.

Quote:

Originally Posted by asforum (Post 1370268)
very attrective features, help a lot.

Glad you like it!

StarSoheil 10-28-2007 05:52 PM

Hi,
I install this hack in my forum, but advertisement only display in firefox and ie don't display ads. I install another hack ( https://vborg.vbsupport.ru/showthread.php?t=153804 ) and this hack is ok for me and ie support and view my ads.

RedTyger 10-28-2007 06:01 PM

What adcode are you trying to use?

StarSoheil 10-28-2007 08:59 PM

For Example:
Code:

<a href=http://www.site.com target="_blank"><img src="http://www.site.com/images/ads.gif" width="468" height="60" alt="site"/></a>

chrisdaman77 10-28-2007 09:15 PM

Something odd. I am unable to find this in postbit---- <!-- post $post[postid] popup menu -->
Any idea where it should be and I can add it? Any help greatly appreciated.

class101 10-28-2007 09:26 PM

Quote:

Originally Posted by StarSoheil (Post 1370668)
For Example:
Code:

<a href=http://www.site.com target="_blank"><img src="http://www.site.com/images/ads.gif" width="468" height="60" alt="site"/></a>

try putting href="http://www.site.com" instead of without, // is maybe badly interpreted and > instead of /> like this:

Code:

<a href="http://www.site.com" target="_blank"><img src="http://www.site.com/images/ads.gif" width="468" height="60" alt="site"></a>
Quote:

Originally Posted by chrisdaman77 (Post 1370674)
Something odd. I am unable to find this in postbit---- <!-- post $post[postid] popup menu -->
Any idea where it should be and I can add it? Any help greatly appreciated.

mine looks like this:

Code:

        <!-- message, attachments, sig -->
       
        </td>
</tr>
</table>
$template_hook[postbit_end]
$postbit_advertisement
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]</td>
        </tr>
        <if condition="$show['profile']">
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>


chrisdaman77 10-28-2007 09:54 PM

Now I am getting this after I took out vb add management. It is on my site and whatever it is it is stopping me from getting into my ACP

Warning: Unknown(/home/content/c/h/r/chrisdaman77/html/includes/vb_ad_management/cache_templates.php): failed to open stream: No such file or directory in /global.php(341) : eval()'d code on line 48

Warning: Unknown(/home/content/c/h/r/chrisdaman77/html/includes/vb_ad_management/cache_templates.php): failed to open stream: No such file or directory in /global.php(341) : eval()'d code on line 48

Warning: (null)(): Failed opening '/home/content/c/h/r/chrisdaman77/html/includes/vb_ad_management/cache_templates.php' for inclusion (include_path='.:/usr/local/lib/php') in /global.php(341) : eval()'d code on line 48

This also appears when I try to log in to ACP

Unable to add cookies, header already sent.
File: /home/content/c/h/r/chrisdaman77/html/includes/class_core.php
Line: 3075

Well decided since the site is in the building stage I would just start over (not far into it)

class101 10-28-2007 11:15 PM

you removed the product prior to delete file right ? I suggest you to try reuploading the missing files to see if you can access the admincp again then if it works , import the product as you were installing it, then try a uninstall again , I solved many broken installation on my windows os that way

StarSoheil 10-29-2007 05:24 AM

Quote:

Originally Posted by class101 (Post 1370679)
try putting href="http://www.site.com" instead of without, // is maybe badly interpreted and > instead of /> like this:

Code:

<a href="http://www.site.com" target="_blank"><img src="http://www.site.com/images/ads.gif" width="468" height="60" alt="site"></a>

Unfortunately my problem don't resolve. you can see my site: (http://www.parsiforums.com/vb) I can't see my advertisement by IE v7.0. :(

RedTyger 10-29-2007 11:01 AM

Quote:

Originally Posted by StarSoheil (Post 1370668)
For Example:
Code:

<a href=http://www.site.com target="_blank"><img src="http://www.site.com/images/ads.gif" width="468" height="60" alt="site"/></a>

There is a bug in Internet Explorer which means there must be a space before /> in tags. Try this:

Code:

<a href=http://www.site.com target="_blank"><img src="http://www.site.com/images/ads.gif" width="468" height="60" alt="site" /></a>

Quote:

Originally Posted by class101 (Post 1370748)
you removed the product prior to delete file right ? I suggest you to try reuploading the missing files to see if you can access the admincp again then if it works , import the product as you were installing it, then try a uninstall again , I solved many broken installation on my windows os that way

That would be correct. It's failing because its looking for files that aren't there. Reupload the files, uninstall the product, then remove the files.

M4r5h4ll 10-29-2007 11:47 AM

so it works or AdBrite ? & if so how can i add the AdBrite code into it please?

ocktra 10-29-2007 09:49 PM

In my HEADER template there is no &nbsp;

Is there any other indication on where I should paste the code?

Thanks for this great mod!

RedTyger 10-29-2007 09:53 PM

Anywhere you like, you can just move it if it doesn't look right. Don't forget to click install, update coming!

Sandy-XXX 10-29-2007 11:18 PM

Hi,

Excuse my english im from Spain.

It´s possible to add differents adds on differents forums.

For example, I want to show some xxx adds in one forum and another different adds no xxx in other forum.

powerful_rogue 10-30-2007 02:33 AM

Hi,

Fantastic mod!

One question though - Can you use banners instead of adsense?

EG:

https://vborg.vbsupport.ru/

Having random banners like the one above showing inbetween posts? Ive tried but not having much luck.

If this is possible, what code do I need to put in?

StarSoheil 10-30-2007 07:29 AM

Quote:

Originally Posted by RedTyger (Post 1371050)
There is a bug in Internet Explorer which means there must be a space before /> in tags. Try this:

Code:

<a href=http://www.site.com target="_blank"><img src="http://www.site.com/images/ads.gif" width="468" height="60" alt="site" /></a>

Unfortunately the problem don't resolve again.

Meanwhile my friends said to me that they can't see our ads. They test this issue by IE & FireFox too. :(

RedTyger 10-30-2007 07:35 AM

Quote:

Originally Posted by Sandy-XXX (Post 1371551)
Hi,

Excuse my english im from Spain.

It?s possible to add differents adds on differents forums.

For example, I want to show some xxx adds in one forum and another different adds no xxx in other forum.

If you can wait a couple of days, the next version will allow that.

Quote:

Originally Posted by powerful_rogue (Post 1371630)
Hi,

Fantastic mod!

One question though - Can you use banners instead of adsense?

EG:

http://www.doverlocals.co.uk/images/...overlocals.gif

Having random banners like the one above showing inbetween posts? Ive tried but not having much luck.

If this is possible, what code do I need to put in?

Yes you can use any code you like. Just separate them with the delimiter, like so.

Code:

<img src="1.jpg" /> |
<img src="2.jpg" />

Quote:

Originally Posted by StarSoheil (Post 1371748)
Unfortunately the problem don't resolve again.

Meanwhile my friends said to me that they can't see our ads. They test this issue by IE & FireFox too. :(

You're also missing the "" around the href="link" part. That could be it? There should be no reason why that code will not work, perhaps the image you are using to is blocked from linking to?

Sandy-XXX 10-30-2007 10:00 AM

Quote:

Originally Posted by RedTyger (Post 1371755)
If you can wait a couple of days, the next version will allow that.


I haved installed now, but when the new version comes I upgrade.

Thanks !

powerful_rogue 10-30-2007 11:57 AM

Quote:

Originally Posted by RedTyger (Post 1371755)

Yes you can use any code you like. Just separate them with the delimiter, like so.

Code:

<img src="1.jpg" /> |
<img src="2.jpg" />


Thanks :)
Worked a treat!

intellipay 10-30-2007 05:14 PM

I apologize in advance if these are stupid newbie type questions....

My plan with this is to utilize Google Adsense in the header, forum, and 1 spot in a thread. I don't think I want to use Ad Sharing? Anyway...

1.) For the header/footer advertisement, do I simply go to vB Options > vB Ad Managment (Header and Footer) and then copy my Adsense code into the static box?

2.) Since Google "feeds" the advertisements based upon content, is there a need to copy any other code elsewhere?

3.) Is Google Analytics code different than the Adsense code and, if so, what does it do?

4.) Can I copy the exact same Adsense code into the same sections for my forum and thread settings in the forumbit and threadbit sections to get it to work properly?

5.) Do I have to complete the “How to add your own custom adcode blocks in 3 minutes” instructions for static Google Adsense code or is this for something else?

Thanks very much for any help!!

StarSoheil 10-30-2007 05:19 PM

Quote:

Originally Posted by RedTyger (Post 1371755)
You're also missing the "" around the href="link" part. That could be it? There should be no reason why that code will not work, perhaps the image you are using to is blocked from linking to?

Moreover my code, I use from adbrite and bidvertiser code and this codes don't show too. I think that this hack have some problem. because i test this hack on two forums and unfortunately your hack don't show anything.

Regards

class101 10-30-2007 05:41 PM

Quote:

Originally Posted by intellipay (Post 1372128)
I apologize in advance if these are stupid newbie type questions....

My plan with this is to utilize Google Adsense in the header, forum, and 1 spot in a thread. I don't think I want to use Ad Sharing? Anyway...

1.) For the header/footer advertisement, do I simply go to vB Options > vB Ad Managment (Header and Footer) and then copy my Adsense code into the static box?

2.) Since Google "feeds" the advertisements based upon content, is there a need to copy any other code elsewhere?

3.) Is Google Analytics code different than the Adsense code and, if so, what does it do?

4.) Can I copy the exact same Adsense code into the same sections for my forum and thread settings in the forumbit and threadbit sections to get it to work properly?

5.) Do I have to complete the ?How to add your own custom adcode blocks in 3 minutes? instructions for static Google Adsense code or is this for something else?

Thanks very much for any help!!

1) yes right, I use random in the footer to alternate between text and image ads, I fint it alternate better that way text/images then adsense itself

2) you may use the tags <!-- google_ad_section_start --> <!-- google_ad_section_end --> provided by google to have ads with the higher relevance on words between these 2 tags, but on forums that's not simple to do that's why there is vbseo wich does this automatically :)

3) Yes its totally different, Ganalytics provides only stats from visitors on your website so you must add the correct code, in the footer or header must be enough

4) yep any code, didnt have any conflict with this

5) something else you dont need this

RedTyger 10-30-2007 06:42 PM

Quote:

Originally Posted by StarSoheil (Post 1372133)
Moreover my code, I use from adbrite and bidvertiser code and this codes don't show too. I think that this hack have some problem. because i test this hack on two forums and unfortunately your hack don't show anything.

Regards

I don't know what to tell you, nobody else has reported this problem. I would assume its something to do with your settings, in that case.

Quote:

Originally Posted by class101 (Post 1372148)
there is vbseo wich does this automatically :)

Ah, well answered! What does vbseo do? If it's useful I'll add it as well.

class101 10-30-2007 07:37 PM

What does vbseo do in general ? or about the <!-- google_ad_section_start --> you mean ?
That's not the main feature of vbseo, just one of the large options available in the vbseo product but about this adsense code, vbseo automatically enclose
Code:

<!-- google_ad_section_start --><!-- google_ad_section_end -->
in front of relevant text of the forum and threads, for example, titles, message body, Relevant Replacements (vbseo feature to add relevant text to each thread/forums), all what is relevant to the page to have different ads matching the thread and forum subjects. The cool features is it adds also
Code:

<!-- google_ad_section_start(weight=ignore) --><!-- google_ad_section_end -->
wich is the code used by adsense to ignore part of the page, I see on the source it adds this on the member's username & signatures, to not have the members title and signatures altering the ads content, very excellent feature you could add yeah , could feat very well with vb ads heheh and no copyrights on this heheh ;)

Let me know if you wanna much informations, I can work to see where it adds exactly theses codes and you could reproduce the same. Or if you wanna work on yours own RedTyger that's not so hard you can see the instruction directly from Google here.

intellipay 10-31-2007 12:19 AM

I want to thank you for this hack. I am new to this and have just started my first board that can accomodate advertising.

I was scared I would screw something up but I followed your instructions and it works! Even the code modifications were easy once I figured out how to get to the right spot to make them.

Thank you for your efforts and for the assistance I received when asking questions. Donation forthcoming...

class101 10-31-2007 12:31 AM

Quote:

Originally Posted by class101 (Post 1368672)
AdminCP > Plugins & Products > Plugin Manager > Add New Plugin

Product: vB Ad Management
Hook Location: search_results_threadbit
Title: vB Ad Management - Ads in Searchbits
Execution Order: 6
Plugin PHP Code:
Code:

if ($GLOBALS['do_ads'] && $vbulletin->options['adintegrate_threadbit_onoff'])
{
        include(DIR . '/includes/vb_ad_management/threadbit_display.php');
}

Plugin is Active: Yes
enjoy miss :) Leigh robinson you must load your vb_ad_management_314.xml , looks like you didnt imported the product

bumping this tip cos it should be a default one, at least enabling/disabling ads in new post & today post must be available in the options in the futur versions I hope since it's the most visited link of any forum :p

RedTyger 10-31-2007 10:33 AM

Quote:

Originally Posted by class101 (Post 1372222)
What does vbseo do in general ? or about the <!-- google_ad_section_start --> you mean ?
That's not the main feature of vbseo, just one of the large options available in the vbseo product but about this adsense code, vbseo automatically enclose
Code:

<!-- google_ad_section_start --><!-- google_ad_section_end -->
in front of relevant text of the forum and threads, for example, titles, message body, Relevant Replacements (vbseo feature to add relevant text to each thread/forums), all what is relevant to the page to have different ads matching the thread and forum subjects. The cool features is it adds also
Code:

<!-- google_ad_section_start(weight=ignore) --><!-- google_ad_section_end -->
wich is the code used by adsense to ignore part of the page, I see on the source it adds this on the member's username & signatures, to not have the members title and signatures altering the ads content, very excellent feature you could add yeah , could feat very well with vb ads heheh and no copyrights on this heheh ;)

Let me know if you wanna much informations, I can work to see where it adds exactly theses codes and you could reproduce the same. Or if you wanna work on yours own RedTyger that's not so hard you can see the instruction directly from Google here.

Interesting, looks well worth doing! But that should be done by editing the templates manually, the places the comments need to go are very unlikely to change and the comments themselves are not dynamic. It would be not be resource-efficient to do this automatically.

Quote:

Originally Posted by intellipay (Post 1372407)
I want to thank you for this hack. I am new to this and have just started my first board that can accomodate advertising.

I was scared I would screw something up but I followed your instructions and it works! Even the code modifications were easy once I figured out how to get to the right spot to make them.

Thank you for your efforts and for the assistance I received when asking questions. Donation forthcoming...

Duly received, thank you very much indeed!

Quote:

Originally Posted by class101 (Post 1372415)
bumping this tip cos it should be a default one, at least enabling/disabling ads in new post & today post must be available in the options in the futur versions I hope since it's the most visited link of any forum :p

Good idea, I forgot about that.

class101 10-31-2007 11:04 AM

yes totally correct this can be done easly, about the resource eating I dunno really cos I don't even know how vbseo is working deeply, is it automatic or not, to say true I'm maybe wrong saying it's automatic , I just mean you don't have to care about because the tool does the job but I don't think this option is eating lots of resource

class101 11-01-2007 02:24 PM

Who has an idea to fix this problem (and btw maybe enhancement suggestion), width altering the look of the forum:

I like vbulletin.com and vbulletin.org styles, with a fixed table width 760px, small width forums are cools for hi-res computers, but using adsense banners 468x49 in the forumdisplay (not the biggest one but probably the most used) the banner width expand the forums table , so the main site table stay to 760px but forum are expanding around 900px so I see a portion of the forum table outside the main table. I know I can't resize adsense image but if anyone know a tip to use theses larges width banners without breaking the layout thanks a lot. I know I can simply put my forum to a 900px but I'd like to find a solution while keeping it to 760pxand not altering the layout, the banners layyout I do not really care , a possible solution would to cut it just before the "Last Post" column for example but don't have a clue how to do.


All times are GMT. The time now is 10:54 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.04109 seconds
  • Memory Usage 1,900KB
  • 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
  • (15)bbcode_code_printable
  • (27)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