xoops forums

Forum Index


Board index » All Posts (martinw2008)




martinw2008

Just popping in
Posted on: 2011/1/24 19:34
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#1

Re: PM Module - Bug when deleting PM

The problem is still not fixed.


martinw2008

Just popping in
Posted on: 2009/8/11 2:51
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#2

Re: Yogurt - avatar problem

Nevermind,I fixed it.


martinw2008

Just popping in
Posted on: 2009/8/8 6:54
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#3

Re: Yogurt - avatar problem

Still no answer to my question.


martinw2008

Just popping in
Posted on: 2009/8/7 7:11
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#4

Re: Yogurt - avatar problem

I think that this code $sql = sprintf("DELETE FROM %s WHERE user_avatar = %u", $this->db->prefix('users'), $users->getVar('user_avatar')); should be placed below these lines in delpicture.php:
* Try to delete
*/
if ($album_factory->deleteAll($criteria)){

if ($xoopsModuleConfig['physical_delete']==1){
//unlink($xoopsModuleConfig['path_upload']."\/".$image_name);
unlink(XOOPS_ROOT_PATH."/uploads"."\/".$image_name);

unlink(XOOPS_ROOT_PATH."/uploads"."\/resized_".$image_name);
/**
* Delete the thumb (avatar now has another name)
*/
//if ($avatar_image!=$image_name){
unlink(XOOPS_ROOT_PATH."/uploads"."\/thumb_".$image_name);
//}

}

Please help me to fix it.


martinw2008

Just popping in
Posted on: 2009/8/7 1:52
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#5

Yogurt - avatar problem

Hi
Can someone help me to solve out this problem?
A user decides to delete his picture(this picture is set as an avatar).When he clicks a delete button, user_avatar in database still remains unchanged(user_avatar line was supposed to be emptied and then automatically changed to blank.gif).
How to fix it? I think that a code needs to be changed here yogurt/class/yogurt_images.php


martinw2008

Just popping in
Posted on: 2009/7/20 19:14
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#6

Find user option in pmlite.php

Hi
I have a question.
How to add a link with find user option in pmlite.php (Private messages). I want it exactly the same like XOOPS official website has.I am using smartprofile module to find users.
<a href='http://img39.imageshack.us/i/95539099.jpg/
/'><img src='http://img39.imageshack.us/i/95539099.jpg/
.jpg' border='0' alt='Image Hosted by ImageShack.us'/></a><br/>


martinw2008

Just popping in
Posted on: 2008/9/26 4:58
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#7

Re: Xoops 2.3 User Profile & Yogurt 3.3

It's not working.


martinw2008

Just popping in
Posted on: 2008/9/4 1:56
martinw2008
martinw2008 (Show more)
Just popping in
Posts: 9
Since: 2008/9/4 1
#8

Re: Yogurt - news from suico

Hello
I installed the newest version of yogurt 3.3 and found two errors.
First of all when I add a picture, every member who is either logged in or not can see the options of editing my picture.

Example,
Resized Image

Second of all, module can't play added youtube movies.
There is an error that says "We are sorry, this video is no longer available".

Resized Image

Besides, yogurt is a very good module.



TopTop