Forums / Cotonti / Extensions / [Plugin] Cotonti Social

<<<1234>>>

Kingsley
#31 2012-01-15 00:42

found a bug:

the p.m. send when you invite some one doesn't show up as a new p.m.

the rest works like a charm :D and looks good on a site..

 

 

This post was edited by Kingsley (2012-01-15 02:05, 12 years ago)
Trustmaster
#32 2012-01-15 07:23
#32635 ez:
Can you release the genoa ones too? There are still lots of ppl on genoa

Probably I can but it would mean twice the effort supporting them. And anyways they can't be released "as is" because they are custom-fitted for a specific site. So we'll see how easy it gets.

May the Source be with you!
Kingsley
#33 2012-01-15 13:29

Question:

Is it really necessary to have the complete header copied just for the get friends / loose friend button?
Can't you make it so that you only need one button?

tried to achieve it with the arefriends/ nofriend lines, but that didn't work..

Dyllon
#34 2012-01-15 14:48
Yeah the way I set it up is a bit annoying. I'll Defineatly turn it onto one tag on the next release.
We are what we repeatedly do. Excellence then, is not an act, but a habit.
Kingsley
#35 2012-01-15 14:54

cool, thx..

esclkm
#36 2012-01-15 14:58

may be add tree comments fot pages (like wall)

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Dyllon
#37 2012-01-15 15:26
That's beyond the scope of this plugin, but it's something I would recommend the team adding into the default package of Siena (it's used in almost every popular cms).
We are what we repeatedly do. Excellence then, is not an act, but a habit.
Twiebie
#38 2012-01-15 17:49

I've got a few problems with the plugin.

When I send a friend request to a user, it returns the following error:

Fatal error: SQL error 42S02: Base table or view not found: 1146 Table 'goatclan_goat.cot_pm' doesn't exist
#0  cot_diefatal(SQL error 42S02: Base table or view not found: 1146 Table 'goatclan_goat.cot_pm' doesn't exist) called at [/public_html/system/database.php:356]
#1  CotDB->insert(cot_pm, Array ([pm_title] => You have received a friend request!,[pm_date] => 1326644468,[pm_text] => Twiebie has requested to be your friend. You may use the links below to accept or reject their request.Accept Request Decline Request,[pm_fromstate] => 0,[pm_fromuserid] => 1,[pm_fromuser] => System,[pm_touserid] => 82,[pm_tostate] => 0)) called at [/public_html/plugins/cotsocial/cotsocial.users.details.php:67]
#2  include(/public_html/plugins/cotsocial/cotsocial.users.details.php) called at [/public_html/modules/users/inc/users.details.php:75]
#3  include(/public_html/modules/users/inc/users.details.php) called at [/public_html/modules/users/users.php:34]
#4  require_once(/public_html/modules/users/users.php) called at [/public_html/index.php:96]
I've managed to get around this by changing line 67 in cotsocial.users.details.php to:
$pmsql = $db->insert($db_pm, $pm);

Now it does send a PM to the user with the request, but it doesn't show a message that the request has been send.
Also it sends a PM with HTML in it:

<a href="users/1?m=details&action=accept">Accept Request</a> <a href="users/1?m=details&action=decline">Decline Request</a>
This doesn't work on a website that works with BBcode.

 

lukgoh
#39 2012-01-16 15:07
I'm guessing you just need to option to select or fix what it parses like the pages, forums, etc...
Dyllon
#40 2012-01-16 20:46
Thanks for all the reports guys! I'm going to give everything a look tonight, and square away some of these bugs.

Added 5 hours later:

I have fixed all of the bugs that have been reported.

  • It now shows the user has a new private message upon sending a friend request
  • The accept/decline friend request link is now compatible with bbcode parser
  • Updated line 67, which gave errors if you weren't using the table prefix cot_
  • It now displays a message when you send a friend request, informing the user that a request has been sent.

The updated version can be downloaded on the plugin page, or directly using this link.

We are what we repeatedly do. Excellence then, is not an act, but a habit.
This post was edited by Dyllon (2012-01-17 02:32, 12 years ago)
Twiebie
#41 2012-01-17 02:36

Thanks a lot, Dyllon!

fade2k
#42 2012-01-17 15:17

Just a thought of mine and I don't know how difficult it would be with the current implemetnation of your plugin but... I was thinking that (down the road) a users dashboard could be brought back which shouldn't be any issue but with an addition of using the friends function to display updates by other friends (common) with the added twist of displaying friends recent forum posts, much like how recent posts are displayed with the plugin for profiles... Just a sorted recent posts, perhaps limited to x_num posts per friend ... I guess an activity feed but more focused on the forums themselves. I don't believe I've seen this feature anywhere before or at least implemented in this manner... so it could be unuqe to Cotonti (if its useful?).

 

- Be Kind, Please Rewind -
Kingsley
#43 2012-01-19 03:02

When user is friend, and gets deleted, the avatar still remains in the friends list.

Dyllon
#44 2012-01-19 04:29

I can't seem to replicate that error. I've added my demo account, and clicked remove friend, but it is removed entirely from the friends list.

We are what we repeatedly do. Excellence then, is not an act, but a habit.
Kingsley
#45 2012-01-19 06:11

no I do not mean deleted as friend, but the account.

Added 1 month later:

just showing intrest: how is it coming along Dyllon?

This post was edited by Kingsley (2012-03-02 23:02, 12 years ago)

<<<1234>>>