HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Is it just me or does this awesome system not support liquid height div's?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#79758 (In Topic #16215)
Avatar

Well-settled

Please help asap.

fortypxheight

This is set at 40px height and 100% width


onehundredheight

This one is supposed to be fluid 100% height



Another question I would love a little help with is…Does anyone know what it takes to get the actual facebook "registration" working.  I downloaded the fb support plugin, but that seems to only work for people that currently have an account.  I'm super new to this package and really hope to be of assistance to others later on when I get it down.  Ahhh one more, lets say that I wanted to make open graph post to facebook with users scores and then in turn be able to display a leaderboard with only that current leaders friends, do you think the system would be able to send that "dynamically created" score in a link?  You're awesome for reading this far into my newbie post.  Thanks for any help in advance.


Sorry if the begining of this post is funky, I don't know if it's going to accept the code or not.  When trying on my site I am trying 100 percent everywhere, inline in the css, in html tags, in box tags…it just won't work for some reason.
Back to the top
 
Posted
Rating:
#79761
Avatar

Community saint

If you search these forums for "facebook" you will find several threads on this topic. If I remember correctly its not working as expected.

Your other questions I'll leave for someone else to answer.

Steve
Back to the top
 
Posted
Rating:
#79762
Avatar

Well-settled

Thanks man…  I'll see what I can do to get it working.
Back to the top
 
Posted
Rating:
#79763
Avatar

Well-settled

Thanks man…  I'll see what I can do to get it going and then post back with the results.  
Back to the top
 
Posted
Rating:
#79764
Avatar

Community saint

GodzMuzicIan said

Thanks man…  I'll see what I can do to get it working.
It's working in the development version 8 - no ETA. There are also significant improvements to the FB add-on which you can check out by either reading the commit log at github or downloading the development version from there.

In other words, I don't know if I would spend a lot of time on getting it working unless you absolutely have to have it now.

https://github.com/chrisgraham/ocPortal

Bob
Back to the top
 
Posted
Rating:
#79767
Avatar

Community saint

Just to let you know 100% height will only give you the height of the content anyway you would need to set a min height if you are looking for something better than the content height. But the system does support fluid layout.
Back to the top
 
Posted
Rating:
#79768
Avatar

Community saint

BobS said

GodzMuzicIan said

Thanks man…  I'll see what I can do to get it working.
It's working in the development version 8 - no ETA. There are also significant improvements to the FB add-on which you can check out by either reading the commit log at github or downloading the development version from there.

I wasn't going to mention version 8 since the OP is new to ocPortal and version 8 is still in development.  ;)

BobS said

In other words, I don't know if I would spend a lot of time on getting it working unless you absolutely have to have it now.
Agreed!  :thumbs:

Steve
Back to the top
 
Posted
Rating:
#79769
Avatar

Well-settled

I appreciate the help guys.  Is what you are talking about with the height something new in html5 or something?  As far as I know, 100% of anything always meant either the box it's inside or the screen it's being viewed on.  I've been diging a little further and the problem seems to lye in the footer or something.  Are bread crumbs important?
Back to the top
 
Posted
Rating:
#79770
Avatar

Community saint

I think the importance of breadcrumbs is a personal choice. I like them and my members use them to move back in time from areas I don't have a menu available. I guess some of it depends on your site and the layout.

Steve
Back to the top
 
Posted
Rating:
#79771
Avatar

Well-settled

Yeah there has to be a javascript around here controlling this height thing.  I think what you were talking about earlier is height: auto which comes default without even setting it.  The problem is that I should be able to override that if I stick height:100% in the css and in a worst case scenario in the html like div id="fluidheightbox" style="height:100%; width:100%;" and then >.  Something is holding this back.
Back to the top
 
Posted
Rating:
#79780
Avatar

You're misunderstanding CSS. Possibly you have been doing CSS in the "quirks mode" from the 90s that browsers still support. Don't have time to explain, but there's been plenty written on it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#79872
Avatar

Hi,

Found a message to me on the chat today :)

Hey Chris…Thanks for the response in the forum, even though it sucked…   Just kidding man but I'm kind of looking for a quote. How much time am I looking at to have you guys get me further integrated with Facebook. I'm specifically looking to have the system post a users score to the graph when it gets updated, and then also grab a leaderboard from the graph. I also got the gethub release and am wondering if you have any quick pointers on how I can do an upgrade using the tar.gz version because the zip had a bunch of currupt files. It seems to be running great but well I'm sure you know, there's probably a need for those files somewhere.By the way man, this is quite a system you have here. I can give you all of the fb docs you need to get an idea of what it would take. I'd also like to have the system check a users wall to see if they actually posted a comment and therefore be able to add points for that as well., I'll buy the credits right now man, I'm not trying to be a free loader after you already hooked up this great resource. I just don't want to spend a ton of money. Your money is worth more than ours.

On my last point, what I was quickly saying was:
What happens in Quirks Mode in web browsers?
(read under 'Percentage heights'). So ocPortal doesn't run in quirks mode (it could with template changes but I'd advise strongly against it), but it is possible you have been using quirks mode on your own before without realising it. No one should really, it is based on incorrect following of the specs and is pretty ancient, but it's easy to accidentally use it by not using a doctype. Percentage height is pretty hard to do in a standards compliant way, you really want to look at the CSS 'min-height' property to do a vaguely similar thing.

Regarding your main question about the Facebook stuff, I'm not sure I quite understand yet. Particularly on what 'scores' are. Given your username, that would suggest you're talking about musical transcriptions. But given you're talking about the leaderboard, that would suggest you're talking about points. Did you just mean points?

When you mention about just showing for your friends, do you mean that a message posted on your Facebook wall should be a personal points leaderboard of you against your friends?

Is this posted weekly? Or when point are earnt? Or when some specific point-gaining action is done on the site?

Given it's Facebook, I would imagine you're talking about Facebook friends as opposed to ocPortal friends? Would you need those integrating? Would you want the ocPortal site restricted only to Facebook users?

More details please :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#79873
Avatar

I also got the gethub release and am wondering if you have any quick pointers on how I can do an upgrade using the tar.gz version because the zip had a bunch of currupt files. It seems to be running great but well I'm sure you know, there's probably a need for those files somewhere.

The actual zip file had corrupt files, or the installer complained about them?

It was probably the installer. It'll do that, but don't worry about this - it's just because we don't rebuild the file hash manifest between releases, so it is looking at incorrect validation data.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#79953
Avatar

Well-settled

How I handled the height issue was I set a container that was absolute with top bottom left and right set to 0px and I also threw in a jquery fix height but haven't been able to test if that is working. Is Jquery being used by OCPortal?  
What I'm trying to do with fb is use the "post" method to send their points scores to the graph, when they get updated by umm let's say posting a forum topic or voting on a poll and then be able to use the "get" method to grab and display that score from facebook along with their fb username and fb profile pic in a little mini block.  
I'd also like to be able to grab the users friends scores from the graph which can be done by getting the friends_games permission and then display a leaderboard of the latest cached data which can be done using the realtime updates feature. Here's some links…

<a href="Scores - Facebook Developers">Scores</a>


<a href="How-To: Publish scores and achievements for a user - Facebook Developers">Detailed php scores example</a>


<a href="Real-time Updates - Facebook Developers">Real Time Updates</a>

My next mission is going to be to have the youtube url's go into an xml playlist that way they can be played using jwplayer on the site and shared to facebook walls everywhere from our sites.  It's pretty slick if you get a license because you can then stick your own logo in front of the youtube watermark and it still shares all the same.  

What about loading the forums into the main site using ajax, is that possible?






   


Back to the top
 
Posted
Rating:
#79961
Avatar

Hi,

(we don't use jQuery in ocPortal but it can be included in HEADER.tpl easily)

I see what you mean now :).

You're talking some relatively complex stuff here, we're talking at least a few days of development. Whilst it would be relatively simple to put in some calls to Facebook, to do that in a maintainable way, meeting a particular specification with attention to detail, getting through testing, and deploying, the times really add up on this kind of thing.

You'll need to put through a clearly defined support ticket request for each task you'd like us to do for you and then we can give you a quote in support credits or refer you to one of our developer partners. This stuff needs to be done quite formally, as we need to get a sense for if you can budget for the level of work we're consulting on, work out exactly what you need doing upfront in writing, schedule a developer, and then proceed.

Regarding the forum being embedded somewhere else using AJAX, that's probably around two weeks work. All the URL and form handling would need to be rewritten there, so it's not a simple thing to do. I presume you're talking about embedding the forums within another page here. There are blocks for commenting though, which we could discuss in a support ticket or other users may be able to step you through.

