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.


Forum in Portal Problem

Login / Search

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

Well-settled

Invision Power Board

I selected 'Forum in Portal" and change the menu link, but when click the navigation, it give me a "Internet Explorer cannot display the webpage" error within the default ocPortal template since I recently installed it. Before I used ocPanel, I was using MKPortal that needed me to change the "class_dispay.php" file. I've also added some mods to IPB as well. I'm experienced with computers and I'm not dumb just new to ocPortal. How do I fix this?


HEllo



Back to the top
 
Posted
Rating:
#28230
Avatar

Is the forum base URL correctly set? Use the /config_editor.php script to change it (or edit info.php manually).


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

Well-settled

Hmm, it's the correct url alright.

EDIT: It seem you must add a slash after "forum" like for e.g www.cybern-ess.com/forum/ to make it work. Okay, may I ask how may I have the option to make the left & right blocks disappear when I go to the forum. I loved MKPortal's feature when it has the option to Unload/Close the sides blocks when I go to the foum and when I want to see it, I can just clcik a tiny square at the top to open it again. I think it would be DTML or is it HTML?


HEllo



Back to the top
 
Posted
Rating:
#28241
Avatar

That would be DHTML; basically JavaScript manipulating the HTML. There's no way to do this in ocPortal by default, but it can be achieved by modifying a few templates.

Back to the top
 
Posted
Rating:
#28251

Non-joined user

Philip said

That would be DHTML; basically JavaScript manipulating the HTML. There's no way to do this in ocPortal by default, but it can be achieved by modifying a few templates.
 Ah, I see, but can I still make the forum in the default template like with the forum here yet the blocks will still be there at the site?
Back to the top
 
Posted
Rating:
#28254
Avatar

Please read the "Forum in portal" section of the "Nuances of forum integration" tutorial.


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

Well-settled

Chris Graham said

Please read the "Forum in portal" section of the "Nuances of forum integration" tutorial.
 I did, all it says is what I've already known. I want to know how I remove the left and right blocks on the sides of the forum. I don't want them, my forum looks crappy that way since I personally don't like the blocks templates.



EDIT: A wee bit mad. Sorry Chris…




Last edit: by Kevinul

HEllo



Back to the top
 
Posted
Rating:
#28258
Avatar

Ah, sorry: I misread what you said. I'm afraid this is not something we can directly answer though, as it would be a matter of however the templating system for the forum system you're using works. If the class_display.php file is actually an IPB file (I previously assumed it was an mkPortal one), then is is likely you could do it in the same way for ocPortal as for mkPortal. I don't know much about mkPortal (the name similarity is coincidence, unless they used ours for inspiration), but if I remember correctly it is (or was originally) designed to only use IPB as the forum– ocPortal supports lots, so we can't offer specific instructions for any single forum vendor.


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

Community saint

actually mkportal used to support a lot more forum scripts now they are down to only 4, ipb, vb, smf, phpbb. It used to support a few others but that was a while ago.
ocPortal does support a lot more plus can be used with out a forum or ocf which mkportal has to have one of those 4 forum scripts to run.  

Looked at their site just now and it looks like they are back to 5 they added mybb back.

I hope ocPortal will some day support mybb.


Last edit: by amichan

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#28268
Avatar

Well-settled

Ah, wait. Chris, did you answer the IPB Hearder question (Kinda simple, but anyways), removing the left & right blocks while using IPB 2.2.x, or both? Thank yo\u for helping me and I'll continue to use ocPortal. Hopefully soon I can get my PayPal running and I can regsiter my ocPortal and with my planned hits, I can reffer more people to ocPortal. I wasn't tryying to advertise or anything, you may edit the posts. I just would like some features in the past that I liked to be in a application that is alot better and it's improving to be even greater. :) 



HEllo



Back to the top
 
Posted
Rating:
#28274
Avatar

The forum here is actually our own bundled forum, OCF, which is why it is perfectly integrated. My previous answer was to the blocks question. To summarise it…

you could do something similar (or perhaps identical) to class_display.php for ocPortal as for mkPortal, although I know virtually nothing about mkPortal. Whatever mkPortal does to that file, it's an IPB modification, rather than an mkPortal feature.


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

Well-settled

Chris Graham said

