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!] Forum Bars in a non-wide forum

Login / Search

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

Community saint

ocPortal 9

Hi all,

I have one other question. How do I get the forum bars - containing stats and what not - back at the top and bottom of my not wide set forum.

Basically in this post:
http://ocportal.com/forum/topicview/misc/deploying/adding-forum-statistics.htm

Chris had given a way to do this in v8, while saying that in v9 these would be blocks that could be placed in if you wished or whatever.

The code that worked in v8 doesn't work in v9.

So, I went looking for how to add these blocks to the forum. You can't do so in Zone Editor. And I can't seem to find the forumview comcode page. So..... how do we add those blocks in?


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

You probably have the new default :panel_top/:panel_bottom overridden.


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

Community saint

Where would I have that overridden at?

I am using the new OCF_FORUM.tpl. I simply copy/pasted my two info box stuff into it, so that way I knew I was using an unmessedup-by-mythus tpl file.

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

Pages, not templates.


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

Community saint

Yeah, I don't know what was going on… so I did the next best thing I could think of. I just uploaded the new default panel_top and panel_bottom pages to /pages/comcode_custom/EN

That brought back my top & bottom panels.

So, when in doubt, upload the default!

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

Community saint

How do I get my memberbar to look like this:




Instead of this?

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

Can you elaborate ;)?


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

Community saint

Pics don't say a 1000 words in this case eh? Ok… I'll try…

1.) Move mine beneath Legends of Nor'Ova Forums like you have yours beneath Forum Home

2.) The darker top boarder around the box, like what you have, would be nice.

3.) My "number of new posts" is cut off…. Your's, well isn't.

Seeing temp1024 having visited this page, I am starting to think this is a solution that is covered in OCF_FORUM.tpl…. So I'll do a quick check there.

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

1– That is tricky. The panel_top does the community menu as well as social blocks, and the page title is above the page itself but below the panel. I know it's a stark difference, I quite like it  because now this block is shared between more pages so not under the forum like it used to be. If you really want to change it, the best way would probably be to copy panel_top to panel_top_social and leave the menu in panel_top and the social blocks in panel_top_social, then load the panel_top_social into certain '*_SCREEN' templates beneath page titles, in the same way GLOBAL_HTML_WRAP currently loads panel_top.

2– There isn't a range of box types now (at least not in the same way), so this is just the styling for '.box'.

3– Try increasing the width in '.ocf_member_column_c'. Could you let me know what works, I might need to patch that to others due to font sizing on Linux.



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

Community saint

I changed the width from 26em to 28 em, which made a big difference! Observe!



As for the rest.... I'll wait to see if the new location grows on me or not. If not, then I'll undertake that step.

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

Community saint

Chris Graham said

You probably have the new default :panel_top/:panel_bottom overridden.


Ok, I'm confused as to where these are being overridden.   I did the 8.1.3 to 9 upgrade, and have been looking around, but am dumbfounded as to what needs to be changed to bring them back.

Paul
Back to the top
 
Posted
Rating:
#89928
Avatar

Community saint

Hi Arbo,

Yeah, I couldn't find it either so what I did was:

1.) Downloaded and extracted the manual extraction for v9.

2.) Uploaded uploaded the new default panel_top and panel_bottom pages to /pages/comcode_custom/EN

Doing that brought them back a lot easier than trying to search through all the files to find where I was overriding them.

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

Community saint

hmm, I tried that, it appears I already have a panel_top in the commode_custom/EN section, and it is dated as if it is new, there are also a bunch of panel_top.xxxxxxxxxx files in there as well.  Not sure what all of that means.

But I did as you did, and no difference at all.  Hmm..

Paul
Back to the top
 
Posted
Rating:
#89930
Avatar

Community saint

Did you let it overwrite the file?

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

Community saint

Yeah, I overwrote it.   I just removed all the files from the _custom folder to see if that made a difference, cleared caches and still nothing.  Will put the file back in and clear again and try.

Paul
Back to the top
 
Posted
Rating:
#89932
Avatar

Community saint

Nope, removed all files from _custom, put new panel_top and _bottom in there, cleared caches, still no top bar in forum.

When I removed those files, it changed my front page back to default from other changes I had made though, so it seems when you edit pages, it stores them in _custom.    At least I learned that. ;)

Paul
Back to the top
 
Posted
Rating:
#89934
Avatar

Community saint

Hmm.. odd…

Then again, when I upgraded to v9, I rebuilt my theme as a new theme. But still I have to wonder, what is going on that made it work for me, but not for you…

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

Community saint

Code

   {+START,IF,{$ADDON_INSTALLED,ocf_forum}}
      {+START,IF,{$OR,{$WIDE},{$EQ,{$PAGE},forumview}}}
         [block]main_member_bar[/block]
      {+END}
      [block]main_pt_notifications[/block]
   {+END}

The above is in the _top file, and appears to be the logic of if you see it or not.   Now it shows new PT's, so that part works, so it seems to have to do with the OR WIDE EQ PAGE part…  but I don't have time to figure that all out as I need to run off to work.

Paul
Back to the top
 
Posted
Rating:
#89936
Avatar

Community saint

One thing I remember doing is removing # from infront of panel_top and panel bottom in I think global.css. I can't recall if that had an effect or not.

I know that in lots of scripts though, the # cancels out the code….

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

I know that in lots of scripts though, the # cancels out the code….

"#" means "select element with the follow ID" in CSS, it's not a comment.

Do you have the forum zone set to wide Arbo? If so the logic would stop it showing.

To debug dump some xxx's in different bits of the panel Comcode and see which of them show.


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.
Control functions:

Quick reply   Expand