vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Banner Ads System (https://vborg.vbsupport.ru/showthread.php?t=104432)

darian 02-09-2006 09:39 AM

Hi,

Just installed this now, but have 2 problems.

As you can see from the attachment, the links are missing (they work, but the text is missing), and the add banner button is missing also.

Am running 3.5.3.

Please help.

Thanks!

Shogo 02-09-2006 06:25 PM

Hi

When I try to add banners with a "&", that's not working

Those "&" are usefull for cibleclick and other ads


For this link :
http://***/cibles/banniere/symp.cfm?...anniere_id=***

I have : (not working under Firefox, not tried with IE)
http://***/cibles/banniere/symp.cfm?...anniere_id=***


Every time I modify the banner link, I have a "amp;" coming behind the "&"

How to fix it?

Thx

Puntoboy 02-09-2006 07:08 PM

is it possible to disable this for certain usergroups?

tnguy3n 02-09-2006 07:29 PM

@ Shogo: the hack doesn't support links with parameters atm, but I'll look into when I got time.
@ Puntoboy: you can use conditional in banner template. i.e. <if condition="($bbuserinfo['usergroupid'] != 6) OR ($bbuserinfo['usergroupid'] != 7)">SHOW BANNER ADS</if>

Puntoboy 02-09-2006 07:31 PM

Quote:

Originally Posted by tnguy3n
@ Puntoboy: you can use conditional in banner template. i.e. <if condition="($bbuserinfo['usergroupid'] != 6) OR ($bbuserinfo['usergroupid'] != 7)">SHOW BANNER ADS</if>

how and where do i add this?

CommunityZ 02-10-2006 04:12 AM

Can i paste HTML code into it? Or this just allow local banner?

darian 02-10-2006 12:56 PM

No solution to my problem? Any advice would be appreciated.

adhesive 02-10-2006 02:47 PM

great mod

theodonnells 02-10-2006 04:21 PM

This works like a charm, i use commision junction for my banner ads and this hack works with that.I like it when hacks works first time.......Easy to install and use, just what the doctor ordered.

bashy 02-10-2006 09:25 PM

Installed and working great....

Would it be possible for 1 usergroup (my VIP's) to be able to turn off the banners
should they wish?

If not could i change the guest group to my VIP group?
If so how/where please?

tnguy3n 02-12-2006 09:40 PM

edit the bannerads template, put conditional <if condition="$bbuserinfo['usergroupid'] != VIPUSERGORUPID">SHOW BANNER ADS</if>

bunni 02-13-2006 06:55 AM

Thanks a lot for this hack! I got it working after following all the instructions and reading through the entire thread. This is perfect for me.

xss illz 02-14-2006 12:32 AM

has anyone installed this on a extreamepixel skin??

it doesnt seem to be showing up

can someone help me thanks

inspiration100 02-14-2006 05:18 PM

not showing up for me either. (www.webmastersdatabase.com). Any idea why?
Thanks,
-Joseph

CB88 02-14-2006 09:11 PM

Is it possible to use this with a custom banner code?

inspiration100 02-15-2006 03:53 AM

Thanks, got it working!

nexus851 02-17-2006 08:13 AM

When you goto Vbadvance, and then click on the banner, it doesnt goto the correct link, it gives me a 404 error....

The path must be wrong when it goes to the /index instead of the /forum/index, how do u fix this?

MorrisMcD 02-17-2006 12:00 PM

Quote:

Originally Posted by nexus851
When you goto Vbadvance, and then click on the banner, it doesnt goto the correct link, it gives me a 404 error....


The path must be wrong when it goes to the /index instead of the /forum/index, how do u fix this?


You have to add banner.php to the navbar replacements section under vBa settings

Smiry Kin's 02-18-2006 09:34 PM

got it working easy but the Banner Stats, doesnt work..

Michael Boutros 02-19-2006 02:05 PM

This is because of my extreme n00b skills with the vB ACP, but where can I go to add/edit/delete the banners and to view the stats?

bashy 02-19-2006 02:14 PM

Its about half way down on the left hand side in ADMINCP called banner system

Michael Boutros 02-19-2006 03:33 PM

It's not there for me, I have no idea why, I installed iTrader after this mod and iTrader is showing up.

Michael Boutros 02-19-2006 03:36 PM

I am so dumb, I finally see it. Thanks a lot for your help bashy.

darian 02-20-2006 08:07 AM

Anyone got any idea why my banner system isn't working?

See post https://vborg.vbsupport.ru/showpost....1&postcount=81 for the original post.

Thanks!

bradg 02-20-2006 08:09 PM

Will this hack allow me to only show certain ads in certain forums, or does it work globally? If so, this is exactly what I've been looking for!

Doila 02-20-2006 09:13 PM

Awesome. I love it.

CB88 02-20-2006 09:36 PM

I installed this and everything works well except this:

I had a second navbar directly beneath the first. After installing this the second navbar now displays right underneath the banner...is there a way to get it back under the first navbar?

bradg 02-21-2006 12:31 PM

Just a couple of quick questions- will this allow me to specify different banner ads in specific forums? If I have several that need to display in only one forum, will they rotate on refresh? If yes to both, this is exactly what I need!

Drache 02-22-2006 04:25 PM

How about the performance for this hack? Does it use alot database/server resources? Planing to install it on a very busy site.

one.eg6 02-24-2006 11:11 PM

Someone else asked, and I didn't see it ever answered for him...

On my vBadvanced homepage the banner only shows as a very small dot. Any idea of how to fix this? Has anyone else ran into it?

tnguy3n 02-24-2006 11:43 PM

try using full url to image location, including http://www

one.eg6 02-25-2006 01:24 AM

Quote:

Originally Posted by tnguy3n
try using full url to image location, including http://www

Actually, I am using the full image paths.

one.eg6 02-26-2006 02:04 AM

Quote:

Originally Posted by tnguy3n
try using full url to image location, including http://www

Any other suggestions?

fb_brian 02-28-2006 08:55 PM

Quote:

Originally Posted by Shogo
Hi

When I try to add banners with a "&", that's not working
Those "&" are usefull for cibleclick and other ads

Every time I modify the banner link, I have a "amp;" coming behind the "&"
How to fix it?

Thx

Shogo,
I was able to 'fix' this issue by editing the link in my data tables (bannersys_banners) using phpmyadmin.
It doesn't really fix the issue, but it at least lets me serve up the ads properly.

Brian

SysRq 03-01-2006 08:24 PM

Installed this today on 3.5.4, works great. If only there was support for flash ads though. Also, is there a reason this won't work on my cmps homepage? In the source it just shows up as
Code:

<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">

<tr>

        <td><a href="banner.php?do=redirect&bannerid=" target="_blank""><img src="" width="" height="" border="0"></a></td>

</td>

</table>

Instead of a real banner.

tnguy3n 03-02-2006 12:37 AM

You can use conditional in bannerads template to not display the ads in cmps portal.
HTML Code:

<if condition="THIS_SCRIPT != 'your_cmps_script_name'">other banner codes</if>

SysRq 03-02-2006 12:46 AM

I DO want the ads on my cmps portal, the problem is they aren't working. VB 3.5.4.

MXjunk127 03-02-2006 06:56 AM

Ok, so I edited the global_start hook with the suggested edit and I got a DB error, replaced the code with this to link to the right table, it works, however, I cannot get the $bannerads to show in my templates.... Any ideas?

Code:

// Banner Ads System by tnguy3n
if($vbulletin->options['bannersys_mode'])
{
    $getads = $vbulletin->db->query_read("vb3_forum"

bannersys_banners WHERE status = '1' ORDER BY RAND() LIMIT 1");
    $ads = $vbulletin->db->fetch_array($getads);

    // print banner ads
    eval('$bannerads = "' . fetch_template('bannerads') . '";');

    $vbulletin->db->free_result($getads);
    unset($getads);
}

Also placed this in my forumhome template and it doesnt show...any ideas?

Code:

</head>
<body>
$header
$navbar
$bannerads
<!-- main -->


I am sure it is right under my nose, I am just dead tired.... :rolleyes: :disappointed: :nervous:

bashy 03-02-2006 04:57 PM

Hi tnguy3n
Bet ya getting fed up with me :p

Anyway, I have had this installed for quite sometime now
and i have just noticed that it says $bannerads in my forum

Why would this be showing please?

one.eg6 03-03-2006 08:13 PM

Quote:

Originally Posted by SysRq
I DO want the ads on my cmps portal, the problem is they aren't working. VB 3.5.4.

or 3.5.3


All times are GMT. The time now is 09:24 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.01587 seconds
  • Memory Usage 1,814KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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