Infobar bei Gaesten v.2.0 + ACP Gesteuert!

Sn00pY
Titel: Infobar bei Gaesten v.2.0 + ACP Gesteuert!
Version: 2.0
Beschreibung: Name:
Infobar bei Gaesten v.2.0

Version:
2.0

Für wBB-Version:
Alle Boardversionen!

Getestet mit:
2.3.4

Beschreibung:
Der Hack ermöglicht es, eine Infobar anzeigen zu lassen für Gäste die nicht eingeloggt oder registriert sind!
+ ACP - Gesteuert!

Support:
www.beziehungs-kiste.net <- Hauptsächlich!

Demo:
Im Anhang, ZIP oder unter www.beziehungs-kiste.net

Copyright:
Das (c) fuer dieses Addon liegt bei mir, Tommy/Sn00py!

Update von 1.0 auf 2.0:
Liegt bei!

Bekannte Fehler:
- Keine

Hinweise:
- Keine
----
Demo: http://www.beziehungs-kiste.net

weiter zum Download
Pow3r
Eingebaut, klappt super!
Overkiller
Kann mir mal einer helfen ?
Das sieht so komisch aus.

Klick

Hab aber alles gemacht wie es da steht
Sn00pY
ist doch richtig oO
ProfJack
Hi,

bei mir wirds auch falsch dargestellt.

Ich habe die Auflösung: 1152*864px.

Es liegt wohl an der Auflösung.

Gruß,
Jakob
Overkiller
Du hast wahrscheinlich den IE oder ?

Ich hab den FiFo

Und in der Anleitung würde ich ne Veränderung vorschlagen.

Zitat:
Suche:
-------------------------------
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>

-------------------------------
Füge DARUNTER EIN:
-------------------------------
<!-- Infobar v.2.0 für Gäste www.beziehungs-kiste.net -->
<if($infobar_status==1 && $infobar!="")><then><if(!$wbbuserdata['userid'])><then><div id="infobar" align="center"><a href="register.php">$infobar</a></div>
</then></if></then></if>
<!-- Infobar v.2.0 für Gäste www.beziehungs-kiste.net -->


So stimmt dan die XHTML 1.0 NORM


EDIT:

@ProfJack

Mit dem IE gehts ja smile
ROBthePRO
bei mir gehts irgend wie nicht da steht dann nur text oben aber is nicht dieser Windows Style wenn ihr wisst wie ich das meine !
Sn00pY
Zitat:
Original von ROBthePRO
bei mir gehts irgend wie nicht da steht dann nur text oben aber is nicht dieser Windows Style wenn ihr wisst wie ich das meine !


nicht gelb hinterlegt?
ROBthePRO
Zitat:
Original von Sn00pY
Zitat:
Original von ROBthePRO
bei mir gehts irgend wie nicht da steht dann nur text oben aber is nicht dieser Windows Style wenn ihr wisst wie ich das meine !


nicht gelb hinterlegt?


kein gelb wie auf dem screen einfach nur normale schrift

habe alles so wie in der anleitung gemacht ich denke mal es hat damit zutun was im designpack CSS code steht zutun
Sn00pY
Zitat:
Original von ROBthePRO
Zitat:
Original von Sn00pY
Zitat:
Original von ROBthePRO
bei mir gehts irgend wie nicht da steht dann nur text oben aber is nicht dieser Windows Style wenn ihr wisst wie ich das meine !


nicht gelb hinterlegt?


kein gelb wie auf dem screen einfach nur normale schrift

habe alles so wie in der anleitung gemacht ich denke mal es hat damit zutun was im designpack CSS code steht zutun



guck ich mir mal an liegt an der css...
ROBthePRO
Mein Weitere Cascading Stylesheets (CSS):

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
.c-line {
background-color: #C0C3C7;
background-image: url(images/reloaded/c-line.gif);
height: 2px;
padding: 0px;
}

.obenmitte {
background-image: url(images/reloaded/obenmitte.gif);
}

.untenmitte {
background-image: url(images/reloaded/untenmitte.gif);
}

.topbuttons { background-image: url(images/reloaded/top_bg.gif);
 }

form {
 padding:0px;
 margin:0px;
}

pre {
 padding:0px;
 margin:0px;
}
.cltitle a:link, .cltitle a:active, .cltitle a:visited { 
text-decoration: line-through; 
} 

.cltitle a:hover { 
text-decoration: none; 
}
TEXTAREA {
background-image: url(images/qTq08971.jpg);

#infobar {
 margin: 0px;
 font: message-box;
  }
 
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
 display: block;
 color: InfoText;
 margin: 0px;
 background: InfoBackground url(images/infobar2.gif) no-repeat fixed .3em .3em;
 padding: .45em 0 .45em 2em;
 border-bottom: 1px outset;
 text-decoration: none;
 cursor: default;
  }
 
 #infobar a:hover {
 color: HighlightText;
 margin: 0px;
 background: Highlight url(images/infobar2.gif) no-repeat fixed .3em .3em;
}
kleiner Muck
Edit:

erledigt
Markus79
Hallo

Ich habe die Infobar auch eingebaut, jedoch wird das infobar.gif im Firefox nicht angezeigt. (Version 1.5.0.7)

