YourWBB


yourWBB » WoltLab Burning Board Generation 2 * » Alles von und für das WBB 2.3.x » [WBB 2.3.x] Hacks und Addons » Bannerrotation v2.1 » Hallo Gast [Anmelden|Registrieren]
Letzter Beitrag | Erster ungelesener Beitrag 117.370 Views | | Thema zu Favoriten hinzufügen
Seiten (29): « erste ... « vorherige 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 21 nächste » ... letzte »
Neues Thema erstellen Antwort erstellen

Zum Ende der Seite springen Bannerrotation v2.1 13 Bewertungen - Durchschnitt: 7,0013 Bewertungen - Durchschnitt: 7,00
Autor
Beitrag « Vorheriges Thema | Nächstes Thema »
sunsheingirl sunsheingirl ist weiblich
Mitglied


Dabei seit: 16.02.05
Beiträge: 29
Forenversion: 3.0

Antworten Zitieren Editieren Melden       UP

ich hab den bannerrotation eingebaut und nun zeigt er wenn man die einstellungen im usercp ändern will immer:

Zitat:
SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.3): Invalid SQL: UPDATE bb1_users SET showemail='0', admincanemail='1', usercanemail='1', invisible='1', usecookies='1', styleid='0', daysprune='0', timezoneoffset='1', startweek='0', dateformat='d.m.Y', timeformat='H:i', emailnotify='0', notificationperpm='0', receivepm='1', emailonpm='0', pmpopup='0', umaxposts='0', showsignatures='1', showavatars='1', showimages='1', threadview='0', langid='0', usewysiwyg='0' , disablehome='0' WHERE userid = '1'
mysql error: Unknown column 'disablehome' in 'field list'
mysql error number: 1054
mysql version: 4.0.23-Max-log
php version: 4.3.11
Date: 17.08.2005 @ 18:20
Script: /usercp.php
Referer: http://www.knuddels-world.de/usercp.php?...=options_change
17.08.05 18:22 sunsheingirl ist offline E-Mail WWW Finden Als Freund hinzufügen Füge sunsheingirl in deine Kontaktliste ein MSN Passport-Profil von sunsheingirl anzeigen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

kann es sein das du die homesite eingebaut hast?

die fehlermeldung "Unknown column 'disablehome' in 'field list' " deutet eher auf eine nicht vollständig installierter homesite hin

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

17.08.05 19:06 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
eCityWolf.de eCityWolf.de ist männlich
Mitglied


images/avatars/avatar-3852.jpg

Dabei seit: 09.03.04
Beiträge: 1.042
Herkunft: Chemnitz
Forenversion: 3.0; 2.1

Antworten Zitieren Editieren Melden       UP

gibs denn davon auch ein Demo?

__________________

eCW-Community

19.08.05 13:40 eCityWolf.de ist offline E-Mail WWW Finden Als Freund hinzufügen Füge eCityWolf.de in deine Kontaktliste ein
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

wie dir bereits per PN gesagt ... nein

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

19.08.05 20:13 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
Audioconcept Audioconcept ist männlich
Mitglied


images/avatars/avatar-74.jpg

Dabei seit: 16.01.04
Beiträge: 2
Herkunft: Dortmund
Forenversion: 2.1.2.

 Notfallbanner Antworten Zitieren Editieren Melden       UP

Hallo,

wie kann man denn Klicks wieder aufladen wenn man es im ACP eingestellt hat?

Warum wird den Gästen immer nur ein Banner angezeigt ?

__________________
Gruß

Michael

---------------------------------------------------------
A|L|A|R|M|C|O|N|C|E|P|T Resistent Autoalarm
'Die mit der blauen Photonen LED'
Webseite
Forum
---------------------------------------------------------

Dieser Beitrag wurde 3 mal editiert, zum letzten Mal von Audioconcept: 21.08.05 22:02.

21.08.05 21:04 Audioconcept ist offline E-Mail WWW Finden Als Freund hinzufügen Füge Audioconcept in deine Kontaktliste ein
g:um g:um ist männlich
Mitglied


images/avatars/avatar-2968.jpg

Dabei seit: 12.06.04
Beiträge: 35
Forenversion: 2.3.3