The forum here is actually our own bundled forum, OCF, which is why it is perfectly integrated. My previous answer was to the blocks question. To summarise it…

you could do something similar (or perhaps identical) to class_display.php for ocPortal as for mkPortal, although I know virtually nothing about mkPortal. Whatever mkPortal does to that file, it's an IPB modification, rather than an mkPortal feature.
  Hmm, this is that code that 'they' wanted you to do to class_display.php:

Find:

function do_output($output_array)
{
global $Debug;


Add below:
<pre>//added from MKportal define ( 'IN_MKP', 1 ); $MK_PATH = "../"; require $MK_PATH."mkportal/conf_mk.php"; //end added </pre><pre>Find</pre><pre>$output_array['MEMBER_BAR'] = $this->ipsclass->compiled_templates['skin_global']->member_b
ar($msg_data);</pre><pre>

Replace with:
<pre>//Mkportal edited if(!$FORUM_VIEW) { $output_array['MEMBER_BAR'] = $this->ipsclass->compiled_templates['skin_global']->member_b
ar($msg_data); } //end edited </pre>
</pre><pre>
Find code:
<pre>if ( $this->ipsclass->vars['ipb_img_url'] ) { $this->ipsclass->skin['_wrapper'] = preg_replace( "#img\s+?src=["']style_(images|avatars|emoticons)(.+?)["'](.
+?)?".">#is", "img src="".$this->ipsclass->vars['ipb_img_url']."style_\1\2"\3>"
, $this->ipsclass->skin['_wrapper'] ); } </pre>
</pre><pre>
Add below:
<pre>//added from MKportal if($FORUM_VIEW == 1) { require_once $MK_PATH."mkportal/include/IPB/ipb_out.php"; $this->ipsclass->skin['_wrapper'] = mkportal_board_out($this->ipsclass->skin['_wrapper']); } //end added </pre></pre><pre>
They have different variables, and they look like not really a modifcation of what I wanted just to have the forum in the portal.




</pre>


Last edit: by Kevinul

HEllo



Back to the top
 
Posted
Rating:
#28298
Avatar

This bit to remove the member bar would work…

Find:

Code

$output_array['MEMBER_BAR'] = $this->ipsclass->compiled_templates['skin_global']->member_b
ar($msg_data);
and remove it.

Unfortunately the rest is actually calling up some mkPortal code to do most of the work, and ocPortal has no equivalent. It could be done, and it'd be nice if someone did a modification for it, but I'm afraid I don't have time to do it myself at the moment.


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

Well-settled

Hmm, I don't think I would want to remove the member bar, I just want to remove the Header untill the forum navigation and I knew it was something to make the fourm work just buy looking at the code.


Hopefully soon yes. I've noticed there is 1,600+ Newbies with no zero to two posts. We need to fix that! :p I can try to submit ocPortal in some CMS websites that I know of and spread the word. I was reffered here by searching Google, going into IPB Company Forums and a some posted a link here.


HEllo



Back to the top
 
Posted
Rating:
#28318
Avatar

Yes, that would be much appreciated by everyone here :).

I'd just like to note that I've cleaned up the way the WYSIWYG editor handles <pre>'s after seeing the trouble you had above. From 3.1.1 onwards it'll show them (the HTML that is allowed through from the WYSIWYG editor is limited for security reasons).


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

Well-settled

Question, what type of CMS is ocPortal? Open Source CMS (I know it isn't that or I don't see that it is but it;s an example of what I'm tryying to say.)

HEllo



Back to the top
 
Posted
Rating:
#28335
Avatar

It is Open Source, in the sense that it meets the official Open Source guidelines. It does however have some clauses that place restrictions it's usage if it is not purchased (the display of our logo for example), and it is developed by a company not a community.
It's not really possible to classify ocPortal, because it's a very general piece of software. It has features from all classes of website software.


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

Well-settled

Well, I'll go for the best (to me) category of the sites to put ocPortal. So far I submitted ocPortal to http://www.cmsjournal.com/.  I can list the sites tha I sumbited ocPortal to, but I don't think yo want me to continue in this topic so I'll make a new one some where else. ;)

HEllo



Back to the top
 
Posted
Rating:
#28342
Avatar

New topic is better, and lists are nice. It's interesting to see what directory sites you've found if nothing else :). Thanks.


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: