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,966
  • Latest: safir45
Stats
  • Total Posts: 195,985
  • Total Topics: 21,321
  • Online today: 814
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 336
  • Total: 337
  • @rjen

My suggestions...

Started by Oldiesmann, October 02, 2005, 10:21:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Oldiesmann

1. Move the styles for the bars to CSS, so all we have to do is add #leftbar, #centerbar and/or #rightbar to style.css to change the look. It's easier than editing the code in index.template.php...

2. Change the way the shrink/expand stuff works

Currently you replace SMF's shrink/expand buttons with your own, and these buttons are always shown whether or not that particular bar is displayed. A simple code change allows you to display all three shrink/expand buttons (I did it so that the first one was for the left bar, the second one was for the header and the third was for the right bar, so as not to confuse users), and also allows you to hide the one(s) that don't apply (ie if you're hiding the right bar, don't show a button to shrink/expand it).

3. Change the theme box to simply POST back to the current page, something like this:

echo '<form action="' . $_SERVER['PHP_SELF'] . isset($_SERVER['QUERY_STRING']) ? '?' . $_SERVER['QUERY_STRING'] : '' . '" method="POST">
<select name="theme">
<option value="{theme_id}">Theme Name</option>
...
</select>
<input type="submit" value="Change" />
</form>';


For now I can just put up a custom theme block...

Other than that, everything looks great. I'm really enjoying TinyPortal and can't wait for the next version to come out :)

Oh - one more thing... On this site, if you click on the "read more" link for the "PHP In Articles" article, it doesn't let you read more... Just takes you to the same page.

bloc

All - except from number 1 - is fixed in the next release. :) Putting the styles in style.css is good..but not so needed for default theme... rather, that is something a custom theme can do easily..just putting a copy of TPortalBlocks template will also allow further editing of the way blocks show + adding #leftbar etc. to its style.css.

This website is proudly hosted on Crocweb Cloud Website Hosting.