MyXoops Forum

Aw:: Social Profile im Test [Community-Module] - myXOOPS German Support

feichtl

Ehrenmitglied
Gepostet am:19.02.2010 16:47
feichtl
feichtl Offline (Show more)
Ehrenmitglied
Posts: 2650
Since: 11.06.2004
#120

Aw:: Social Profile im Test

Zitat:

saba schrieb:
...
Ergebnis weisse seite


Wie wärs den, den Debug zu aktivieren? Ohne Fehlermeldung ist das wie ein Blindendinner.

Bleekk

Co-Administrator
Gepostet am:19.02.2010 16:14
Bleekk
Bleekk Offline (Show more)
Co-Administrator
Posts: 1506
Since: 16.12.2002
#119

Aw:: Social Profile im Test

wenn sonst auch das $i verwendet wird dann sollte es dein block auch

Advertisement

Gepostet am:0
Advertisement (Show more)
Posts: 0
Since: 0


Hier könnten Sie Ihre Anzeige aufgeben!
Bitte kontaktieren Sie uns, um mehr darüber zu erfahren.

saba

"myXOOPs"-Fortgeschrittener
Gepostet am:19.02.2010 15:50
saba
saba Offline (Show more)
"myXOOPs"-Fortgeschrittener
Posts: 118
Since: 04.06.2006
#118

Aw:: Social Profile im Test

Bringt nichts noch was muss sein:
//Blocks
$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]['edit_func']   = "b_profile_friends_edit";
$modversion['blocks'][1]['template']    = 'profile_block_friends.html';

//Templates
$modversion['templates'][1]['file'] = 'profile_block_friends.html';
$modversion['templates'][1]['description'] = '';

tsbmusic

"myXOOPs"-Könner
Gepostet am:19.02.2010 15:21
tsbmusic
tsbmusic Offline (Show more)
"myXOOPs"-Könner
Posts: 467
Since: 01.12.2009
#117

Aw:: Social Profile im Test

Wöfür hast du das $i++ da noch stehen wenn du es sowieso mit Zahlen machst? Entweder machst du das $i++ weg, oder du machst bei den Nummern des Template $i rein!

Gruss
tsbmusic

saba

"myXOOPs"-Fortgeschrittener
Gepostet am:19.02.2010 15:08
saba
saba Offline (Show more)
"myXOOPs"-Fortgeschrittener
Posts: 118
Since: 04.06.2006
#116

Aw:: Social Profile im Test

Link ist hier und tutorial hat mier etwas geholfen jezt habe ich block aber mit weisse seite.
Änderung habe ich im xoops_version.php gemacht:
//Blocks
$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]['template'] = 'profile_block_friends.html';
//Template
$i++;
$modversion['templates'][1]['file'] = 'profile_block_friends.html';
$modversion['templates'][1]['description'] = '';

Ergebnis weisse seite
MfG
Saba

tsbmusic

"myXOOPs"-Könner
Gepostet am:19.02.2010 14:14
tsbmusic
tsbmusic Offline (Show more)
"myXOOPs"-Könner
Posts: 467
Since: 01.12.2009
#115

Aw:: Social Profile im Test

Vor kurzem hatte hier mal jemand geschrieben das er ein deutsches Modulprogrammierungs-Tutorial erstellt. Weiß noch jemand den Link oder zumindest den User der das war?

Gruss
tsbmusic

saba

"myXOOPs"-Fortgeschrittener
Gepostet am:18.02.2010 21:32
saba
saba Offline (Show more)
"myXOOPs"-Fortgeschrittener
Posts: 118
Since: 04.06.2006
#114

Aw:: Social Profile im Test

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

alfred

Administrator
Gepostet am:18.02.2010 20:35
alfred
alfred Offline (Show more)
Administrator
Posts: 7618
Since: 06.12.2004
#113

Aw:: Social Profile im Test

Zitat:

tsbmusic schrieb:
Die kannst du dir auch selber programmieren!


Fein, dann kann ich mir ja die Arbeit sparen.

tsbmusic

"myXOOPs"-Könner
Gepostet am:18.02.2010 20:02
tsbmusic
tsbmusic Offline (Show more)
"myXOOPs"-Könner
Posts: 467
Since: 01.12.2009
#112

Aw:: Social Profile im Test

Die kannst du dir auch selber programmieren!

saba

"myXOOPs"-Fortgeschrittener
Gepostet am:18.02.2010 16:17
saba
saba Offline (Show more)
"myXOOPs"-Fortgeschrittener
Posts: 118
Since: 04.06.2006
#111

Aw:: Social Profile im Test

Bloks hoffe kommt mit 1.69 wie "Neues User Bilder" oder "Live frundschaft message" oder so enlich...
MfG
Saba
Diesen Thread durchsuchen:  1 Anonyme Benutzer

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
OffOffTopic [Wichtig] Übernahme myXOOPS 0 491 11.12.2023 18:57
alfred Gehe zum letzten Beitrag
Die Installation und Administration von XOOPS 2.5.X [Offen] Upgrade 2.5.11 3 2202 07.05.2023 07:03
Goffy Gehe zum letzten Beitrag