The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Advertising Banner System (http://www.thevbgeek.com/forumdisplay.php?f=28)
-   -   Strange.. (http://www.thevbgeek.com/showthread.php?t=4434)

smooth-c 06-29-2008 05:37 PM

Strange..
 
Not sure where it has gone but earlier there was a banner below the navbar that said "Example of HTML Advertisment" or something similar and had blue bars above and below it with a button to turn advertisments off.

Where has this gone, and more importantly - how can I get this on my board with my installation of GAB?

Thanks,

Greg

Morgan 06-29-2008 08:01 PM

Refresh this page until you see it. It is a HTML banner with the following HTML, using the GAB_item_html template, and having Wrapper set to yes in the billboard:
Code:

<strong>This is an HTML <a href="#">example</a>. Isn't it just wonderful?!?!</strong>

smooth-c 06-29-2008 10:20 PM

Can I do this with adsense?

Thank you for your help and reply btw. :)

smooth-c 06-29-2008 11:00 PM

http://www.maximum-jackson.com/discussion/?styleid=16

Doesn't work at all.

Morgan 07-01-2008 04:45 PM

"This is an HTML example. Isn't it just wonderful?!?!" appears on that page, and yes, you can enter Gogole AdSense or any other text you want for an HTML banner.

smooth-c 07-13-2008 09:45 PM

Yeh, what I wanted to know was how I could display exactly what you have with the blue bars, what html code would it be for that?

I'd be very greatfull if you could help.

Thank you.

Morgan 07-14-2008 05:37 PM

There is a wrapper option under billboards in the ACP, and if set to no, then the ads appear without the GAB border.

smooth-c 07-15-2008 02:57 PM

Hello again, sorry to be a bother.

I have 3 ads displayed on the board index for guests, and the "Learn how to remove this ad" linked to the registration page - is there a way, for just members for the link to be changed so it links them somewhere else?

As I have a donation mod which i'd like to link regular members to, to entice them to subscribe to the group that wouldn't have ads as a guest clicking the link would be a bit pointless when they're not a member in the first place.

Does this make sense?

I basically want to know if there's a way to change the link depending on the usergroup.

Greg

Morgan 07-15-2008 08:30 PM

Use a template conditional in the GAB_wrapper_standard template.

From:
Code:

<a href="$GAB_settings[url_turn_off_ads]" target="_blank">$vbphrase[GAB_learn_how_to_remove_ads]</a>
To:
Code:

<if condition="$show[member]">
        <a href="Link Here" target="_blank">Text Here</a>
<else />
        <a href="$GAB_settings[url_turn_off_ads]" target="_blank">$vbphrase[GAB_learn_how_to_remove_ads]</a>
</if>


smooth-c 07-15-2008 09:34 PM

I've just tried this with one of my skins

The "URL for users to learn how to turn off ads" option within the admincp is set to

http://www.maximum-jackson.com/discussion

This is what I replaced with the original code;

Code:

                                <if condition="$show[member]">
        <a href="http://www.maximum-jackson.com" target="_blank">This is what a member see's.</a>
<else />
        <a href="$GAB_settings[url_turn_off_ads]" target="_blank">$vbphrase[GAB_learn_how_to_remove_ads]</a>
</if>

It still shows the same link and the same text for guests/non signed in members and members.

Is there anything I could be doing wrong?

This is the skin.

http://www.maximum-jackson.com/discussion/?styleid=10

Thank you again :)


All times are GMT. The time now is 03:33 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.