cannot add vids after update

soaringeagle
@soaringeagle
9 years ago
3,304 posts
this site does NOT use the beta core
after doing all the updates last night clicking add on videos (combined video) absolutely nothing happens
create video album works but not create video
furthermore hovering over all the burttons displays a url..except the add video button
its as if it no longer links to any page or actions
tried every browser i got
inspect source shows
<a id="create_video_button" onclick="jrCombinedVideo_create_video();" title="Create new Video"><link rel="stylesheet" property="stylesheet" href="https://www.dreadlockssite.com/core/icon_css/30/black/?_v=1468933248"><span class="sprite_icon sprite_icon_30 sprite_icon_black_30"><span class="sprite_icon_30 sprite_icon_black_30 sprite_icon_30_img sprite_icon_black_30_img sprite_icon_30_plus sprite_icon_black_30_plus"> </span></span></a>
so seems there is a s function call
but something may not be defined right?

update was able to add he yt video by editing the url to myusername/youtube then click add
its the function that loads the overlay to choose youtube/video uploads/vimeo that doesnt work


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 02/26/17 02:21:24PM
nate
@nate
9 years ago
917 posts
What skin are you using?
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ningja but an older 1 because i cannot use the new sitebuilder on that site without messing it up and having to d a complete redesign


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
if you think its because its an older skin what code can i add where to fix it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
9 years ago
7,772 posts
That does seam close to correct:

Docs: "Combined Video"
https://www.jamroom.net/the-jamroom-network/documentation/modules/2946/combined-video

What should be happening when you click on the + button with combined video installed is you will see another dialog with the video options (screenshot in the docs link), from there you get the choice of what video type to create.

If nothing is happening when you click the + button, its either that that dialog isn't opening ( look for the issue to be javascript error related), or that the dialog is opening but you cant see it (look for the issue to be CSS related).

--edit--
also make sure that you still have video, youtube, vimeo installed or there would be no options to select from. Combined video has no video types of its own, it just combines the existing video types into a single tab.
updated by @michael: 11/23/16 07:04:05PM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
welit was poping up and working last i used it it was the last update i think that messed it up
i do not think the windows popping up at all
yes all 3 vid modules are installed
be right back wil checkfor js errors in the console


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
only error i see is this TypeError: apps[sameApp] is undefined which seems to be from an external ad script called by adsense...i think
there shouldnt be any css .at least that i added that would cause that to be hidden


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
i did find an unmatched end tag this
<a href="#" class="scrollup">Scroll</a>

</div>
the ending div
i doubt thats causing it though


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
same exact thing on combined audio too


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
nate
@nate
9 years ago
917 posts
soaringeagle:
i did find an unmatched end tag this
<a href="#" class="scrollup">Scroll</a>

</div>
the ending div
i doubt thats causing it though

Make sure you are careful before you remove that. The opening div could be in another template.
updated by @nate: 11/23/16 08:25:38PM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ahhah
Version 1.0.13:
- Bug Fix: Create Video modal may not show properly on some skins with custom button layouts

the bug fix might have fixed it for some skins but on my skin..it broke it
it worked fine before that bug fix
i knew the change log would provide a clue


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
nate:
soaringeagle:
i did find an unmatched end tag this
<a href="#" class="scrollup">Scroll</a>

</div>
the ending div
i doubt thats causing it though

Make sure you are careful before you remove that. The opening div could be in another template.
that was from the total page output not a template


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
soaringeagle:
ahhah
Version 1.0.13:
- Bug Fix: Create Video modal may not show properly on some skins with custom button layouts

the bug fix might have fixed it for some skins but on my skin..it broke it
it worked fine before that bug fix
i knew the change log would provide a clue

did nobody take notice of this? this bug fix broke it in my skin..how can i fix it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
9 years ago
7,772 posts
That change log changed the location of the div being written to the page to add it in at the end of the page.

So long as your page has a
</body>
tag, it should work as normal. Make sure you don't have any other attributes attached to it though.

This is the exact code that the module runs:
$_data = str_replace('</body>', '<div id="create_video_dropdown" class="overlay item block_content create_video_box" style="display:none"></div></body>', $_data);

So check the html source of your page for that div being created, it should be being created.
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ok i see the problem its in red in source code
that unmatched ending div is at the start of the copied code
just after the scroll up
then at the bottom i got this div without any matching end div

so how do i fix this
<a href="#" class="scrollup">Scroll</a>

