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.


Inline forums

Login / Search

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

Inline forums

I'm quite excited  :lol:. Before, trying to get forums to work inside ocPortal didn't work well, due to iframe scrollbars. But I've just found a way to use Javascript to completely eliminate this. With the next release you'll be able to trivially and seamlessly have your forum embedded within ocPortal, and the only thing you'll need to concern yourself with is skinning the forum better.


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:
#2537
Avatar

That's great news!!


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#2579

Non-joined user

I get javascript errors when trying to read the profile of some member.
Back to the top
 
Posted
Rating:
#2582
Avatar

Could you please tell me which browser you use, what errors you receive, and which forum you use. A URL to your site where this error occurs would help me a lot.


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:
#2613

Non-joined user

In users online block right, I click a profile and get

Line 13
Char 23
Error: Access is denied
Code : 0
Url : <herer goes the url>

And I see an inline frame which is a small box on top.

I use IE 6.0.2800

And using Firefox, I'm logged in in the portal but not in the forum shown inline.
The forum is shown also in a small box…
Back to the top
 
Posted
Rating:
#2625
Avatar

Aha. I now understand the problem, and will work on a resolution.


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:
#2626

Non-joined user

Originally posted by Chris Graham@Aug 22 2004, 06:59 PM
 Aha. I now understand the problem, and will work on a resolution.
When you want to see it, I can send you the url of my development area.
Back to the top
 
Posted
Rating:
#2629
Avatar

Community saint

I just upgraded from RC2 to RC3, and tried to use the inline forums with index.php?page=forums and recieved an error saying the page was missing, but underneith it gave the option to create the page, so i did. but now when i click on it, all i get is an emply block like this.

im guessing im missing some code that should be in the page. could you tell me what it is please  :unsure:  :rolleyes:

Edit: Never mind, its decided it wants to work now  <_<
Back to the top
 
Posted
Rating:
#2631
Avatar

Unfortunately I have realised my method for automated frame resizing was flawed, as it was only valid for the first page passed into the page, and the frame wouldn't resize for further internal links. However, I have devised an extended Javascript scheme that makes up for this :). I have also fixed an issue with Firefox where it was leaving blank space behind. These changes are too big for me to quickly knock up a patch, so they will be released in the next version.

The access denied message stems from the domain of the forum URL being different to the domain of the portal URL. When put on the same domain, the error will dissapear.


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:
#2648

Non-joined user

Originally posted by Chris Graham@Aug 22 2004, 10:40 PM
 Unfortunately I have realised my method for automated frame resizing was flawed, as it was only valid for the first page passed into the page, and the frame wouldn't resize for further internal links. However, I have devised an extended Javascript scheme that makes up for this :). I have also fixed an issue with Firefox where it was leaving blank space behind. These changes are too big for me to quickly knock up a patch, so they will be released in the next version.

The access denied message stems from the domain of the forum URL being different to the domain of the portal URL. When put on the same domain, the error will dissapear.
Hey Chris,

I will wait for your update then!
Back to the top
 
Posted
Rating:
#2720
Avatar

Fan in training

Chris,

Any idea when you will post a fix for the iframe?
Back to the top
 
Posted
Rating:
#2724
Avatar

About 30 hours time :).


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:
#2729

Non-joined user

How do we integrate this with SMF?
Back to the top
 
Posted
Rating:
#2731
Avatar

It's really easy… you just install and setup your SMF forum as normal, then install ocPortal, choosing SMF from the list, and telling it the path on your server where SMF is installed (e.g. /home/you/public_html/forums). Then all the settings have been auto-detected and ocPortal will install without having to specify anything else.


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:
#2817
Avatar

Fan in training

Same error inline forums

Kris said

In users online block right, I click a profile and get

Line 13
Char 23
Error: Access is denied
Code : 0
Url : <herer goes the url>

And I see an inline frame which is a small box on top.

I use IE 6.0.2800

And using Firefox, I'm logged in in the portal but not in the forum shown inline.
The forum is shown also in a small box…

Same error with RC4
But this time

Line 87
Char 4
Error: Access is denied
Code : 0
Url : <here goes the url to the forum>
Back to the top
 
Posted
Rating:
#2818
Avatar

Fan in training

But the iframe is okay now, I had to clean the one in the template_cache.

One thing I don't understand, I get a scrollbar horizontally…
Back to the top
 
Posted
Rating:
#2858
Avatar

The forum base URL is definitely on the same domain as the portal URL?

e.g. http://mysite/
and http://mysite/forum

would be fine.

But…

http://mysite
and http://forums.mysite

would not.


I suspect that will fix your horizontal scrollbar.


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
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: