1
kakafuate
Re: How can I show the Avatar in another Module??
  • 2008/10/24 7:57

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


good morning travis and zyspec, i promese that i don't edit the post again

the avatar ist showing now only by a user that have a page (text in the page), and i missing this for a user without page (EMPTY PAGE) ...

also when the user goes at the first time to edit his page, one image is there but you can't see this

in both cases is the same template: userpage_index.html:

-----------------------------------------------------------

<table>
<tr>
<td><img src="<{$user_avatar}>" alt="" width="125" height="146" /></td>
<td><h2><{$up_title}></h2>

<{if $up_text}>

<{$up_text}>

<{else}>

<div style='text-align:left;'><{$smarty.const._USERPAGE_EMPTY_PAGE}></div>
<{/if}>
<br /><br />
</td>
</tr>
</table>

-----------------------------------------------------------

thanks



2
kakafuate
Re: How can I show the Avatar in another Module??
  • 2008/10/23 22:44

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


you can see the changes hier:

http://www.lalenin.com/escuelalenin/modules/userpage/userpage_list.php?op=list&start=0




3
kakafuate
Re: How can I show the Avatar in another Module??
  • 2008/10/23 22:42

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


excuse me for change/edit the post,

first time i didn't find the file userpage_list.php, one minute later later i find it and make the change you said

at the second time i try with the html for image like this:

<img src='<{user_avatar}>' alt=''/> but don't work ... this only work for the user page (one page) and not for the page list

for the page list work this:

<img src="<{$page.user_avatar}>" alt="" width="65" height="80" />

thank you very much and excuse me again



4
kakafuate
Re: How can I show the Avatar in another Module??
  • 2008/10/23 21:56

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


hola trabis gracias !!! it's work

thanks



5
kakafuate
How can I show the Avatar in another Module??
  • 2008/10/23 19:40

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


hallo everybody

i need the php code to show the user avatar in the Modul "userpage" ... a new row (the first) by the template userpage_list.html is ready ... i write something like this but not work

-----------------------------------
<table border="0" width="95%">
<tr>
<th align="center"><div align="left"><{$smarty.const._USERPAGE_AVATAR}></div></th>
<th align="center"><div align="left"><{$smarty.const._USERPAGE_USER}></div></th>
<th align="center"><div align="left"><{$smarty.const._USERPAGE_TITLE}></div></th>
<th align="center"><div align="left"><{$smarty.const._USERPAGE_DATE}></div></th>
<th align="center"><div align="left"><{$smarty.const._USERPAGE_HITS}></div></th>
</tr>
<{foreach item=page from=$pages}>
<tr class="<{cycle values="even,odd"}>" onclick="window.location='<{$xoops_url}>/modules/userpage/index.php?page_id=<{$page.up_pageid}>'">
<td align="center"><div align="left"><{$page.user_avatar}></div></td>
<td><div align="left"><a href="<{$xoops_url}>/userinfo.php?uid=<{$page.up_uid}>"><{$page.user_name}></div></td>
<td><div align="left"><a href="<{$xoops_url}>/modules/userpage/index.php?page_id=<{$page.up_pageid}>"><{$page.up_title}></a></div></td>
<td align="center"><div align="left"><{$page.up_created}></div></td>
<td align="center"><div align="left"><{$page.up_hits}></div></td>
</tr>
<{/foreach}>
</table
------------------------------------


thanks all

ps
in the index.php is something about this:

$xoopsTpl->assign('up_pageid',$page->getVar('up_pageid'));
$xoopsTpl->assign('up_title',$page->getVar('up_title'));
$xoopsTpl->assign('up_text',$page->getVar('up_text'));
$xoopsTpl->assign('up_created',$page->getVar('up_created'));
$xoopsTpl->assign('up_uid', $page->getVar('up_uid'));

$page_user = null;
$page_user = new XoopsUser($page->getVar('up_uid'));
if(is_object($page_user)) {
$xoopsTpl->assign('user_avatar', XOOPS_UPLOAD_URL.'/'.$page_user->getVar('user_avatar'));
$xoopsTpl->assign('user_name', $page_user->getVar('name'));
$xoopsTpl->assign('user_uname', $page_user->getVar('uname'));
$xoopsTpl->assign('user_email', $page_user->getVar('email'));
$xoopsTpl->assign('user_url', $page_user->getVar('url'));
$xoopsTpl->assign('user_from', $page_user->getVar('user_from'));
$xoopsTpl->assign('user_sig', $page_user->getVar('user_sig'));
}





6
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/23 22:47

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


hallo everybody, need some help by this error when i calling my profile (Webmaster), with another user is everythink ok

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 184320 bytes) in rootpath.../templates_c/default-lalenin_obscene^%%97^975^975DD178%%db%3Ayogurt_index.html.php on line 343

(i cleaned the folder templates_c like usual but have the same error, since today)

when i change the theme than have following error:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 46080 bytes) in rootpath.../class/smarty/Smarty_Compiler.class.php on line 276

thanks



7
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/5 23:34

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


thank you antifmradio

i dont understand english very well, better german or spanish

anyway i download the version 3.2 but in this version is the audio function+template (mp3) not available

can you explain me this anyway like for a dummy

thanks



8
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/5 21:43

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


can not add audio file by yogurt social network 3.3 (new install) in XOOPS 2.0.15

error by "add audio (mp3) file"

_ER_UP_ERRORSRETURNED
_ER_UP_NOFILEUPLOADED

Bad, Bad Module...No cachaça for you!
Unfortunately, this module has acted in an unexpected way. Hopefully it will return to its helpful self if you try again.

some can help me??
thanks



9
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/9/4 6:53

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


Hallo Suico, hallo everybody:

Se podrá en un futuro o ya se ha pensado: integrar el cumpleaños del usuario (con felicitación y todo) en el Social Network ?? Los módulos de cumpleaños que hay para XOOPS están demasiado arcaicos

the BIRTHDAY is very important for a comunity homepage with many users ... i hope to see this function in the future by the social network with happy birthday notice include. There are many Birthday standalone moduls for XOOPS for download (anniversary, mybirthday, etc) but not in the Social Network integrated, i'm sorry for my english, bad bad

Somebody can help me to integrate one of this modules (for example: birthday) in the Social Network??

Thanks y gracias a todos



10
kakafuate
Re: Yogurt Social Network 2.9 BETA
  • 2008/7/5 23:43

  • kakafuate

  • Just popping in

  • Posts: 12

  • Since: 2006/3/1 1


ok entiendo eso, but

what about PM?

best regards




TopTop
(1) 2 »



Login

Who's Online

191 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits