vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Banners & Ads System (https://vborg.vbsupport.ru/showthread.php?t=74621)

nguyenvuan 01-20-2005 03:05 AM

Quote:

Originally Posted by The eyes lover
great hack,but in this picture the banner not come in middle of the page,i don't way !

https://vborg.vbsupport.ru/attachmen...&stc=1&thumb=1

thank you

Here the way :D

Replace banner templates with
Code:

<!-- Banner Rotation by AnhTuanCool -->
<table align="center" border="0">
<div class="smallfont" style="float:left">
        <if condition="$getbanner[type] == 1">
                    <a href="$getbanner[url]" target="_blank"><img src="$getbanner[html]" width="$getbanner[width]" height="$getbanner[height]" alt="$getbanner[title]" border="0" align="center"/></a>
        <else />
                <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="$getbanner[width]" HEIGHT="$getbanner[height]" CODEBASE="http://active.macromedia.com/flash6/cabs/">
                <PARAM NAME="MOVIE" VALUE="$getbanner[html]">
                <PARAM NAME="PLAY" VALUE="true">
                <PARAM NAME="LOOP" VALUE="true">
                <PARAM NAME="QUALITY" VALUE="high">
                <embed src="$getbanner[html]" width="$getbanner[width]" height="60" play="true" loop="true" quality="high" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
                </OBJECT>
        </if>
</div>
</table>
<!-- Banner Rotation by AnhTuanCool -->


lanc3lot 01-20-2005 06:58 PM

Can we have a demo site plz?

There is a "similar" hack like this available, but that one, doesnt work for Netscape or Firefox users..and want to test if yours hack is working ok:)

Excellent hack, hope u add to it some features soon(like stats mostly).

Ps

Its "appear" in all pages or just forum home?
:)

AnhTuanCool 01-20-2005 08:46 PM

It's appeared in all pages because the extra banner template that I added is on the nav bar, and you see your nav everypage ;)

lanc3lot 01-20-2005 11:48 PM

lol:) clever i have to admit:)

Hope someone can show us a demo link, so i can test it with firefox/netscape use:)

AnhTuanCool 01-21-2005 12:11 AM

I guarantee you this hack works on both IE and FireFox, but still unsure about Netscape because I don't have this kind of browser. But technically I can say that it will also work, because I combine both EMBED and OBJECT tag for flash type banner - standard way to make the flash show up in most of the browsers.

If you prefer a demo, check out my site http://yeuamnhac.com/music/ , login is not required.

lanc3lot 01-21-2005 01:09 AM

Damn just tryed to test it with Netscape and i see the following message:

There seems to have been a slight problem with the database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience

I also see that, with my IE:(

Anyway i will give it a try tommorow, its 5 in the morning here, better to sleep little:D


Its a great hack mate, u should feel proud :)

Ps

Any possible stats to be added(i only ask as i am ready to install after i test:D)

AnhTuanCool 01-21-2005 03:22 AM

The server had been overloaded lately, but it's up right now.

Thank you for your appreciation, I will work on the stats as soon as I can. Thanks, :)

lanc3lot 01-21-2005 08:47 AM

Yep just checked, it works fine with Netscape, Firefox and of course IE.

Waiting for the stats addon, to install it:)(u may i think also add in the main page of the hack, the directions to center the "banner" in the pages(i think its in the previous page :P) )


Well done mate, i am curious that this hack didnt got yet at least 4 pages of replies yet...there are not any "adv" hacks available(any good at least :) )

Ps

Can u please release also an uninstall script for this hack? No need really yet, as i havent installed it, but i ask from now on, every hack designer i am intrested, to have it just in case:)

nguyenvuan 01-21-2005 10:42 AM

But it didn't works if you had install Welcome panel :(

@AnhTuanCool: answer my question, please! Thanks

Itworx4me 01-26-2005 04:36 PM

I installed this hack. And it won't display the banner in the Header template. I put the code in the navbar template and it works great. But I don't want to display it there. Any Ideas how to get this to work in the Header template???

Thanks,
Itworx4me


All times are GMT. The time now is 12:39 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.01094 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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