Curtis Thompson
Forum Replies Created
-
hello…
they appear to be “stacked” outside of ie – it’s that spry menu thingie, so your best bet is to search our forums and also try their support boards, but your css likely has a setting somewhere that is causing it.
also if you don’t have it, try firebug for firefox – you can really do some great debugging with that for stuff like this.
sorry to not have a simple answer for you…
sitruc
-
Curtis Thompson
June 21, 2012 at 4:44 am in reply to: I want to know if my website running smooth on your pc, iphone,ipad and Smart phone.hello…
very nice home page, however a few comments:
– all the sections being “under construction” is really just not good…you really should have content or not make something a link. i was impressed by the first page but was unable to learn anything more after that due to all the missing sections
– why the banner ad in the upper left hand corner? it really detracts from the overall presentation, imho
– the twitter/google+/fb links in the upper right felt a bit unbalanced and heavy to me
but all that aside – like i said – very pretty!
sitruc
-
hello…
i see a “spacer” menu under “products” in firefox – what specifically isn’t working for you and what os/ff version are you using?
sitruc
-
hello…
what embedded player are you using? or do you just have it as an embed tag? in html5 (so not supported by older browsers), there is the onended media event that you can use like this:
var player = document.getElementById(‘vidLayer’);
player.onended = function() {
/** change the player div content or turn on a layer above it */
}that in theory would work, but again only for html5 compatible browsers…otherwise, you’d have to work within a bit of player code that supported that sort of thing…
hope that helps!
sitruc
-
hello…
to modify the plugin, you’d need to get the un-minified version of the source and go through it to find the proper locations for the change and then re-minimize the output that you’d changed. note that i’d bet that the license that the media element player is released under would mean that you’d have to make your changes available to the community as well (typically how open source code is licensed)…
in this case, you’d have to add your code to the output either above or below the video div area in the javascript class. that said, i don’t think you need to modify that plugin…you are using the lightbox plugin to make the video show in the little floating frame:
https://lokeshdhakar.com/projects/lightbox2/
and that ultimately just puts the video page in that little frame – the original video page would be this:
https://prosoco.com/Video/64e1261f-19c4-4e11-a510-f2bca42620a2
now you of course know all of this, but what i’m proposing here is that you add the embed/share links to that page itself via html (so don’t modify any plugins). because those pages are generated, you should be able to create the embed and share links using the content you already use to put the video player there to begin with (for both embed and share, all you really need is the video url and the w/h, the latter of which is probably fixed here anyway).
so then you can stylize the links to your heart’s content and put them either above or below or whatever, and then they should be there for usage in the main lightbox floater win…
sitruc
-
hello…
hmm – well…from the looks of it, the jw player plugin for sharing embeds that link in the flash player that they bundle with the thing, so to replicate that, you’d have to modify your flash player, which i don’t think is an option…
but you could put share links underneath between the title and the close button. you could snag the embed code from jw player and then just modify it to use your video names/links and sizes (or you could grab it from any embed link, really). then you’d need to set up a more permanent page for the video for the link, or add functionality to the main video page that you have to trigger the floater for any given video upon request (if that makes sense)…you could then do your own little floater for those links like they do, but do it in html…
does that make sense?
sitruc
-
hello…
[Brian Smith] “I need to figure out how to put a form on each person that registers and get’s their own page to also have a form on their page every time they go to it so they can put in there referrals and all that would show up on their page. You can have hundreds of referrals or just a few. How would I go about doing that?”
well – that’s a bit beyond a write-up here, i’m afraid, but this sort of thing:
https://www.google.com/search?q=php+member+area
is basically what you want to do – i see some good tutorials in there that would probably get you started down a good path?
if you have more specific questions, please let us know!
sitruc
-
And of course the dir “6” isn’t already there, right?
You can always add an is_dir test around that midair as well:
https://php.net/manual/en/function.is-dir.php
Then if the dir is already there you won’t get the warning. But in this case as it’s using the id val, the dir shouldn’t ever be there already.
-
so was that the error?
-
Curtis Thompson
May 27, 2012 at 12:32 am in reply to: Keep getting an error message online 62……………..hello…
sure – your line 62 is this:
mkdir(“memberFiles/$id”, 0755);
above that, id is set on line 60:
$id = mysql_insert_id();
that function gets the auto increment column value for the data you just inserted. so in a perfect world, let’s say your id value returned the value “12” – that would effectively (in the eyes of php) make line 62:
mkdir(“memberFiles/12”, 0755);
but if your db insert failed for whatever reason, id would not be set, meaning that line 62 effectively becomes:
mkdir(“memberFiles/”, 0755);
now since i assume you already have a directory named “memberFiles” there, the mkdir command would fail with the message you are seeing each time you are running the script.
so you could test this by just doing an echo line out there that would show on the screen what is being passed to that mkdir command – i.e.:
echo “DEBUG: memberFiles/$id”;
mkdir(“memberFiles/”, 0755);and then on the screen when you run this, you could see what is printed there and see if the $id value is indeed set. it could not be set for any number of reasons related to your db insert above that – if that fails for any reason, $id will not have a value.
as for the apache error log – here’s a link discussing that:
https://www.cyberciti.biz/faq/apache-logs/
most of the time, php will log to the apache error log when it has problems, so you could probably find there what is being logged for the mkdir command as well…
make more sense?
sitruc