Antworten Zitieren Editieren Melden       UP

hallo,

habe in meinem 2.1.4 den Ads for wbb 2.1 drin gehabt.

danach habe ich bannerrotation eingebaut ... mit updateinstallation.

ich habe in der ACP den link bannerscript und kann die einstellungen aber nur wie für die AdsVersion vornehmen. AdminRechte u. Benutzerrechte hab ich gesetzt auf Ja ... in ich bekomme aber KEIN banner angezeigt!!!! fehlermeldungen bekomme ich NULL! in der template wo ich die banner möchte habe ich <expression>banner()</expression> stehen ... aber nix!!!

was kann ich machen??? oder läuft das teil im 2.1.xxx nicht??? falls ich da müll gebaut habe ... bitte um support.... gerne auch per PN

g:um, der mal danke im voraus sagt
24.08.05 13:37 g:um ist offline E-Mail Finden Als Freund hinzufügen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
 RE: Notfallbanner Antworten Zitieren Editieren Melden       UP

Zitat:
Original von Audioconcept
wie kann man denn Klicks wieder aufladen wenn man es im ACP eingestellt hat?

setzte die klicks zurück, trage eine höhere zahl ein oder lege ein neues banner an

Zitat:
Original von Audioconcept
Warum wird den Gästen immer nur ein Banner angezeigt ?

weis ich nicht, eigentlich gibts zwischen gästen und usern keinen unterschied bei der anzeige


@g:um
tempates und acp-templates neu gecached?

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

25.08.05 11:51 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
g:um g:um ist männlich
Mitglied


images/avatars/avatar-2968.jpg

Dabei seit: 12.06.04
Beiträge: 35
Forenversion: 2.3.3

Antworten Zitieren Editieren Melden       UP

Zitat:
@g:um
tempates und acp-templates neu gecached?


ja habe ich gemacht. habe eigentlich alles gemacht wie beschrieben und den <expression>banner()</expression> in die boardtempl. eingebaut (genau an der stelle wo ich vorher die banner mit Ads einblenden lies).

bekomme KEINE fehlermeldungen. In der ACP unter bannerscript habe ich die gleiche adminoberfläche wie unter Ads ... ich kapier des net?????

g:um, grad am verzweifeln

hier mal meine phpinclude

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:
function banner($kat = "", $id = "", $auschluss = "", $target = "", $not = "") 
	{
  	global $db,$n,$wbbuserdata,$notfallbanner;
	if(checkpermissions('bekommt_werbung_angezeigt'))
		{
		$auschlussids = explode (";", $auschluss);
		
		if(!empty($id))
			{
			$result=@$db->query_first("SELECT * FROM bb".$n."_ads WHERE adid= ".$id);
			if(!empty($result['adid'])) 
				{
				$db->query("UPDATE bb".$n."_ads SET views_used=views_used+1 WHERE adid=".$result['adid']);
				$db->query("UPDATE bb".$n."_ads SET views=views+1 WHERE adid=".$result['adid']);
			 	$db->unbuffered_query("UPDATE bb".$n."_options SET value=value+1 WHERE varname='bannerviewsgesamt'",1);
				if(empty($result['code']))
					{
					if(!empty($target))
						{
						if($target == 1)
							{
							$target = ' target="_blank"';
							}
						else
							{
							unset($target);
							}
						}
					else
						{
						if($result['target'] == 1)
							{
							$target = ' target="_blank"';
							}
						else
							{
							unset($target);
							}
						}
					return "<a href=\"ads.php?gotoid=".$result['adid']."\"".$target."><img src=\"".$result['bannerurl']."\" alt=\"".$result['alt']."\" border=\"0\"></a>";
					}
				else
					{
					return $result['code'];
					}
				}
			}
		else
			{
			if(!empty($kat))
				{
				$kategorie = " WHERE kategorie = ".$kat;
				}
			$rows = $db->unbuffered_query("SELECT * FROM bb".$n."_ads".$kategorie);
			$i = 1;
			while($row = $db->fetch_array($rows))
				{
				$var++;
				if(($row['views_available'] == "0" || $row['views_used'] < $row['views_available']) && ($row['klicks_available'] == "0" || $row['klicks_used'] < $row['klicks_available']) && ($row['userid'] != $wbbuserdata['userid'] || checkpermissions('bekommt_eigene_werbung_angezeigt')))
					{
					if(!array_search($row['adid'],$auschlussids))
						{
						$v = 0;
						while($row['verhaeltnis'] > $v)
							{
							$anzeigen[$i] = $row['adid'];
							$v++;
							$i++;
							}
						}
					}
				}
			if(count($anzeigen) == 1)
				{
				$result = $db->query_first("SELECT * FROM bb".$n."_ads WHERE adid = ".$anzeigen[1]);
				if(!empty($result['adid'])) 
					{
					$db->query("UPDATE bb".$n."_ads SET views_used=views_used+1 WHERE adid=".$result['adid']);
					$db->query("UPDATE bb".$n."_ads SET views=views+1 WHERE adid=".$result['adid']);
					$db->unbuffered_query("UPDATE bb".$n."_options SET value=value+1 WHERE varname='bannerviewsgesamt'",1);
					if(empty($result['code']))
						{
						if($result['target'] == 1)
							{
							$target = ' target="_blank"';
							}
						return "<a href=\"ads.php?gotoid=".$result['adid']."\"".$target."><img src=\"".$result['bannerurl']."\" alt=\"".$result['alt']."\" border=\"0\" /></a>";
						}
					else
						{
						return $result['code'];
						}
					}
				}
			elseif(count($anzeigen) > 1)
				{
				mt_srand((double)microtime()*1000000);
				$rand = mt_rand(1,count($anzeigen));
				$result = $db->query_first("SELECT * FROM bb".$n."_ads WHERE adid = ".$anzeigen[$rand]);
				if(!empty($result['adid'])) 
					{
					$db->query("UPDATE bb".$n."_ads SET views_used=views_used+1 WHERE adid=".$result['adid']);
					$db->query("UPDATE bb".$n."_ads SET views=views+1 WHERE adid=".$result['adid']);
					$db->unbuffered_query("UPDATE bb".$n."_options SET value=value+1 WHERE varname='bannerviewsgesamt'",1);
					if(empty($result['code']))
						{
						if($result['target'] == 1)
							{
							$target = ' target="_blank"';
							}
						return "<a href=\"ads.php?gotoid=".$result['adid']."\"".$target."><img src=\"".$result['bannerurl']."\" alt=\"".$result['alt']."\" border=\"0\" /></a>";
						}
					else
						{
						return $result['code'];
						}
					}
				}
			else
				{
				if($not != "1")
					{
					if(!empty($kat))
						{
						$result = $db->query_first("SELECT notfallbanner FROM bb".$n."_ads_kat WHERE id=".$kat);
						if(!empty($result['notfallbanner']))
							{
							return $result['notfallbanner'];
							}
						else
							{
							return $notfallbanner;
							}
						}
					else
						{
						return $notfallbanner;
						}
					}
				}
			}
		}
	}


und hier die usercp

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:
<?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=$session[hash]">$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="3" align="left"><span class="normalfont"><b>{$lang->items['LANG_USERCP_OVERVIEW']}</b></span></td>
 </tr>
 <tr align="center">
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=profile_edit&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=profile_edit&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_PROFILE_EDIT']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_PROFILE_EDIT_DESC']}</span></td>
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=signature_edit&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=signature_edit&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_SIGNATURE_EDIT']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_SIGNATURE_EDIT_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=options_change&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=options_change&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_OPTIONS_CHANGE']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_OPTIONS_CHANGE_DESC']}</span></td>
 </tr>
 <tr align="center">
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=password_change&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=password_change&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_PASSWORD_CHANGE']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_PASSWORD_CHANGE_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=email_change&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=email_change&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_EMAIL_CHANGE']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_EMAIL_CHANGE_DESC']}</span></td>
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=buddy_list&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=buddy_list&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_BUDDY_LIST']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_BUDDY_LIST_DESC']}</span></td>
 </tr>
 <tr align="center">
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=ignore_list&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=ignore_list&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_IGNORE_LIST']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_IGNORE_LIST_DESC']}</span></td>
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=favorites&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=favorites&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_FAVORITES']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_FAVORITES_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=avatars&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=avatars&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_AVATARS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_AVATARS_DESC']}</span></td>
 </tr>
 <tr align="center">
  <td class="tableb" style="width:33%">
   <a href="pms.php?sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="pms.php?sid=$session[hash]">{$lang->items['LANG_GLOBAL_PMS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_PMS_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usergroups.php?action=groups&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usergroups.php?action=groups&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_USERGROUPS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_USERGROUPS_DESC']}</span></td>
  <td class="tableb" style="width:33%">
 <if($wbbuserdata['isgroupleader']==1||$wbbads[0]!=0)>
  <then>
 <tr align="center">
  <if($wbbuserdata['isgroupleader']==1&&$wbbads[0]==0)><then>
  <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>
  </then>
  <else>
  <if($wbbuserdata['isgroupleader']==1&&$wbbads[0]!=0)><then>
  <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%">
   <a href="usercp.php?action=wbbads{$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><br />
   <span class="normalfont"><b><a href="usercp.php?action=wbbads{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_WBBADS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_WBBADS_DESC']}</span>
  </td>
  <td class="tablea" style="width:33%"> </td>
  </then>
  <else>
  <if($wbbuserdata['isgroupleader']==0&&$wbbads[0]!=0)><then>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=wbbads{$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><br />
   <span class="normalfont"><b><a href="usercp.php?action=wbbads{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_WBBADS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_WBBADS_DESC']}</span>
  </td>
  <td class="tableb" style="width:33%"> </td>
  <td class="tablea" style="width:33%"> </td>
 </tr>
 </then>
 </if>
 </else>
 </if>
 </else>
 </if>
 </then>
</if>
 </td>
 </tr>
</table>
$footer
</body>
</html>

Dieser Beitrag wurde 1 mal editiert, zum letzten Mal von g:um: 25.08.05 17:48.

25.08.05 17:42 g:um ist offline E-Mail Finden Als Freund hinzufügen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

mach bitte mal ein screenshot von deinem admin-menü

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

26.08.05 02:52 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
g:um g:um ist männlich
Mitglied


images/avatars/avatar-2968.jpg

Dabei seit: 12.06.04
Beiträge: 35
Forenversion: 2.3.3

Antworten Zitieren Editieren Melden       UP

diese ansicht???

[IMG]http://www.kreta-grill-lu.de/adminmenu.jpg[/IMG]

Dieser Beitrag wurde 2 mal editiert, zum letzten Mal von g:um: 26.08.05 13:57.

26.08.05 13:56 g:um ist offline E-Mail Finden Als Freund hinzufügen
Garnett Garnett ist männlich
Mitglied


images/avatars/avatar-2760.gif

Dabei seit: 23.08.05
Beiträge: 38
Herkunft: STAATSGEHEIMNIS

Antworten Zitieren Editieren Melden       UP

Hi,
hab den Hack eingebaut und bis jetzt klappt noch alles smile jetzt nurnoch die Rotation auf der Seite einbinden. Echt super Hack... THX

mfg
Leo
26.08.05 15:07 Garnett ist offline E-Mail WWW Finden Als Freund hinzufügen Füge Garnett in deine Kontaktliste ein AIM-Name von Garnett: aliasGarnett YIM-Name von Garnett: aliasGarnett MSN Passport-Profil von Garnett anzeigen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

@g:um

das ist die ansicht der v1

bitte überprüfe nochmal ob du auch alle acp templates der v2.1 hochgeladen und gecached hast

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

27.08.05 16:57 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
g:um g:um ist männlich
Mitglied


images/avatars/avatar-2968.jpg

Dabei seit: 12.06.04
Beiträge: 35
Forenversion: 2.3.3

Antworten Zitieren Editieren Melden       UP

ja habe ich ... habe alles so gemacht wie in der updateinstallation beschrieben. verwirrt

habe die templates gecached und die acp_tpl.php ausgeführt mit dem ERGEBNIS

Zitat:
Das Cachen der ACP-Templates wurde erfolgreich beendet.


ich stelle jetzt nochmals meine dateien hier rein, nachdem ich das update das 2. x hab laufen lassen:

hier die usercp aus der ACP heraus:

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:
<?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=$session[hash]">$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="3" align="left"><span class="normalfont"><b>{$lang->items['LANG_USERCP_OVERVIEW']}</b></span></td>
 </tr>
 <tr align="center">
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=profile_edit&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=profile_edit&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_PROFILE_EDIT']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_PROFILE_EDIT_DESC']}</span></td>
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=signature_edit&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=signature_edit&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_SIGNATURE_EDIT']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_SIGNATURE_EDIT_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=options_change&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=options_change&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_OPTIONS_CHANGE']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_OPTIONS_CHANGE_DESC']}</span></td>
 </tr>
 <tr align="center">
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=password_change&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=password_change&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_PASSWORD_CHANGE']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_PASSWORD_CHANGE_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=email_change&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=email_change&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_EMAIL_CHANGE']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_EMAIL_CHANGE_DESC']}</span></td>
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=buddy_list&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=buddy_list&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_BUDDY_LIST']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_BUDDY_LIST_DESC']}</span></td>
 </tr>
 <tr align="center">
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=ignore_list&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=ignore_list&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_IGNORE_LIST']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_IGNORE_LIST_DESC']}</span></td>
  <td class="tableb" style="width:33%">
   <a href="usercp.php?action=favorites&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=favorites&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_FAVORITES']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_FAVORITES_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=avatars&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usercp.php?action=avatars&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_AVATARS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_AVATARS_DESC']}</span></td>
 </tr>
 <tr align="center">
  <td class="tableb" style="width:33%">
   <a href="pms.php?sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="pms.php?sid=$session[hash]">{$lang->items['LANG_GLOBAL_PMS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_PMS_DESC']}</span></td>
  <td class="tablea" style="width:33%">
   <a href="usergroups.php?action=groups&amp;sid=$session[hash]"><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><br />
   <span class="normalfont"><b><a href="usergroups.php?action=groups&amp;sid=$session[hash]">{$lang->items['LANG_USERCP_USERGROUPS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_USERGROUPS_DESC']}</span></td>
  <td class="tableb" style="width:33%">
 <if($wbbuserdata['isgroupleader']==1||$wbbads[0]!=0)>
  <then>
 <tr align="center">
  <if($wbbuserdata['isgroupleader']==1&&$wbbads[0]==0)><then>
  <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>
  </then>
  <else>
  <if($wbbuserdata['isgroupleader']==1&&$wbbads[0]!=0)><then>
  <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%">
   <a href="usercp.php?action=wbbads{$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><br />
   <span class="normalfont"><b><a href="usercp.php?action=wbbads{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_WBBADS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_WBBADS_DESC']}</span>
  </td>
  <td class="tablea" style="width:33%"> </td>
  </then>
  <else>
  <if($wbbuserdata['isgroupleader']==0&&$wbbads[0]!=0)><then>
  <td class="tablea" style="width:33%">
   <a href="usercp.php?action=wbbads{$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><br />
   <span class="normalfont"><b><a href="usercp.php?action=wbbads{$SID_ARG_2ND}">{$lang->items['LANG_USERCP_WBBADS']}</a></b></span><br />
   <span class="smallfont">{$lang->items['LANG_USERCP_WBBADS_DESC']}</span>
  </td>
  <td class="tableb" style="width:33%"> </td>
  <td class="tablea" style="width:33%"> </td>
 </tr>
 </then>
 </if>
 </else>
 </if>
 </else>
 </if>
 </then>
</if>
 </td>
 </tr>
</table>
$footer
</body>
</html>


und hier die phpinclude:


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:
function banner($kat = "", $id = "", $auschluss = "", $target = "", $not = "") 
	{
  	global $db,$n,$wbbuserdata,$notfallbanner;
	if(checkpermissions('bekommt_werbung_angezeigt'))
		{
		$auschlussids = explode (";", $auschluss);
		
		if(!empty($id))
			{
			$result=@$db->query_first("SELECT * FROM bb".$n."_ads WHERE adid= ".$id);
			if(!empty($result['adid'])) 
				{
				$db->query("UPDATE bb".$n."_ads SET views_used=views_used+1 WHERE adid=".$result['adid']);
				$db->query("UPDATE bb".$n."_ads SET views=views+1 WHERE adid=".$result['adid']);
			 	$db->unbuffered_query("UPDATE bb".$n."_options SET value=value+1 WHERE varname='bannerviewsgesamt'",1);
				if(empty($result['code']))
					{
					if(!empty($target))
						{
						if($target == 1)
							{
							$target = ' target="_blank"';
							}
						else
							{
							unset($target);
							}
						}
					else
						{
						if($result['target'] == 1)
							{
							$target = ' target="_blank"';
							}
						else
							{
							unset($target);
							}
						}
					return "<a href=\"ads.php?gotoid=".$result['adid']."\"".$target."><img src=\"".$result['bannerurl']."\" alt=\"".$result['alt']."\" border=\"0\"></a>";
					}
				else
					{
					return $result['code'];
					}
				}
			}
		else
			{
			if(!empty($kat))
				{
				$kategorie = " WHERE kategorie = ".$kat;
				}
			$rows = $db->unbuffered_query("SELECT * FROM bb".$n."_ads".$kategorie);
			$i = 1;
			while($row = $db->fetch_array($rows))
				{
				$var++;
				if(($row['views_available'] == "0" || $row['views_used'] < $row['views_available']) && ($row['klicks_available'] == "0" || $row['klicks_used'] < $row['klicks_available']) && ($row['userid'] != $wbbuserdata['userid'] || checkpermissions('bekommt_eigene_werbung_angezeigt')))
					{
					if(!array_search($row['adid'],$auschlussids))
						{
						$v = 0;
						while($row['verhaeltnis'] > $v)
							{
							$anzeigen[$i] = $row['adid'];
							$v++;
							$i++;
							}
						}
					}
				}
			if(count($anzeigen) == 1)
				{
				$result = $db->query_first("SELECT * FROM bb".$n."_ads WHERE adid = ".$anzeigen[1]);
				if(!empty($result['adid'])) 
					{
					$db->query("UPDATE bb".$n."_ads SET views_used=views_used+1 WHERE adid=".$result['adid']);
					$db->query("UPDATE bb".$n."_ads SET views=views+1 WHERE adid=".$result['adid']);
					$db->unbuffered_query("UPDATE bb".$n."_options SET value=value+1 WHERE varname='bannerviewsgesamt'",1);
					if(empty($result['code']))
						{
						if($result['target'] == 1)
							{
							$target = ' target="_blank"';
							}
						return "<a href=\"ads.php?gotoid=".$result['adid']."\"".$target."><img src=\"".$result['bannerurl']."\" alt=\"".$result['alt']."\" border=\"0\" /></a>";
						}
					else
						{
						return $result['code'];
						}
					}
				}
			elseif(count($anzeigen) > 1)
				{
				mt_srand((double)microtime()*1000000);
				$rand = mt_rand(1,count($anzeigen));
				$result = $db->query_first("SELECT * FROM bb".$n."_ads WHERE adid = ".$anzeigen[$rand]);
				if(!empty($result['adid'])) 
					{
					$db->query("UPDATE bb".$n."_ads SET views_used=views_used+1 WHERE adid=".$result['adid']);
					$db->query("UPDATE bb".$n."_ads SET views=views+1 WHERE adid=".$result['adid']);
					$db->unbuffered_query("UPDATE bb".$n."_options SET value=value+1 WHERE varname='bannerviewsgesamt'",1);
					if(empty($result['code']))
						{
						if($result['target'] == 1)
							{
							$target = ' target="_blank"';
							}
						return "<a href=\"ads.php?gotoid=".$result['adid']."\"".$target."><img src=\"".$result['bannerurl']."\" alt=\"".$result['alt']."\" border=\"0\" /></a>";
						}
					else
						{
						return $result['code'];
						}
					}
				}
			else
				{
				if($not != "1")
					{
					if(!empty($kat))
						{
						$result = $db->query_first("SELECT notfallbanner FROM bb".$n."_ads_kat WHERE id=".$kat);
						if(!empty($result['notfallbanner']))
							{
							return $result['notfallbanner'];
							}
						else
							{
							return $notfallbanner;
							}
						}
					else
						{
						return $notfallbanner;
						}
					}
				}
			}
		}
	}


meine ansicht in der ACP ist aber noch immer die der Ads Version ... hilfäääääääää!!!?? Mauer Mauer Mauer

kann mir denn keiner helfen?
28.08.05 12:35 g:um ist offline E-Mail Finden Als Freund hinzufügen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

besitzen alle dateien im ordner cache und dessen unterordnern schreibrechte?

wenn dort ein fehler auftritt wird dieser zwar angezeigt beim cachen allerdings nur sehr sehr kurz, zum schluss sagt er dann obwohl es fehler gab das alles erfolgreich war

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

29.08.05 01:43 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
g:um g:um ist männlich
Mitglied


images/avatars/avatar-2968.jpg

Dabei seit: 12.06.04
Beiträge: 35
Forenversion: 2.3.3

Antworten Zitieren Editieren Melden       UP

habe die schreibrechte auf 777 gesetzt und nochmals die acp_tpl.php drüberlaufen lassen .... nix!

aber stimmt ... beim cachen zeigt er mir immer kurz ne meldung

NOTICE: undefinied variable:on line 114 ..... blablabla ----> ?????

ergebnis ist aber immer erfolgreich verwirrt

und nun??? mensch, ich eier hier schon fast ne woche rum und kann keine banner anzeigen lassen Mauer

g:um der bald :doof

Dieser Beitrag wurde 2 mal editiert, zum letzten Mal von g:um: 29.08.05 11:49.

29.08.05 11:42 g:um ist offline E-Mail Finden Als Freund hinzufügen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

versuche bitte rauszufinden bei welchem template diese fehlermeldung kommt

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

29.08.05 13:02 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
g:um g:um ist männlich
Mitglied


images/avatars/avatar-2968.jpg

Dabei seit: 12.06.04
Beiträge: 35
Forenversion: 2.3.3

Antworten Zitieren Editieren Melden       UP

wenn ich die acp_tpl.php laufen lasse bringt er mir bei dem gesamten CacheVorgang bei ALLEN diese meldung ....... on line 114
29.08.05 13:30 g:um ist offline E-Mail Finden Als Freund hinzufügen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

dann wende dich bitte mit dieser fehlermeldung mal an woltlab

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

29.08.05 13:42 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
g:um g:um ist männlich
Mitglied


images/avatars/avatar-2968.jpg

Dabei seit: 12.06.04
Beiträge: 35
Forenversion: 2.3.3

Antworten Zitieren Editieren Melden       UP

wieso an woltlab verwirrt

die zeile 114 ist $count++;
29.08.05 14:58 g:um ist offline E-Mail Finden Als Freund hinzufügen
PyroGX PyroGX ist männlich
Mitglied


images/avatars/avatar-4338.gif

Dabei seit: 17.01.04
Beiträge: 936
Herkunft: Wuppertal

Themenstarter Thema begonnen von PyroGX
Antworten Zitieren Editieren Melden       UP

Zitat:
Original von g:um
wieso an woltlab verwirrt

die zeile 114 ist $count++;


Zitat:
Original von g:um
wenn ich die acp_tpl.php laufen lasse bringt er mir bei dem gesamten CacheVorgang bei ALLEN diese meldung ....... on line 114


deshalb

__________________

"A programmer is just a tool which converts caffeine into code"

"Eine Raucherzone im Restaurant ist wie ein Pissbereich im Pool."

Supportanfragen per PN werden komplett ignoriert und nicht beantwortet!!!

29.08.05 20:46 PyroGX ist offline E-Mail WWW Finden Als Freund hinzufügen
Seiten (29): « erste ... « vorherige 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 21 nächste » ... letzte » Baumstruktur | Brettstruktur
Gehe zu:

Neues Thema erstellen Antwort erstellen

yourWBB » WoltLab Burning Board Generation 2 * » Alles von und für das WBB 2.3.x » [WBB 2.3.x] Hacks und Addons » Bannerrotation v2.1