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)

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 11:38 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.08251 seconds
  • Memory Usage 1,766KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)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