Zur Zeit unterwegs: Das geht Dich nichts an wie ?

Alexdo
ah! Hatte anstatt || immer && drin auweia . Vielen Dank Ehren
FireFighter
Zitat:
Original von Ghostmaster
Das ist (glaub ich) eine einfache Templatebearbeitung
Dazu gehst du einfach in der profile.tpl:

code:
1:
2:
3:
4:
5:
6:
7:
8:
   <if($userlocation!="")>
   <then>
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></span></td>
    <td><span class="normalfont">$userlocation</span><span class="normalfont">$userlocation</span></td>
   </tr>
   </then>
   </if>


und ersetzt es mit:

code:
1:
2:
3:
4:
5:
6:
7:
8:
   <if($userlocation!="")>
   <then>
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></span></td>
    <td><if($user_info[userid]==1)><then><span class="normalfont">Das geht Dich nichts an.</span></then><else><span class="normalfont">$userlocation</span></else></if></td>
   </tr>
   </then>
   </if>


funktioniert prima aber wie muss ich das machen das hinter dem nick noch ein smilie angezeigt wird??
Ghostmaster
code:
1:
2:
3:
4:
5:
6:
7:
8:
   <if($userlocation!="")>
   <then>
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></span></td>
    <td><if($user_info[userid]==1)><then><span class="normalfont">Das geht Dich nichts an. <img src="{$style['imagefolder']}/smilies/biggrin.gif" border="0" /></span></then><else><span class="normalfont">$userlocation</span></else></if></td>
   </tr>
   </then>
   </if>


Bitte schön smile
FireFighter
danke
Igonta
Für alle die das HM Portal V3 nutzen hier der Code des hm_box_wiw_userbit Templates einfach den kompletten Inhalt überschreiben! Achtung USERID und wenn nötig smilie pfad muss noch angepasst werden!

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
<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</else></if>"><span class="smallfont"><if($row[userid]==527)><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>
FireFighter
Zitat:
Original von Ghostmaster
Das ist (glaub ich) eine einfache Templatebearbeitung
Dazu gehst du einfach in der profile.tpl:

code:
1:
2:
3:
4:
5:
6:
7:
8:
   <if($userlocation!="")>
   <then>
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></span></td>
    <td><span class="normalfont">$userlocation</span><span class="normalfont">$userlocation</span></td>
   </tr>
   </then>
   </if>


und ersetzt es mit:

code:
1:
2:
3:
4:
5:
6:
7:
8:
   <if($userlocation!="")>
   <then>
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></span></td>
    <td><if($user_info[userid]==1)><then><span class="normalfont">Das geht Dich nichts an.</span></then><else><span class="normalfont">$userlocation</span></else></if></td>
   </tr>
   </then>
   </if>


ich hab das in meinem neuen board eingebaut aber es wird nicht angezeigt?
Dragon-Lion
wird der thread noch supportet ?
Agi
Zitat:
Original von Dragon-Lion
wird der thread noch supportet ?


Ja, aber nicht mehr in diesen Thread. Hier gehts weiter: Profil: 'Das geht dich nichts an' - v2 Augenzwinkern