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)

redlabour 12-16-2007 09:01 AM

Quote:

Originally Posted by x-land (Post 1402025)
I make update from 4.01 to 4.02 and now dont work in first page next advertisments: "Display advertisement after X post on a page?" and "Display advertisement after last post on a page?" in Postbit section.
Work well in Announcements, Private messages and next pages from thread, only on first page dont apear.

WOW - :D

Here is the next one .... @x-land read my last Postings.

@RedTyger - ;)

grahamsmythe 12-16-2007 09:03 AM

Quote:

Originally Posted by RedTyger (Post 1401430)
PM me an AdminCP login please and I'll have a look.

Hi there RedTyger

I PM'd you an admin log-on and password etc as requested.

Regards

Graham

x-land 12-16-2007 09:21 AM

Quote:

Originally Posted by redlabour (Post 1402034)
WOW - :D

Here is the next one .... @x-land read my last Postings.

I see first and you have similar problem but cant see and solution yet . RedTyger say need and other feedback for this bug ;).
And if use button "Go to last post" dont work advertisment for me.

Tigatoday 12-16-2007 07:18 PM

HI, today I installed this software which worked out fine but I got an error when activating a advertisement. The board works fine when this option is on "NO" in the header & navbar section.

Enable navbar advertisements on your forum?
Choose Yes to enable navbar advertisements on your forum.


But setting it to yes gives me the following warnings upon entering the board:

Code:

Warnung: main() [function.main]: open_basedir restriction in effect. File(/functions_vb_ad_management.php) is not within the allowed path(s): (/var/www/vhosts/xxxx.nl/httpdocs:/tmp) in /includes/vb_ad_management/global_start.php (Zeile 2)

Warnung: main(functions_vb_ad_management.php) [function.main]: failed to open stream: Operation not permitted in /includes/vb_ad_management/global_start.php (Zeile 2)

Warnung: main() [function.include]: Failed opening 'functions_vb_ad_management.php' for inclusion (include_path='.:') in /includes/vb_ad_management/global_start.php (Zeile 2)

Fatal error: Call to undefined function checkadtime() in /var/www/vhosts/xxxx.nl/httpdocs/testforum/includes/vb_ad_management/global_start.php on line 170

I happen to be no code expert so could anybody help me with this?

Thx a lot!
T

lonelime 12-17-2007 04:37 AM

i just installed the hack, and i got blank screen....

after disable the product... everything back to normal ....

jnrdavo 12-17-2007 05:38 AM

hey RedTyger...

I've noticed that I and others haven't seen a reply yet for the blank menu option that we are getting...

I would appreciate if you could give an update, even if it's a "it's a really hard one but I'm working on it. Might take me a couple of months though"...

I'm not getting any replies, so I don't know if I should hang on for an update, or roll back to 3.14....

Not complaining, just trying not to be ignored!

Vinyljunky 12-17-2007 07:32 AM

Dont forget that this is a free mod that took a lot of hours to create. Red Tyger is probabley like most of us in that he has a day job and a familly to fit in around his coding.

Im sure he is working on the issues that we have reported :cool:

VinylJunky

maroceve 12-17-2007 08:40 AM

yes please update us on the blank screen problem when you have a chance.

jnrdavo 12-18-2007 03:43 AM

Quote:

Originally Posted by Vinyljunky (Post 1402690)
Dont forget that this is a free mod that took a lot of hours to create. Red Tyger is probabley like most of us in that he has a day job and a familly to fit in around his coding.

Im sure he is working on the issues that we have reported :cool:

VinylJunky

Not forgotten at all. I am very greatful that he has written a great package, it was working great for me on 3.12... I'm just trying to get 4.02 to work....

Yeah, I know what it's like to have to split the time also. I am running three web forums with over 3,000 members, a lot of policing has to be done to curb the bad language :D, fix up the news etc...

theparentpack 12-18-2007 03:55 AM

I have installed successfully. I have followed the set up instructions up until the editing the templates then I am lost. Of course the ads are not showing on the forums. HELP. This is my first time and I am learning as I go. Thanks!

Tina

leginag 12-19-2007 02:00 AM

The v4 update is great. Just one thing:

I've started using the refresh feature, but I've noticed that doesn't show any ad after the refresh, just the "remove advertisement" part, and then it doesn't continue to refresh.

To clarify, the FIRST time the ad loads, it will show either one of the ads, working correctly, but after it refreshes, it doesn't show any advertisement.

Below is the code I use, minus the url's and number codes.

Code:

<script type="text/javascript"><!--
google_ad_client = "number";
//728x90, forum banner
google_ad_slot = "number";
google_ad_width = 728;
google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> | <a href="url"><img src="url" /></a>


shaynehammy 12-19-2007 04:14 AM

If i want adsense to be displayed in the footer, do i just add the adsense code to Footer Adcode? I'm a little confused how to display adsense in any of these fields.

Sorry to be a pain. All a little confusing

xcesiv 12-19-2007 06:02 AM

I know how to remove the "Remove Advertisement" link, but wat about changing the link location and the name


To remove the link you need to search for the following and delete
Code:

<phrase 1="$vboptions[bburl]">$vbphrase[adintegrate_remove_ads]</phrase>
I want to change the name of the link to say "Click Here to become an Official Sponsor"

And link to a custom Contact us page i want to make

Vinyljunky 12-19-2007 07:14 AM

Quote:

Originally Posted by xcesiv (Post 1404264)
I know how to remove the "Remove Advertisement" link, but wat about changing the link location and the name


To remove the link you need to search for the following and delete
Code:

<phrase 1="$vboptions[bburl]">$vbphrase[adintegrate_remove_ads]</phrase>
I want to change the name of the link to say "Click Here to become an Official Sponsor"

And link to a custom Contact us page i want to make

I left mine with the default text but changed the destination page. The destination page explains that Sponsors dont see any adverts etc...

I changed
PHP Code:

<a href="{1}/register.php">Remove advertisements</a

TO THIS

PHP Code:

<a href="{1}/basic-help/3577-why-should-i-donate.html#post49933">Remove advertisements</a

Seems to work fine :up:

VinylJunky

Vinyljunky 12-19-2007 07:15 AM

Quote:

Originally Posted by shaynehammy (Post 1404212)
If i want adsense to be displayed in the footer, do i just add the adsense code to Footer Adcode? I'm a little confused how to display adsense in any of these fields.

Sorry to be a pain. All a little confusing

Yes

Have a play and see what looks best on your site.

VinylJunky

bhanuprasad1981 12-19-2007 05:47 PM

i am using auto insertion of ads but my postbit ads are not showing up please help :(

Hund 12-19-2007 09:47 PM

Quote:

Originally Posted by leginag (Post 1404134)
The v4 update is great. Just one thing:

I've started using the refresh feature, but I've noticed that doesn't show any ad after the refresh, just the "remove advertisement" part, and then it doesn't continue to refresh.

To clarify, the FIRST time the ad loads, it will show either one of the ads, working correctly, but after it refreshes, it doesn't show any advertisement.

Below is the code I use, minus the url's and number codes.

Code:

<script type="text/javascript"><!--
google_ad_client = "number";
//728x90, forum banner
google_ad_slot = "number";
google_ad_width = 728;
google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> | <a href="url"><img src="url" /></a>


I have the same issue.

dougeetx 12-20-2007 12:07 AM

Getting the following error. Sorry if it's already been discussed. This thread is way to long.

Warning: mt_rand() expects parameter 2 to be long, string given in /includes/vb_ad_management/functions_vb_ad_management.php on line 139

dougeetx 12-20-2007 12:11 AM

Quote:

Originally Posted by Howell (Post 1401550)
I have set the Postbit advertisement refresh function to Disabled and the error has now gone. Worth looking into RedTyger. ;)


Woot!! That did it! That fixed mine, also!!

xcesiv 12-20-2007 07:20 AM

Is it possible to run 2 banners on the top navbar section side by side

johon 12-20-2007 07:48 AM

Quote:

Originally Posted by x-land (Post 1402025)
I make update from 4.01 to 4.02 and now dont work in first page next advertisments: "Display advertisement after X post on a page?" and "Display advertisement after last post on a page?" in Postbit section.
Work well in Announcements, Private messages and next pages from thread, only on first page dont apear.


Same here. 4.02 was my first version to be installed on my forum and I have the same experience: Everything works fine except the Postbit advertisement on the first page of a thread - if there are multiple pages it's ok from the second page up to the end.

Nikke 12-20-2007 09:07 AM

Quote:

Originally Posted by xcesiv (Post 1404264)
I know how to remove the "Remove Advertisement" link, but wat about changing the link location and the name


