read.php/episode message fix

General discussion about Extend-A-Story.

Moderator: Extend-A-Story Moderators

Post Reply
flying tiger comics
Posts: 31
Joined: Sat Jul 23, 2016 5:03 am
Contact:

read.php/episode message fix

Post by flying tiger comics » Mon Jul 25, 2016 2:25 pm

Hi,

I noticed that in the email sent to tell you a new episode has been made, it had only put read.php<episode info> and no the full path.

Not sure if that's due to my site being a https and not a http but I couldn't see anything in the code that indicated that.

My fix is below:

ORIGINAL CODE: line 697
$readEpisodeURL . "?episode=" . $episode . "\n" .

CHANGED CODE:
"<full directory path to where read.php is>" . $readEpisodeURL . "?episode=" . $episode . "\n" .

so for example for mine the changed code reads

"https://thezombienomicon.com/eas/" . $readEpisodeURL . "?episode=" . $episode . "\n" .

That results in a functional link within the email to the specific new episode.

JH
Posts: 1006
Joined: Sat Apr 26, 2003 4:31 pm
Location: UK
Contact:

Post by JH » Mon Jul 25, 2016 5:50 pm

Thanks for that. As Sir Toby doesn't look in here very often these days, it might be a good idea to open an issue on GitHub as suggested in the "2016 Extend-A-Story Development Update" thread.
JH

flying tiger comics
Posts: 31
Joined: Sat Jul 23, 2016 5:03 am
Contact:

Post by flying tiger comics » Mon Jul 25, 2016 11:39 pm

thanks I will do that right now.

Shame he doesn't visit here much though...

Post Reply