</div>

            <script type="text/javascript" src="//cdn.foxycart.com/dreadlockssite/loader.js" async="async" defer="defer"></script>
        <script type="text/javascript">
        
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create','UA-39993169-2', { 'clientId': '62b44f77-b288-4fcc-bed8-919f3631c221' });
ga('send','pageview');


    </script>


<div id="jr_temp_work_div" style="display:none"></div>



<script type="text/javascript">
/* var bcf_settings = { buttonText:'Contact Us', buttonTop:'30%', language:'en_US' }; // Better Contact Form Settings */
(function (d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0]; js = d.createElement(s); js.id = id;
    js.src = "https://www.dreadlockssite.com/js/30242f92f4bff51c57ad78a8ebf540b4c928bb2f.js";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, "script", "bcf-render"));</script>
<a id="bcf_trigger" href="https://bettercontactform.com" rel="bcf_trigger">Contact Form</a>
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
<!--/* Sulvo Traffic Tag */--><script type="text/javascript" src="https://n-cdn.areyouahuman.com/play/d3051e7b44bba9321de2988123098457bad9d0b5?AYAH_F2=https://www.dreadlockssite.com"></script><noscript><img src="https://n-cdn.areyouahuman.com/noscript/d3051e7b44bba9321de2988123098457bad9d0b5?AYAH_F2=https://www.dreadlockssite.com"></noscript><!--/* End Sulvo Traffic Tag */—>

<div id="create_video_dropdown" class="overlay item block_content create_video_box" style="display:none"></div><link type="text/css" href="https://www.dreadlockssite.com/modules/ccCometChat/contrib/cometchat/css.php" rel="stylesheet" charset="utf-8" /><script type="text/javascript" src="https://www.dreadlockssite.com/modules/ccCometChat/contrib/cometchat/js.php" charset="utf-8"></script></body>
</html>




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
yea the ending div was created at the wrong place
its not in the templates is it
if so how can i edit it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
9 years ago
7,772 posts
That is the correct location. The jrCombinedVideo_create_video() function does the positioning relative to the page.

If you can let me have the login details to somewhere where its happening, then I can take a look.
michael
@michael
9 years ago
7,772 posts
The issue appears to be on this page:
view-source:https://www.dreadlockssite.com/soaring-eagle/video

taking a look at your source code, firefox shows issues by highlighting the code in red.

Your video page has issues. It looks like the cause of the issue is this comment:
<!--/* End Sulvo Traffic Tag */—>

It looks like non-valid html characters are entered into it, probably from copy+pasting code.

Should probably be:
<!-- /* End Sulvo Traffic Tag */ -->
michael
@michael
9 years ago
7,772 posts
(firefox page source screenshot)
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ill try that


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
that fixed it but somehow screwed with cometchat that now the online list is massive coveres the entire page..argh...
i have a server not sending emails due to a site infected with a spam bot i got another site that was down a week after an upgrade thats back but not working right..another site with currupted code, again after an upgrade and only partially loads, and now this..oo much work to do in 1 day ..
i'm multitasking my ass off working on all these issues at the same time


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ugh ok it only causes that cometchat issue on pages with the add combined content


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
9 years ago
7,772 posts
That character you had in there was not a legitimate character for its intended purpose.

The purpose was an HTML comment, correct syntax is:
<!-- this is an html comment -->

updated by @michael: 11/27/16 03:40:15PM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
i removed the comments and the script itself that the comments surrounded
then a new issue appeared
cometchat on those pages only does not take the settings from the admin panel, the color settings aredefault, and the whos online is huge, covering te entire page
i tried moving the cometchat script call up, and even moved it to meta template

question
i bought cometchat before there was a module
now that theres a module i see it as if i have the module installed yet i still need the script
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
for cometchat to show..which i dont tthink you need when you have the module installed through the marketplace
is that correct
would i have to buy it again through the marketplace?
would that fix it
would that have all the features i have now..if theres a pro version thats probly what i got


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
9 years ago
7,772 posts
no, the version in the marketplace is the simple version, if you paid for it you probably got the full version.

If there is a visual problem, its probably a CSS thing. Maybe clashing classes perhaps. Where is a page to see the issue on?
soaringeagle
@soaringeagle
9 years ago
3,304 posts
nah not css as it doesnt accept settings from the admin panel
and like i said the same paes that use the combined video/audio
like the link i used as an example earlier
hmm corection the front page has the issue as well
weird ok i cleared cache and now its everywhere
except the dashboard for some odd reason
see screenshots
i do have cometchat looking into it too
dash.jpg
dash.jpg  •  257KB

front.jpg
front.jpg  •  144KB

front2.jpg
front2.jpg  •  316KB




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags