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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

New forum layout?!?

Started by Bec, September 28, 2009, 08:13:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bec

Hi Guys,

I am considering changing my whole forum look and using blocks etc to make it possible but I am just wondering how to make some things work... basically for example I want 2 blocks side by side.. the left one will show the forum categories and when click the topics will show in the right block.. and when a topic is click in the right box it will then show the post... is this possible? Hopefully I have explained it well enough so you can understand what I am.. and I have also included a piccie of the type of look and an example I am going for as well..

I am sick of the whole traditional look where you have all the forums listed and want to spice it up a bit for my site... I have the left side (listing the categories done) but its just getting the information to show in the right block which is throwing me off a bit..

Should also add I am using smf 1.1.10 and tp v1.0 beta 4

Any help or advice would be greatly appreciated! :)

Renegd98

I think this would require some custom coding, but it is an interesting idea.  Someone with code experience and abilities will need to look at the request.

mc

In it's basic form, you could hand code a block to show all the board names/links in a left hand block, which would give you the layout you'd like.

That way, the topic listings, and topics would still show as normal in the centre.

Only thing would be, how you would prevent the board listing (i.e. the normal forum homepage) from appearing in the centre.

Bec

thanks MC had thought of that but it really defeats the point of redesigning it

Renegd98, thanks for the response. had a feeling it would been a coding job :)

if someone could give me an idea or a starting point I would be happy to give it a whirl!


ed_m2

so how about a block listing board names on the left... either hand coded (tedious?).. or a script to pull all the names & links.

surely then the links only need to contain /index.php?board=2.0 with a link for each relevant board ?

mc

It depends on if you want to make the board index bit into a block or not.
If you make it a block, it means you can control where you want to place it better.
If not, it means you'll have to customize the code more.

The hard coded method I mentioned above, is the simplest way I can think of doing it.
If you want to automate it, then you'll need to look at boardindex.template.php, to see how it generates the board index, and then modify/write code to replicate it's function, but in the format you'd like.

If you don't want to use a block, then you'll need to modify the index.template.php, so it calls/inserts code to add the board index links to the relevant pages.

IchBin

I have already created a block code that will list the boards and sub-boards as a menu.
http://www.tinyportal.net/index.php/topic,18318.0.html

But a few questions come to mind when I'm thinking about this Bec. Do you want the menu and the recent topics shown in separate blocks? If they were to be put in the same block, but made to "appear" as two different blocks would that be ok? When you say you want the post to appear, do you want the post to appear outside of the forum? Or do you want it to take the person to the post in the forum? Not sure I'll have time for this, but I just wanted to get some clarification. Would be cool to see it all work with some ajax without refreshing the page. :D

Bec

Hi IchBin, thanks for taking the time to check this out for me :)

I would prefer to have the menu and the most recent topics in separate blocks.. but in saying that if they "appeared" to be separate that would pretty much appear to be the same so all would be cool with that.

Ok basically I want to get remove the forum altogether and have the menu links on the left side, in the other block (or whatever it needs to be) i would like the main screen to be the most recent topics... and then when each different category is clicked for it to show the posts within that forum. I am hoping that makes sense... if you check out http://www.bridesdiary.com.au/myWedding/latestPosts.aspx?p=2 it is pretty much how they have their forum setup and is the best real example i can give you of what i mean... the most recent topics is the main screen and then you can click on each different category to view the posts within that section, when a topic is clicked it takes you directly to the post.

It would be awesome if something could be put together and I think it would be an invaluable source to many people cause we can keep the smf software we love but tweak the look a little so its not the run of the mill forum which is what i ideally want. I am no expert with coding but I am going to try and read up on how we can do it, not sure how far Ill get but interested to learn! Worst case if it cant be done, Ill create a new article and link the categories up to it similar to how I did my gallery pages..

Thanks again for the input guys, I appreciate it!

IchBin

I have some code that is working similar to what you're describing. It uses ajax so that the page doesn't refresh. So when you click each board in a category it loads the most recent topics. So when you click on one of the topics, do you want it to take you into the forum so you are actually viewing the post inside the topic? I sure hope so. lol

Bec

yup sounds perfect IchBin! only thing when you click on each category does it only show you the recent topics in that category? or does it still show you the other older topics as well?

This website is proudly hosted on Crocweb Cloud Website Hosting.