Pagina 1 van 1
Banner op je Forum
Geplaatst: 11 jun 2010, 15:18
door djhelpnl
Hallo luitjes,
Ik wil graag dat onderaan mijn website (forum) een banner komt van een webshop.
Hoe kan ik dit toepassen?
en kan dit dan ook bij elk forum topic?
Groeten,
Bram
Re: Banner op je Forum
Geplaatst: 11 jun 2010, 16:28
door Jeroen
Als je wilt dat een bepaalde afbeelding/banner op iedere pagina onderaan zichtbaar is, moet je in het bestand
/styles/<jouwstyle>/template/overall_footer.html
zijn. Dat is de "onderkant" van iedere pagina.
Daar zou je de code van de banner naar wens neer kunnen zetten.
Verplaatst van 3.0 Support
- Pietje
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 20:45
door djhelpnl
En waar moet ik die "code" dan plaatsen?
Dit staat in dat bestand:
Code: Selecteer alles
{L_INDEX}
class="icon-unsubscribe"class="icon-subscribe">{S_WATCH_FORUM_TITLE}
class="icon-unsubscribe"class="icon-subscribe">{L_WATCH_TOPIC}
{L_BOOKMARK_TOPIC}
{L_BUMP_TOPIC}
{L_THE_TEAM} • {L_DELETE_COOKIES} • {S_TIMEZONE}
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
{TRANSLATION_INFO}
{DEBUG_OUTPUT}
{L_ACP}
{RUN_CRON_TASK}
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 20:54
door Kevin
Je moet dat bestand wel met een html editor openen zoals bv notepad++
weet niet waar je deze code vandaan hebt gehaald maar dat is niet zoals het bestand overall_footer.html is geschreven in html.
Waar je het plaatsen moet is afhankelijk van waar je het hem hebben wil.
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 20:56
door djhelpnl
kevin1979 schreef:Je moet dat bestand wel met een html editor openen zoals bv notepad++
weet niet waar je deze code vandaan hebt gehaald maar dat is niet zoals het bestand overall_footer.html is geschreven in html.
Waar je het plaatsen moet is afhankelijk van waar je het hem hebben wil.
Toen ik overall_footer.html opende kwam die tekst er te staan.
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 20:58
door PhilipvD
Klopt, omdat je hem opent in je webbrowser. Open hem met een programma zoals Notepad++ (of als je geen andere editor hebt kan kladblok ook) met je rechtermuisknop > openen met...

Re: Banner op je Forum
Geplaatst: 12 jun 2010, 21:02
door djhelpnl
Nu komt dit:
Code: Selecteer alles
</div>
<div id="page-footer">
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div>
</div>
Ik wil hem gewoon onder mijn forum hebben op elke pagina, zoals op het hoofdforum als in een topic.
Als ik jullie een code stuur, zouden jullie die er dan in kunnen zetten dat hij er onder staat, en dat ik die dan weer in overall_footer.html zet?
(hoe maak ik zo'n code met een aanklikbare banner?
Kan ik dan ook een verticale banner aan de rechte kant of linke kant van het forum plaasten?)
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 22:06
door Jeroen
Post jij de code/afbeelding van je banner hier maar eens, dan kunnen we je (op weg) helpen.
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 22:08
door djhelpnl
Pietje schreef:Post jij de code/afbeelding van je banner hier maar eens, dan kunnen we je (op weg) helpen.
En dan heb ik nog één (dom) vraagje, hoe maak ik die code? (dat hij aanklikbaar is enz.)
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 22:15
door Jeroen
Code: Selecteer alles
<a href="http://www.link.nl"><img src="http://www.afbeelding.nl" /></a>
Waarin
http://www.link.nl
de website is waar je terecht komt als je op de afbeelding klikt, en
http://www.afbeelding.nl
de url naar de afbeelding/banner is.
Die zou je ergens in je overall_footer.html kunnen plaatsen, bijvoorbeeld onder de link naar het beheerderspaneel:
Code: Selecteer alles
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 22:21
door djhelpnl
Code: Selecteer alles
<a href="http://www.discoparadijs.nl"><img src="http://www.djhelp.nl/discoparadijs.png" /></a>
Ik denk dat deze code dan goed is.
Zouden jullie hem in dat bestand willen zetten, en ik wil graag dat hij in het
midden onderaan de pagina komt.
Code: Selecteer alles
</div>
<div id="page-footer">
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div>
</div>
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 22:29
door Kevin
Zoiets dan?
Code: Selecteer alles
</div>
<div id="page-footer">
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF --><br />
<a href="http://www.discoparadijs.nl"><img src="http://www.djhelp.nl/discoparadijs.png" /></a>
</div>
</div>
Is de gehele code uit het bestand overall_footer.html
Na het uploaden dien je nog je buffer te legen en op het tabblad stijlen onder het kopje templates de templates van jouw stijl te vernieuwen om de wijzigingen zichtbaar te maken.
Re: Banner op je Forum
Geplaatst: 12 jun 2010, 22:30
door Jeroen
Code: Selecteer alles
</div>
<div id="page-footer">
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
<br /><br /><a href="http://www.discoparadijs.nl"><img src="http://www.djhelp.nl/discoparadijs.png" /></a>
</div>
</div>
Ik heb hem er nu voor je in gezet, dus onder de beheerderspaneel link. Hij staat dan dus in de copyright div, en die is al gecentreerd dus hoef je dat niet meer apart nog te doen.
Je kan dus de bovenstaande code vervangen met de huidige. Kijk wel even wat en hoe ik het nou precies gedaan heb, want daar leer je van

Re: Banner op je Forum
Geplaatst: 12 jun 2010, 22:33
door Kevin
Die van jou is beter, jij hebt een <br /> (enter) meer dan ik wat zorgt voor een wit regel.

Re: Banner op je Forum
Geplaatst: 13 jun 2010, 10:24
door djhelpnl
Pietje schreef:Code: Selecteer alles
</div>
<div id="page-footer">
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
<br /><br /><a href="http://www.discoparadijs.nl"><img src="http://www.djhelp.nl/discoparadijs.png" /></a>
</div>
</div>
Ik heb hem er nu voor je in gezet, dus onder de beheerderspaneel link. Hij staat dan dus in de copyright div, en die is al gecentreerd dus hoef je dat niet meer apart nog te doen.
Je kan dus de bovenstaande code vervangen met de huidige. Kijk wel even wat en hoe ik het nou precies gedaan heb, want daar leer je van

Ik heb deze zojuist gekopiert, en vervangen met het huidige, maar ik zie geen banner, of iets wat veranderd is.
(
http://www.djhelp.nl)
Re: Banner op je Forum
Geplaatst: 13 jun 2010, 10:26
door Jeroen
Na het doen van de wijzigingen in template bestanden moet je altijd de
buffer van je forum legen.
Re: Banner op je Forum
Geplaatst: 13 jun 2010, 10:37
door djhelpnl