By Paul Murray on Thursday, 26 March 2015
Posted in Technical Issues
Likes 0
Views 825
Votes 0
Hello SI Team

I am really sorry that I bring this up again.

If you go here:
http://finalbug.net/blog/entry/400-edit-in-resolve-the-fcp-way-part-01
And roll over the thumbnail you can play the video.
If you go here:
http://finalbug.net/blog
And roll over the same thumbnail "Edit in Resolve the FCP Way Part 01" you can not play the video.

i.e. you can play the videos on the individual Blog pages but not on the Blog List Page.

I know that you have been very obliging in the past and hope that you can help out here again.
The mad thing is that I am pretty sure that this has been working for months on the Blog list page and suddenly it seems to be broken again. To the best of my knowledge I really did nothing to break this!

Please help me with this. It is the weakest link in chain that holds my web site together as of now. No doubt every thing will get better when ES 1.4 & EB 5 are here...

thanks in advance

Paul
ps not sure if this is relevant but I can also the following code in the Blog post here:

From Adelene May 18 2013!!!

http://stackideas.com/forums/easy-blog-jce-image-manager-extended

have made some changes in this file

JOOMLA/components/com_easyblog/helpers/helper.php

at line 1358 where i replaced the codes

$pattern		= '#<img[^>]*>#i';


with this

$pattern		= '#<a.+?><img.+?></a>#i';



The frontpage images now pops up a video when I click on "Bruce" Please do remember to back up this file when you update EasyBlog. Hope this helps.

Thanks!

Hmmmmmmmmm
·
Thursday, 26 March 2015 16:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Paul,

I am sorry for the late reply.

I have inspected your site and it seems like it is in the different class and attributes. Please see my screenshot for better understanding:




Do you see the different? You need to have the same class and attributes in order for it to play. By the way, it seem you haven't activate our access to your backend yet.

Please advise.
·
Thursday, 26 March 2015 13:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd

OK this is kind of over my head but I need to get this once and for all!
I have firebug installed and can inspect the code you are talking about.

a) I switch to the HTML inspect mode
b) Turn on the little inspector thing
c) Click on the thumbnail

When I do that here:

http://finalbug.net/blog

I get this:

<div class="teaser-image clearfix" style="margin: 8px; max-width: 98%; text-align: center ! important;">
<img width="800" height="450" src="/images/easyblog_images/62/2015FirstQuater/EditInResolve01WEB.jpg" alt="Editing in Resovle Part 01" onmouseout="this.src='/images/easyblog_images/62/2015FirstQuater/EditInResolve01WEB.jpg';" onmouseover="this.src='/images/easyblog_images/62/2015FirstQuater/EditInResolve01BRUCE.jpg';">
</div>


When I do that here:

http://finalbug.net/blog/entry/400-edit-in-resolve-the-fcp-way-part-01

I get this:

a class="jcepopup" href="https://vimeo.com/122006664?autoplay=1" title="Editing in Resovle Part 01" target="_blank">
<img width="800" height="450" src="/images/easyblog_images/62/2015FirstQuater/EditInResolve01WEB.jpg" alt="Editing in Resovle Part 01" onmouseout="this.src='/images/easyblog_images/62/2015FirstQuater/EditInResolve01WEB.jpg';" onmouseover="this.src='/images/easyblog_images/62/2015FirstQuater/EditInResolve01BRUCE.jpg';">
</a>


So far so good?

The difference seems to be pretty obvious ;-)

In the first e.g. the class & attributes are as follows:

class="teaser-image clearfix" style="margin: 8px; max-width: 98%; text-align: center ! important;"


And in the second e.g. the class and attribute are as follows:


class="jcepopup" href="https://vimeo.com/122006664?autoplay=1" title="Editing in Resovle Part 01" target="_blank"


So far so good?

Conclusion. I need to:

Find

class="teaser-image clearfix" style="margin: 8px; max-width: 98%; text-align: center ! important;"


and replace it with

class="jcepopup" href="https://vimeo.com/122006664?autoplay=1" title="Editing in Resovle Part 01" target="_blank"


When I look in the Firebug Styles box on the left hand side there seem to be 3 files that come into question!

http://finalbug.net/templates/wanderers/css/custom.css

http://finalbug.net/templates/wanderers/css/theme.css

http://finalbug.net/components/com_easyblog/themes/default/css/styles.css

I even get the big picture, what is going on here.
There are 3 files that determine how things look on these pages:

1) Custom for the custom stuff
2) The Wanderes Theme CSS
3) The Easy Blog Theme CSS


When I search the following files with a view to replacing code as (guessed above)

Wanderes Theme CSS
Blog Theme CSS

for:

teaser-image clearfix


I do not find this code.
I have down loaded the two files:

http://finalbug.net/templates/wanderers/css/theme.css
http://finalbug.net/components/com_easyblog/themes/default/css/styles.css

And am using the search function in Text Wrangler!

Am obviously making some stupid mistake.

Last but by no means least I am wondering if it would not make sense to apply the fix/hack in the custom css so that I can bury this problem once and for all!

Thanks for your patience and going the extra mile

Please advise.

Paul
·
Thursday, 26 March 2015 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey SI team

Well that did the trick. Some bloody genius (means this in the best possible way) put a file here!!!

httpdocs/componments/com_easyblog/helpers/helper.php_thisIsYourImagePopUpCustomizeFile

Problem solved with a simple copy and paste action

Thank you so much SI team

Paul
·
Thursday, 26 March 2015 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Paul,

I am sorry for the late reply.
I am glad to hear your issue is now resolved. Just please remember to back up this customization when you update EasyBlog.

Have a nice day.
·
Thursday, 26 March 2015 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd

I hear you. I have back ups coming out of my ears. It is just the grey matter between my ears. Sometimes I forget stuff.

best

Paul
·
Thursday, 26 March 2015 18:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Paul,

Have a nice day.
·
Friday, 27 March 2015 00:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post