Notification When There's a Reply to a Weblog - Postet den (2424 Views)
Senior Member
MaGraham
Innlegg: 1297
1297

Members would love to receive a notification when someone posts a reply to their blog (weblog). Would that take a lot of coding?
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
   
 Sidestørrelse 
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
Which blog mod are you using?
Postet den
Senior Member
MaGraham
Innlegg: 1297
1297
Originally posted by Carefree
Which blog mod are you using?

Oh my! I didn't know there would be a test! (lol)

I have it named "Snitz Weblog by Oxle v2." In the instruction file it's titled "MarcelG’s Weblogs."

"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
This uses the standard files for posting. All the members need to do is to subscribe to the weblog topic.
Postet den
Senior Member
MaGraham
Innlegg: 1297
1297
Originally posted by Carefree
This uses the standard files for posting. All the members need to do is to subscribe to the weblog topic.
Well, I am red-faced over this! Silly me forgot to turn the subscriptions on for the blogs! blush
Oh my!
Thank you so much, Carefree!
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Postet den
Senior Member
MaGraham
Innlegg: 1297
1297

Hmmm, that option is only displaying after someone does a reply. The "Reply to Topic" option, where the "Subscribe to Topic" option is normally displayed near, isn't displaying until after someone does a reply. Only the "Post a Reply" (like the "Quick Reply" is displayed if/when that option for posts is turned on) is displaying at the bottom of a blog until after someone does a reply.

Any ideas?
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
Is the behavior the same for all forums or just for this one?
Postet den
Senior Member
MaGraham
Innlegg: 1297
1297


Originally posted by Carefree
Is the behavior the same for all forums or just for this one?
It's just with the blogs, Carefree.
And like I said, after a reply to a blog has been made the "Subscribe to Topic" option appears. Prior to the reply, the only option is to type something and the "Post" and "Preview" buttons are displayed.
Here's a screen shot of what is displayed just below a blog. The only option at the top of a blog is to start a new blog.

[IMG]http://i1301.photobucket.com/albums/ag108/MaGrahamX9/blog_no_options_zpsb8ed370d.png[/IMG]
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
I haven't installed this, but it looks like the issue.
"log.asp"
Code:

Look for the following lines (appx 259-264):

IF T_STATUS <> 0 then
IF T_REPLIES > 0 and Request.QueryString("log_id") = "" then
Response.Write " <hr color=""" & strTableBorderColor & """ size=""1""></font><center><a href=""log.asp?log_id=" & TOPIC_ID & """>" & "<font color=""" & strDefaultFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & strSMMReadRepliesText & "</a>   |   <a href=""post.asp?method=Reply&topic_id=" & TOPIC_ID & "&FORUM_ID=" & strWeblogsForum & """>" & "<font color=""" & strDefaultFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & strSMMReplyText & "</a>" & vbNewLine
else
Response.Write " <hr color=""" & strTableBorderColor & """ size=""1""></font><center><a href=""post.asp?method=Reply&topic_id=" & TOPIC_ID & "&FORUM_ID=" & strWeblogsForum & """>" & "<font color=""" & strDefaultFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & strSMMReplyText & "</a>" & vbNewLine
end if
ELSE

Change them to say:

IF T_STATUS <> 0 then
IF Request.QueryString("log_id") = "" then
Response.Write " <hr color=""" & strTableBorderColor & """ size=""1""></font><center><a href=""log.asp?log_id=" & TOPIC_ID & """>" & "<font color=""" & strDefaultFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & strSMMReadRepliesText & "</a>   |   <a href=""post.asp?method=Reply&topic_id=" & TOPIC_ID & "&FORUM_ID=" & strWeblogsForum & """>" & "<font color=""" & strDefaultFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & strSMMReplyText & "</a>" & vbNewLine
else
Response.Write " <hr color=""" & strTableBorderColor & """ size=""1""></font><center><a href=""post.asp?method=Reply&topic_id=" & TOPIC_ID & "&FORUM_ID=" & strWeblogsForum & """>" & "<font color=""" & strDefaultFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & strSMMReplyText & "</a>" & vbNewLine
end if
ELSE
Postet den
Senior Member
MaGraham
Innlegg: 1297
1297


Arrrgh!! My entire domain is down right now!

I hope someone asks me about this hosting company before they make the same mistake I did by using them!
I Soooo wish I was already moved and ready to open the new site!!
I'll have to come back to this, Carefree. I'll let you know when I get to it.
THANK YOU!

"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Postet den
Senior Member
MaGraham
Innlegg: 1297
1297
Carefree, I probably should have shown you a screen shot of the way it's supposed to be displayed even before a reply is made. I'll do that now.

This first image has an arrow pointing to the changes made my your coding in your reply. You can compare it to the image in my previous post if you need to.

[IMG]http://i1301.photobucket.com/albums/ag108/MaGrahamX9/blog_still_not_correct_zps6ae36410.png[/IMG]


This second image shows the way it's displayed after a reply has been made but like I said, it's supposed to be displayed like this even before a reply is made to a blog. It used to display like this just below a blog but perhaps a mod I did has it messed up in some way. That's the only thing I can think of that could have caused it. As you can see, I had to highlight two of the links since the text was too dark to be seen.

[IMG]http://i1301.photobucket.com/albums/ag108/MaGrahamX9/blog_displays_correctly_zpsfb350b90.png[/IMG]
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Du må legge inn en melding