To remove the link you need to search for the following and delete
Code:

<phrase 1="$vboptions[bburl]">$vbphrase[adintegrate_remove_ads]</phrase>
I want to change the name of the link to say "Click Here to become an Official Sponsor"

And link to a custom Contact us page i want to make

It's a phrase. Search in phares to get it done! :up:

ang2el 12-20-2007 02:40 PM

after upgrading to 4.02 from 4.01 I lost the add after first post..............

And I can'd delete the thread if I select and delete..........

any clues guys?

mhm... 12-20-2007 02:50 PM

Uploading of the languagefile doesn't seem to work. Keep getting the error "Invalid file specified"

Help please!

redlabour 12-20-2007 03:13 PM

Quote:

Originally Posted by ang2el (Post 1405484)
after upgrading to 4.02 from 4.01 I lost the add after first post..............

And I can'd delete the thread if I select and delete..........

any clues guys?

Problem is allready known as a Bug. ;)

ang2el 12-21-2007 01:17 AM

Quote:

Originally Posted by redlabour (Post 1405504)
Problem is allready known as a Bug. ;)

How can that be fixed?

Subah 12-21-2007 08:03 AM

I hope it will work in 3.7 beaucse it great hack :)

blastup 12-22-2007 04:26 AM

is there a way i can remove the "remove advertisement sign.. that comes with the ad? how come that also comes up.. check millionwebmasters.com.. also your ajax refresh dont work on my forum.. it refresh but the other ad just dont show up.. do you have any solution for this?

Forensic 12-22-2007 06:46 AM

Quote:

Originally Posted by blastup (Post 1406611)
is there a way i can remove the "remove advertisement sign.. that comes with the ad? how come that also comes up.. check millionwebmasters.com.. also your ajax refresh dont work on my forum.. it refresh but the other ad just dont show up.. do you have any solution for this?

Just edit the phrase and remove the "remove advertisement" text. It seems to replace itself if you try to remove it as a whole.


One another note. This is a great mod. Easy to navigate and maintain. :up:
Thank you!

tanyeri24 12-23-2007 03:39 AM

Quote:

Originally Posted by Subah (Post 1406016)
I hope it will work in 3.7 beaucse it great hack :)

Not working for me (3.7.x)

imported_silkroad 12-23-2007 03:55 PM

Hello,

On the next release, can you include an option in the registered users CP to view the ads if they want to?

Right now our forums, like most I suspect, don't show for registered users. That's OK. However, some registered users, like me, want to see the ads!

Or, is there a simply way to add this option to the user CP?

Sandy-XXX 12-23-2007 06:33 PM

Conditionals are no working... (click here)


And I would like to show ads in attachment.php, Its possible?

kronnos 12-24-2007 07:49 PM

Ok, one huge question. ( spent the whole day and could not do it:( )
I would like to have 2 leftcolumn ads one under the other. If I paste $leftcolumn_advertisement 2 times in my header template they appear right next to each other and not one under the other like I would want it. I know it would show 2 same ads but I would first like to be able to place them one under the other instead of lined up next to each other pushing the forum out.

Thank You

pnd 12-24-2007 08:42 PM

Quote:

Originally Posted by kronnos (Post 1408582)
Ok, one huge question. ( spent the whole day and could not do it:( )
I would like to have 2 leftcolumn ads one under the other. If I paste $leftcolumn_advertisement 2 times in my header template they appear right next to each other and not one under the other like I would want it. I know it would show 2 same ads but I would first like to be able to place them one under the other instead of lined up next to each other pushing the forum out.

Thank You

try

$leftcolumn_advertisement
<br>
$leftcolumn_advertisement

Robert Paulson 12-24-2007 10:10 PM

I'm using 3.7.8 and am getting:


Quote:

Warning: main(./includes/vb_ad_management/functions_vb_ad_management.php) [function.main]: failed to open stream: No such file or directory in /admincp/vb_ad_management.php on line 12

Warning: main() [function.include]: Failed opening './includes/vb_ad_management/functions_vb_ad_management.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/vb_ad_management.php on line 12
I searched the thread and re-read the installation instructions and I did everything right(seemingly).

Any ideas?

DuitFX 12-25-2007 01:24 AM

hi,

i'm newbie here and confuse to use vb ad management 4.

1. is it possible to add 2 column or more at left column ... or add 2,3 column at right column?
- if possible

a) how to do it and where. What's the steps one by one. i'm very new with vbulletin.

2. is this compatible with ultimate side column ? or i dont need anymore ultimate side column if i use vb ad management ?

i've been looking all over the place still didn't find answer and currently very blur.

Thanks a lot for any answer.

kronnos 12-25-2007 05:41 AM

Quote:

Originally Posted by pnd (Post 1408603)
try

$leftcolumn_advertisement
<br>
$leftcolumn_advertisement

<br> doesnt seem to work. They are still next to each other just not even (the second column is a little lower then first but not under:(

tekguru 12-25-2007 09:27 AM

I use this which works for me:

PHP Code:

<table border=0 align=center>
ADDCODE HERE
</TABLE>
<
br />
<
TABLE BORDER="0" >
ADDCODE HERE
</TABLE>
<
br />
<
TABLE BORDER="0" >
ADDCODE HERE
</TABLE

Works for me

eJM 12-25-2007 04:01 PM

Quote:

Originally Posted by pnd (Post 1408603)
try

$leftcolumn_advertisement
<br>
$leftcolumn_advertisement

With this code, the advertisements you put in the ad code block will appear twice. The idea was to have 2 different ads appear one after the other.

Quote:

Originally Posted by tekguru (Post 1408804)
I use this which works for me:

PHP Code:

<table border=0 align=center>
ADDCODE HERE
</TABLE>
<
br />
<
TABLE BORDER="0" >
ADDCODE HERE
</TABLE>
<
br />
<
TABLE BORDER="0" >
ADDCODE HERE
</TABLE

Works for me

I don't know if that really works, but it certainly is broken code. vBulletin is valid XHTML Transitional. Nothing a hack or style does should break that. The code you posted above does.

If you want 2 different ads to fall in-line vertically, the easiest code to use is this in the ad code block (you don't need to edit the templates):
Code:

[first ad code]
<br />
[second ad code]

If you want 2 different ads to appear in-line horizontally, use this code:
Code:

[first ad code]&nbsp;[second ad code]
If you use rotating ads and still want 2 ads to show at once, place your separator (the default separator is the vertical bar "|") between the sets of double ads - each set consists of a [first ad code] and [second ad code]. It might appear like this for a vertical ad:
Code:

[first ad code]
<br />
[second ad code]|
[first ad code]
<br />
[second ad code]|
[first ad code]
<br />
[second ad code]

That would produce 3 different sets of ads as long as the ad code you used was different for each ad. That doesn't mean you have to have 6 different ads (or however many repeats you make). You can use the same ad code more than once, but have it appear on top in one view and on bottom in the other.

If centering the ads are an issue for you, the easiest solution for that is with this code used for each of the examples above:
Code:

<div align="center">[first ad code]</div>
<div align="center">[second ad code]</div>

Code:

<div align="center">[first ad code]&nbsp;[second ad code]</div>
Code:

<div align="center">[first ad code]</div>
<div align="center">[second ad code]</div>|
<div align="center">[first ad code]</div>
<div align="center">[second ad code]</div>|
<div align="center">[first ad code]</div>
<div align="center">[second ad code]</div>

As you can see, I left out the <br /> in the vertical code. Using DIVs causes an automatic line break similar to using <br />. However, if you find the ads appear to touch each other and that might confuse the user, or be against the TOS of the advertiser, you can add the <br /> after the first set of DIVs:
Code:

<div align="center">[first ad code]</div>
<br />
<div align="center">[second ad code]</div>

All of this code depends a great deal on the code you are supplied by your advertiser. That code may already contain centering or table/div structure. My experience with most advertisers though, is they don't really care if their code is valid and they don't really care about how it affects your users, as long as it gives them an advertisement that someone will click on. I often times find myself having to fix the rendering code of the advertisement or asking the advertiser to do something about the code script that makes page loads slow to a crawl. But of course, that doesn't have anything to do with this particular discussion.

While I'm here: The terminology is ad=advertisement add=mathematic function

Jim
PS: Merry Christmas

tekguru 12-25-2007 04:17 PM

Well yes I know the code posted was a bit iffy as a snippet, but I was trying to show that using <br /> works.

However you recommend using DIV instead of using seperate aligned tables?


All times are GMT. The time now is 09:47 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.03978 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
  • (13)bbcode_code_printable
  • (4)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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