MyXoops Forum

Forum - myXOOPS German Support

9 + 9 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw:: Social Profile im Test

Betreff: Aw:: Social Profile im Test
von saba am 18.02.2010 21:32:56

Na dann los, ich versuche mal, heh ich habe bereits bsw. profile_blocks_friends.html erstellt:
<{section name=i loop=$block.friends}>     <div style="width:80%; text-align: center; page-break-after: always; margin: auto; page-break-before: always;">     <a href="<{$xoops_url}>/modules/profile/index.php?uid=<{$block.friends[i].uid}>"  title="<{$block.friends[i].uname}>"><{ if $block.friends[i].user_avatar=="blank.gif" }> <img src="<{$xoops_url}>/modules/profile/images/noavatar.gif" alt="<{$block.friends[i].uname}>" /> <{else}> <img src="<{$xoops_upload_url}>/<{$block.friends[i].user_avatar}>" alt="<{$block.friends[i].uname}>" /><{/if}><br /><{$block.friends[i].uname}> </a>     <br /><a href='javascript;openWithSelfMain("<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$block.friends[i].uid}>","pmlite",500,450);'><img src="<{$xoops_url}>/images/icons/pm.gif" alt="" /></a>     </div><br /> <{/section}> <a href="<{$xoops_url}>/modules/profile/friends.php"><{$block.lang_allfriends}></a>
aber bin nicht so viel bereits selbst block zu erstellen,dann habe ich im xoops_version.php am ende hinzufügt :
$i++; 
$modversion['blocks'][1]['file'] = "blocks.php"; $modversion['blocks'][1]['name'] = _MI_PROFILE_FRIENDS; $modversion['blocks'][1]['description'] = _MI_PROFILE_FRIENDS_DESC; 
$modversion['blocks'][1]['show_func'] = "b_profile_friends_show"; 
$modversion['blocks'][1]['options'] = "5"; $modversion['blocks'][1]['edit_func'] = "b_profile_friends_edit"; 
$modversion['blocks'][1]['template'] = 'profile_block_friends.html';
und im language/bosanski/modinfo.php hinzufügt:
define("_MI_PROFILE_FRIENDS", "Moje društvo");
define("_MI_PROFILE_FRIENDS_DESC", "Prikaži moje društvo u bloku");
aber geht leider nicht

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag