Forums / Cotonti / Extensions / Users Wall

I think its a bug.

zboy812
#1 2009-03-29 08:09
Hi, i am using "Users Wall"

When i try to respond to a message on my profile wall it leaves a comment for one of my pages ... huh?

I can not write on my own wall?

Thank you for response.
esclkm
#2 2009-03-29 14:38
I dont understand what do you whant
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
w1ckd
#3 2009-03-29 14:43
the admin part you can enable in the plugin configuration.

The bug with the submit comment and then adds the comment to a page. well, i had this also and i when i disabled the *Search engines friendly links* plugin it worked.
For our Freedom and Yours!
zboy812
#4 2009-03-29 16:03
Hi wicked, i dont have that plugin "Search engines friendly links". I wonder what is cause this?

@esclkm:

The Wall not let me post on my wall, only of wall of other people. I want to write on my wall.

When i post on my wall it has a bug, it post my shout in comment section of "pages".

I think some hook is stealing the _post!
musiconly
#5 2009-04-07 03:00
I have the same problem.

I bet zboy812 that you also have userspages plugin installed (showing user submitted pages on his profile page).

The problem with user wall is that when it's combined with userpages, you get bugs.

For example, when you post a comment on user's profile, the comment gets posted on the latest page that user has submitted.

I don't know how exactly to explain you.

Install user's wall, and user pages.. And then try to comment on someone's wall.
esclkm
#6 2009-04-07 03:49
OK! I know the problem and I will fix it
Please wait some days

people, diseases, ideas, programs, and I have only 2 hands
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты

Dit bericht is bewerkt door esclkm (2009-04-07 03:51, 15 jaren ago)
musiconly
#7 2009-04-07 16:20
:-)
zboy812
#8 2009-04-08 16:54
@musiconly

Yes you are correct i have it!

@esclkm

Thank you i am wait your arival!
esclkm
#9 2010-01-11 02:28
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
tensh
#10 2010-01-31 00:38
I still post comments to pages when I try to either rate or comment on my own wall :(

OK, I found out why. This plugin comes in conflict with User's Latest Pages plugin. To make it work as expected, you've got to edit userpages.php and userpages.ajax.php:

userpages.php: delete these parts:

$item_code = 'p'.$row['page_id'];
list($comments_link, $comments_display, $comments_count) = sed_build_comments($item_code, $row['page_pageurl'], TRUE);
list($ratings_link, $ratings_display) = sed_build_ratings($item_code, $row['page_pageurl'], TRUE);

and delete this:

					"UP_COMMENTS" => $comments_link,
					"UP_COMMENTS_DISPLAY" => $comments_display,
					"UP_COMMENTS_COUNT" => $comments_count,
					"UP_RATINGS" => $ratings_link,
					"UP_RATINGS_DISPLAY" => $ratings_display

in userpages.ajax.php, delete as above. Now you should be able to post in your wall and so on...

This is a dirty fix, I don't know how to make these plugins fully cooperate... but standard userpages skin don't use these tags anyway as a default, so it's not a big loss.

Dit bericht is bewerkt door tensh (2010-01-31 04:16, 14 jaren ago)
Trustmaster
#11 2010-02-01 21:02
Just solve the name conflict for the $item_code variable. User $p_item_code in userlatestpages and $w_item_code in userswall (standard Find&Replace should work).
May the Source be with you!
tensh
#12 2010-02-03 02:48
Yep, I thought it would help, but it didn't. I changed every variable name that could be the same. It didn't help, unfortunately. Seems like the whole constructions:
list(x,y,z) - sed_build_comments(...) and
list(x,y) - sed_build_ratings(...)
get somehow 'overwritten' by plugin userpages, and only when the user has admin rights (probably admin rights for comments and ratings part of Cotonti are enough, or admin rights to edit users? It is user's details page after all.).

It looks like a Cotonti bug o_O.

Dit bericht is bewerkt door tensh (2010-02-03 02:55, 14 jaren ago)