Navigation

Pligg Support

*** ATTENTION YANKIDANK ***
**************
I was able to work and fix all the bugs in the ‘Friend” feature. The linked file, friends-simple-messaging.html, outlines all the steps and the changes to be done.

What was done?

1. Fixed the logic of the code and eliminated the bugs that were preventing the Follow/Unfollow and also preventing the appearance of the “send message” button.
2. Now, the Follow/Unfollow will only appear to the Logged in user and have a status of Following or Follower, thus eliminating all bugs and the annoyance of any user logged in or not seeing these buttons and clicking on them only to generate an error or load a 404 page.
3. Only those who are Following each other will have the “Send Message” feature.

Let me know how it works and if there is anything missed to improve!

Attached: the zip folder for yankidank

Video demonstrating how it became:

https://www.youtube.com/watch?v=2FFC5QlCA1A

Possible Answers

    It took me a while, but I eventually was able to merge your code in with the latest. I ended up needing to put a lot of additional polish work on it, but I think the whole follower system and mutual messaging works as expected. Thanks for your help.

    https://github.com/Pligg/pligg-cms/commit/03fe0ef7efd2ef4df5563090e41041df1d953b1d

    | Posted 103 days ago | Permalink | Hide Replies

    Great! Thank you!

    | Posted 103 days ago | Permalink | Hide Replies

Who Upvoted this Story

Pligg.com's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire pligg.com domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.