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,073
  • Total Topics: 21,338
  • Online today: 308
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 148
  • Total: 148

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

Quote from: Hawkes on February 11, 2006, 03:27:29 AM
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!

I just check this on your site .. works good.
I'm using firefox 1.5.0.1 with javacript enabled

Fel

feline

Quote from: g6cad on February 11, 2006, 09:24:57 AM
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.

your texttype is very large, but you can change the "cutting" of strings ..

for the Categorienames change 20 repevtive 19 to smaller value

', (strlen($s) >= 20+(substr_count(substr($s,0,20),'&')*6)) ? substr($s,0,19+substr_count(substr($s,0,19),'&')*6).'..' : $s , '</div>


here a example 3 chars smaller..

', (strlen($s) >= 17+(substr_count(substr($s,0,17),'&')*6)) ? substr($s,0,16+substr_count(substr($s,0,16),'&')*6).'..' : $s , '</div>


the same procedure for the Boardnames, change 28 respective 27 to smaller value

', (strlen($s) > 28+(substr_count(substr($s,0,28),'&')*5)) ? substr($s,0,27+substr_count(substr($s,0,27),'&')*5).'..' : $s , '</div>';


Fel

G6Cad


bloc

In the update I will post now, that is somewhat being adressed. Not sure if it works on all browsers, but we will see. :)

Ray

Quote from: feline on February 11, 2006, 01:05:46 PM
Quote from: g6cad on February 11, 2006, 09:24:57 AM
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.

your texttype is very large, but you can change the "cutting" of strings ..

for the Categorienames change 20 repevtive 19 to smaller value

', (strlen($s) >= 20+(substr_count(substr($s,0,20),'&')*6)) ? substr($s,0,19+substr_count(substr($s,0,19),'&')*6).'..' : $s , '</div>


here a example 3 chars smaller..

', (strlen($s) >= 17+(substr_count(substr($s,0,17),'&')*6)) ? substr($s,0,16+substr_count(substr($s,0,16),'&')*6).'..' : $s , '</div>


the same procedure for the Boardnames, change 28 respective 27 to smaller value

', (strlen($s) > 28+(substr_count(substr($s,0,28),'&')*5)) ? substr($s,0,27+substr_count(substr($s,0,27),'&')*5).'..' : $s , '</div>';


Fel

sorry-- what file do you edit to change this??

G6Cad

Quote', (strlen($s) > 28+(substr_count(substr($s,0,28),'&')*5)) ? substr($s,0,27+substr_count(substr($s,0,27),'&')*5).'..' : $s , '</div>';

The bold 5 i changes to 4 and the string upowe from 6 to 5 for making the text smaller.

And the reds to smaller value for cutting long textlines off I changed from 28 to 20

feline

oh .. sorry Ray .. the forumnav.php .. the php-block part  ;)

eh g6cad .. the substr_count(substr($s,0,27),'&')*5) counts strings like &uuml; eg. for geman

Fel

Ray

#57
Quote from: feline on February 11, 2006, 07:46:49 PM
oh .. sorry Ray .. the forumnav.php .. the php-block part  ;)

eh g6cad .. the substr_count(substr($s,0,27),'&')*5) counts strings like &uuml; eg. for geman

Fel
I see no file called forumnav.php? If this is a file that has to be made I really dont want to do this-- all I want is to change the font size of the text -- not to change anything else- I am using the block for links

Hawkes

Fel,

Just checked again... using IE6.  It's there when you first load the page, but then click it and it disappears until you refresh page again.


G6Cad

QuoteI see no file called forumnav.php?

If you read back in this thread, Feline have some attachment to one post where she collected the files needed.
One of those files are the forumnav.php for download at that post

This website is proudly hosted on Crocweb Cloud Website Hosting.