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.


Forward on - Retreat and Charge!

Login / Search

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

Community saint

My latest install of ocPortal without Members and Forum has been interesting and is fairly simple in structure but I may want to back up an add both of these features. What would be the best way to do this? I have some site themeing already and I am happy with the direction of things.

I have not done any template changes yet but I would like to save/preserve the CSS changes if possible. The changes are only to the GLOBAL.CSS file.

  1. Should I install 5.1.0 beta over this existing install or would I have to uninstall ocPortal first?
  2. If I have to uninstall what is the 'easiest'/'best' method?
  3. Perhaps I can use the SETUP WIZARD included in ADMIN ZONE > SETUP to redefine ocPortal with the MEMBER AND FORUM modules?
  4. The SETUP WIZARD says "anything the wizard can do can be done, with a higher degree of control, elsewhere in the system." so is there a way to add back in these modules elsewhere?
I am just looking at what my options are as well as weighing how worth while the work is to add in the omitted (by my choice) modules would be.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65018
Avatar

Try using /config_editor.php to change the forum setting from 'none' to 'ocf'.

The files should be there and I think (but am not 100% sure) that the set group permissions between 'none' and 'ocf' are not wholly incompatibly.


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

Community saint

Chris Graham said

Try using /config_editor.php to change the forum setting from 'none' to 'ocf'.
Scarey man!

I did as you suggested and then clicked edit to save the change. I Returned to my website and went to Content Management to find that the dropdown menus gone and it appeared I was 'logged-in' as Guest.

I tried to log in as admin with my password but - I was locked out of the site.

Luckily, I was able to go back to the "config_editor" and open it up.

When I had previously 'saved' (Edit) the change in the config_editor I had noticed that the admin and password space was empty. Now I did not think I needed to add these again - but I think, I was wrong.

I went back to the config_editor and this time I filled in the admin & password space and changed back the 'ocf' to 'none'. Now I am back in and it all looks normal.

BTW - I have not done anything with permissions yet so I suppose that Guest would have access to Content Management Zone.

I didn't try to click on anything there because I was too shook up with what I thought was a very deep hole I wasn't sure it would be easy to get out of.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65025
Avatar

Community saint

Well, I tried it again and changed 'none' to 'ocf' and this time made sure I filled in the admin and password spaces. Clicked EDIT and checked the site. Refreshed it and found myself logged out. I logged in and

the message said

Invalid password

Forgot your password?
(or confirmation e-mail never arrived)
So back to the configuration_editor I go and there changed "ocf" back to "none" again, remembering to fill in the admin and password spaces. EDIT is clicked and its all back to normal again.

I don't think this is the way or I was doing something really wrong.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65045
Avatar

Community saint

friendly said

  1. Should I install 5.1.0 beta over this existing install or would I have to uninstall ocPortal first?
  2. If I have to uninstall what is the 'easiest'/'best' method?
  3. Perhaps I can use the SETUP WIZARD included in ADMIN ZONE > SETUP to redefine ocPortal with the MEMBER AND FORUM modules?
  4. The SETUP WIZARD says "anything the wizard can do can be done, with a higher degree of control, elsewhere in the system." so is there a way to add back in these modules elsewhere?
At this point I am not going to be concerned with preserving the theme as I think it will be easier to set up the 2nd time around.

So I am wondering if I try the #3 option if I have a reasonable expectation of getting a re-install with the forum and member modules, which I will select this time?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65047
Avatar

Community saint

Friendly, this is just a thought, but since all your theming efforts are contained in the GLOBAL.css, why not save it, reinstall and copy over the new glogal.css. I don't think the structure will have changed from yours in a new install and this way you can retain your modifications.
Back to the top
 
Posted
Rating:
#65050
Avatar

Community saint

I think that is a super idea Jean and I would imagine that the CSS is the same even between different configurations such as without the member/forum modules and with them.

This would be a straight line back to where I am now.

Although, even with as much succesfull theming that I have been able to do, I find my themeing is not complete without more reworking and fine tuning. The original ocP wizard's text and graphic colors and stuff are still off from what I want in the end so redoing it with a more accurate theme color might benefit me. I'm not deadlined on time so I can call a do-over on the game and it is no harm-no foul.

My thinking is to take note of my current theme modifications but still use the wizard to create a 'base theme' that is closer to my desired theme since I have now seen what it will look like more specifically. Whatever I do I will save a copy of the CSS and have it handy if I need it.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65051
Avatar

Community saint

Friendly, I think that there is an even better way of ensuring that you don't loose your theming work.

-Export your theme.
-Upload it as an addon after reinstalling.

You don't have to use it as your main theme, but it will give you a good comparison base to work with.
Back to the top
 
Posted
Rating:
#65052
Avatar

Community saint

Thanks another good idea.

Done!:cool:


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65098
Avatar

Community saint

In using the Setup Wizard I am getting to step 4 and step 5 and I am not finding a place to add the Forum & Members options and It occurs to me that I am going to have to download the package again from ocPortal and really start over. Am I right?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65101
Avatar

Community saint

I uninstalled ocPortal and reinstalledand when I got it up and going I found the old theme was present. I switched the new ocPortal created theme and replaced it with the old theme - all this was very painless getting me back to where I left off and now I have the options of members/usergroups plus I have the Forum this time which means I can use the ocPortal Guestbook and Feedback features.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65105
Avatar

Yeah, that's all correct. Themes survive reinstalls as they're just files. After reading your posts we're updating our advice for people to not use the none forum driver unless they're really sure.


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: