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.


Upgrade issues - 4.2

Login / Search

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

This topic will contain posts that detail solutions for various common upgrade issues for this release.

Themes

All menu themeing will need completely redoing. If you have made changes:
  1. Backup your menu templates and your CSS
  2. Delete your menu templates via FTP from within your theme's templates_custom directory.
  3. Compare your backed up files to the 4.1 CSS to see what changes you made, to see what you did (using a good 'diff' tool such as WinMerge, DiffMerge, or Kompare).
  4. Apply equivalent changes to 4.2. This is a manual job and be advised the associated template structure, tag structure, and CSS code has been completely rewritten.

Those with CSS changes will probably want to rebuild their themes manually, rather than letting the ocPortal upgrader try to. If the upgrader has changed your CSS files and want to do it manually instead, reupload the CSS files from your backup, then you can use a diff tool (e.g. WinMerge, DiffMerge, Kompare) to go manually through the full set of changes between 4.1/4.2-beta and 4.2 (compare the CSS files in 4.2 against those in your 4.1/4.2-beta custom theme). The below are the key changes that you should carry over.

In global.css the following needs attention:
  • .site_special_message (changed CSS class, prettier error messages)
  • .ssm_warn (new CSS class, prettier error messages)
  • .expanded_advice (new CSS class, expanded error message explanations)
  • .ssm_inform (new CSS class, prettier error messages)
  • .float_surrounder_table_protect (new CSS class, cross-browser compatibility fixer)
  • .sliverised_page table (new CSS class, prettier OCF view-group screen)
  • .nothing_here, .more_here (.more_here is a new class we now have, using the same styles as .nothing_here)
  • .highlighted_table_cell (new CSS class, used by top-sites functionality)
  • .inline (new CSS class, to remove inline styles)
  • .left (new CSS class, to remove inline styles)
  • .right (new CSS class, to remove inline styles)
  • .br_space (new CSS class, to remove some semantically-incorrect br tags)
  • .question_ui_buttons (new CSS class, to remove inline styles)
  • .alpha_jumper (new CSS class, used by new OCF member directory feature)
  • .alpha_browser_cont (new CSS classes, used by new OCF member directory feature)
  • all the carousel stuff (new CSS classes, for new Comcode tags)
  • all the tabs stuff (new CSS class, for new easier support for tabs when themeing)
  • as mentioned above, all the menus stuff has changed too

In ocf.css just add these two new CSS classes designed to improve the profile screen's compatibility:
  • .ocf_profile_refpoint
  • .ocf_member_profile_photo

galleries.css (very small file) should be rebuilt as this has changed substantially.

Also take a look at the compatibility improvements put into nocache.css.

There are other changes, but they are visual improvements rather than compatibility issues and thus do not need attention.

.htaccess file

If you use SEO URLs, you will need to recreate your .htaccess file, using the recommended.htaccess file as a base. This is due to the new SEF URLs, which are a bit more sophisticated.

Other changes

The side_search block no longer exists. Either change your use to main_search (which will now look fine in a panel) or place the attached temporary file (all this file does is make side_search use main_search, like making a link).
Attachment
» Download: side_search.php (69 Bytes, 595 downloads so far)


Last edit: by Chris Graham


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

If you get errors adding members, please see this bug report:

ocPortal.com - View topic: members cant register


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.