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,971
  • Latest: camgear
Stats
  • Total Posts: 196,068
  • Total Topics: 21,338
  • Online today: 361
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 195
  • Total: 196
  • @rjen

Suggestion: Forum Navigation in Sidebar

Started by likeatim, January 06, 2006, 10:48:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

feline


The Danger

I'm delighted I followed all that.

Even more delighted that it works. It was the first thing I wanted when I installed TP. I was suprised it wasn't an SSI option.

I used both Feline and Rasyr's code. Thanks, all!

Am I going to have to repaste the load and index code if I upgrade?

Rasyr

Quote from: The Danger on February 05, 2006, 11:28:19 PM
Am I going to have to repaste the load and index code if I upgrade?

No, you should not have to. The Custom blocks you make are stored in the database, thus, they should appear as normal after an upgrade.


likeatim

sorry, that might sound stupid, but could you tell me again step-by-step where I have to input what code?
is it all happening in the admin panel or do I change php-files?

thanks

Rasyr

Basically, you take the code, create a new phpblock (in the Edit Blocks section of TPAdmin) and paste the code into the block and save it.

So long as you have the block being displayed, it will display in all themes.


Hawkes

OK... so if I understand this thread entirely, I need the code that Rasyr posted along with the block code that feline posted and I'm good to go?

feline

#46
Right !

I have add need files ..

Forumnav.php .. is the code for the php-block
addtoLoad.php .. is the code that you must add to the end of Load.php

but last .. you must add this to index.php
search for
// Load the current user's permissions.
loadPermissions();


add after:
//Create the Board Listing for use in a menu
if (!isset($context['menuList']))
loadBoardList();


that all ...

edit later;
ahh .. my forumnav have skrinkbuttons for each board  ;)
I have the col / exp pics added.
Copy to your theme/images directory ..

Works with any TP version and smf RC1 / RC2

Fel


[attachment deleted by admin]

[attachment deleted by admin]

Hawkes

#47
This is exactly why I chose SMF and TinyPortal.  Because of all of the helpful people.  It's the community that makes it.

Thank you.  Now my last question is (since I am no coding expert) that I have some long forum names and it is pushing my column wider than 150.  Is there a way to wrap the names?

Got it!  I just changed nowrap to wrap.  It's not falling in line spacing wise, but it will do.

You guys rock!

Hawkes

OK... one minor glitch.  When I use the collapse button, the icon does not shiw up unless I refresh the page.  Same thing when I expand.

Check out the site... http://www.thewolverines.net and let me know your thoughts.... thanks!

G6Cad

I have a bit of a problem vith the text sticking out from the box.
is there anyway to fix this? Feline maby?
I have set the boxwith on the left side to 180pix and now the text are right on the line, but if i set the with one pixels smaller, the text float out into the center block.

This website is proudly hosted on Crocweb Cloud Website Hosting.