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)

sdsvtdriver 08-28-2008 11:38 PM

I can't get any ads to display after x posts. I have all the options set to yes, adsense code in place in the box, no usergroups excluded. Is there a template edit that I should verify exists?

sdsvtdriver 08-29-2008 03:48 PM

Quote:

Originally Posted by sdsvtdriver (Post 1609454)
I can't get any ads to display after x posts. I have all the options set to yes, adsense code in place in the box, no usergroups excluded. Is there a template edit that I should verify exists?

missed the postbit edit. working now.

nabil_kadimi 08-29-2008 09:06 PM

This modification will generate many many many html errors!
HTML Code:

*** FORUMHOME 2 edits :
1 = Below
$navbar
Add
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
$ad_leftcolumn_code

so I guess it should be

HTML Code:

*** FORUMHOME 2 edits :
1 = Below
$navbar
Add
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td valign="top">$ad_leftcolumn_code</td>
  </tr>
</table>





Thanks again for the mod!

karim004 08-30-2008 03:35 PM

Quote:

Originally Posted by nabil_kadimi (Post 1610168)
This modification will generate many many many html errors!
HTML Code:

*** FORUMHOME 2 edits :
1 = Below
$navbar
Add
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
$ad_leftcolumn_code

so I guess it should be

HTML Code:

*** FORUMHOME 2 edits :
1 = Below
$navbar
Add
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td valign="top">$ad_leftcolumn_code</td>
  </tr>
</table>





Thanks again for the mod!

nop ! you can add the table code just if you have prb with the rightcolumn (( display below whats going on )) and the $ad_leftcolumn_code it s the code to display left column

funinthesun 08-30-2008 04:48 PM

How do I link to a .swf banner advert?

karim004 08-30-2008 11:07 PM

Quote:

Originally Posted by funinthesun (Post 1610683)
How do I link to a .swf banner advert?

embed the swf with html code
Code:

<object width="width edit me " height=" height edit me">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="width edit me" height="height edit me">
</embed>
</object>


RobbieZ 08-30-2008 11:30 PM

Hey Karim.. I PM'd you my URL.. but didnt understand the 'Codes' you wanted..

Can you please explain..

Thankyou

karim004 08-31-2008 02:01 AM

Quote:

Originally Posted by RobbieZ (Post 1610885)
Hey Karim.. I PM'd you my URL.. but didnt understand the 'Codes' you wanted..

Can you please explain..

Thankyou

go to admincp ,style manager , your style , template header then right click select all , copy and paste here

RobbieZ 08-31-2008 08:49 AM

Totally Understand :)

Here you go :-

Code:



<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="right"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a><br></br>&nbsp</td>

<td align="left"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></td>

<center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center>
        <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]
$ad_headerEnd
$welcomeheaders


karim004 08-31-2008 10:22 PM

Quote:

Originally Posted by RobbieZ (Post 1611041)
Totally Understand :)

Here you go :-

Code:



<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="right"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a><br></br>&nbsp</td>

<td align="left"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></td>

<center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center>
        <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]
$ad_headerEnd
$welcomeheaders


try this

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="right"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a><br></br>&nbsp</td>

<td align="left"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></td>
<td align="$stylevar[right]" id="header_right_cell">
<center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center>
       
                <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]
$ad_headerEnd
$welcomeheaders



All times are GMT. The time now is 07:44 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.01738 seconds
  • Memory Usage 1,761KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_html_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