If you like this post ...

Tips and detailed instructions for browsing and posting to the PhotographyToday.net Forums.
Post Reply
User avatar
AdminPTF
Amateur
Amateur
Posts: 63
Joined: Fri Sep 14, 2012 2:50 am
x 1
Contact:

If you like this post ...

Post by AdminPTF » Thu Aug 27, 2015 11:20 am

I added an extension today that let's you "like" a post.

Right now, it shows up as a heart, but maybe I'll change it to a different icon.

Click on the heart, and it will show that you "like" a post.

PFMcFarland
Super Member
Super Member
Posts: 2065
Joined: Tue Apr 29, 2014 11:02 pm
x 161
x 36
Contact:

Re: If you like this post ...

Post by PFMcFarland » Thu Aug 27, 2015 9:09 pm

All I got was a white page with one line of computer code for the heart.

PF
Waiting for the light

User avatar
AdminPTF
Amateur
Amateur
Posts: 63
Joined: Fri Sep 14, 2012 2:50 am
x 1
Contact:

Re: If you like this post ...

Post by AdminPTF » Thu Aug 27, 2015 9:27 pm

Probably a style issue. I feel some template work coming on ... :(

Update: The developer who coded this is aware that it doesn't work with certain board styles and hopes to have it corrected soon.

titrisol
Enthusiast
Enthusiast
Posts: 393
Joined: Mon Jul 14, 2014 9:14 am
x 70
x 36
Contact:

Re: If you like this post ...

Post by titrisol » Fri Aug 28, 2015 3:49 pm

same here.. I'm using the prosilver forum style
{"toggle_action":"remove","toggle_post":"4466"}

It does the like, but the transition back to the forum is wonky.... after a refresh (F5) the hearts are filled and the count goes up
If you can't fix it with a hammer... you got an electrical problem
even duct tape can't fix stupid.... but it can muffle it (SilentObserver)
My Flickr -ipernity
Thanks CE Nelson ;)

User avatar
AdminPTF
Amateur
Amateur
Posts: 63
Joined: Fri Sep 14, 2012 2:50 am
x 1
Contact:

Re: If you like this post ...

Post by AdminPTF » Fri Aug 28, 2015 3:59 pm

I purged all sessions and cleared the board cache. See if that did the trick for you. I tried it with ProSilver, and it worked OK.

• Here's the prosilver style.

• I know it doesn't work for Subsilver2 style.

PFMcFarland
Super Member
Super Member
Posts: 2065
Joined: Tue Apr 29, 2014 11:02 pm
x 161
x 36
Contact:

Re: If you like this post ...

Post by PFMcFarland » Fri Aug 28, 2015 10:00 pm

I'm running DVGFX2 and it doesn't work.

PF

ps: Or, at least I thought it didn't. I still get the white screen with code, but when I back-page, the heart is filled, and the count has gone up.

pss: It appears to work if I either post something afterwards, or if I leave the Forum section and then return later on. In other words, I don't see the change when it happens, only after I have moved on from that part of the Forum, and then back again.
Waiting for the light

User avatar
melek
Frequent Poster
Frequent Poster
Posts: 969
Joined: Mon Mar 24, 2014 7:04 pm
x 17
x 20
Contact:

Re: If you like this post ...

Post by melek » Sat Aug 29, 2015 8:42 am

DVGFX2 is based on subsilver2, which will give you the error. That's why you get the line of code.

It works on the back end (actually increments the counter), but doesn't dynamically display the correct result.
-Mike Elek

titrisol
Enthusiast
Enthusiast
Posts: 393
Joined: Mon Jul 14, 2014 9:14 am
x 70
x 36
Contact:

Re: If you like this post ...

Post by titrisol » Mon Aug 31, 2015 9:04 am

It works now!
If you can't fix it with a hammer... you got an electrical problem
even duct tape can't fix stupid.... but it can muffle it (SilentObserver)
My Flickr -ipernity
Thanks CE Nelson ;)

User avatar
OpenWater
Enthusiast
Enthusiast
Posts: 180
Joined: Tue Mar 25, 2014 10:24 am
Hide Like icons and summaries:
Contact:

Re: If you like this post ...

Post by OpenWater » Mon Aug 31, 2015 9:13 am

Yup. It works!

User avatar
melek
Frequent Poster
Frequent Poster
Posts: 969
Joined: Mon Mar 24, 2014 7:04 pm
x 17
x 20
Contact:

Re: If you like this post ...

Post by melek » Tue Sep 01, 2015 11:12 am

I flushed the system's cache, which hopefully resolved the problem for most of us. No fix yet for the subsilver2 styles.
-Mike Elek

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest