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)

Vinyljunky 12-04-2007 11:23 AM

Hello All,

I ws suffering from the ads displaying twice :eek:

This happened because I had made template edits for the previous version and enabled Automatically insert advertisements.

So there are 2 ways to resolve this:

1) Disable Automatically insert advertisements

OR

2) Enable Automatically insert advertisements and Remove the previous versions template edits by reversing these steps


[*]Go to Style Manager > Edit Templates and...
[*]Find <!-- post $post[postid] popup menu --> and paste $postbit_advertisement above it in your postbit & postbit_legacy templates.
[*]Paste $forumbit_advertisement at the bottom of your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates.
[*]Paste $threadbit_advertisement at the bottom of your threadbit template.
[*]Paste $footer_advertisement at the top of your footer template.
[*]Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
[*]Find &nbsp; in your header template and replace it with $header_advertisement.
[*]Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.



I also found that Ad Manager 4.01 clashes with the Links and Downloads Manager mod resulting in these errors:
Fatal error: Cannot redeclare cache_styles() in /xxxxx/includes/local_links_include.php on line 1120

The fix is simple and can be found over at the LDM support section here

I currently have a minor issue in that some adsense ads are displaying "Page Could Not Be Found". However that may not be due to this mod :confused:

Its weird as its a postbit advert where the first few work and the last one doesnt. The broken add has the properties

Code:

res://C:\WINDOWS\system32\shdoclc.dll/http_400.htm#http://pagead2.googlesyndi-------and so on
Strange :cool:

Its a great mod though :up:


VinylJunky

TheBlackPoet 12-04-2007 12:17 PM

i dont know what the problem is, because i've never had a problem with your work... but this is what i get in the admincp

redlabour 12-04-2007 12:25 PM

Quote:

Originally Posted by Vinyljunky (Post 1394621)
2) Enable Automatically insert advertisements and Remove the previous versions template edits by reversing these steps


[*]Go to Style Manager > Edit Templates and...
[*]Find <!-- post $post[postid] popup menu --> and paste $postbit_advertisement above it in your postbit & postbit_legacy templates.
[*]Paste $forumbit_advertisement at the bottom of your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates.
[*]Paste $threadbit_advertisement at the bottom of your threadbit template.
[*]Paste $footer_advertisement at the top of your footer template.
[*]Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
[*]Find &nbsp; in your header template and replace it with $header_advertisement.
[*]Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.


VinylJunky

Thanks that works.

But Archive still not displaying any Ads.



Quote:

Originally Posted by RedTyger (Post 1394539)
You do not want the link to appear anywhere at all for any users, is that correct?

Yes and No - i only want that this Link disappears for the Usergroups that can see Ads (for now everyone).
But i still want the possibility to edit this in a future Time.

jgommel 12-04-2007 12:34 PM

I'm having a duplication issue as well, but mine might be a bit different. I've installed v4.01 on a fresh vBulletin install. I've made no template edits for vB Ad Management - using automatic template placement.

(see images to follow along with my example)

My duplication issue is within the forumbit. When I have an ad on forum 2 (Upcoming Events), and then try to place the same ad in forum 61 (Woodsball Tactics & Strategy), the ad in forum 2 displays as it should, but duplication occurs on forum 61.

The duplication seems to occur when the ad appears in separate categories (Talk Paintball vs. Woodsball Specific Forums). So if I move the the second ad from forum 61 to forum 8 (Off Topic Discussion) so that both ads appear under the Talk Paintball category, everything is fine. I've tried to move the ad around to different forums and each time I get duplicate ads.

jgommel 12-04-2007 12:37 PM

Quote:

Originally Posted by TheBlackPoet (Post 1394643)
i dont know what the problem is, because i've never had a problem with your work... but this is what i get in the admincp

It appears that you have not installed the vb_ad_management_english.xml file yet. Import it just like you installed the main mod. It's in the languages folder.

RedTyger 12-04-2007 12:37 PM

Quote:

Originally Posted by Vinyljunky (Post 1394621)
I currently have a minor issue in that some adsense ads are displaying "Page Could Not Be Found". However that may not be due to this mod :confused:

Its weird as its a postbit advert where the first few work and the last one doesnt. The broken add has the properties

Code:

res://C:\WINDOWS\system32\shdoclc.dll/http_400.htm#http://pagead2.googlesyndi-------and so on
Strange :cool:

Its a great mod though :up:


VinylJunky

Good post! :up: I'll wait and see if anyone else has that error, it's certainly a strange one.

Quote:

Originally Posted by TheBlackPoet (Post 1394643)
i dont know what the problem is, because i've never had a problem with your work... but this is what i get in the admincp

Looks like you have not uploaded the phrase file in languages.

Quote:

Originally Posted by redlabour (Post 1394651)
Yes and No - i only want that this Link disappears for the Usergroups that can see Ads (for now everyone).
But i still want the possibility to edit this in a future Time.

No problem, just edit the phrase adintegrate_remove_ads using the AdminCP's Phrase Manager and in the translation box put a single space. You can change it back any time you want.

redlabour 12-04-2007 12:39 PM

Quote:

Originally Posted by RedTyger (Post 1394659)
No problem, just edit the phrase adintegrate_remove_ads using the AdminCP's Phrase Manager and in the translation box put a single space. You can change it back any time you want.

But RedTyger .... :erm:

This is not really a clean Solution for this. Why not using Grouprights for this?

And in yours Solution - i have it again for everyone if i only want a few Groups to see them.

RedTyger 12-04-2007 12:48 PM

Quote:

Originally Posted by jgommel (Post 1394657)
I'm having a duplication issue as well, but mine might be a bit different. I've installed v4.01 on a fresh vBulletin install. I've made no template edits for vB Ad Management - using automatic template placement.

(see images to follow along with my example)

My duplication issue is within the forumbit. When I have an ad on forum 2 (Upcoming Events), and then try to place the same ad in forum 61 (Woodsball Tactics & Strategy), the ad in forum 2 displays as it should, but duplication occurs on forum 61.

The duplication seems to occur when the ad appears in separate categories (Talk Paintball vs. Woodsball Specific Forums). So if I move the the second ad from forum 61 to forum 8 (Off Topic Discussion) so that both ads appear under the Talk Paintball category, everything is fine. I've tried to move the ad around to different forums and each time I get duplicate ads.

Could you file it as a bug please using the link in the AdminCP...I can't think what would be causing this at the moment but there does seem to be something amiss.

Quote:

Originally Posted by redlabour (Post 1394651)
Thanks that works.

But Archive still not displaying any Ads.

I've had a look at your archive and the header advertisement at least is being inserted fine. The problem appears to be with your adcode.

Quote:

Originally Posted by redlabour (Post 1394661)
But RedTyger .... :erm:

This is not really a clean Solution for this. Why not using Grouprights for this?

And in yours Solution - i have it again for everyone if i only want a few Groups to see them.

Well, turning it on and off is clean. :) It's because using usergroup permissions and so on is inefficient. It was moved to this method because the previous method was not particularly efficient either, and this way it can be set up to do anything you want instead of just on or off. You will have to edit the templates if you want to assign conditionals to the phrase.

jgommel 12-04-2007 01:00 PM

RedTyger, I opened two issues using your bug tool.

TheBlackPoet 12-04-2007 01:06 PM

no i didnt upload the language... can you please tell me what directory i am to load it to?? i put it in the install directory... i didnt mess with the file or anything, (wasnt sure about that).. but still the same issue..


All times are GMT. The time now is 02:14 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.02727 seconds
  • Memory Usage 1,768KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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