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.


Move Site

Login / Search

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

Fan in action

and another question

I searched for this (both the documentation and forums), but can't find anything already created.

I'm planning to use ocPortal to integrate all the pieces of one of my sites, which is currently running Joomla, MyBB, and MediaWiki. I know there are tools to import the data - my question is:

Is there anything special that I need to do or know for moving my ocPortal installation from where it is in a sub-directory to the site root when it's finished? Usually, I update the file paths in the config.php for Joomla (at least in the older versions), but I'm not sure of how to do this for ocPortal.

The other thing (that maybe needs to go in bug reports) is that I've been experimenting with the Wiki and after creating a child page with content, it still says "empty". Does anyone know what the problem could be?
Back to the top
 
Posted
Item has a rating of 5 (Liked by Ennea)  
Rating:
#99720
Avatar

Community saint

First, welcome to the forum and ocPortal!

Ennea said

Is there anything special that I need to do or know for moving my ocPortal installation from where it is in a sub-directory to the site root when it's finished? Usually, I update the file paths in the config.php for Joomla (at least in the older versions), but I'm not sure of how to do this for ocPortal.

In ocPortal, the main settings you may need to change when doing a move like that will be the domain and base_url settings in the info.php file. If you set up the subdirectory as a subdomain and set the domain during the ocPortal installation to be that subdomain, then you will need to update the domain setting in info.php and set it to the main domain name. Otherwise, all you will need to do is just strip off the /ocportal directory name (or whatever directory you installed ocPortal in) from the base_url setting. What I would do is put the site in closed-mode (Admin Zone->Setup->Configuration->Site Options->Close Site), make the necessary changes to info.php from Admin Zone->Setup->Configuration->Installation Options, and then copy everything over to the domain root. Just be aware that once the info.php file has been edited with the new settings, I don't think you will be able to use your ocPortal site from that subdirectory. If, after you move the site, you have problems and the site won't load due to incorrect info.php settings, you can load config_editor.php from the root of your domain to make info.php changes. Then, don't forget to put the site in open-mode again.

Ennea said


The other thing (that maybe needs to go in bug reports) is that I've been experimenting with the Wiki and after creating a child page with content, it still says "empty". Does anyone know what the problem could be?

I'm not sure about this one. Hopefully someone else can help out here.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Fletch)  
Rating:
#99732
Avatar

Community saint

The other thing (that maybe needs to go in bug reports) is that I've been experimenting with the Wiki and after creating a child page with content, it still says "empty". Does anyone know what the problem could be?

Did you add it via editing the tree?

Child Pages are added in the Wiki+ by using "Edit Tree" and adding in the pages there. That will create blank pages, or you can direct it to pages already made if you know the needed info.

Also note that the wiki+ page link will say (0) or "empty" if there are no comments. Not if there are no child pages.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#99744
Avatar

Fan in action

Thanks guys :) I appreciate your help.

I ended up just removing the Joomla site and installing ocPortal there instead, so now it's just a matter of fine tuning and adding the content.

As for the Wiki, that helps Mythus.

I had indeed created the pages through the 'edit tree' function. I thought it said "empty" because it 'thought' the page had no content, not due to not having child pages. Still good to know that it says that because there are no comments. :thumbs:

Now I'm trying to add support for the bmp extension for images, which worked fine in MediaWiki after simply adding it to the allowed extensions list.

I tried that in ocPortal, but noted that it says:

Note that adding new file types won't necessarily work because PHP's GD library will need to support them (thumbnail generation), and the web browser will need to know how to display them using a normal img element.
And it wouldn't accept a bmp image when I tried to add it to the gallery.

To explain why I need to use this dinosaur extension; the software that my friend made for me has said that it can't capture screenshots in anything other than the bmp format. So I'd rather add support for this file type instead of having to convert them all to an accepted type every time I want to add one to the gallery.

Update: I found a program to do batch conversions of file extensions. :cool:


Last edit: by Ennea
Back to the top
 
Posted
Item has a rating of 5 (Liked by Ennea)  
Rating:
#99836
Avatar

Community saint

I was going to tell you that irfranview can convert (even batch convert) file types nicely and is shareware. It also is great for taking Screenshots and crop images etc.

I know you've found something but if that is not it you may want to check it out to to compare.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: