vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Advertisement System V2.6 Aka Ad Management (https://vborg.vbsupport.ru/showthread.php?t=179083)

gullim 07-02-2008 12:17 PM

@ RedGTiVR6
I installed the Mod and configured it like here: https://vborg.vbsupport.ru/showpost....69&postcount=2
I haven't changed any templates. There is no error-message, it's like the mod isn't installed!

I added $ad_headerEnd to the header template, then the Ads are correctly displayed (not in the correct position, but are displayed!) So I think, the automatic template change doesn't work?!

Here is my header-template:

Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

<td align="$stylevar[left]"><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 />&nbsp;</if>
</td>

</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

karim004 07-02-2008 03:31 PM

hi ,
* 2 ads in header ! means you enabled the simple rotation and the auto refresh and i said you must use just one so go to admincp , vbulletin options , advertisement system {header & footer }} and make sure one of (( ad rotation & auto refresh )) is disabled .
gullim
thx for your reply . in v2.3 i changed 5 templates : ad_header_end , ad_header_logo , ad_navbar_below , ad_footer_start and ad_footer_end to fix 2 bugs :
1= in previous version ((1.0........to 2.2 )) if you uninstall this mod you can delete the 5 default templates and to restore them you must run the upgrade.php?step=4
2= if you upgarde your forum you have to re-import the product again !
thats why i created new templates to fix those 2 bugs .
for your question about the auto insert no

to center the ads just go to style manager , your style , ad_whatever and put the code betwen <center> and </center> .

i will post v2.4 this week with this new features :
* vb 3.7.x : give the abilitity to your members to add there ad or banner in memberinfo , group and album (( they can do control this via usercp ))
* ad a square ad {{ large 336/280 ,medium 300,225 ............ }} in left or right side in postbit , postbit_legacy , pms , announcement
* adsense sharing .

gullim 07-02-2008 03:47 PM

Hi,
Thank you for your answer, i added $ad_headerEnd to my header.tpl like this:

Quote:

<tr>

<td align="$stylevar[left]"><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">
$ad_headerEnd
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> &nbsp;</if>

</td>


</tr>
</table>
but the ads aren't correct justified to the right side. Any idea what can I do :)?

karim004 07-02-2008 03:58 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1563144)
also, specifically where should the ads show up when you put them in the forumbit?

I've added the code and it doesn't show up any where that I can tell, but I could be looking in the wrong spot.

Another question: is there no way to add an adspot after the first post in a thread?

hi RedGTiVR6
when you add the code make sure you put the forumsid with which you want to display the random advertisements, separated by | example : 1 | 15 | 40 ...........
for your 2nd question yes you have this option in Advertisement System (postbit ))

Dr baker :
for the copyrith go to plugin manager , and edit Advertisement System - Ads in Header & Footer ! or wait i am gotta fix this in v2.4

for your question about ad_footerEnd and ad_footerStart edit template footer
tazzarkin
yes works with vbadvanced .

karim004 07-02-2008 04:04 PM

Quote:

Originally Posted by gullim (Post 1564958)
Hi,
Thank you for your answer, i added $ad_headerEnd to my header.tpl like this:



but the ads aren't correct justified to the right side. Any idea what can I do :)?

try this code
Code:

<td align="$stylevar[right]"><if condition="$ad_headerEnd">$ad_headerEnd<else />&nbsp;</if>
<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>


gullim 07-02-2008 04:28 PM

Sorry, the Ad is displayed in the center and the Board-Logo isn't displayed :(

My header.tpl

Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

<td align="$stylevar[left]"><if condition="$ad_headerEnd">$ad_headerEnd<else />&nbsp;</if>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>

</td>

</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

karim004 07-02-2008 04:38 PM

Quote:

Originally Posted by gullim (Post 1565002)
Sorry, the Ad is displayed in the center and the Board-Logo isn't displayed :(

My header.tpl

sorry i made a mistake try this
Code:

<td align="$stylevar[right]"><if condition="$ad_headerEnd">$ad_headerEnd<else />&nbsp;</if>
<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>


gullim 07-02-2008 05:45 PM

sorry, i didn't work :(

problem is the same: Ad is in center and the board-logo isn't there

Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

<td align="$stylevar[right]"><if condition="$ad_headerEnd">$ad_headerEnd<else />&nbsp;</if>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>

</td>

</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

RedGTiVR6 07-02-2008 06:44 PM

thanks for the responses!

just one more issue left...I've added code for the left and right side columns, but they never show up. Any ideas why? I've tried messing with the settings, but I can't find a configuration that works for some reason.

Can anyone else get the side columns to show up?

imported_FreDy 07-02-2008 11:16 PM

I've got problems with this mod... the problem is that the footer ads don't show.

Is neccesary to activate the footer refresh? I think that the problems is there, if I activate the footer refresh seems that the ad would be there but it doesn't appear (there's space for it) and a error message:

Quote:

Unable to add cookies, header already sent.
File: /home/xxx/public_html/xxx2/autorefresh_footer.php
Line: 1
But if I don't activate the footer refresh the space for the ad dissapear and no error message appear. I really don't need the ad refresh...


All times are GMT. The time now is 11:02 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.01420 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)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
  • (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