vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Getting a banner above a forum subsection! (https://vborg.vbsupport.ru/showthread.php?t=224473)

dr nick 10-03-2009 12:08 PM

Getting a banner above a forum subsection!
 
I am looking for a mod or help for in a easy way ad a banner above a forum.

I have serched the mod section but havnt found something that could work?

Here is a screendump in how a mean:
https://vborg.vbsupport.ru/external/2009/10/12.gif

Speysider 10-03-2009 12:47 PM

That is not a banner, but an ad, which is appearing because someone paid for Google AdSense Integration into vB.

Djburn 10-03-2009 01:00 PM

You can use a modification called VB Ad management,

https://vborg.vbsupport.ru/showthrea...=advertisement

have a look at this and see if that apeals to you,

dr nick 10-03-2009 01:23 PM

Quote:

Originally Posted by Speysider (Post 1894167)
That is not a banner, but an ad, which is appearing because someone paid for Google AdSense Integration into vB.

No its not,I put it there but i cant do the same with my new style.

--------------- Added [DATE]1254579923[/DATE] at [TIME]1254579923[/TIME] ---------------

Quote:

Originally Posted by Djburn (Post 1894169)
You can use a modification called VB Ad management,

https://vborg.vbsupport.ru/showthrea...=advertisement

have a look at this and see if that apeals to you,

I have thatone installed but i dont know how to use it and get it to but a banner above a sertain forum?

I have the Forum ad management installed but how doses it work?

Djburn 10-03-2009 01:33 PM

Try checking other ad modifications,

if this is not possible you can manually edit the Forumhome template bit

put your ad code above

Code:

$forumbits
So it looks like this

Code:


<-- Mycode here -->>

<!-- main -->
$forumbits
<div class="mfr"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>


dr nick 10-03-2009 01:37 PM

Quote:

Originally Posted by Djburn (Post 1894178)
Try checking other ad modifications,

if this is not possible you can manually edit the Forumhome template bit

put your ad code above

Code:

$forumbits
So it looks like this

Code:


<-- Mycode here -->>

<!-- main -->
$forumbits
<div class="mfr"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>


I dont know how to do that?

The banner is on my server and it should link to a sertain site.

Speysider 10-03-2009 01:37 PM

Quote:

Originally Posted by dr nick (Post 1894175)
No its not,I put it there but i cant do the same with my new style.

--------------- Added 03 Oct 2009 at 15:25 ---------------



I have thatone installed but i dont know how to use it and get it to but a banner above a sertain forum?

I have the Forum ad management installed but how doses it work?

Erm, you firstly state that it's not an ad, but then say, yes it's an ad? Make up your mind. Is it or not?

dr nick 10-03-2009 01:38 PM

Quote:

Originally Posted by Speysider (Post 1894181)
Erm, you firstly state that it's not an ad, but then say, yes it's an ad? Make up your mind. Is it or not?

It is a banner ad but not a google adsense ad,its just a picture banner.

Speysider 10-03-2009 01:40 PM

vB ad management is jut the same as Google Adsense.

Djburn 10-03-2009 01:42 PM

Quote:

Originally Posted by dr nick (Post 1894180)
I dont know how to do that?

The banner is on my server and it should link to a sertain site.


ok to place that image go into your styles and templates find forumhome template bit on your style that you are using

next open it and edit.

il post you an example


Code:


<!-- image ad code -->
<a href="http://url-to-website-location.com"><img src="http://url-to-image.com/imagefile.gif"></a>
<!-- Image ad code -->

<!-- main -->
$forumbits
<div class="mfr"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>

so you will be placing an image with link on the image where you want it

code to edit is

Code:


<a href="http://url-to-website-location.com"><img src="http://url-to-image.com/imagefile.gif"></a>


dr nick 10-03-2009 02:01 PM

Quote:

Originally Posted by Djburn (Post 1894187)
ok to place that image go into your styles and templates find forumhome template bit on your style that you are using

next open it and edit.

il post you an example


Code:


<!-- image ad code -->
<a href="http://url-to-website-location.com"><img src="http://url-to-image.com/imagefile.gif"></a>
<!-- Image ad code -->

<!-- main -->
$forumbits
<div class="mfr"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>

so you will be placing an image with link on the image where you want it

code to edit is

Code:


<a href="http://url-to-website-location.com"><img src="http://url-to-image.com/imagefile.gif"></a>


Were do i choice in wich forum i am going to place the banner?

--------------- Added [DATE]1254582279[/DATE] at [TIME]1254582279[/TIME] ---------------

Quote:

Originally Posted by Speysider (Post 1894185)
vB ad management is jut the same as Google Adsense.

Ok but what is the code i should use in that modd and were should i put it?

Speysider 10-03-2009 02:08 PM

Djburn just told you.

dr nick 10-04-2009 09:14 AM

I think I need to specify what i need to be able to do:

I need to be able to ad one banner with a link to a sertain forum ex nr 10 and another banner with a link (not the same banner as in forum 10) to ex forum 25 etc.

I can do this with a code modd but it dosnt work with my newest style so i would need help with this.
Is it possible to do this with "Forum ad management"?
Or will it be the same banner in every forums with that modd?

Djburn 10-04-2009 11:41 AM

I have fixed the error that dr nick had problems with and is know working fine,

*Problem Solved with a smile :)

dr nick 10-04-2009 12:19 PM

Quote:

Originally Posted by Djburn (Post 1894594)
I have fixed the error that dr nick had problems with and is know working fine,

*Problem Solved with a smile :)

Great help and i am very thankfull!
Couldnt get bether help!


All times are GMT. The time now is 05:03 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.01140 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
  • (8)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete