Alluidh
Mitglied
Dabei seit: 22.01.04
Beiträge: 558
Herkunft: NRW
|
|
OK, dann stricke ich mir was zusammen und harre der Dinge die da kommen mögen. So viel ist es nicht ...
- Neue Spalte in Forentabelle (bannercode)
- Neues Feld bei Forenerstellung / Forenäderung
- Die Umstellung des bisherigen Code in die Variable, die dann aus der Forentabelle gelesen und mit den Bannercode versehen wird
Danke für den Hack
|
|
15.09.05 16:15 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Alluidh
Mitglied
Dabei seit: 22.01.04
Beiträge: 558
Herkunft: NRW
|
|
Ich freue mich nicht, ich sitze schon dran es zu realisieren, da ich eine schnelle Lösung benötige ... Die Banner sollen heute schon in ca 20 Gruppen unabhänig laufen - Ich dankte für den Basishack, der mich auf die weiteren Ideen brachte
|
|
15.09.05 16:47 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
meister
Mitglied
Dabei seit: 16.01.04
Beiträge: 276
|
|
Aha, habe jetzt genau das von dir (<expression>banner()</expression>) in den Footer eingefügt und dann kommt das:
Fatal error: Call to undefined function: banner() in /vrmd/homepages/u18304/global.php(207) : eval()'d code on line 22
|
|
16.09.05 15:55 |
E-Mail
Finden
Als Freund hinzufügen
|
|
meister
Mitglied
Dabei seit: 16.01.04
Beiträge: 276
|
|
Zitat: |
Original von Pyrogx
kanns sein das du bei deinem firefox nen werbeblocker an hast?
bei mir werden die banner problemlos angezeigt
du kannst problemlos einen externen adserver (z.B. google adsense usw) als code in die banner einfügen und somit diese anbieter ebenfalls über das bannerscript verwalten
wenn du ein entsprechend hohes banner hast kannst du dieses auch neben dem forum anzeigen |
danke, der werbeblocker war an
|
|
17.09.05 12:37 |
E-Mail
Finden
Als Freund hinzufügen
|
|
Alluidh
Mitglied
Dabei seit: 22.01.04
Beiträge: 558
Herkunft: NRW
|
|
@Pyrogx
habe es laufen. Im Kopf eine Rotationswelle (die aktuell nur einen Banner hat
) und in jedem themenspezifischen Forum unter dem Forum eine weitere auf das Forum abgestimmte Rotation. Diese natürlich bei board / thread / editthread / newthread und addreplay in der themengebundenenen Form
Dein Hack ist echt grosses Tennis ... Merci vielfalt ...
|
|
17.09.05 17:42 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
Erazor
Mitglied
Dabei seit: 19.01.04
Beiträge: 513
Forenversion: 2.3.3
|
|
Hallo Pyrogx,
Ich hoffe du kannst mir ein wenig helfen, ich versuche seit über 3 Stunden meine usercp.tpl zu bearbeiten. Ich möchte eigentlich nur dass im Feld rechts unten (welches leer ist) mein IRC-Chat Icon zu sehen ist, aber ich krieg das einfach nicht hin.
Kannst du mir evtl. diesen Code hier
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
<if($wbbuserdata['can_irc_use']==1)><then>
<tr align="center">
<td class="tablea" style="width:33%"><a href="chat.php?action=enterdata&sid=$session[hash]"><img src="{$style['imagefolder']}/usercp_usergroups.gif" border="0" alt="{$lang->items['LANG_USERCP_IRC']}" title="{$lang->items['LANG_USERCP_IRC']} - {$lang->items['LANG_USERCP_IRC_DESC']}" /></a><br />
<span class="normalfont"><b><a href="chat.php?action=enterdata&sid=$session[hash]">{$lang->items['LANG_USERCP_IRC']}</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_USERCP_IRC_DESC']}</span></td>
<td class="tableb" style="width:33%"> </td>
<td class="tablea" style="width:33%"> </td>
</tr>
</then></if> |
|
In dieses Template (usercp.tpl) einbaun damit das Icon wie im Screen zu sehen rechts unten angezeigt werden soll? Ich krieg das einfach nicht hin sobald ich deinen Hack hier einbaue passts nimma
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:
|
<?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_1ST}">$master_board_name</a> » {$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{$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><br />
<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>
<td class="tableb" style="width:33%">
<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><br />
<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>
<td class="tablea" style="width:33%">
<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><br />
<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>
<tr align="center">
<td class="tableb" style="width:33%">
<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><br />
<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>
<td class="tablea" style="width:33%">
<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><br />
<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>
<td class="tableb" style="width:33%">
<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><br />
<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>
<tr align="center">
<td class="tablea" style="width:33%">
<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><br />
<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>
<td class="tableb" style="width:33%">
<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><br />
<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>
<td class="tablea" style="width:33%">
<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><br />
<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>
<tr align="center">
<td class="tableb" style="width:33%">
<a href="pms.php{$SID_ARG_1ST}"><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_ARG_1ST}">{$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="usercp.php?action=attachments{$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><br />
<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>
<td class="tableb" style="width:33%">
<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><br />
<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>
<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>
</table>
$footer
</body>
</html> |
|
Dateianhang: |
Fehler.jpg (74,04 KB, 136 mal heruntergeladen)
|
|
|
19.09.05 21:23 |
E-Mail
WWW
Finden
Als Freund hinzufügen
|
|
|