TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 632
  • Total: 632

[Block] Board Index Menu

Started by IchBin, August 23, 2007, 02:31:47 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

sanax

Quote from: IchBinâ,,¢ on April 27, 2008, 02:36:18 AM
Not really. What it does is only shows the categories and boards if the user is allowed.

ahhh, ok, I forgot you can hide categories via the permissions?
Hope that will do the trick, Thanks

alex777

Quote from: alving on January 11, 2008, 12:58:34 AM
i want to put this just below my webpage in a frontpage block..  currently, all the links show up vertically, can someone tell me how to put the links (categories, boards, topics) horizontally, like in a table form..  this is to emulate those blogs with category links underneath their webpage

example

category 1     category 3     category
  board 1          board 3          board
    2 topics          2 topics         topics
                      board 4
category 2  
  board 2
    2 topics

etc..

thanks in advance!


First of all, this is a wonderful code snippet. Thanks to IchBin for the great work.  I'd like to come back to the question of Alving. Is there a way to put the links horizontally so that it can be used for a centre block?

IchBin

I can think of a way to make it output like this possibly.

board1        board2
board3        board4


However, I can't think of a way to make it go this way: (although I'm sure its possible, I just don't know atm)

board1        board3
board2        board4

Is that ok?

gmvasco

Thank you very much.
I hacked away at it (I can't code) and I stripped the menu down so that it does NOT show the post count. I failed miserably a couple of times (syntax errors) but I got the ; and the { in working order. Your comments were very helpfull.

IchBin

Glad its working for you. And good working doing a modification to it. :up:

alving

Quote from: IchBinâ,,¢ on May 11, 2008, 06:35:24 AM
I can think of a way to make it output like this possibly.

board1        board2
board3        board4


However, I can't think of a way to make it go this way: (although I'm sure its possible, I just don't know atm)

board1        board3
board2        board4

Is that ok?

can you please give this a go ichbin?  thanks in advance

IchBin

Ok, so how do you want it to look? Categories won't line up with boards listing it this way. So would you rather just list the boards and not the categories? Do you want topics/posts count displayed? How many columns do you want? Give me as many details as you can please.

alving

just the board names will do and pls include topic counts.  can child boards' topic counts be included as well?
maybe 6 columns will do and is it possible to have the number of columns changeable?

thanks

IchBin

Having the columns changeable should work. I just have to figure out how to pull the info from the arrays. Can you give me an idea of how you want it displayed? Do you want the topic count to be under? Or in another column to the side of the board title? Please be as specific as you can. I'm not sure if topic count will work with child boards at this time.

alving

topic counts can be under the board title just like what the original code here does..  it's just the columnar arrangement, that i'm keen of.. 

This website is proudly hosted on Crocweb Cloud Website Hosting.