Notifications
Clear all

wpDiscuz Widgets - Excerpt - Hide Image URL

11 Posts
2 Users
0 Reactions
1,067 Views
Posts: 54
Customer
Topic starter
(@soft-designs)
Member
Joined: 4 years ago

Hi - Great Products, Great Vendor 🙂
--
When we add image only comment, on the front-end the comment image renders perfectly:

SEE: https://www.screencast.com/t/oDIPepg1Q
--
However when we view the wpDiscuz Widget - recent posts - the raw Image URL shows:

SEE: https://www.screencast.com/t/FnoMoiNY5Z
--

#1) How to HIDE the raw Image URL in wpDiscuz Widgets - Recent Comments - Excerpt?

 

10 Replies
Elvina
Posts: 1403
(@elvina)
Support
Joined: 5 years ago

Hi @soft-designs,

Please leave the example URL.

Reply
Posts: 54
Customer
Topic starter
(@soft-designs)
Member
Joined: 4 years ago
Posted by: @soft-designs

--
However when we view the wpDiscuz Widget - recent posts - the raw Image URL shows:

SEE: https://www.screencast.com/t/FnoMoiNY5Z
--

#1) How to HIDE the raw Image URL in wpDiscuz Widgets - Recent Comments - Excerpt?

 

Not sure, but I think you are asking for the example URL shown above?
The Example URL shown above, would be the same as any image URL, correct?
Below is the example URL:

"https://sdos.cloud/wp-content/object/Voice-Script-Discourse-Reply-2020-09-16-post-6267.jpg"

Reply
6 Replies
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@soft-designs,

I'm asking for the URL to your website.

Reply
Customer
(@soft-designs)
Joined: 4 years ago

Member
Posts: 54

@elvina

--
This issue is easy to re-create:  Simply leave an "image only comment" - a comment that is only the URL of an image, and does not contain any other text.  Then look at wpDiscuz Widget - recent posts - and you will see the raw URL.
--

The URL to our website is here:
The issue previously occurred at the wpDiscuz Widget - recent posts here:
https://voice.club/stars

(Scroll to the bottom to see wpDiscuz Widget - recent posts)

However, now there are so many new comments on top, that image comment has been pushed back, and now not visible.

The only way you can really see the issue is this screen shot here:
--
However when we view the wpDiscuz Widget - recent posts - the raw Image URL shows:

SEE: https://www.screencast.com/t/FnoMoiNY5Z
--

#1) How to HIDE the raw Image URL in wpDiscuz Widgets - Recent Comments - Excerpt?

Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@soft-designs,

Please enable the guest posting to allow us to check it. Or simply reproduce the issue and let us know.

Reply
Customer
(@soft-designs)
Joined: 4 years ago

Member
Posts: 54

@elvina

Hi, unfortunately our platform does not allow guest posting.  You can SignIn via Google, and reproduce the error by leaving an "image only comment"
--
I did reproduced the issue once already, when I first created this ticket:

At this time, the easiest way to really see the issue is this screen shot here:
--
The wpDiscuz Widget - recent posts - shows the raw Image URL:

SEE: https://www.screencast.com/t/FnoMoiNY5Z
--

I think the issue is very easy to reproduce on your side...

Reply
Customer
(@soft-designs)
Joined: 4 years ago

Member
Posts: 54

@elvina

Hi - We saw a new comment today from "Alvina" - was that your gVectors team testing?
--
If so, could you please try again, and leave a test "image only" comment on this post instead? : https://voice.club/story-persian-carpet
--
Please try a new "image only" comment on the post above, and wait for comment approval.  Then after approved, check the error by going to this URL at the wpDiscuz Widget - recent posts here:

https://voice.club/stars

(Scroll to the bottom to see wpDiscuz Widget - recent posts)

Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@soft-designs,

You can use the following CSS code: 

#widget-comments-container #wpdiscuz-recent-comments-box .wpdwd-recent-comment-content > a{
display: none;
}

But please note it will hide all recent comment content, not only the image URL's.

Reply
Posts: 54
Customer
Topic starter
(@soft-designs)
Member
Joined: 4 years ago
Posted by: @elvina

But please note it will hide all recent comment content, not only the image URL's.

Hi Elvina - Thanks for the CSS code, but I am not sure it would work to "hide all recent comment content".  That would degrade the features of your AddOn that we recently purchased.

--
Can you think of any other way, maybe some method to check if the comment is an image, and ONLY hide the recent comment content, if it is an image URL?
--

 

Reply
1 Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@soft-designs,

Can you think of any other way, maybe some method to check if the comment is an image, and ONLY hide the recent comment content, if it is an image URL?

We're really sorry but there is no way to do this.

Reply
Share:
Scroll to top