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 - vB Ad Management (https://vborg.vbsupport.ru/showthread.php?t=203948)

TechnoMan 04-10-2009 05:59 PM

Hello,

who are the translations? (German)

crazlunatic 04-10-2009 06:13 PM

Is there any feature to display ads to certain usergroups and not display for others?

JWL 04-10-2009 06:37 PM

Quote:

Originally Posted by crazlunatic (Post 1788376)
Is there any feature to display ads to certain usergroups and not display for others?

in the general settings there are

however, in the manual it describes how to set variables and conditions

http://redtyger.co.uk/manual.php?pro...t&version=5.02

PHP Code:

<if condition="in_array($forum, array(2,3))">
Hello
<if condition="in_array($forum, array(2))">
and 
welcome to my forum
</if>
</if>

Note that each opening <if condition tag must also have a closing </if>tag eachComparing to the forum ID is not the only condition you can evaluateyou can also make use of other values:

    * 
$bbuserinfo[usergroupid], which is the current user's usergroup.
    * Various other subdivisions of $bbuserinfo such as $bbuserinfo[userid], which is the current user'
s ID.
    * 
$threadinfo[threadid], the current thread ID.
    * 
THIS_SCRIPTthe current definition of THIS_SCRIPT.

There are many many morebut you can evaluate any value of any kind against any other. If a value is not set such as when evaluating $threadinfo[threadidwhen outside a thread or when spelling a value incorrectlyit will default to being defined as 0. Lets see some examples


crazlunatic 04-11-2009 03:35 AM

Sorry should have checked it out more carefully that seems to be one of the main features of this plugin...

I'm having trouble getting ads displayed in the header and navbar, but no problem in the footer. My forums is at http://windows7center.com/forums

grahamsmythe 04-11-2009 07:39 AM

Quote:

Originally Posted by crazlunatic (Post 1788665)
Sorry should have checked it out more carefully that seems to be one of the main features of this plugin...

I'm having trouble getting ads displayed in the header and navbar, but no problem in the footer. My forums is at http://windows7center.com/forums

Yes, I've always had the same problem with this mod.

I can get it to work everywhere, but not on the header.

I've tried it on the default style and also a custom style.

Any suggestions?

JWL 04-11-2009 04:01 PM

I have no issues with the ads in my header working, the product works very well, acept for the auto refresh :cool:

www.sportcityrider.com

Just added (in my case) the
PHP Code:

$ad_location[ad_header_logo

And made sure the Right Header Inclusion script is selected or in the box

Also, turn on the Header Ad in the add management script

TechnoMan 04-12-2009 07:37 AM

Have everyone german Translation for me?

mykkal 04-12-2009 07:40 AM

Where the issues with VBSEO fixed? I really want to use this mod.

turbosatan 04-12-2009 09:20 AM

not wanting to repeatedly ask the same question but i am still having the problem i mentioned in my post last week
Quote:

"i am getting the following error on search threads

Warning: Division by zero in [path]/search.php(2942) : eval()'d code on line 31

note this only happens when i search for posts by a specific user and not in new posts searches."
can anyone help with this issue. The op seeems to be on holiday at the moment.

Mattcch 04-16-2009 09:04 AM

Thanks for great mod.

Installed ok in my ya forum with vbseo too.

In my case, need put "$vbam_location[name]" to the header template for top header banner display.

abound 04-16-2009 12:40 PM

Quote:

Originally Posted by abound (Post 1774291)
RedTyger,

You suggested that my settings could be wrong. I have described them below, but have not responded (though you have responded to other posts since). I have had this mod installed for weeks now, including the link to you in my footer, but the ads are not working for me. I do not want to uninstall, because I need the functionality, but I will have to uninstall it if I cannot get any help solving these technical problems. I realize you are busy, and I am not the only one requesting your help, but I think you are the only one who can help me right now.

This was after I posted this: https://vborg.vbsupport.ru/showpost....&postcount=212

RedTyger does not seem inclined to help me... I have had his advert link on my site for a couple of months now, but cannot get his software to work. If anyone can help me diagnose this, I would appreciate it.

pandoros 04-16-2009 09:41 PM

How do I get ads in a specific forum ONLY. no where else?

cmmguy 04-17-2009 01:54 PM

Quote:

Originally Posted by Mattcch (Post 1792309)
Thanks for great mod.

Installed ok in my ya forum with vbseo too.

In my case, need put "$vbam_location[name]" to the header template for top header banner display.

To get the ads to show on the right side of the header on my forum I had to add two table cells next to the logo cell. The included locations did not put the ad on the right margin. This is in the header template.

This is what I added to get the ads to show on the right side. There is also a spot in the center by I am not using it. ad_location_1 & _2 will show up in the drop downs of the Ad Manager.

WARNING: I am a relative virgin at this but can reverse engineer stuff I see so use my change with caution.

Key:
Existing code shown for reference point.
Code I added

Code:

<tr>
        <td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />
</if>
        </td>


<!-- added by cmmguy -->
        <td width="33%">
            <p align="center">
            $vbam_location[ad_location_1]

        </td>
        <td width="33%">
            <p align="right">
            $vbam_location[ad_location_2]

        </td>
<!-- /added by cmmguy -->


Note: I do see the other code in there for the right side banner ad but it just kept pushing that ad to the bottom of the header and never to the right side like I though it should.

cmmguy 04-17-2009 01:57 PM

I cant get the banner ads to rotate on the scheduled interval. I have AJAX working properly on my site(everything else AJAX works).

Does anyone have any luck with that? If so, could you share your settings or have any idea why mine is not working.

I have tried both embedded multiple ads separated by the "|" (but I actually saw that as for random ad showing more than for rotation) and I have tried an ad link to a my Openx account

Thanks

KevinGupta 04-19-2009 06:55 AM

Sorry... but can someone tell me how I can put a banner in? And how do I restrict/show the advertisement to a certain usergroup ...?

Please tell me if I have image link .. How I can put it in.. or if I have uploaded it on the server then how can I put it in..?

Please give me an example code with description .. so its easier to understand and then follow in future..
THanks...!

mitch84 04-19-2009 07:32 AM

installed ,thank you

JWL 04-19-2009 03:50 PM

Quote:

Originally Posted by KevinGupta (Post 1794308)
Sorry... but can someone tell me how I can put a banner in? And how do I restrict/show the advertisement to a certain usergroup ...?

Please tell me if I have image link .. How I can put it in.. or if I have uploaded it on the server then how can I put it in..?

Please give me an example code with description .. so its easier to understand and then follow in future..
THanks...!

Here is what I have on my site that works in the HEADER

PHP Code:

<a href="http://sharetrails.org"><img src="PATH IMAGE1" width="468" height="60" alt="Join The BRC, Fight the Good Fight" border="2" align="" /></a>
|
<
a href="http://www.amadirectlink.com/"><img src="PATH IMAGE 2" width="468" height="60" alt="Join The AMA, Preserve your right to ride" border="2" align="" /></a>
|
<
a href="http://www.melissaparis.com/"><img src="PATH IMAGE 3" width="468" height="60" alt="Malissa Paris, Professional Road Racer, help support and visit this Racer" border="2" align="" /></a

the path to the images is where ever you are storing images aka
(/images/ads/image1.jpg)
or
"http://domain.com/myimages/imige1.jpg"

It is fairly straight forward

KevinGupta 04-20-2009 07:31 AM

Thanks a lot for this. It really did help!

But only one more thing.. could you please tell me how can I restrict it to certain groups? I mean If I just want to show it to a certain usergroup .. how can I do that?

abound 04-20-2009 12:28 PM

Has anyone had the problem where they installed the software, set their settings, and had no ads show up anywhere? What was the culprit?

JWL 04-20-2009 04:07 PM

Quote:

Originally Posted by KevinGupta (Post 1794994)
Thanks a lot for this. It really did help!

But only one more thing.. could you please tell me how can I restrict it to certain groups? I mean If I just want to show it to a certain usergroup .. how can I do that?

In Global settings, you have two choices

Enable advertisements for usergroups:
&
Do NOT enable advertisements for usergroups:

You also have a choice to disable per script, allowing certain pages not to display adverts
Do NOT display advertisements for scripts and software:

There are also conditionals you can use for each add if the global is to restrictive. See Manual under conditionals

Quantnet 04-22-2009 12:58 AM

Anyone has any experience in display the ads as a block on the front page with VBadvanced?
i read that this hack work with vbadvanced but didn't find much info on it.
Thanks

plazzman 04-22-2009 01:34 AM

Quote:

Originally Posted by abound (Post 1795099)
Has anyone had the problem where they installed the software, set their settings, and had no ads show up anywhere? What was the culprit?

Could it be that you had adblock on your browser?

I have one on my firefox, and it doesn't show any of the ads, but the product is working fine.

abound 04-22-2009 04:58 AM

Quote:

Originally Posted by plazzman (Post 1796428)
Could it be that you had adblock on your browser?

I have one on my firefox, and it doesn't show any of the ads, but the product is working fine.

I thought adblockers only worked on popups and popunders. I'm trying to get ads to show up in my forum's margins. I also tried the feature that subsitutes strings with links in signatures, and that didn't work either. There seems to be something just completely blocking this from working in any way.

redlabour 04-23-2009 04:42 AM

BUG:

In Hook private_insertpm_process there must be a Error at creating new Users via AdminCP.

Quote:

Fatal error: Call to a member function do_affiliates() on a non-object in /XXXXXX/www.politikstube.de/forum/includes/class_dm_user.php(2943) : eval()'d code on line 14
The User is still created but this Database Error appears everytime at creating a new User.

vBulletin 3.8.2

Creative Liquid 04-23-2009 09:43 PM

Works great, but how do you center the advertisement in the header.

greenchicken 04-23-2009 10:15 PM

I can't get it to disable per usergroup hmmm any ideas?

Mattcch 04-24-2009 10:48 AM

Quote:

Originally Posted by cmmguy (Post 1793309)
To get the ads to show on the right side of the header on my forum I had to add two table cells next to the logo cell. The included locations did not put the ad on the right margin. This is in the header template.

This is what I added to get the ads to show on the right side. There is also a spot in the center by I am not using it. ad_location_1 & _2 will show up in the drop downs of the Ad Manager.

WARNING: I am a relative virgin at this but can reverse engineer stuff I see so use my change with caution.

Key:
Existing code shown for reference point.
Code I added

Code:

<tr>
        <td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />
</if>
        </td>


<!-- added by cmmguy -->
        <td width="33%">
            <p align="center">
            $vbam_location[ad_location_1]

        </td>
        <td width="33%">
            <p align="right">
            $vbam_location[ad_location_2]

        </td>
<!-- /added by cmmguy -->


Note: I do see the other code in there for the right side banner ad but it just kept pushing that ad to the bottom of the header and never to the right side like I though it should.

edit:
----------------------------------------------------------------------------
for 1024x768 screen, just note the limit of 990px width,

for 800x600 , will the limit be 770px width
----------------------------------------------------------------------------
for fluid layout
usually a 'td ..../td' can help or do the css style if preferred incline.

hamster31 04-24-2009 11:15 AM

I have already installed this new version but i cannot see in the index page, do i need to update anything on styles?

Daniel Lindberg 04-24-2009 01:01 PM

Is that forum add-on needed if you want ads inside of threads? Just upgraded my forum and this mod and the old version had that feature built-in so I'm a little confused.

Quantnet 04-24-2009 02:54 PM

Quote:

Originally Posted by Quantnet.org (Post 1796419)
Anyone has any experience in display the ads as a block on the front page with VBadvanced?
i read that this hack work with vbadvanced but didn't find much info on it.
Thanks

Since I found no answer, I went ahead and get this to work myself. Here is the step

I created a template module on VBadvanced called adv_portal_sponsor which contains

Code:

<tr><td bgcolor="#f7f7f7" align="center">
$vbam_adcode_custom
</td></tr>

Next, go to VB Ad Management ACP, at the bottom click on Custom
Enter the code for your banner, links, etc...preview and make sure it looks good.

Select yes for Enable custom 1 advertisements?
Set refresh
Set timespan
In Custom 1 target template, select adv_portal_sponsor
Enter $vbam_adcode_custom in the box of custom 1 inclusion.

Save.


A few problem.
The refersh does not seem to work. If i reload the page, then I can see different banners but the banners do not rotate by themselves.

Quantnet 04-24-2009 04:44 PM

It looks like ajax refresh does not work on custom adblock. It works fine in other predefined blocks.
Maybe it has something to do with my custom adblock is inside VB Advanced?

redlabour 04-25-2009 06:07 AM

Quote:

Originally Posted by redlabour (Post 1797178)
BUG:

In Hook private_insertpm_process there must be a Error at creating new Users via AdminCP.



The User is still created but this Database Error appears everytime at creating a new User.

vBulletin 3.8.2

Any answer or is this Mod again death?

KinG DeV 04-25-2009 11:52 AM

Thanks, verry good

Blue Ink 04-25-2009 02:32 PM

<font color="Navy">I dowloaded, installed, and added the code below (just as a test) to the 'header adcode' section but nothing happens. Is there something else I need to do turn it 'on' or is the code wrong? TIA!</font>

<a href="http://www.google.com"><img src="images/backgrounds/background_002.gif" width="250" height="60" alt="TESTING... TESTING... 1... 2... 3..." border="2" align="" /></a>

Blue Ink 04-25-2009 04:24 PM

<font color="Navy">Can anyone tell me how to get the ad to display?</font>

Blue Ink 04-25-2009 04:57 PM

<font color="Navy">It looks like the problem is that it can't find the image I want to display... If I just add text that is a hyperlink to a website it works fine... but if I add an image I get the red 'x'... This is what I'm entering for image... please help...</font>

<img src="/images/misc/test.gif" border="0" align="left">

Blue Ink 04-25-2009 05:36 PM

Quote:

Originally Posted by GoTTi (Post 1739302)
dunno if im doing something wrong or dont understand this thing....

i just installed this, put the ad in the header, enabled the header ad, and nothing is showing. am i suppose to do something special? put a $header_ad or something in a template or is this auto insert?

i tried it in the header, didnt work. i tried it with PM's and nothing as well.


Were you ever able to figure this out?

Mattcch 04-26-2009 07:52 AM

Quote:

Originally Posted by Blue Ink (Post 1798855)
It looks like the problem is that it can't find the image I want to display... If I just add text that is a hyperlink to a website it works fine... but if I add an image I get the red 'x'... This is what I'm entering for image... please help...

<img src="/images/misc/test.gif" border="0" align="left">

hi brother/sister,

maybe

1) the relative image path issue,
try remove the first '/' in the above path ---------> "images/misc/test.gif"

or

2) try using the absolute path like <img src="http://www.your_forum_domain.com/images/misc/test.gif"

to test the image access/display permission of your web hosting.
(replace with your forum domain for your_forum_domain.com)

Need make sure that the image gif file is in that directory path.

Hope a little help.

jrock1 04-26-2009 08:56 PM

I created three ads, uploaded them, then put in the html in the HEADER section of the ad mgmt. and put the $vbam_location[name] in the ad_location_header of the styles & templates. I set the AJAX refresh and put 10 seconds, etc.

So here's the problem:

They will show up, but they don't auto rotate. I have to refresh the page to see a different one.

Anybody think they can help me?

www.rapidstockprofits.net

Thanks
J

JWL 04-27-2009 01:38 PM

Quote:

Originally Posted by jrock1 (Post 1799558)
I created three ads, uploaded them, then put in the html in the HEADER section of the ad mgmt. and put the $vbam_location[name] in the ad_location_header of the styles & templates. I set the AJAX refresh and put 10 seconds, etc.

So here's the problem:

They will show up, but they don't auto rotate. I have to refresh the page to see a different one.

Anybody think they can help me?


www.rapidstockprofits.net

Thanks
J

Actually Many people have the same issue, I included. It seems the Author has no interest in adding his comments. Personally if I wanted a banner rotater I would have installed that instead. :erm: :down:

I just noticed, this product is not supported by the developer :down:

Uninstalled


All times are GMT. The time now is 09:11 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
  • Page Generation 0.01579 seconds
  • Memory Usage 1,870KB
  • 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
  • (3)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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