• Welcome to PHPVIBE Forums. Please log in.

When making a comment your profile not show

Started by spirog,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spirogTopic starter

Hi when I go and make a comment and I don't have a profile photo added,
- the comment shows up but the profile image is a dead image - Until you refresh page.
Then it works.
Is there a quick fix for this ?

Thanks

Spiro
  •  

PHPVibe R

Hi,

If you don't have a profile avatar the behavior is normal, as the replacements are jquery created.

try calling the initial() plugin on that avatar in the on the fly box, but it may fail. Have to test this.
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

spirogTopic starter

#2
in comments.php i found this code below


} elseif($to < 1) {
   $uhtml .= '<li id="reply-'.$cobj.'-'.$to.'" class="addcm '.$xtra.'">
   <img class="avatar" data-name="'.addslashes(user_name()).'" src="'.thumb_fix(site_url().'/storage/uploads/def-avatar.jpg', true, 55, 55).'">

but in storage/uploads/    there is only def-avatar.png
when I make a copy of avatar and rename it to def-avatar.jpg it works but its not the letter  of the user its the actual def-avatar.jpg if I remove def-avatar.jpg and leave only def-avatar.png I have to refresh to see the profile image ( letter of Image) example is >> user name : Mike
the image shows the letter M as default image.

so anyway we can make the default profile image with the letter M show right away, without refresh page ?

thanks
unless you make page refresh every time you add a comment when you press comment button ? then it will show the default profile Letter M all the time

thanks

Spiro
  •  

 

Similar topics (7)

[ Video Sharing CMS v4 ] Advertising on fhome / Ads not showing on Homepage Builder Block

Started by gerardfox


Replies: 7
Views: 1683

[ Video Sharing CMS v4 ] Lib/comments.php line 30 User avatar problem

Started by mihai


Replies: 4
Views: 1288

[ Video Sharing CMS v4 ] Do not show the category when adding video

Started by hamzat


Replies: 2
Views: 1102

[ Video Sharing CMS v4 ] Upload notice

Started by vipe


Replies: 2
Views: 978

[ Video Sharing CMS v4 ] Vine importer not showing video thumbnail

Started by major48


Replies: 1
Views: 1093

[ Video Sharing CMS v4 ] How to install Disqus Commenting System in PHPVibe

Started by Imran Murtaza


Replies: 1
Views: 1382

[ Video Sharing CMS v4 ] Homepage Block (Show category and category's subcategories videos in a block)

Started by khanowner


Replies: 1
Views: 1671