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: 69
Joined: Fri Sep 14, 2012 2:50 am
Contact:

If you like this post ...

Post by AdminPTF »

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.


User avatar
PFMcFarland
Super Member
Super Member
Posts: 2360
Joined: Tue Apr 29, 2014 11:02 pm
Contact:

Re: If you like this post ...

Post by PFMcFarland »

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: 69
Joined: Fri Sep 14, 2012 2:50 am
Contact:

Re: If you like this post ...

Post by AdminPTF »

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
Frequent Poster
Frequent Poster
Posts: 689
Joined: Mon Jul 14, 2014 9:14 am
Contact:

Re: If you like this post ...

Post by titrisol »

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: 69
Joined: Fri Sep 14, 2012 2:50 am
Contact:

Re: If you like this post ...

Post by AdminPTF »

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.
User avatar
PFMcFarland
Super Member
Super Member
Posts: 2360
Joined: Tue Apr 29, 2014 11:02 pm
Contact:

Re: If you like this post ...

Post by PFMcFarland »

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
Prolific Poster
Prolific Poster
Posts: 1098
Joined: Mon Mar 24, 2014 7:04 pm
Contact:

Re: If you like this post ...

Post by melek »

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
Frequent Poster
Frequent Poster
Posts: 689
Joined: Mon Jul 14, 2014 9:14 am
Contact:

Re: If you like this post ...

Post by titrisol »

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
Contact:

Re: If you like this post ...

Post by OpenWater »

Yup. It works!
User avatar
melek
Prolific Poster
Prolific Poster
Posts: 1098
Joined: Mon Mar 24, 2014 7:04 pm
Contact:

Re: If you like this post ...

Post by melek »

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 0 guests