vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Forum Ad Management (https://vborg.vbsupport.ru/showthread.php?t=203949)

Icy 03-21-2009 10:28 AM

After installing this I'm facing the following error. I've disabled this and the problems are gone! Any help?
Quote:

Warning: Division by zero in [path]/includes/vbam_forum_functions.php on line 211

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/vbam_forum_functions.php on line 211
Quote:

Originally Posted by vBulletin Message
Unable to add cookies, header already sent.
File: /home/*******/*******/forum/includes/class_core.php
Line: 3254


myown 03-22-2009 08:46 AM

Warning: Division by zero in [path]/includes/vbam_forum_functions.php on line 211

any help i am running vbseo also

elrafei 03-25-2009 12:28 PM

thanks installed ..

dascrow 03-31-2009 01:25 AM

In VB Ad v4 there was a setting to display ad after last post, I don't see the setting in this new version. Is there still a way to do that?

Spaz21 03-31-2009 03:21 PM

i've noticed.. that if i have it set to display ads every 5 threads... it seems to display 3 times and then stops but i can still see where the ad SHOULD be between the following forums...i've tried changing settings but nothing... any ideas?

trying to get this working by tonite!

xony 04-07-2009 05:44 PM

Possible conditional by user group?

Please, conditional by usergroup not found

<if condition="!is_member_of($vbulletin->userinfo, 4,5,6)">CODE</if>

nomoreturn 04-16-2009 09:45 PM

Quote:

Originally Posted by Bravo2007 (Post 1741546)
for those who are having the

Code:

Warning: Division by zero in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 40
the main reason that happens is because you having the setting

Code:

Display advertisement every X fora?
Set how often advertisements should be repeated when counting fora down the page.

on (Disabled)

and

Code:

Display advertisement after X fora on a page?
Enter a number or numbers here to have advertisements display once after the Xth fora on every page.

on "0"


To make it work you must select a number for both settings, using Disabled & 0 will ironicly disable the forum, thread, or post pages

This is the temp way to make it work untill RedTyger has time to check it out.

I also have same problem i did as you told but still the same problem

mrtroybaker 04-24-2009 07:39 PM

I am having tis problem too. Any Help?
After installing this I'm facing the following error. I've disabled this and the problems are gone! Any help?

Quote:

After installing this I'm facing the following error. I've disabled this and the problems are gone! Any help?

Warning: Division by zero in [path]/includes/vbam_forum_functions.php on line 211

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/vbam_forum_functions.php on line 211
Originally Posted by vBulletin Message
Unable to add cookies, header already sent.
File: /home/*******/*******/forum/includes/class_core.php
Line: 3254

Farrhad A 05-10-2009 01:46 PM

Hi,

I have installed this at www.webmaserpeers.com

I just want the ads to appear on the home page, any simple thing for this?

Quote:

Enter the forum IDs you want to disable advertisements for, separated by your delimiter. Leave blank to not exclude forums.
So i entered all my forum id's yet the ads are being displayed everywhere.

Please help!

thanh 05-13-2009 04:54 PM

i've got the same error reported on this thread
uninstalling this mod

Davros 05-18-2009 08:20 PM

I have the issue with no ads being displayed in the posts. Any help please, my forum has VBSEO installed on it if that makes a difference.

Dutch_Boy 06-09-2009 05:34 PM

1 Attachment(s)
Hi,

I got 2 questions.

• I got a problem with the e-mail banner mod. If put a banner in it but when i try it out it doesnt show the banner. Only the code.

• How can you make a banner link abel ? So when you click on it it opens a site?

Kind regards,

Dutch_Boy.

Dutch_Boy 06-14-2009 01:25 PM

Uuhh can someone answer my questions ?

timallen82 06-16-2009 11:33 PM

Try something like this:

<a href="http://domain.com"( target="_blank")><img src="http://i8.tinypic.com/89ufb6e.jpg" border="0">

Substitute domain.com for whatever website you want the banner to click to.

Dutch_Boy 06-17-2009 03:04 PM

Quote:

Originally Posted by timallen82 (Post 1831004)
Try something like this:

<a href="http://domain.com"( target="_blank")><img src="http://i8.tinypic.com/89ufb6e.jpg" border="0">

Substitute domain.com for whatever website you want the banner to click to.

Thnx it works :)

Now i hope someone can answer my other question.

Dutch_Boy 06-24-2009 05:25 PM

Bump. Can someone plz answer my question :(

Dutch_Boy 07-01-2009 02:31 PM

Bump.... :(

Dutch_Boy 07-05-2009 07:30 PM

Bump.... Cmon !!

Dutch_Boy 07-10-2009 06:01 PM

Another bump :(

Quantnet 07-10-2009 10:18 PM

the author is not here so don't waste your time bumping.

imedic 08-19-2009 01:23 PM

If you want to place an ad after last post here what you can do:

- in Forum Ad Management / Posts screen in admin panel add in Postbit inclusion field (at bottom)
Code:

$vbam_location[whateveruwanthere]
- in Style Manger / Edit templates open Showthread templates / SHOWTHREAD template (you need to double click to see it in the list) and look for
Code:

<!-- / start content table -->
after add:
Code:

$vbam_location[whateveruwanthere]
<br />

Of corse whateveruwanthere can be replaced by individual name.
You also need to play with numbers of display and repeat number untill it show only one. My setting is 3 and 38 (don't ask why , it is working I don't bother )

It is looking clear as a last post. You can see it here

Aparently I run into some problems on IE , add is showing 3 times ?

There is no way I can make add show 1 time setting numbers in times to display. The edit worked fine but this mode has still bugs.
I leave it like this for when this mode will be upgraded if it will be.

Alternate way to do it (the hard way, ignoring most of this mod) but for postbit legacy (you can find in Advertisment templates the code for postbit)
Paste this:
Code:

<table class="tborder advertisement" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-top:6px">
<tr>
        <td class="thead" style="line-height:1.4em" colspan="2">
                &nbsp;
        </td>
</tr>
<tr valign="top">
        <td class="alt2" width="175px">
                <div>
                        <a class="bigusername">$vboptions[bbtitle]</a>
                </div>
                <div class="smallfont">
                        $vbphrase[vbam_advertisement]
                </div>
                <div>
                        &nbsp;<br />
                        <img src="$vboptions[showdeficon]" class="inlineimg" width="0" height="0" alt="$vbphrase[vbam_advertisement]" border="0" />
                </div>
        </td>
        <td class="alt1">
                <if condition="$show[messageicon] OR $post[title]">
                        <div class="smallfont">
                                <if condition="$show[messageicon]">
                                        <img src="$vboptions[showdeficon]" class="inlineimg" alt="$vbphrase[vbam_advertisement]" border="0" />
                                </if>
                                <if condition="$post[title]">
                                        <strong>$vbphrase[vbam_sponsored_links]</strong>
                                </if>
                        </div>
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                </if>       
                <div class="postbit_adcode adcode">
                        $vbam_adcode[postbit]
PLACE INSTEAD OF THIS THE AD CODE ( GOOGLE AD ...)
                </div>
        </td>
</tr>
</table><br />


instead of $vbam_location[whateveruwanthere] from steps described above.

Place your banner (google ad code ...) instead of bold caps lock text from above (you need to scroll to see it, fifth line from below up) .

This until a better solution is found using this mod.

kevcj 08-22-2009 04:02 PM

Is there a way for this modification to serve ads to other sites, such as wordpress blogs?

I have wordpress installed in a folder under vbulletin - it's being used as an articles section. It would be nice to have a script that could display the ads in the forum, as well as non-vb pages.

Geek Specialtie 08-23-2009 06:27 AM

Quote:

Originally Posted by kevcj (Post 1872197)
Is there a way for this modification to serve ads to other sites, such as wordpress blogs?

I have wordpress installed in a folder under vbulletin - it's being used as an articles section. It would be nice to have a script that could display the ads in the forum, as well as non-vb pages.

I don't know about that, but I use Random Ads Plugin for Wordpress. Very easy to manage.
http://www.datafeedr.com/random-ads-plugin/

ShawneyJ 08-31-2009 11:30 PM

wow what mess, whens the next update coming out please? in the mean time i think i'll stick with the old mod.

ianwatkinz 09-07-2009 04:48 AM

The following dependencies were not met:
The product vbam must be installed before this product may be installed. (Compatible starting with 5.00)

What did I do wrong here? I uploaded the files and tried to add the .xml from the products folder.

DinarMet 10-21-2009 12:29 AM

I am having a problem using this system with sharing Google AdSense.

My AdSense ads show, but the AdSense ads I share do not.

The problem is that it appears that the modification it does not take into account the google_ad_slot field.

The AdSense format looks like this (note xxxxxxxxxx is the Google account variable):
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxx";
/* header */
google_ad_slot =
"032862920";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

The google_ad_client field is the variable controlled by the system to determine who's ads to serve.

The google_ad_slot field controls the style of the ad and reports to the corresponding channels.

The variable placed in the code to control the ownership fo the ad looks like this in the Forum Ad Management module:
<script type="text/javascript"><!--
google_ad_client = "#field5#";
/* header */
google_ad_slot = "032862920
";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

I am able to get the first variable to work properly but the shared codes all have different google_ad_slots which do not permit the ads to run properly except for
mine.

I created a 2nd variable for the google_ad_slot which is included in the member profile along with the google_ad_client:
<script type="text/javascript"><!--
google_ad_client = "#field5#";
/* header */
google_ad_slot = "#field6#";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
The problem is that the code now breaks at the google_ad_slot and doesn't show the ad.

Looks like this on the screen. There's ad space but no ads and this on the bottom:
032862920"; google_ad_width = 728; google_ad_height = 90; //-->
I believe the script is converting the " character to it's html equivalent &quot; thus rendering the javascript error.

I was able to remove the google_ad_slot from the code (which means all ads run default Google styles - blue-title / black-text / green-url), but I don't know if this is permissible under Google TOS. I would really prefer to blend my ads better with customized ads using the google_ad_slot field.

Any help here would be so greatly appreciated.

softjury 11-03-2009 09:09 AM

Hi,

i'm running vBulletin 3.8.4, vB Ad Management 5.02, Forum Ad Management 1.01 and have issues with $stylevar.

I have this (example) in Forum Ad Management/Postbit adcode:

Code:

<table cellpadding="$stylevar[cellpadding]" width="100%">
which gets translated to

Code:

<table cellpadding="" width="100%">
when sent to the client - the $stylevar is replaced with an empty string.

I don't want to put numeric values in there like "6" but use the $stylevar variables.

What do i have to do to get template variables to work in postbit adcode?

Thanks,

Marcel.

tuga-gsm 11-16-2009 05:09 PM

hi.

forum ads does not work on 3.8.4 default theme

i get this error:

Quote:

Warning: Division by zero in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 40
any idea how to fixit?

mykkal 11-22-2009 11:22 PM

Quote:

Originally Posted by tuga-gsm (Post 1915386)
hi.

forum ads does not work on 3.8.4 default theme

i get this error:



any idea how to fixit?

this is so unsupported. i'd go with another product.

sleepyboy2004 12-12-2009 03:37 AM

I get the same thing
Code:


    Warning: Division by zero in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 40

Someone needs to jump on and find a fix or create a new mod like this one. :(

Yannick61 01-09-2010 09:35 PM

Hello!
For me the advertising is displayed only to administrators.
Where can I change it?

Regards
Yannick

jbizzle 01-12-2010 05:31 AM

I'm trying to add more than 1 ad but only have one show at a time, so when you refresh another ad shows up, how do I do that?

jbizzle 01-13-2010 02:46 PM

anyone?

lycheepassion 01-27-2010 05:43 AM

Is there a manual for this or a readme I am kind of not very technical yet and don;t get how to work this for ads/referral links. Thanks!

AWS3 02-04-2010 08:32 AM

hello,
just installed and get error:
https://vborg.vbsupport.ru/

redlabour 03-04-2010 11:00 AM

Any Update for 4.0?

pimpfelix 04-01-2010 03:30 PM

my right column is all messed up looking when I click on a post. Can someone please take a look at what is happening for me.

http://www.remixboard.com/site-relat...k-good-not.htm

arashebaabaa 05-19-2010 08:08 AM

Hello . great . But I'm wondering why it shows the banners for registered users only .

dendrob 05-27-2010 01:58 PM

Quote:

Originally Posted by AWS3 (Post 1974525)
hello,
just installed and get error:
http://screensnapr.com/u/yoybg7.png

I get the same error....crap, it really pisses me off when mods are released and then the coder splits and leaves people hanging... You don't have the time to support a mod, then gtfu and don't release it to taunt end users with what it can do!

dendrob 05-27-2010 02:27 PM

*uninstalled* - unsupported POS, total waste of time


All times are GMT. The time now is 01:28 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.01474 seconds
  • Memory Usage 1,841KB
  • 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
  • (10)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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