• 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 ] [Missing ioncube] Showing Blank page for moderator

Started by indiyatube


Replies: 12
Views: 5051

[ Video Sharing CMS v4 ] customize the About Box in the profile

Started by ronyhage


Replies: 2
Views: 1498

@Mario playlist block shows title of above block in admin and user page BUG#

Started by spirog


Replies: 4
Views: 4073

[ Video Sharing CMS v4 ] French accents showing up as Unicode sequence !

Started by IR123


Replies: 2
Views: 1330

[ Video Sharing CMS v4 ] Messenger And Notifications

Started by j9uddin


Replies: 2
Views: 3200

[ Video Sharing CMS v4 ] How do I correctly "show" sidebar instead of "hide?"

Started by PHPClient


Replies: 5
Views: 1828