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)

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.


All times are GMT. The time now is 11:25 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.01599 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (5)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
  • (10)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