Im IE gehts. Ist jetzt nicht so schlimm, aber vielleicht hat jemand noch so einen Fehler wie und weiß, was zu tun ist. Kann ja im Prinzip nur an dem CSS liegen, oder?
sys2064
Also funktionieren tut das ganze ja bei mir nur bin ich etwas unschlüssig ob das soweit korrekt ist denn fast überall hängt das Ding ganz oben Bündig direkt unter der URL Eingabe Liste... bei mir ist da noch Platz und zwar kommt auch noch der Hintergrund obendrüber von dem von mir genutzten Standardstyle PlanetBlue v1.
Ist bei mir eigendlich egal wo ich das in das Headertemplate einbaue.
Kann man da noch irgendwo etwas drehen das ich es auch GANZ nach oben bekomme denn das schaut so nicht wirklich gut aus.

Trotzdem thx für die Nette Erweiterung smile
Sn00pY
poste mal dein header.tpl vom style
sys2064
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
$slide
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
  <tr>
    <td class="mainpage" align="center">
      <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="logobackground" align="right"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
        </tr>
        <tr>
          <td align="left" style="background-image: url({$style['imagefolder']}/header_back.gif);">
            <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
              <tr>
                <td align="left"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a><a href="jgs_portal.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="" /></a><a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/$pmbild" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then><else><a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if><a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a><a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a><a href="ts_index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a><a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a><a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if><a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
                <td align="right"><span class="smallfont">&nbsp;<if($imprint_url != '')><then><a href="{$imprint_url}"><img src="{$style['imagefolder']}/top_impressum.gif" border="0" alt="{$lang->items['LANG_GLOBAL_IMPRINT']}" title="{$lang->items['LANG_GLOBAL_IMPRINT']}" /></a></then><else><if($imprint_text != '')><then><a href="misc.php?action=imprint{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_impressum.gif" border="0" alt="{$lang->items['LANG_GLOBAL_IMPRINT']}" title="{$lang->items['LANG_GLOBAL_IMPRINT']}" /></a></then></if></else></if></span></td>
              </tr>
            </table>
          </td>
        </tr> 
      </table>
      <br />


bitte schön da isser
EleaNor
Hi, Habs auch eingebaut und hab das Gleiche prob wie bei sys2064,
Wäre suppi wenn dafür jemand ne Lösung hätte.. verwirrt großes Grinsen

Thx im Vorraus

Greeezzz

ThunderBird
Sn00pY
ersetz mal mit dies:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
$slide
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
  <tr>
    <td class="mainpage" align="center">
      <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<if($infobar_status==1 && $infobar!="")><then><if(!$wbbuserdata['userid'])><then><div id="infobar" align="center"><a href="register.php">$infobar</a></div>
</then></if></then></if>
        <tr>
          <td class="logobackground" align="right"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
        </tr>
        <tr>
          <td align="left" style="background-image: url({$style['imagefolder']}/header_back.gif);">
            <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
              <tr>
                <td align="left"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a><a href="jgs_portal.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="" /></a><a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/$pmbild" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then><else><a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if><a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a><a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a><a href="ts_index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a><a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a><a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if><a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
                <td align="right"><span class="smallfont">&nbsp;<if($imprint_url != '')><then><a href="{$imprint_url}"><img src="{$style['imagefolder']}/top_impressum.gif" border="0" alt="{$lang->items['LANG_GLOBAL_IMPRINT']}" title="{$lang->items['LANG_GLOBAL_IMPRINT']}" /></a></then><else><if($imprint_text != '')><then><a href="misc.php?action=imprint{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_impressum.gif" border="0" alt="{$lang->items['LANG_GLOBAL_IMPRINT']}" title="{$lang->items['LANG_GLOBAL_IMPRINT']}" /></a></then></if></else></if></span></td>
              </tr>
            </table>
          </td>
        </tr> 
      </table>
      <br />
sys2064
nöh das mag er auch nicht keine Änderung traurig
Sn00pY
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
<if($infobar_status==1 && $infobar!="")><then><if(!$wbbuserdata['userid'])><then><div id="infobar" align="center"><a href="register.php">$infobar</a></div>
</then></if></then></if>
$slide
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
  <tr>
    <td class="mainpage" align="center">
      <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="logobackground" align="right"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
        </tr>
        <tr>
          <td align="left" style="background-image: url({$style['imagefolder']}/header_back.gif);">
            <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
              <tr>
                <td align="left"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a><a href="jgs_portal.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="" /></a><a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/$pmbild" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then><else><a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if><a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a><a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a><a href="ts_index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a><a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a><a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if><a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
                <td align="right"><span class="smallfont">&nbsp;<if($imprint_url != '')><then><a href="{$imprint_url}"><img src="{$style['imagefolder']}/top_impressum.gif" border="0" alt="{$lang->items['LANG_GLOBAL_IMPRINT']}" title="{$lang->items['LANG_GLOBAL_IMPRINT']}" /></a></then><else><if($imprint_text != '')><then><a href="misc.php?action=imprint{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_impressum.gif" border="0" alt="{$lang->items['LANG_GLOBAL_IMPRINT']}" title="{$lang->items['LANG_GLOBAL_IMPRINT']}" /></a></then></if></else></if></span></td>
              </tr>
            </table>
          </td>
        </tr> 
      </table>
      <br />