Statistik |
Beiträge: 144.534 (Täglich: 19,19 )
Themen: 16.701
Mitglieder: 13.209
Neuestes Mitglied: zitronentee.
Ausl. d. letzten Minute: 291%
Ausl. d. letzten 5 Minuten: 272%
Ausl. d. letzten 15 Minuten: 281%
Aktulle Uhrzeit: 07:24
Freier Webspace: 4.04 TB
PHP-Version: 7.4.33
|
|
|
Zeige Beiträge 1 bis 20 von 20 Treffern |
|
Thema: Hilfe! |
|
Hallo!
hier mal mein problem!
Habe gestern das wbb3 installiert und seit dem sitze ich drann die blöden boxen nachts rechts zu bekommen und sie sotieren wie ich sie haben möchte des klappt einfach nich ich habe schon alle varianten versucht weder werden sie nihct angezeigt oder es passiert gar nicht kann mir jemand dabei helfen nihct gratis versteht sich doch von selbst
wäre sehr dankbar dafür!!!
|
|
Thema: neue Box |
|
so hier mal die icons:
welhe feheln bitte mach so ein blanco icon rein wenn du so nett werst danke!
|
|
Thema: neue Box |
|
ok werde diese mal gleich anhängen!
|
|
Thema: neue Box |
|
ja genau!!!
ja soll i da die grafiken alle zusenden oder kann ich diese dann selber einfügen ?
|
|
Thema: neue Box |
|
ja die grafiken ganz oben hab ich auch selber gesucht ne ich würde dir die punkte eh aufzählen was drauf sollen ich weiß viele gibts net aber so sollte sie werden gg
|
|
Thema: neue Box |
|
ja jetzt hammas ggg
naja is doch a bissl schwer zu beschreiben!!
Jo und kannst du mir dabei helfen?
|
|
Thema: neue Box |
|
ich denke ich habe es falsch ausgedrückt!
ich möchte meine jetzige persönliche box etwas verändern!
hier im anhang ist die jetztige und daneben so wie ich sie haben möchte nur wie gesagt ohne avatar und wetter!
was bei der aber fehlt ist der style auswahl!
|
|
Thema: neue Box |
|
ja diese box ist ja die normale box vom HM Portal ich möchte diese so eussehn lassen wie auf dem Bild im ersten Beitrag bild2 nur ohne avatar und wetter.. geht des?
|
|
Thema: neue Box |
|
ich hab nur die normal box möchte diese ja so verändern!
das ist die normale:
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:
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:
|
<?
if(!(@hmp_check())) exit();
//
// HM-Portal 3.1
// box_pers.php
// Personal Box
//
eval("\$mboxhtml =\"".$hm_boxhead_tpl."\";");
// style dropdown
$stylesname ="";
$stylist=$db->query("SELECT styleid,stylename FROM bb".$n."_styles ORDER BY styleid ASC");
$stylescount=$db->num_rows($stylist);
while($styleopts = $db->fetch_array($stylist)){
$stylesname .= makeoption($styleopts['styleid'],getlangvar($styleopts['stylename'], $lang));
}
unset($stylist,$styleopts);
// language dropdown
/*
$langopts ="";
$langsquery=$db->query("SELECT languagepackid, languagepackname FROM bb".$n."_languagepacks ORDER BY languagepackid ASC");
while($langsrow = $db->fetch_array($langsquery)){
$langopts .= makeoption($langsrow['languagepackid'],getlangvar($langsrow['languagepackname'], $lang));
}
unset($langsquery,$langsrow);
*/
if ($wbbuserdata['userid'] == 0) {
// guest
eval ("\$lang->items['LANG_HMPORTAL_PERS_GWELC'] = \"".$lang->get4eval("LANG_HMPORTAL_PERS_GWELC")."\";");
eval("\$mboxhtml .= \"".$tpl->get("hm_box_pers_guest")."\";");
} else {
// user
$avatarid = $wbbuserdata['avatarid'];
$actdate = date($wbbuserdata['dateformat'],$wbbuserdata['lastvisit']);
$acttime = date($wbbuserdata['timeformat'],$wbbuserdata['lastvisit']);
$activtime = date($wbbuserdata['timeformat'],$wbbuserdata['lastactivity']);
$regdate = date($wbbuserdata['dateformat'],$wbbuserdata['regdate']);
$datenow = date($wbbuserdata['dateformat']);
$username = htmlconverter($wbbuserdata['username']);
$rankrow = $db->query_first("SELECT ranktitle, rankimages FROM bb".$n."_ranks WHERE rankid=".$wbbuserdata['rankid']);
$rankimages = formatRI($rankrow['rankimages']);
if ($wbbuserdata['title'])
$ranktitle = htmlconverter($wbbuserdata['title']);
else
$ranktitle = getlangvar($rankrow['ranktitle'], $lang);
if ($avatarid) {
list($avaext,$avawidth,$avaheight) = $db->query_first("SELECT avatarextension, width, height FROM bb".$n."_avatars WHERE avatarid='$avatarid'");
}
if($wbbuserdata['can_use_pms']) {
// check PM inbox
if (isset($wbbuserdata['pminboxcount'])) {
// wbb 2.3 or higher
$counttotal = $wbbuserdata['pminboxcount'];
$countunread = $wbbuserdata['pmunreadcount'];
$countnew = $wbbuserdata['pmnewcount'];
} else {
// up to wbb 2.2
$counttotal=0; $countunread=0; $countnew=0;
$result = $db->query("SELECT view, sendtime FROM bb".$n."_privatemessage WHERE deletepm <> 1 AND recipientid = '$wbbuserdata[userid]'");
while($row=$db->fetch_array($result)) {
$counttotal++;
if($row['view']==0) {
$countunread++;
if($row['sendtime']>$wbbuserdata['lastvisit']) $countnew++;
}
}
}
}
// if user is moderator, check for threads and posts to moderate (zum Freischalten)
$boardids="";
$modthreadcount = 0;
if (checkAdminPermissions("a_can_threads_moderate",0)) {
// is super mod?
if($wbbuserdata['m_is_supermod']==0) {
$boardids="";
$result=$db->query("SELECT boardid FROM bb".$n."_moderators WHERE userid='".$wbbuserdata['userid']."'");
while($row=$db->fetch_array($result)) $boardids .= ",".$row['boardid'];
list($modthreadcount)=$db->query_first("SELECT count(threadid) FROM bb".$n."_threads WHERE visible=0 AND boardid IN (0".$boardids.") ORDER BY starttime DESC");
}
else list($modthreadcount)=$db->query_first("SELECT count(threadid) FROM bb".$n."_threads WHERE visible=0 ORDER BY starttime DESC");
}
$modpostcount = 0;
if (checkAdminPermissions("a_can_threads_moderate_posts",0)) {
// is super mod?
if($wbbuserdata['m_is_supermod']==0) {
if ($boardids=="") {
$result=$db->query("SELECT boardid FROM bb".$n."_moderators WHERE userid='".$wbbuserdata['userid']."'");
while($row=$db->fetch_array($result)) $boardids .= ",".$row['boardid'];
}
list($modpostcount)=$db->query_first("SELECT count(p.postid) FROM bb".$n."_posts p, bb".$n."_threads t WHERE t.threadid=p.threadid AND t.visible=1 AND p.visible=0 AND t.boardid IN (0".$boardids.") ORDER BY posttime DESC");
}
else list($modpostcount)=$db->query_first("SELECT count(p.postid) FROM bb".$n."_posts p, bb".$n."_threads t WHERE t.threadid=p.threadid AND t.visible=1 AND p.visible=0 ORDER BY posttime DESC");
}
eval("\$mboxhtml .= \"".$tpl->get("hm_box_pers")."\";");
}
eval("\$mboxhtml .=\"".$hm_boxtail_tpl."\";");
print($mboxhtml);
?> |
|
|
|
Thema: neue Box |
|
Hey Viktor!
kannst du ma helfen?
möchte gerne meine persönliche box vom HM Portal ein bissl verändern, mal was anderes hab da etwas angefangen aber des ist normal eingefügt und nix über php verändert usw....
und zwar auf box ein is das was ich bis jetzt gemacht habe und box 2(box personal) is so wie ich es haben möchte mit user name benutzerragng usw.... (ohne avatar,und wetter) aber des klappt einfach nicht.....
der coder für die box eins ist hier: (aber wie gesagt ist mist!)´
php: |
1:
2:
3:
4:
5:
6:
7:
8:
|
<tr><td width="100%" class="tablea" colspan="10" align="center"><span class="normalfont">
<tr><td class="tablea" width="100%" align="center" colspan="10"><span class="smallfont">Willkommen bei TUIFLMANIA!</span></td>
<tr><td class="tableb" colspan="10" align="center"><span class="normalfont">
<div class="container-1" align="left" style="float: none"><br /><table border="0" cellspacing="0" cellpadding="0" width="5%"><tbody><tr><td><img src="http://www.tuiflmania.at/wbb2/pics/helpS.png" border="0" width="16" height="16" /></td><td class="smallFont"> <font color="#c8a575"><a href="http://www.tuiflmania.at/wbb2/impressum.php">Impressum </a></font></td></tr></tbody></table><br /><table border="0" cellspacing="0" cellpadding="0" width="5%"><tbody><tr><td><img src="http://www.tuiflmania.at/wbb2/pics/paket.png" border="0" width="16" height="16" /></td><td class="smallFont"> <font color="#c8a575"><a href="http://www.tuiflmania.at/wbb2/vg_lizenz.php">Lizenzen</a></font><font color="#c8a575"> </font></td></tr></tbody></table><br /><table border="0" cellspacing="0" cellpadding="0" width="5%"><tbody><tr><td><img src="http://www.tuiflmania.at/wbb2/pics/iconMsProfil.png" border="0" width="15" height="16" /></td><td class="smallFont"> <font color="#c8a575"><a href="http://www.tuiflmania.at/wbb2/board.php?boardid=117">Support</a> </font></td></tr></tbody></table><br /><table border="0" cellspacing="0" cellpadding="0" width="5%"><tbody><tr><td><img src="http://www.tuiflmania.at/wbb2/pics/geld.png" border="0" width="16" height="16" /></td><td class="smallFont"> <font color="#c8a575"><a href="http://www.tuiflmania.at/wbb2/spenden.php">Spenden</a> </font></td></tr></tbody></table></div>
<tr><td class="tableb" colspan="1" align="center"><span class="normalfont">
<tr><td class="tablea" width="100%" align="center" colspan="10"><span class="smallfont">Downloads</span></td>
<tr><td class="tableb" colspan="10" align="center"><span class="normalfont">
<div class="container-1" align="left" style="float: none"><br /><table border="0" cellspacing="0" cellpadding="0" width="5%"><tbody><tr><td><img src="http://www.tuiflmania.at/wbb2/pics/InternetExplorer.png" border="0" width="16" height="16" /></td><td class="smallFont"><font color="#c8a575"><a href="http://www.microsoft.com/germany/windows/internet-explorer/download-ie.aspx" target="_blank">Internet Explorer</a></font></td></tr></tbody></table><br /></div> |
|
so hier die bilder:
Danke im vorraus!
|
|
Thema: Erweiterung von der Ankündigungs Box HM Portal |
|
HM Portal Ankündigungsbox mal ganz anders fürs wbb2.3.6
die HM Spezialboxen müssen Installiert sein!
diese sind hier zu finden: http://www.wbbcoderforum.de/thread.php?p...99276#post99276
Alle original Datein müssen vor dem Umtausch abgespeichert werden!
screen befindet sich im 4 Beitrag!
gehe ins ACP und erstelle folgendes Templates:
hm_box_boardlastthread1
und füge ein:
php: |
1:
2:
3:
4:
5:
6:
7:
|
<td class="tablea" align="center"><span class="smallfont"><b>$topic</b></span>
<p style="text-align:left; margin-left:0.1cm; margin-right:0.1cm"><span class="smallfont">$ankthread</span></p>
<p style="text-align:left; margin-left:0.1cm; margin-right:0.1cm"><span class="smallfont"><a href="thread.php?threadid={$vgtoppost}{$SID_ARG_2ND}">[Mehr lesen...]</a></span></p>
<hr color="#331d00" />
<p style="text-align:left; margin-left:0.1cm; margin-right:0.1cm"><span class="smallfont"><b>sonstige Ankündigungen</b></span></p>
$lines
</tr> |
|
danch erstelle noch ein Templates:
hm_box_boardlastthreadbit1
und füge ein:
php: |
1:
|
<p style="text-align:left; margin-left:0.1cm; margin-right:0.1cm"><span class="smallfont">--><b>{$lang->items['LANG_HMPORTAL_ANNOUNCEMENT']}</b> <a href="thread.php?threadid={$postzeile['threadid']}{$SID_ARG_2ND}">{$postzeile['topic']}</a> ($postdate1 <span class="time">$posttime1)</span></p> |
|
dann tausche den Inhalt von der box_announce.php aus:
und füge ein:
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:
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:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
|
<?
if(!(@hmp_check())) exit();
//
// HM-Portal 3.1
// box_boardlastthread1.php
// Most current X threads in selected forums only
// Box 1
//
// Enhanced for 3.1.2 to show folder icons
// Enhanced for 3.1.4 (better performance when f_showown is on)
//
// configuration
$f_showfoldericon = $hmpopt['a_nb3']; // show folder icon ("envelope")?
$f_showicon = $hmpopt['a_nb4']; // show thread icon?
$f_showown = $hmpopt['a_nb5']; // show dot in folder icon for own posts in thread?
$boardlist = $hmpopt['boardlist1'];
$a_blt = $hmpopt['a_blt1'];
eval("print(\"".$hm_boxhead_tpl."\");");
$annpost = $hmpopt['ankid']; // Post ID
if ($annpost) {
$postanz=$db->query("SELECT *, t.prefix AS prefix
FROM bb".$n."_posts p, bb".$n."_threads t, bb".$n."_boards b
WHERE (p.postid = ".$annpost.")
AND (t.threadid = p.threadid)
AND (b.boardid = t.boardid)
LIMIT 1");
if ($postzeile = $db->fetch_array($postanz)) {
$icon = $iconpaths[$postzeile['iconid']];
if ($icon=='') $icon=$iconpaths['14'];
$vgtoppost = $postzeile['threadid'];
$postdate = formatdate($wbbuserdata['dateformat'],$postzeile['posttime'],1);
$posttime = formatdate($wbbuserdata['timeformat'],$postzeile['posttime']);
$prefix = htmlconverter($postzeile['prefix']);
$topic = htmlconverter(textwrap($postzeile['topic']));
if (!(isset($parse)) || ($parse->showimages != $showimages))
$parse = new parse($docensor, 75, $showimages);
$ankthread = $parse->doparse($postzeile['message'],
$postzeile['allowsmilies'],
$postzeile['allowhtml'],
$postzeile['allowbbcode'],
$postzeile['allowimages']);
//eval("print(\"".$tpl->get("hm_box_announce")."\");");
}
}
// collect threads
if ($wbbuserdata['userid']) {
// registered users
$result=$db->query("SELECT t.*, b.title, b.hotthread_reply, b.hotthread_view, tv.lastvisit, bv.lastvisit AS blastvisit
FROM bb".$n."_threads t
LEFT JOIN bb".$n."_boards b
ON (b.boardid = t.boardid)
LEFT JOIN bb".$n."_threadvisit tv
ON ((tv.threadid = t.threadid) AND (tv.userid = ".$wbbuserdata['userid']."))
LEFT JOIN bb".$n."_boardvisit bv
ON ((bv.boardid = t.boardid) AND (bv.userid = ".$wbbuserdata['userid']."))
WHERE (t.visible <> 0)
AND (b.boardid IN (".$boards_enter_list.")
AND (b.boardid IN (".$boardlist.")))
AND (t.closed < 3)
ORDER BY t.lastposttime DESC LIMIT ".$a_blt);
} else {
// guests
$result=$db->query("SELECT t.*, b.title, b.hotthread_reply, b.hotthread_view
FROM bb".$n."_threads t, bb".$n."_boards b
WHERE (b.boardid IN (".$boards_enter_list.")
AND (b.boardid IN (".$boardlist.")))
AND (b.boardid = t.boardid)
AND (t.visible <> 0)
AND (t.closed < 3)
ORDER BY t.lastposttime DESC LIMIT ".$a_blt);
}
// copy results to an array
$threadlist = '-1';
$threadarray = array();
while ($row = $db->fetch_array($result)) {
$threadid = intval($row['threadid']);
$threadlist .= ','.$threadid;
$row['userid']=0;
$threadarray[$threadid]=$row;
}
// for "ownpost" dots in folder icons
if ($f_showown && $wbbuserdata['userid']) {
$result=$db->query("SELECT threadid, MAX(userid) AS userid
FROM bb".$n."_posts
WHERE threadid IN (".$threadlist.")
AND userid = '".$wbbuserdata['userid']."'
GROUP BY threadid");
while ($row = $db->fetch_array($result)) {
$threadarray[$row['threadid']]['userid'] = $row['userid'];
}
}
//print('<tr><td class="tablea" colspan="10"><pre>');
//print_r($threadarray);
//print('</pre></td></tr>');
$lines = '';
foreach ($threadarray AS $postzeile) {
// has this thread been read?
$lastposttime = $postzeile['lastposttime'];
$lastvisit = ($wbbuserdata['userid']) ? $postzeile['lastvisit'] : 0;
if (($postzeile['blastvisit']) && ($postzeile['blastvisit'] > $lastvisit))
$lastvisit = $postzeile['blastvisit'];
$tnewflag = (($wbbuserdata['lastvisit'] < $lastposttime) && ($lastvisit < $lastposttime));
$postdate1=formatdate($wbbuserdata['dateformat'],$postzeile['lastposttime'],1);
$posttime1=formatdate($wbbuserdata['timeformat'],$postzeile['lastposttime']);
$icon = $postzeile['iconid'] ? $iconpaths[$postzeile['iconid']] : '';
$postzeile['title'] = getlangvar($postzeile['title'], $lang);
$postzeile['topic'] = htmlconverter(textwrap($postzeile['topic']));
$postzeile['starter'] = htmlconverter(textwrap($postzeile['starter'],25));
$postzeile['lastposter']= htmlconverter(textwrap($postzeile['lastposter'],25));
$postzeile['prefix'] = htmlconverter($postzeile['prefix']);
// thread status for folder icon
$foldericon = ' ';
if ($f_showfoldericon) {
if($postzeile['hotthread_reply']==0) $postzeile['hotthread_reply']=$default_hotthread_reply;
if($postzeile['hotthread_view']==0) $postzeile['hotthread_view'] =$default_hotthread_view;
if($postzeile['important']==2) $foldericon="announce";
else $foldericon = ((isset($postzeile['userid']) && $postzeile['userid']) ? ('dot') : (''))
.($tnewflag ? ('new') : (''))
.(($postzeile['replycount']>=$postzeile['hotthread_reply'] || $postzeile['views']>=$postzeile['hotthread_view']) ? ('hot') : (''))
.(($postzeile['closed']!=0) ? ('lock') : (''))
.'folder';
}
eval ("\$lines .= \"".$tpl->get("hm_box_boardlastthreadbit1")."\";");
}
eval("print(\"".$tpl->get("hm_box_boardlastthread1")."\");");
eval("print(\"".$hm_boxtail_tpl."\");");
$foldericon = '';
$icon = '';
unset($f_showfoldericon);
unset($f_showicon);
unset($f_showown);
?> |
|
Alles hochladen.....
das wars Viel Spaß damit!
|
|
Thema: HM Portal Box (wer ist wo online) |
|
Also ich möchte das auch für andere Gruppen einfügen,muss ich da bei dem code was kopieren das dies funktioniert:
<tr align="left">
<td class="tableb" align="left"><span class="smallfont">$username</span></td>
<if($wbbuserdata['a_can_view_ipaddress'])>
<then>
<td class="tablea" align="left"><span class="smallfont">$ipadress</span></td>
<td class="tableb" align="left"><span class="smallfont">$browser</span></td>
</then>
</if>
<td class="tablea" align="left"><span class="smallfont"><span class="time">$time</span></span></td>
<td class="tableb" align="left" colspan="<if($wbbuserdata['a_can_view_ipaddress'])><then>6</then><else>8</e
lse></if>"><span class="smallfont"><if($row[userid]==1)><then><span class="smallfont">Das geht Dich nichts an.<img src="{$style['imagefolder']}/smilies/biggrin2.gif" border="0" /></span></then><else>$location</else></if></span></td>
</tr>
oder geht des nur für eine user ID
|
|
Thema: HM Portal Box (wer ist wo online) |
|
jetzt funzt es wenn ich für ein anderes team mitglied das auch machen möchte muss ich ja nur de einen teil mit id nummer kopieren und einfügen oder?
|
|
Thema: HM Portal Box (wer ist wo online) |
|
es is besser wenn mann überall postet doch beim anderen wusste es keiner!
Danke im vorraus mal für deine hilfe werde es gleichmal versuchen!
|
|
Thema: HM Portal Box (wer ist wo online) |
|
tagchen!
Also ich suche und suche aber leider finde ich nichts...... (auch nicht im Forum! )
Mein problem ist im Portal bei der Box "wer ist wo online" gibt es ja eine möglichkeit für das Team das statt den text wo mann sich gerade befindet eine grafik rein macht so hab mal schon diese frage gestellt aber wie mache ich das bzw wo?
dieser Hack "das geht dir nichts an" den habe ich bereits doch der verändert nur den text im profil nicht in der box! so is es bis jetzt bei mir!!
Also kann mir da wer weiterhelfen?
Danke im vorraus!
|
|
|
Zeige Beiträge 1 bis 20 von 20 Treffern |
|
|