Install.sql - Timeline like button

I want to add the enhancement of a like button in the timeline module:

https://github.com/boonex/dolphin.pro/issues/179

  

90% of the changes are simple.

I will recompline en.php too.

  

But what do I do with wall/install/sql/install.sql?

Do I have to uninstall / reinstall the timeline module so it runs install.sql (if so, won't it delete everything posted to the timeline previously)?

Not sure how to run/update this particular file to reflect the changes.

Quote · 18 Nov 2015

Same thing came to my mind, so i decided to wait for 7.2.2. One more thing i was wondering  the Like is only for Friends timeline, not for the outline or for the content on view page.

Umar Haroon
Quote · 18 Nov 2015

Don't we already have like and dislike in Dolphin in the form of + & - on comments?

With like and dislike on other features such as pics, vids, status updates etc wouldn't that make Dolphin too much like FB? The vote / star system seems to work fine.

If you want a site that looks and feels like a facebook page, all you really need is a facebook page.

 

Ed

It ain't easy being this stupid all of the time
Quote · 18 Nov 2015

We can always change the thumbs up picture with any other image. heart, star, kiss etc . This way every one can have a unique look with same function. Main purpose of the button is people fave the content.

Umar Haroon
Quote · 18 Nov 2015

Now if you could add your own image for a like and dislike facility and it was available for all member posted site content, that is a mod i could really live with, something to make Dolphin stand out above fb. :)

It ain't easy being this stupid all of the time
Quote · 18 Nov 2015

People loves like button, because it is a simple way to interact. And author loves to see that they have many likes. It would be great to integrate likes in the 7.2.2.

Each item could be liked everywhere. That means you can like the item in its view page, but also on the timeline. And likes should be counted and displayed on outline, timeline and module home and view page. The votes would be disabled and the top 10 should count likes instead votes.

May be this suggestion is very complicated ? But actually it is really missing.

I use EvoWall and like module to have likes on my site, but as they don't interact, it is not a very good solution.

I really hope that you could integrate likes in the 7.2.2 !!!!

Quote · 23 Nov 2015

This enhancement is a good start.

Got it to work on all my sites, no problems.

Plugged the 3 sql statements right in phpmyadmin, made the file changes, cleared cache and voila.

Quote · 23 Nov 2015

 

This enhancement is a good start.

Got it to work on all my sites, no problems.

Plugged the 3 sql statements right in phpmyadmin, made the file changes, cleared cache and voila.

 Hi

I tried this last week and it seemed great and all worked fine

however when I joined as a new user, added a photo and then clicked the home link I got a
'cannot connect to database error' and lots of cron error reports

I had to delete that user to access my site again
I then installed the backup SQL I had saved to get back to normal.

This may not be the case for you though - it may just of been something I had done wrong?

Quote · 23 Nov 2015

Not sure why you are getting so many errors.

I installed this like button enhancement on 4 sites and no problems to report so far.

 

I do have a demo site that I tested it on first, before I added the enhancement to my live sites.

Quote · 23 Nov 2015

Yes I installed it with no errors too

The problems arose when I added a new user and tried to navigate around the site?

Has anyone joined your site since you made the changes?

Quote · 23 Nov 2015

So in your demo site the Like button is in

1. view page (photo,audio,video)

2. Timeline (Personal, friends timeline, homepage timeline)

My question is, does it appear on outline aswell?

Umar Haroon
Quote · 23 Nov 2015

Ok, I've tested this further. I added a standard member to 3 of my sites.

No problems to report or errors.

The Like Button appears on the timeline only (homepage, friends, personal).

 

I did notice that if someone rates an article, image, etc... it also counts as a like.

Quote · 23 Nov 2015

That's good news,
at least I now know it was probably something I had done wrong


Quote · 23 Nov 2015

For the install.sql file, make sure that you replace [db_prefix] with bx_wall_

I missed that the first two times.

There are 4 instances to change this (once in each of the first 2 statements, twice in the 3rd statement).

 

Example:

CREATE TABLE `[db_prefix]voting`   

change to:   CREATE TABLE 'bx_wall_voting'

Quote · 23 Nov 2015

 

For the install.sql file, make sure that you replace [db_prefix] with bx_wall_

I missed that the first two times.

There are 4 instances to change this (once in each of the first 2 statements, twice in the 3rd statement).

 

Example:

CREATE TABLE `[db_prefix]voting`   

change to:   CREATE TABLE 'bx_wall_voting'

 
Ah that's where I went wrong - I will try that

Many thanks launch3 Smile

Quote · 24 Nov 2015

 

 

I did notice that if someone rates an article, image, etc... it also counts as a like.

 The stars will be replaced with like I think. May be in later versions. 

Umar Haroon
Quote · 24 Nov 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.