• Welcome to PHPVIBE Forums. Please log in.

If no image uploaded for mp3 it doesn't show anything on some pages.

Started by spirog,

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

spirogTopic starter

Hi there is some areas when you upload an mp3 file and not upload a  image. It shows a dead image. Is there a way to fix this. ?

Example you click on music and click on an uploaded mp3. So now on that page you have a few more mp3's below that will be next to watch - listen too. They do not have an image. It's just a dead looking image.

Anyway to fix this somehow. Without uploading image. ?

Thank you

Spiro
  •  

PHPVibe R

Hi,

It feels to me like you have a default image missing on the server. Cause the initial plugin will take over if images are missing (no upload).
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

spirogTopic starter

Where can I check if there is missing default images. What directory and where can I double check to see what default image is missing. ?

Thanks
  •  

spirogTopic starter

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 tpo refresh to see the profile image ( latter 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
  •  

spirogTopic starter

sorry posted this is wrong section, can you delete last post about comments

thanks
  •  

spirogTopic starter

missing image :    xmp3.jpg   or make a newer file called xmp3.jpg that looks nicer than this one for default music image if no image is uploaded
/storage/media/thumbs/xmp3.jpg
  •  

spirogTopic starter

  •  

PHPVibe R

Hi,

Find this in phpvibe_app.js

$('#comment-' + data.id).find('.body').html(shtml);

and try something like this
$('#comment-' + data.id + ' .avatar').initial({charCount:1});
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

 

Similar topics (7)

[ Video Sharing CMS v4 ] How to add fields to the upload form

Started by Rafa


Replies: 1
Views: 1252

[ Video Sharing CMS v4 ] I am not being able to show ads & my video is showing always processing

Started by shafiul2000


Replies: 1
Views: 949

[ Video Sharing CMS v4 ] Multi image upload in Articles. :?

Started by agrisdul


Replies: 1
Views: 1188

[ Video Sharing CMS v4 ] Script Bug | Likes not showing on the page

Started by rishab55555


Replies: 10
Views: 2093

[ Video Sharing CMS v4 ] Show / Hide Description

Started by wired2web


Replies: 11
Views: 2525

[ Video Sharing CMS v4 ] Upgraded and site doesnt work properly

Started by jcgorospe


Replies: 5
Views: 2100

[ Video Sharing CMS v4 ] ETA FOR IMAGE CMS....

Started by ASDF


Replies: 1
Views: 1440