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.


[SOLVED] Issue With Forums Layout Post Crash

Login / Search

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

Well-settled

Site crashed and had to restore, now the forums layout is messed up

So last night I somehow corrupted my install, as I was trying to diagnose a performance issue.  After fussing with it for more than an hour I eventually gave up and restored from a backup that I had created 5 days prior.  Unfortunately I lost some database information along the way, but not huge deal as the site is used for a Gaming Outfit.
 
I am still having some small problems here and there, but slowly working through them as I identify them.  My biggest issue I still have though is that the layout in the forumview page is messed up.  See attachment.


Any ideas on why it would be pulled to the right like that?  I have checked everything I can think of, but I am still new to OCPortal.
 
Please advise.
 
Thanks,
Russ

Russ Teicheira
http://vvarmachine.com or http://vvarnc.com - OCPortal Install
http://www.russteicheira.net
 - Profile Site that needs updating
http://projectxfire.com - Tech Blog that I need to get back to
Back to the top
 
Posted
Rating:
#97270
Avatar

Not sure, other than knowing the column is sized by this part of ocf.css:

Code

.ocf_forum_grouping_column5 {
   width: 17em;
}
and enforced with:

Code

.ocf_topic_list, .ocf_forum_grouping {
   table-layout: fixed;
}


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

trying to diagnose a performance issue

If something is performing really badly and you don't think it is a problem with your server or something weird you've done, you can submit a bug report ticket and we'd investigate.


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

Oh, one thing I would check, is if you accidentally made a typo in your CSS, e.g. a misplaced brace. That could knock off rendering of rules further in the file.


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

Well-settled

Chris Graham said

Not sure, other than knowing the column is sized by this part of ocf.css:

Code

.ocf_forum_grouping_column5 {
   width: 17em;
}
and enforced with:

Code

.ocf_topic_list, .ocf_forum_grouping {
   table-layout: fixed;
}

No joy.  Even went to the default template and pulled the Forum View CSS code from there and copied it in.

I am pretty sure nothing in the OCF.CSS file was changed, but who knows.  Still working to verify that the brackets are all correct.

Russ Teicheira
http://vvarmachine.com or http://vvarnc.com - OCPortal Install
http://www.russteicheira.net
 - Profile Site that needs updating
http://projectxfire.com - Tech Blog that I need to get back to
Back to the top
 
Posted
Rating:
#97274
Avatar

If you can give a URL to take a look it might help.

The normal modern debugging browser would be to check browser consoles and network history for any logged errors, and to use the 'Inspect' tool to confirm styles are being applied.


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

Well-settled

Oops… thought I had done that…

Forum home - VVarMachine

Russ Teicheira
http://vvarmachine.com or http://vvarnc.com - OCPortal Install
http://www.russteicheira.net
 - Profile Site that needs updating
http://projectxfire.com - Tech Blog that I need to get back to
Back to the top
 
Posted
Item has a rating of 5 (Liked by rteicheira)  
Rating:
#97276
Avatar

In 9.0.7 we fixed a bug that involved a template change. You can see how the template (which I guess you have got overridden) changed from this github commit:
https://github.com/chrisgraham/ocPortal/commit/fd4216a5ce66a4583fcb534c3685100b9610e9dd


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

Well-settled

This looks correct:

Code

if ((!array_key_exists('expanded_by_default',$category)) || ($category['expanded_by_default']==1))
{
$display='block';
$expand_type='contract';
} else
​​

And here is the problem.  It was in the OCF_FORUM_GROUPING.tpl file.  The change of moving:

Code

{+START,IF,{$NEQ,{DISPLAY},table}} style="{$JS_ON,display: {DISPLAY*},}"{+END}

From line 16 to 14.

Thanks Chris!

Russ Teicheira
http://vvarmachine.com or http://vvarnc.com - OCPortal Install
http://www.russteicheira.net
 - Profile Site that needs updating
http://projectxfire.com - Tech Blog that I need to get back to
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: