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)

karim004 08-18-2008 05:30 PM

Quote:

Originally Posted by shahryar_neo (Post 1600688)
i have a problem with the advertisment in vbulletin :

as you can see on this screen shot my advertisment banner doesn't in front of the forum's logo and i want to put this in front of the logo . and this is my now header code :

Code:

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

<!-- content table -->
$spacer_open
$_phpinclude_output

what can i do ? is this related to the place of the header_advertisment location ?

...

Thanks

try this . go to admincp , style manager , your style , template header and use this code :
Code:

<!-- 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]"><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

then go to style manager , your style , Ad Location Templates , ad_headerEnd and delete
<center> & </center>

karim004 08-18-2008 05:40 PM

Quote:

Originally Posted by RobbieZ (Post 1599869)
Sorry Karim..

You want me to add the original code back to FORUMHOME

AND .. put that extra code in navbar ?? Umm.. Where abouts.?

Plus im having problems with the autorefresh.. As in I cant turn it off.. where as your previous version, you could!!

hi robbieZ
to display the right&left column in forumhome you should add :
Code:

$ad_leftcolumn_code
below
$navbar
and
$ad_rightcolumn_code
above
$footer

check you forum if everything okay (done !)

if you have prbs with the right column (( display below the whats going on box )) then try this (( forumhome)
Code:

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

2 = above :
$footer
Add:
$ad_rightcolumn_code


NTT 08-19-2008 01:02 AM

is this worlk for vb.3.72 ? Thank

shahryar_neo 08-19-2008 07:45 AM

Quote:

Originally Posted by karim004 (Post 1601616)
try this . go to admincp , style manager , your style , template header and use this code :
Code:

<!-- 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]"><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

then go to style manager , your style , Ad Location Templates , ad_headerEnd and delete
<center> & </center>

thanks a lot karim . but our language is persian and i have to swap the place of logo and header ( logo goes left and banner goes right exactly opposite now ! ) what can i do ?

Thanks

Digz29 08-19-2008 08:24 AM

I left the "Do NOT display advertisements for scripts:" field BLANK and the header and footer ads won't display for unregistered guests... Any advice? the rest of the ads work fine.

Mecho 08-19-2008 09:46 AM

Quote:

Originally Posted by karim004 (Post 1599515)
fix what ? the maximum user postcount works and it s a option for postbit , postbit_legacy , pms and announcement .
you can request this option in version 2.6 !


as i tested it is not working !

jredrum 08-19-2008 12:30 PM

Ok, I have seen the post about adsense not working. I have mine working...kinda.

It shows up in the postbit, but not correctly in the header/footer.

This is what I get in both the header and footer.

Code:

created 5/19/08 */ google_ad_slot = "4491505720"; google_ad_width = 728; google_ad_height = 90; //-->
Anyone else have this problem?

jnieuwint 08-20-2008 06:31 AM

A few issues:
- The width and height of the Iframes used in the autorefresh ads is hardcoded in the installation XML. It would be better if you are able to set this in the vBulletin options.
- I frequently got "headers could not be sent" errors which I fixed by moving the javascript from the top of the autorefresh pages to the the [html] [head] section.

It works great now but it's the finishing touch to a great mod.

ByB 08-20-2008 11:08 PM

Hi

I have uploaded the 4 folder created a "your style" and edited and saved the templates in the Style Manager.
Enabled the Advertisement System (Header & Footer) in Forum and set up the banner rotation to

<a href="http://www.havetrampolin.dk"><img src="http://www.agrofora.com/fora/banner1.gif">|
<a href="http://www.havetrampolin.dk"><img src="http://www.agrofora.com/fora/banner2.gif">|
<a href="http://www.havetrampolin.dk"><img src="http://www.agrofora.com/fora/banner3.gif">|

But nothing shows on my website?
Can you please guide me

It's working now. Just had to open "My style on the home page"

Byb

Subah 08-21-2008 05:05 AM

Quote:

Originally Posted by Subah (Post 1587807)
I enable Forumbit Threadbit option but there is no change ?
everything else work fine

Quote:

Originally Posted by karim004 (Post 1598758)
what problem ?

and there is new problem the first user how add a threads when i click on his nick there is no colom apper ? like send PM and see profile ...etc , but any other user in the same theard who add a post the colom apper normally ?!!

shahryar_neo 08-23-2008 07:34 AM

Quote:

Originally Posted by shahryar_neo (Post 1602142)
thanks a lot karim . but our language is persian and i have to swap the place of logo and header ( logo goes left and banner goes right exactly opposite now ! ) what can i do ?

Thanks

is there anybody here ? :confused:

cmedic101 08-24-2008 12:43 PM

Thank you Karim!

This mod works well! but you need to take the time and read the posts if you want it to work properly.

cmedic101

PossumX 08-26-2008 12:51 AM

This has been asked many times, and is quite important for anyone running vBAdvanced CMPS.

Please advise as to the proper integration steps, for at least the navbar, header & footer.

karim004 08-26-2008 12:32 PM

Quote:

Originally Posted by PossumX (Post 1606990)
This has been asked many times, and is quite important for anyone running vBAdvanced CMPS.

Please advise as to the proper integration steps, for at least the navbar, header & footer.

vbadvanced and vbulletin use same : header , navbar & footer so you dont need a integration .

karim004 08-26-2008 12:50 PM

Quote:

Originally Posted by shahryar_neo (Post 1604996)
is there anybody here ? :confused:

persian and arabic
Code:

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

<td align="$stylevar[right]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

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

<!-- content table -->
$spacer_open

$_phpinclude_output


PossumX 08-26-2008 10:39 PM

Quote:

Originally Posted by karim004 (Post 1607326)
vbadvanced and vbulletin use same : header , navbar & footer so you dont need a integration .

This I know. The opportunity is that the navbar placement does not show on the vBadvanced home page, yet it shows on all other vBulletin pages.

Suggestions?

Digz29 08-27-2008 12:51 AM

Quote:

Originally Posted by Digz29 (Post 1602155)
I left the "Do NOT display advertisements for scripts:" field BLANK and the header and footer ads won't display for unregistered guests... Any advice? the rest of the ads work fine.

Ideas anyone? Is this a bug in the mod or in my template? Suggestions? Solutions? Advice?

karim004 08-27-2008 12:34 PM

Quote:

Originally Posted by Digz29 (Post 1607814)
Ideas anyone? Is this a bug in the mod or in my template? Suggestions? Solutions? Advice?

go to admincp , vbulletin options , Advertisement System (Header & Footer)
and leave : Display Header , Footer & Affliates advertisements to Usergroups & Do NOT display Header , Footer & Affliates advertisements to Usergroups: blank to display the advertisements to everyone

Digz29 08-27-2008 01:00 PM

Quote:

Originally Posted by karim004 (Post 1608173)
go to admincp , vbulletin options , Advertisement System (Header & Footer)
and leave : Display Header , Footer & Affliates advertisements to Usergroups & Do NOT display Header , Footer & Affliates advertisements to Usergroups: blank to display the advertisements to everyone

I left both blank and the ads still don't appear until I log in. Thanks for your help though

karim004 08-27-2008 01:43 PM

Quote:

Originally Posted by Digz29 (Post 1608192)
I left both blank and the ads still don't appear until I log in. Thanks for your help though

maybe you added the code (( $ad_headerEnd & $ad_footerEnd )) betwen :
<if condition="$show['member']">........ ......................</if>

RobbieZ 08-27-2008 09:08 PM

Hi Karim,

Ive got the slideshow working smoothly.. I have a small header on the right. but the slideshow interfere's with this and pushes the header down the page.

Is there anyway to incorporate both the advert system and my small header ?

Thanks..

PossumX 08-27-2008 10:19 PM

Quote:

Originally Posted by karim004 (Post 1607326)
vbadvanced and vbulletin use same : header , navbar & footer so you dont need a integration .


Quote:

Originally Posted by PossumX (Post 1607723)
This I know. The opportunity is that the navbar placement does not show on the vBadvanced home page, yet it shows on all other vBulletin pages.

Suggestions?

Got it figured out.

You must add the Portal Output Global Variable of ad_navbarBelow in order for it to display on the vBA homepage.

Markets Where 08-28-2008 03:41 AM

excellent mods, only there is something wrong, at my forum header show:*** Footer 2 edits : 1= in top add :

http://forums.glassesadvisor.com/index.php

please help.

Digz29 08-28-2008 05:52 AM

Quote:

Originally Posted by karim004 (Post 1608216)
maybe you added the code (( $ad_headerEnd & $ad_footerEnd )) betwen :
<if condition="$show['member']">........ ......................</if>

That code doesn't appear in the header though... where would I find it? BTW my forums are here, take a look.

wouta 08-28-2008 08:38 AM

I have around the 20 banners that i want to rotate every time when the page loads. I want to place the banners on the threadbit , forumbit , postbit and postbit_legacy.

Can this mod do this rotation ? (if it can i dont understand how). Or do i have to use openx or something for the rotation ?

karim004 08-28-2008 01:31 PM

Quote:

Originally Posted by wouta (Post 1608865)
I have around the 20 banners that i want to rotate every time when the page loads. I want to place the banners on the threadbit , forumbit , postbit and postbit_legacy.

Can this mod do this rotation ? (if it can i dont understand how). Or do i have to use openx or something for the rotation ?

you can use rotation in : in header , below navbar , below whats going on , in footer , forumbit , threadbit , pms , announcements , postbit , postbit_legacy , leftcolumn , rightcolumn

just read the first post .

jlew24asu 08-28-2008 02:13 PM

I have a custom style and nothing works properly besides header and footer.. in posts, left and right column do not work. when the right column is checked nothing even shows up. very disappointing.

karim004 08-28-2008 02:22 PM

check your pm
Quote:

Originally Posted by jlew24asu (Post 1609062)
I have a custom style and nothing works properly besides header and footer.. in posts, left and right column do not work. when the right column is checked nothing even shows up. very disappointing.


RobbieZ 08-28-2008 04:08 PM

Quote:

Originally Posted by RobbieZ (Post 1608497)
Hi Karim,

Ive got the slideshow working smoothly.. I have a small header on the right. but the slideshow interfere's with this and pushes the header down the page.

Is there anyway to incorporate both the advert system and my small header ?

Thanks..

Hey Karim.. can u have a look at my problem please.

karim004 08-28-2008 05:03 PM

Quote:

Originally Posted by RobbieZ (Post 1609167)
Hey Karim.. can u have a look at my problem please.

post [or pm me ] your header

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 04:07 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.02250 seconds
  • Memory Usage 1,880KB
  • 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
  • (11)bbcode_code_printable
  • (4)bbcode_html_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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