#1 (permalink)  
Old 29.06.2009, 07:49
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
Portal, Banner in Mitte nach jeder 3. News
Ich nutze GAB Banner

Wie bekomme ich es hin, dass ich im Portal, in der Mitte, nach z.B. jeder 3. News ein Banner einblenden lassen kann?

besten Dank
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *

Last edited by MotMann : 29.06.2009 at 10:15.
Reply With Quote
  #2 (permalink)  
Old 29.06.2009, 10:34
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Durch eine entsprechende Änderung des Portal_newsbit Templates und der PHP Datei des Moduls für eine entsprechende Bedingung.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #3 (permalink)  
Old 29.06.2009, 10:36
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
Und wie? Fand bisher hier im Forum nichts darüber.


Danke :-)
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *
Reply With Quote
  #4 (permalink)  
Old 29.06.2009, 11:27
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Ich kenne das Addon nicht deswegen kann ich dazu nicht viel sagen.

In die PHP Datei muss, sowas in der Art:

PHP Code:
$s++;
$vbcms_global['showbanner'] = false;
if (
$s == 3)
{
    
$vbcms_global['showbanner'] = true;
    
$s 0;

und in das Template dann:

Code:
<if condition="$vbcms_global['showbanner']">
    Banner
</if>
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #5 (permalink)  
Old 29.06.2009, 11:39
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
In der php Datei, damit meinst du die Newsdatei?
Oder muss ich eine extra erstellen...
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *
Reply With Quote
  #6 (permalink)  
Old 29.06.2009, 11:58
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
vbcmsmodul_news.php ist die Datei und innerhalb der Schleife muss das rein.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #7 (permalink)  
Old 29.06.2009, 12:07
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
Geht das nicht anders?
Wenn irgendwann die Datei zwecks Update ausgetauscht wird, habe ich das bestimmt vergessen, wo ich da wie was verändert habe...
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *
Reply With Quote
  #8 (permalink)  
Old 29.06.2009, 12:11
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Steht ja hier ... . Du solltest auch Updaten die Version, die du einsetzt, enthält Sicherheitslücken.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #9 (permalink)  
Old 30.06.2009, 09:25
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
Quote:
Originally Posted by Christian View Post
Steht ja hier ... .

Wo steht was?

Und wo würde der Text in der php rein kommen, also ab welcher Zeile?
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *
Reply With Quote
  #10 (permalink)  
Old 30.06.2009, 09:36
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Quote:
Originally Posted by MotMann View Post

Und wo würde der Text in der php rein kommen, also ab welcher Zeile?

Direkt nach:

Code:
while($news_row = $this->db->fetch_array($news_res))
{
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #11 (permalink)  
Old 30.06.2009, 10:05
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
Quote:
Originally Posted by Christian View Post
und in das Template dann:

Code:
<if condition="$vbcms_global['showbanner']">
    Banner
</if>

Das habe ich nach

<tr valign="top">

eingefügt... ok?
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *
Reply With Quote
  #12 (permalink)  
Old 30.06.2009, 10:51
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Was genau hast du da eingefügt?
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #13 (permalink)  
Old 30.06.2009, 10:59
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
Das hier:

PHP Code:
<if condition="$vbcms_global['showbanner']">
<
center><div style="width:468px;">
$GAB_ads[4]
</
div></center>
<
br /> 
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *
Reply With Quote
  #14 (permalink)  
Old 30.06.2009, 11:04
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Ne ist dann falsch, da nach <tr> immer erst ein <td> folgen muss.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #15 (permalink)  
Old 30.06.2009, 11:09
MotMann's Avatar
vbdesigns Guru
 
Join Date: 03.2006
Location: Berlin
Age: 49
Posts: 667
Rep Power: 7
MotMann is on a distinguished road
Also wonach wäre es das Beste?
__________________
Software: vB 3.8.1 * Style: Cyberhype, Tribe * Ansicht: Neues vB *
Reply With Quote
Reply

Lesezeichen

Thread Tools
Display Modes

Posting Rules
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist On.
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auf jeder Seite andere Module anzeigen Surviver vBCMS® Tutorials 24 28.09.2009 14:36
Portal Farben nach Style installation WeserInfo Style- & Web Template Support 26 19.04.2009 14:24
Nach Foren update Portal verschwunden mongobart vBCMS® Fragen 2 11.07.2008 13:12
Nach Serverupdate kein Portal mehr ... Jack Bauer vBCMS® Fragen 2 28.07.2007 00:06
Wie kriege ich denn Banner in die Mitte ? RuFFy91 Allg. vB Support 6 06.05.2006 17:09


Copyright © 2006, Reuter & Bloeß GbR.
| Datenschutz | Sitemap | Unsere Partner | Top |
Home Products Forum Über uns Support & FAQs
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Tipp: Fussball | Heilerde
Shopsystem, Shop System, CMS, Webkatalog mit vBCMS CMS