Regards,
Chris


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#79964
Avatar

Well-settled

I completely understand what you're saying man.  It took me awhile just to get video.watches to work.  Well I'm sure a few days is way out of budget, so how would I go about scheduling some phone support.  I've got plenty of time to do this stuff myself I just think it would save a ton of time and headache if I could narrow down where a few pieces of the data come from without diggin through the docs.  See I'm really a good disability tester cause I use a screen reader for everything since I'm most of the way blind andgoing lines of code sucks.  I'll tell you what, I have to run to school real quick and then I'll come back and buy a few credits and hopefully you can tell me the most efficient way to spend them when it comes to education on in-depth product details.
Back to the top
 
Posted
Rating:
#79970
Avatar

Hi,

Aha. Yes I can imagine not being able to scan over things using peripheral vision like a seeing person would do would really make things harder. I always admire the patience people in your position have.

We have quite a few visually impaired users, which is great. I want to help but also resources are really limited so it's hard for me. I was considering setting up a forum dedicated to blind users so you can share advice better and that other users know not to give inappropriate advice. Maybe then we can then set the ball rolling on something for more interesting and bring in some external support for it.

What do you think?

(Don't worry about the credits, I really don't like young people spending all their cash on them, we didn't set it up for that)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#79980
Avatar

Well-settled

Oh man no charity please… I think I'm older than than you man, just not quite as smart when it comes to this programming stuff.  I already grabbed a few credits just 80 bucks worth.  I'm trying to do some pretty valueable things here though so I don't mind paying for it at all.
I have done a lot of research on facebook integration but it just seems like some of this system is pretty complicated.  
I'll put together a list of little scripts with most of the code already written.  Basically we'd just need to attach a post function to the on login function and then maybe even add a button that sends that same score post if they want to update it mid session.  I think that would remove all of the complication, I just can't figure out how to get the php sdk to work with these miniblocks.  I'm gonna try to just add a require facebook.php to the whole system.  I'm gonna send you a pm if that's cool.  

Also to anyone else I'm gonna start a new post with a bounty on a script that let's users upload a "share this video link" (the one that comes up when you push share) and then creates a xml file that can be refferanced via a {yt_url} tag and then imput into the meta data of the page to be shared on facebook using the jwplayer and a preconfigured xml config file.  It would be nice if the playlist xml file that will originally just have on link in it could then be edited to add new links.  That's not a neccesity though.  

I know I sound facebook crazy but it is huge here in the US and I'm trying to get it down to a science.
Back to the top
 
Posted
Rating:
#79981
Avatar

Community saint

Chris-

Your idea for an accessibility forum for people who really understand this stuff or need to understand this stuff is excellent. And it might provide you with some ideas for furthering ocPortal's already beyond-the-average accessibility.

Bob

Back to the top
 
Posted
Rating:
#79982
Avatar

Community saint

GodzMuzicIan said

Oh man no charity please… I think I'm older than than you man, just not quite as smart when it comes to this programming stuff.  I already grabbed a few credits just 80 bucks worth.  I'm trying to do some pretty valueable things here though so I don't mind paying for it at all.
I have done a lot of research on facebook integration but it just seems like some of this system is pretty complicated.  
I'll put together a list of little scripts with most of the code already written.  Basically we'd just need to attach a post function to the on login function and then maybe even add a button that sends that same score post if they want to update it mid session.  I think that would remove all of the complication, I just can't figure out how to get the php sdk to work with these miniblocks.  I'm gonna try to just add a require facebook.php to the whole system.  I'm gonna send you a pm if that's cool.  

Also to anyone else I'm gonna start a new post with a bounty on a script that let's users upload a "share this video link" (the one that comes up when you push share) and then creates a xml file that can be refferanced via a {yt_url} tag and then imput into the meta data of the page to be shared on facebook using the jwplayer and a preconfigured xml config file.  It would be nice if the playlist xml file that will originally just have on link in it could then be edited to add new links.  That's not a neccesity though.  

I know I sound facebook crazy but it is huge here in the US and I'm trying to get it down to a science.

I really like your pluck and enthusiasm. Thanks for what you bring to these forums and, hopefully, future possibilities for ocPortal.

Bob
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand