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!] Need Help Fixing My Forum

Login / Search

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

Community saint

ocPortal 9

Sorry for my title, but I honestly do not know how to title this request better.

In my quest to get my theme rebuilt for version 9, and am running into a confusing and aggrivating situation. I am hopeful that someone can show me how to remedy this.

What is going on is that the traditional table view of the forum is missing. Instead, it is all blended in, basically, without any real distinction given to different rows. Furthermore, the columns are all of the same width! Yes, that means that the column that shows the new post/no new post image is the same width as the post title column. Fun eh?

I have searched in css files for OCF.css, and several TPL files, but haven't yet found how to fix this.... So here is a screenshot (hoping I can upload it) showing the forum page of my site. Yes yes, I gotta fix the little menu boxes as well, but one thing at a time folks.... one thing at a time.

Thanks, in advance, for any and all help!



Got a "Failed extension error!" screen followed by me being able to set the options and it saying it can indeed be used. Lets see if I can get a screenshot of that real quick...

Now, lets try linking from image uploaded elsewhere (omploader to the rescue?)

What my forum looks like all messed up:



Failed Extension Error Captain!


But we will tell you that you can use it anyway!


And even show an attachment in your post editing screen!


Last edit: by mythus

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

Thanks. Will quickly talk about upload issue in first post, then main one in next.


I think I have fixed now that it was proceeding even after failed upload. However, what was the filename you were uploading? Seems an odd one, although I know we've had problems with uploaders for Linux users before. Do you have Flash installed btw?


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

Regarding the new forum….

OCF_FORUM_TOPIC_WRAPPER.tpl starts…

Code


<div class="wide_table_wrap"><table summary="{!COLUMNED_TABLE}" class="wide_table ocf_topic_list">
   {+START,IF,{$NOT,{$MOBILE}}}
      <colgroup>
         {+START,IF,{$CONFIG_OPTION,is_on_topic_emoticons}}
            <col class="ocf_forum_topic_wrapper_column_column1" />
         {+END}
         <col class="ocf_forum_topic_wrapper_column_column2" />
         <col class="ocf_forum_topic_wrapper_column_column3" />
         <col class="ocf_forum_topic_wrapper_column_column4" />
         <col class="ocf_forum_topic_wrapper_column_column5" />
         <col class="ocf_forum_topic_wrapper_column_column6{$?,{$MATCH_KEY_MATCH,_WILD:members},_shorter}" />
         {+START,IF_NON_EMPTY,{MODERATOR_ACTIONS}}
            <col class="ocf_forum_topic_wrapper_column_column7" />
         {+END}
      </colgroup>
   {+END}


It used to be that those column widths were hard-coded, but now they come in via CSS classes.

Also ocf.css has:

Code

.ocf_topic_list, .ocf_forum_grouping {
   table-layout: fixed;
}
which tells the browser to respect them.


The cell backgrounds come through via:

Code


.ocf_column1 {
   background-color: {$GET,area_3_background} !important; /*  !important so precedence over th.dh */
   font-size: 0.85em;
   vertical-align: middle;
   padding: 0.5em;
   display: table-cell;
}


The CSS in v9 is a lot easier to understand, but if you are coming from v8, you'll find it is very different. Just one example - ocf_column1 used to be ocf_row1. It is the class that determines how a column looks, so the new name makes more sense than the old one (which was saying "for a row, the 1st column" making you do mind flips ;)).


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

Community saint

Regarding attachments issues:

The funny thing is my attachments work on my site. The difference there is that I was attaching maps and such - ie things I drew and exported to png, so they had the ".png" as part of their file name.

KSnapshot saves in ".png" format but doesn't append that part to the file name. Most uploaders, such as the one used by omploader.org, can detect that the file is a ".png", but maybe ocportal can't?

As a test, I am going to personally append the ".png" to a screenshot and try to attach the file here…



Yes, that seems to be it. ocPortal simply cannot detect that the file is a ".png" without ".png" being actually present in the filename.

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

Community saint

I think that the problem I am facing then is that my ocf.css is missing the .ocf_column lines…



So, something must not have transferred right during my site upgrade for my ocf.css file to be missing that?

Upon inspecting the ocf.css that comes with the manual extracted ocPortal 9 file (not what updated my site), I seem to be right there. The ocf.css files are completely different. I should be able to fix this issue by replacing the old with the new.... I hope.

I wonder, how many other files did not transfer over correctly.....

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

mythus said

Regarding attachments issues:

The funny thing is my attachments work on my site. The difference there is that I was attaching maps and such - ie things I drew and exported to png, so they had the ".png" as part of their file name.

KSnapshot saves in ".png" format but doesn't append that part to the file name. Most uploaders, such as the one used by omploader.org, can detect that the file is a ".png", but maybe ocportal can't?

As a test, I am going to personally append the ".png" to a screenshot and try to attach the file here…



Yes, that seems to be it. ocPortal simply cannot detect that the file is a ".png" without ".png" being actually present in the filename.

Ah okay, we can blame the plupload addon on that.


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

So, something must not have transferred right during my site upgrade for my ocf.css file to be missing that?

Upon inspecting the ocf.css that comes with the manual extracted ocPortal 9 file (not what updated my site), I seem to be right there. The ocf.css files are completely different. I should be able to fix this issue by replacing the old with the new…. I hope.

I wonder, how many other files did not transfer over correctly…..

Sorry to be the bearer of bad news, but there is no theme upgrade from v8 to v9, because everything was completely reengineered. There are too many hundreds of changes between them for us to make a migration path.

The good news is v9 themeing is so much better it was worth it, and that we made a very conscious effort to bring in all the theme compat breaks at once so that this is a one-off event – this is stuff that we'd wanted to do in the gap between v4-v8 but had held off until v9.


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

Community saint

Uploading the new ocf.css to the site did fix my issue, though I had to upload it directly to my theme's css_custom folder. For some reason, uploading it to default's css folder did not work and my theme kept using the old css file, despite me deleting it.

I guess since this solves the original problem, I can mark this post as solved.

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

Community saint

Aye, I know this Chris lol. This problem came making a new theme in ocPortal v9. The problem persisted in default theme before making a new theme.

Though maybe it happened because I did try the "Theme Upgrader" option that was in the upgrader?

Maybe you should remove that option for this release?

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

Aye, I know this Chris lol. This problem came making a new theme in ocPortal v9. The problem persisted in default theme before making a new theme.

Maybe the default theme's ocf.css was overridden within the default theme.


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

Community saint

I am not sure why that would be. As far as I remember, I never made changes to it….

*shrugs* But I do suppose it is a possibility. My memory can't be trusted after all. It lies, constantly. Such a bother really.

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

It lies, constantly.

If you can remember that it is always lying, it must by logic only be sometimes lying.


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

Community saint

Blasphemy! Arguing my lack of logic with your logic!

…. But yeah, you are right… Just don't tell anyone that I said that.

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
Item has a rating of 5 (Liked by mythusLiked by BobSLiked by Guest)  
Rating:
#89832
Avatar

Actually I was wrong. I assumed that you could not multi-task. One example -- maybe one half of your brain at any time is lying, while the other half is not ;).


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
Item has a rating of 5 (Liked by Guest)  
Rating:
#89966
Avatar

Community saint

You two are actually very entertaining.  :cool:  :lol:  :lol:
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: