Bannerrotation v2.1

golf3forum.de
wie kann ich es hinbekommen das ich auch FlashBanner im Bannerscript einbinden kann???

habe da nix gefunden

bekommen nur nen rotes X angezeigt

brauche schnell hilfe Augen rollen
mc_connor
Hallo zusammen,

ich habe folgendes Problem:
Nach einigen Stunden intensiver Arbeit am Header Template ist es mir nicht gelungen die Bannerrotation rechts neben mein Logo zu bekommen. Man muss dazusagen, dass ich nicht wirklich der HTML Profi bin... Augenzwinkern
Ich glaube es einschätzen zu können, dass es für einen HTML Profi keinerlei Problem darstellt. smile

Darum bitte ich jemanden mir da vielleicht nen Tipp zu geben.
Habe hier mal meine header.tpl angehängt:
php:
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:
<if($wbbuserdata[userid]=="")><then>
<div id="infobar"><a href="register.php">Willkommen auf dem $master_board_nameDu bist noch nicht registriertKlicke <b>hier</bund nutze alle Vorteile als registrierter User!</a></div>
</then></if>
<table style="width:{$style['tableoutwidth']}" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr><p>
<td style="background-image: url({$style['imagefolder']}/border_left_bg.gif);" valign="top"><img src="{$style['imagefolder']}/border_left_top.gif" alt="" /></td>
<td style="width:100%;" align="center">
<table style="width:100%" 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="left"><if($style['logoimage']!="")><then><a href="index.php?sid=$session[hash]"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></tr></td> 

    <tr>
     <td align="left" style="background-color: #0097c9; height:25px; border-top: 0px #0097C9 solid; border-bottom: 2px #ffffff solid;"><span class="smallfont">&nbsp;<if($wbbuserdata['userid'])><then><a href="usercp.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a></then>
     <else><a href="register.php?sid=$session[hash]"><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=$session[hash]"><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=$session[hash]"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a>
     <a href="team.php?sid=$session[hash]"><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=$session[hash]"><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&amp;sid=$session[hash]"><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']==&& $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']==&& $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=$session[hash]"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a></span></td>
    </tr>
    <tr>
     <td style="height:28px; background-image: url({$style['imagefolder']}/top_line.gif);"></td>
    </tr>     
   </table><br />


Und im Anhang habe ich noch ein kleines Bild, der meinen Wunsch etwas näher bringt!
Hoffe es kann mir einer von euch diesbezüglich helfen, würde mich sehr freuen.


Viele Grüße,
mc_connor
Fuzzy
Hab ein Problem, ich bin zu doof das usertpl zu bearbeiten.

meines hat keine 3 Spalten sondern nur 2!

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:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_USERCP_TITLE']}</title>
$headinclude
</head>
<body>
$header
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
   <tr class="tablea_fc">
    <td align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_2ND}">$master_board_name</a> &raquo; {$lang->items['LANG_USERCP_TITLE']}</b></span></td>
    <td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
   </tr>
  </table></td>
 </tr>
</table><br />

<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
  <tr> 
    <td class="tabletitle" colspan="2" align="left"><span class="normalfont"><b>{$lang->items['LANG_USERCP_OVERVIEW']}</b></span></td>
  </tr>
  <tr> 
    <td class="tablea" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=profile_edit{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_profile_edit.gif" border="0" alt="{$lang->items['LANG_USERCP_PROFILE_EDIT']}" title="{$lang->items['LANG_USERCP_PROFILE_EDIT']} - {$lang->items['LANG_USERCP_PROFILE_EDIT_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=profile_edit{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_PROFILE_EDIT']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_PROFILE_EDIT_DESC']}</span></td>
        </tr>
      </table></td>
    <td class="tableb" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=password_change{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_password_change.gif" border="0" alt="{$lang->items['LANG_USERCP_PASSWORD_CHANGE']}" title="{$lang->items['LANG_USERCP_PASSWORD_CHANGE']} - {$lang->items['LANG_USERCP_PASSWORD_CHANGE_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=password_change{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_PASSWORD_CHANGE']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_PASSWORD_CHANGE_DESC']}</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td class="tableb" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=signature_edit{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_signature_edit.gif" border="0" alt="{$lang->items['LANG_USERCP_SIGNATURE_EDIT']}" title="{$lang->items['LANG_USERCP_SIGNATURE_EDIT']} - {$lang->items['LANG_USERCP_SIGNATURE_EDIT_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=signature_edit{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_SIGNATURE_EDIT']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_SIGNATURE_EDIT_DESC']}</span></td>
        </tr>
      </table></td>
    <td class="tablea" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=email_change{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_email_change.gif" border="0" alt="{$lang->items['LANG_USERCP_EMAIL_CHANGE']}" title="{$lang->items['LANG_USERCP_EMAIL_CHANGE']} - {$lang->items['LANG_USERCP_EMAIL_CHANGE_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=email_change{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_EMAIL_CHANGE']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_EMAIL_CHANGE_DESC']}</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td class="tablea" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=options_change{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_options_change.gif" border="0" alt="{$lang->items['LANG_USERCP_OPTIONS_CHANGE']}" title="{$lang->items['LANG_USERCP_OPTIONS_CHANGE']} - {$lang->items['LANG_USERCP_OPTIONS_CHANGE_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=options_change{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_OPTIONS_CHANGE']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_OPTIONS_CHANGE_DESC']}</span></td>
        </tr>
      </table></td>
    <td class="tableb" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=buddy_list{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_buddy_list.gif" border="0" alt="{$lang->items['LANG_USERCP_BUDDY_LIST']}" title="{$lang->items['LANG_USERCP_BUDDY_LIST']} - {$lang->items['LANG_USERCP_BUDDY_LIST_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=buddy_list{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_BUDDY_LIST']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_BUDDY_LIST_DESC']}</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td class="tableb" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="pms.php{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_pm.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']} - {$lang->items['LANG_USERCP_PMS_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="pms.php{$SID_ARG_2ND}">{$lang->items['LANG_GLOBAL_PMS']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_PMS_DESC']}</span></td>
        </tr>
      </table></td>
    <td class="tablea" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=ignore_list{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_ignore_list.gif" border="0" alt="{$lang->items['LANG_USERCP_IGNORE_LIST']}" title="{$lang->items['LANG_USERCP_IGNORE_LIST']} - {$lang->items['LANG_USERCP_IGNORE_LIST_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=ignore_list{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_IGNORE_LIST']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_IGNORE_LIST_DESC']}</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td class="tablea" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=avatars{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_avatars.gif" border="0" alt="{$lang->items['LANG_USERCP_AVATARS']}" title="{$lang->items['LANG_USERCP_AVATARS']} - {$lang->items['LANG_USERCP_AVATARS_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=avatars{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_AVATARS']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_AVATARS_DESC']}</span></td>
        </tr>
      </table></td>
    <td class="tableb" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=favorites{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_favorites.gif" border="0" alt="{$lang->items['LANG_USERCP_FAVORITES']}" title="{$lang->items['LANG_USERCP_FAVORITES']} - {$lang->items['LANG_USERCP_FAVORITES_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=favorites{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_FAVORITES']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_FAVORITES_DESC']}</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 

    <td class="tableb" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usercp.php?action=signature_edit{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_attachments.gif" border="0" alt="{$lang->items['LANG_USERCP_ATTACHMENTS']}" title="{$lang->items['LANG_USERCP_ATTACHMENTS']} - {$lang->items['LANG_USERCP_ATTACHMENTS_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usercp.php?action=attachments{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_ATTACHMENTS']}</a></b></span><br /> 
            <span class="smallfont">{$lang->items['LANG_USERCP_ATTACHMENTS_DESC']}</span></td>
        </tr>
      </table></td>

    <td class="tablea" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usergroups.php?action=groups{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_usergroups.gif" border="0" alt="{$lang->items['LANG_USERCP_USERGROUPS']}" title="{$lang->items['LANG_USERCP_USERGROUPS']} - {$lang->items['LANG_USERCP_USERGROUPS_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usergroups.php?action=groups{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_USERGROUPS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_USERGROUPS_DESC']}</span></td>
        </tr>
      </table></td>
  </tr>

<tr> 
    <td class="tablea" style="width:50%; height:40px"><if($wbbuserdata['isgroupleader']==1)>
<then>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="width:50px"><a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_groupleader.gif" border="0" alt="{$lang->items['LANG_USERCP_GROUPLEADER']}" title="{$lang->items['LANG_USERCP_GROUPLEADER']} - {$lang->items['LANG_USERCP_GROUPLEADER_DESC']}" /></a></td>
          <td valign="top"><span class="normalfont"><b><a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_GROUPLEADER']}</a></b></span><br />
     <span class="smallfont">{$lang->items['LANG_USERCP_GROUPLEADER_DESC']}</span></td>
        </tr>
      </table>
	</then>
   </if></td>
    <td class="tableb" style="width:50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
<td>          
</td>
        </tr>
      </table></td>
</tr>

<tr>
<td style="height:10px" class="tablecat" colspan="2"></td>
</tr>
</table>

$footer
</body>
</html>


wie soll das gehen?
Laserman
Hmm, bei mir hat er in der Setup.php bei Step1 abgebrochen.
Hab dann mit step2 usw. weiter gemacht, wie kann ich den ersten jetzt nachholen?
Die Abfrage unten hab ich auch schon ohne erfolg ausgeführt.

SQL-DATABASE ERROR

Database error in WoltLab Burning Board (): Invalid SQL: INSERT INTO bb1_groupvariables (variableid,variablename,type,defaultvalue,variablegroupid,showorder,acpmod

e) VALUES ('','a_can_otherstuff_ads','truefalse','0','22','7','2')
mysql error: Duplicate entry 'a_can_otherstuff_ads' for key 2
mysql error number: 1062
mysql version: 5.0.19-Debian_1.dotdeb.1-log
php version: 5.1.2-1.dotdeb.2
Date: 16.04.2006 @ 23:02
Script: /wbb2/acp/setup.php?step=1

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
DROP TABLE IF EXISTS `bb1_ads`;
CREATE TABLE `bb1_ads` (
  `adid` int(11) NOT NULL auto_increment,
  `name` varchar(50) NOT NULL default '0',
  `kategorie` int(2) NOT NULL default '0',
  `userid` int(11) NOT NULL default '0',
  `bannerurl` varchar(255) NOT NULL default '',
  `code` text NOT NULL,
  `alt` varchar(255) NOT NULL default '',
  `hyperlink` varchar(255) NOT NULL default '',
  `target` int(1) NOT NULL default '',  
  `views_available` int(11) NOT NULL default '0',
  `views_used` int(11) NOT NULL default '0',
  `views` int(11) NOT NULL default '0',
  `klicks_available` int(11) NOT NULL default '0',
  `klicks_used` int(11) NOT NULL default '0',
  `verhaeltnis` int(3) NOT NULL default '0',
  PRIMARY KEY  (`adid`)
) TYPE=MyISAM;
INSERT INTO `bb1_ads` VALUES ('', 'PyroGX', 1, 1, 'http://www.ruhrpottforum.de/banner/pyrogx.jpg', '', 'PyroGX.de', 'http://www.pyrogx.de', 1, 0, 0, 0, 0, 0, 1);
INSERT INTO `bb1_ads` VALUES ('', 'RPF', 1, 1, 'http://www.ruhrpottforum.de/banner/rpf-1.jpg', '', 'Ruhrpottforum.de', 'http://www.ruhrpottforum.de', 1, 0, 0, 0, 0, 0, 1);
Mr-X
selber gelöst
Partyzentrale
top ding..

würd die banner aber gern in einer portalbox anzeigen lasssen..

was muss ich da genau machen

Portalsoftware: myWBB-Portal 4.0.0, entwickelt von myWBB.info
Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH
luckyman83
Habe bei der Eingabe acp/setup.php folgende Meldung erhalten!
Database error in WoltLab Burning Board (): Invalid SQL: INSERT INTO bb1_groupvariables (variableid,variablename,type,defaultvalue,variablegroupid,showorder,acpmod
e) VALUES ('','a_can_otherstuff_ads','truefalse','0','22','7','2')
mysql error: Duplicate entry 'a_can_otherstuff_ads' for key 2
mysql error number: 1062
mysql version: 5.0.21
php version: 4.4.4
Date: 24.03.2007 @ 14:15
Script: /wbb2/acp/setup.php?step=1
Referer: http://www.webworld-forum.de/wbb2/acp/setup.php


Was habe ich falsch gemacht?!
Partyzentrale
hab irgendwie ein sql fehler


Database error in WoltLab Burning Board (2.3.6): Invalid SQL: UPDATE bb1_ads_kat SET kat_views=kat_views+1 WHERE id='1'
mysql error: Unknown column 'kat_views' in 'field list'
mysql error number: 1054
mysql version: 4.1.11-Debian_4sarge7
php version: 4.3.10-19
Date: 15.04.2007 @ 22:30
basakli
Hallo,

ich bekomme kein Bannner im Forum angezeigt. Ich möchte den Banner mit der BannerID 4 im footer angezeigt bekommen aber es klappt nicht. mein footer.tpl im entsprechenden Styl ist;

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:
</table> 

<br /><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" align="center">
 <tr>
  <td class="tablea"><span class="smallfont"><b>Forumda ziyaretci <font color="#00FF00"><b>BUGÜN :</b></font> $hitstoday <br>Forumda ziyaretci <font color="#00FF00"><b>DÜN:</b></font> $hitsyesterday <br>Forumda ziyaretci <font color="#00FF00"><b>TOPLAM :</b></font> $hitsall <br><font color="#00FF00"><b>Ziyaretci rekoru :</b></font> $hitsrek Tarih $hitsrekd</b></span></td>
 </tr>
</table><br />



</td>



 	




<br /><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" align="center">

  <tr>
  <td class="tablea"><p align="center"><span class="smallfont">Style by<b> ESoES<b><b> &copy; 2003-2004 <b><a href="http://www.wbbturk.biz" target="_blank">wbbturk.biz</a></b></span>
 </tr>



 <tr>
  <td class="tablea"><p align="center"><span class="smallfont">Powered by <b>Burning Board $boardversion</b> &copy; 2001-2003 <b><a href="http://www.woltlab.de" target="_blank">WoltLab GmbH</a></b></span>
 </tr>
</table><br />


</td>
</tr>
</table>        
<expression>banner(4)</expression>


habe ich die Code richtig eingefügt? Warum klappt das nicht?

Danke im Voraus.
nitramf
Moin!
Wo kann ich die Banner bearbeiten?

Habe bei mir keinen Menüpunkt.
Hab alles strikt nach der Anleitung gemacht geschockt
Vesaros
Zitat:
Original von nitramf
Moin!
Wo kann ich die Banner bearbeiten?

Habe bei mir keinen Menüpunkt.
Hab alles strikt nach der Anleitung gemacht geschockt


Gruppenrechte im ACP verteilt?
Mittel's acp_tpl.php die ACP Templates gechached?

Dann müsste es gehen^^
Hoppel
Hallo,

erstmal Danke für das Script.

Bei mir funzt soweit alles - ich kann auch im ACP die Eintragungen vornehmen. Sobald ich aber im Header die Weisung

<expression>banner()</expression>

eingebe, kommt bei Aufruf des Forums die Fehlermeldung

Zitat:
Fatal error: Call to undefined function: banner() in /homepages/4/xxxxxx/htdocs/xxxxx/forum/global.php(236) : eval()'d code on line 24


Kann mir jemand helfen?

Gruß!
nitramf
Hi,
wenn ich jetzt bei mir den Menüpunkt Bannerscript aufrufe, kommt ein Fenster, bei dem ich die Codes eingeben kann.
Aber es zeigt den Banner irgendwie nicht im Thread an.

nitramf
Octavian
Bei mir hat sich leider gar ncihts verändert. Ich habe die Seputp ausgeführt, die templates im acp importiert und die daten, bis auf die usercp.tpl - auf Grund der nicht exakten übereinstimmung der zu überkopierenden Stelle, verändert. Templates gecachet.. ja.. aber hat sich wie gesagt ncihts getan :-(

hab i was vergessen?

LG
nitramf
Nochmal:
Wie bekomme ich es hin, das die Banner im Thread drin sind?

Gruß,
nitramf
jacqy
hallo eine frage.hab ein prob mit der usercp tpl...der code der da ersetzt werden muß ,da ist der abwesenheitshack schon drin..also so sieht der aus ...

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:
<if($wbbuserdata['isgroupleader']==1 && $wbbuserdata['can_set_away_message']==0)><then>
 <tr align="center">
  <td class="tablea" style="width:33%">
   <a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_groupleader.gif" border="0" alt="{$lang->items['LANG_USERCP_GROUPLEADER']}" title="{$lang->items['LANG_USERCP_GROUPLEADER']} - {$lang->items['LANG_USERCP_GROUPLEADER_DESC']}" /></a><br />
     <span class="normalfont"><b><a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_GROUPLEADER']}</a></b></span><br />
     <span class="smallfont">{$lang->items['LANG_USERCP_GROUPLEADER_DESC']}</span>
  </td>
  <td class="tableb" style="width:33%"> </td>
  <td class="tablea" style="width:33%"> </td>
 </tr>
</then>
</if>
  <if($wbbuserdata['isgroupleader']==1 && $wbbuserdata['can_set_away_message']==1)><then>
 <tr align="center">
  <td class="tablea" style="width:33%">

      <a href="usercp.php?action=away{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_away.gif" border="0" alt="{$lang->items['LANG_AWAY_USERCP']}" title="{$lang->items['LANG_AWAY_USERCP']} - {$lang->items['LANG_AWAY_USERCP_DESC']}" /></a><br />
     <span class="normalfont"><b><a href="usercp.php?action=away{$SID_ARG_2ND}">{$lang->items['LANG_AWAY_USERCP']}</a></b></span><br />
     <span class="smallfont">{$lang->items['LANG_AWAY_USERCP_DESC']}</span>

  </td>
  <td class="tableb" style="width:33%">
   <a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_groupleader.gif" border="0" alt="{$lang->items['LANG_USERCP_GROUPLEADER']}" title="{$lang->items['LANG_USERCP_GROUPLEADER']} - {$lang->items['LANG_USERCP_GROUPLEADER_DESC']}" /></a><br />
     <span class="normalfont"><b><a href="usergroups.php?action=groupleaders{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_GROUPLEADER']}</a></b></span><br />
     <span class="smallfont">{$lang->items['LANG_USERCP_GROUPLEADER_DESC']}</span>
  </td>
  <td class="tablea" style="width:33%"> </td>
 </tr>
</then>
</if>


  <if($wbbuserdata['isgroupleader']==0 && $wbbuserdata['can_set_away_message']==1)><then>
 <tr align="center">
  <td class="tablea" style="width:33%">
      <a href="usercp.php?action=away{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/usercp_away.gif" border="0" alt="{$lang->items['LANG_AWAY_USERCP']}" title="{$lang->items['LANG_AWAY_USERCP']} - {$lang->items['LANG_AWAY_USERCP_DESC']}" /></a><br />
     <span class="normalfont"><b><a href="usercp.php?action=away{$SID_ARG_2ND}">{$lang->items['LANG_AWAY_USERCP']}</a></b></span><br />
     <span class="smallfont">{$lang->items['LANG_AWAY_USERCP_DESC']}</span>
  </td>
  <td class="tableb" style="width:33%"> </td>
  <td class="tablea" style="width:33%"> </td>
 </tr>
</then>
</if>


wie ändere ich den code so ab das der away hack und der bannerrotator funtz? bitte um hilfe Augenzwinkern danke großes Grinsen
WWEfans
Hallo,

wenn ich die Setup ausführen will kommt immer folgender fehler:

SQL-DATABASE ERROR

Database error in WoltLab Burning Board (): Invalid SQL: INSERT INTO bb1_groupvariables (variableid,variablename,type,defaultvalue,variablegroupid,showorder,acpmod
e) VALUES ('','a_can_otherstuff_ads','truefalse','0','22','7','2')
mysql error: Duplicate entry 'a_can_otherstuff_ads' for key 2
mysql error number: 1062
mysql version: 5.0.41-log
php version: 4.4.7
Date: 27.07.2007 @ 17:13
Script: /wbb2/acp/setup.php?step=1


Kann mir da jemand helfen?

Grüße
Boston
ehm wollte mal Fragen, ob dieser auch für das wbb2.3 bestimmt ist?

und zu meinen vorposter, du hast eine variable 2x drin.

ehm und irgendwie zeigt er mir jetzt nen fehler in der usercp.php in Zeilennummer 175 -.-

und im acp macht er mir das gar nicht auf da macht er alles weg das nur noch die ablage da ist -.-

also ist der hack wohl nicht einwandfrei *-*
Boston
bei mir kommt folgendes im usercp:

Zitat:
Bannerübersicht
Statistik: für PyroGX
Gebuchte Views: Unendlich
Verbrauchte Views: 0
Noch verfügbare Views: Unendlich
Gebuchte Klicks: Unendlich
Verbrauchte Klicks: 0
Noch verfügbare Klicks: Unendlich
Klickrate: 0%
Banner-URL: http://www.ruhrpottforum.de/banner/pyrogx.jpg
Banner: PyroGX.de
Hyperlink: http://www.pyrogx.de
Alternativ-Text: PyroGX.de
Statistik: für RPF
Gebuchte Views: Unendlich
Verbrauchte Views: 0
Noch verfügbare Views: Unendlich
Gebuchte Klicks: Unendlich
Verbrauchte Klicks: 0
Noch verfügbare Klicks: Unendlich
Klickrate: 0%
Banner-URL: http://www.ruhrpottforum.de/banner/rpf-1.jpg
Banner: Ruhrpottforum.de
Hyperlink: http://www.ruhrpottforum.de
Alternativ-Text: Ruhrpottforum.de



(Obwohl ich noch gar nichts reingesendet habe) das war schon so da o.O geschockt

Zusätzlich wird bei mir im ACP wenn ich auf bannerscript klicke nur eine weiße seite angezeigt.

JA, ich habe alle templates gecachet & auch die acp_templates-php ausgeführt.
NRWBOY
SQL-DATABASE ERROR

Database error in WoltLab Burning Board (): Invalid SQL: INSERT INTO bb1_groupvariables (variableid,variablename,type,defaultvalue,variablegroupid,showorder,acpmod
e) VALUES ('','a_can_otherstuff_ads','truefalse','0','22','7','2')
mysql error: Duplicate entry 'a_can_otherstuff_ads' for key 2
mysql error number: 1062
mysql version: 5.0.32-Debian_7etch5-log
php version: 5.2.0-8+etch10
Date: 06.04.2008 @ 21:30
Script: /Forum/acp/setup.php?step=1
Referer: http://www.******/Forum/acp/setup.php


PHP 5 und mysql 5.0.32 wie kann ich dieses auf php 5 und der neuen mysql ans laufen bekommen ?