php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#280792 - 10/15/04 03:02 AM Facelift for UBB Threads 6.5
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy

   Facelift for UBB Threads 6.5 to Del.icio.us Add to del.icio.us
  Digg Facelift for UBB Threads 6.5 Digg it
What is it? It's a total makeover for UBB Threads. In the past this has been a template only mod, but this time I had to add some script changes to Threads so it's now a full blown hack. Instructions are included in the zip file, and you can see a demo here. Test Forum 1 is open for guest posting if you want to check out the new posting templates -I used the same layout for the reply, edit, and the private message templates. Keep in mind that my dev site may change a little as I add tweaks that are site specific to www.dalantech.com -but what you see on the dev site will be pretty close to what this hack can do. <br /> <br />With Facelift you get the Pop Up Graemlin Panel and an extended quick reply box. Special thanks to Just Dave, Josh Pet, Astaran, Scroungr, and everyone else who had a hand in developing the Graemlin panel since it was first introduced. <br /> <br />Sorry it took so long after the release of 6.5 to get this hack out to you: It is a pretty extensive hack and with a day job, a wife and three kids, plus my own site to run I sometimes have to borrow free time <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />If you need professional assistance installing this hack contact Josh Pet or one of the other people listed in the developers for hire section of this site. I'm gonna use what little time I have to script more hacks <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />Hope you like it <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Note: My templates look their best if you are using a resolution of 1024x768 or higher and your users do not select an insanely huge text entry box in their preferences. If you run into problems because users are setting too many columns or rows then let me know and I'll script a set of post entry pages that use a fixed size like the quick reply template. <br /> <br />Edit 15 Oct 04: Added article templates that match the look of Facelift. If you install the article template hack and Facelift then use the article templates included with Facelift. <br /> <br />Edit 16 Oct 04: Changed a custom class the I use on my site, navbar, with tdheader in myhome.tmpl. <br /> <br />Edit 16 Oct 04 #2:Fixed a form error in sendmessage.tmpl and mess_reply.tmpl <br /> <br />Edit: 19 Oct 04: quickreply.tmpl format change to make it match the layout of the posting pages, and to make it scale to higher resolutions than 1024x768 without the Graemlins ending up on the far side of your monitor <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Edit 02 November 04: Inspired by Allen Ayres I created UBB Code buttons for the posting templates and updated the facelift_ubbcode.tmpl file to use them. I eliminated the "underline" UBB code because one of them had to go (odd numbers of buttons don't look good) and the users on my site rarely ever use the underline code. <br /> <br />Edit 04 November 04: Added a "More Graemlins" button that matches the style of the instant UBB code buttons. Updated the instructions for editing the ubbt.inc.php file so that it uses the new button. <br /> <br />Edit 05 November 04: Due to my "leet" java script skills the question mark in the color selector bar was broken -no errors, it just wouldn't work. Mad props to Ian Spence for finding my mistake! I've updated the facelift_fontcolor.tmpl file, and I've modified the instructions for editing the ubbt.inc.php file. Instead of requiring the instant_markup.php language file three times, for the three different functions, I changede the facelift functions to only require the instant_markup.php file once. If the instant_markup.php has already been called by the script that uses the function then the function shouldn't cause the language file to be reread... New zip file attached.


Attachments
121493-Faceliftfor6.5.zip (126 downloads)



Edited by Dalantech (11/05/04 12:42 AM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280793 - 10/15/04 09:58 AM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
<img src="http://www.ubbdev.com/forum/images/graemlins/yay.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#280794 - 10/16/04 01:40 AM Re: Facelift for UBB Threads 6.5 [Re: SurfMinister]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2574
Loc: England
Well done - thanks for all your hard work <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#280795 - 10/16/04 05:17 AM Re: Facelift for UBB Threads 6.5 [Re: Gorlum]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Just passing on something that I did for my own site <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280796 - 10/16/04 07:44 AM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
you use the class "navbar" in myhome.tmpl<br />It seems that not a default class. I replaced it with navigation for testing. Any instructions for the navbar class ?
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#280797 - 10/16/04 09:27 AM Re: Facelift for UBB Threads 6.5 [Re: landyphil]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Good catch! I used navbar because I wanted to add a background grafic. Please replace navbar with tdheader. I'll update the zip file as soon as I finish this post.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280798 - 10/16/04 04:49 PM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
I like this facelift. Excellent work! <br /> <br />I have lots of hacks in my UBB so I add some facelifts step by step. First the easy ones, then showflat, showthread and postlist. <br />Now I do no modifications to the scripts, just to the stylesheet. I wait for UBB6.5.1 and then I finish this. <br /> <br />At this point, without the new input mask, it looks good. I have to find out how to hack in my photo insert hack (for PhotoPost) in the new posting template. If I found out or if I need help I will be back.
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#280799 - 10/17/04 02:17 AM Re: Facelift for UBB Threads 6.5 [Re: landyphil]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Attached to this post is the template that I created with text explanations of "what goes where" for the post input pages (editpost.tmpl, mess_handler.tmpl, mess_reply.tmpl, newpost.tmpl, newreply.tmpl, sendmessage.tmpl, and sendprivate.tmpl). The template is just the text input area with the graemlins, ubbcode, font colors, etc -it's not a complete template. But it should give you a baseline for setting up additional post input pages.


Attachments
121582-template.tmpl (54 downloads)

_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280800 - 10/17/04 10:54 AM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
I see a different layout in Opera and IE/Firefox. In Opera 7 the closing border is double high as in IE/Firefox. With a little help from Krow we use this in the stylesheet:<br /><br />/* Rule for all Browsers */<br />.tdheaderb { <br />background: #224988; <br />height: 10px; <br />} <br /><br />/* Windows IE ignores the following */ <br />html>body .tdheaderb { <br />height: 5px; <br />}<br /><br />this works for me and display in all browser the same border.
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#280801 - 10/17/04 11:07 AM Re: Facelift for UBB Threads 6.5 [Re: landyphil]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I hate writing non-standard CSS to fix display problems with browsers that do not render standard scripting correctly -you can use that fix but I won't. Let it be broke and force the folks that script Opera to correct their browser...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280802 - 10/17/04 09:25 PM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
yes please <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#280803 - 10/17/04 09:27 PM Re: Facelift for UBB Threads 6.5 [Re: SurfMinister]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
and let IE and Mozilla make up and stop using different things like butterfly text and blinking only for IE...
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#280804 - 10/18/04 12:07 AM Re: Facelift for UBB Threads 6.5 [Re: 234234]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I try to keep my scripting strict XML, and there are three advantages to doing so:
  • If a browser renders the script correctly then my site looks like I intended it to...
  • If someone emails me and says that my site looks odd I can email them back and say it's their browser, and not my scripting...
  • When someone does get around to fixing a bug in their browser I don't have to change my script...
My advice to everyone is to stick to the standards: It's the only way we're going to force the people who write the browsers to fix their code...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280805 - 10/18/04 11:46 AM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
krow Offline
Lurker

Registered: 01/03/04
Posts: 9
[]Dalantech said:<br />I try to keep my scripting strict XML, and there are three advantages to doing so:
  • If a browser renders the script correctly then my site looks like I intended it to...
  • If someone emails me and says that my site looks odd I can email them back and say it's their browser, and not my scripting...
  • When someone does get around to fixing a bug in their browser I don't have to change my script...
My advice to everyone is to stick to the standards: It's the only way we're going to force the people who write the browsers to fix their code... [/]<br /><br />Sorry for flaming again but the W3C Markup Validation Service has found 843 errors in your XHTML. <br /><br />Off course you can do whatever you like on your site. Everyone is free not to look at it, but I like to see the visitors of my sites as clients. And I want to present them a site as good as possible. They don't care much if their browser implements the standards correctly. If my site doesn't display correctly, they may just consider going to some other site that does. Well, and I can't even blame them, since I do the same.

Top
#280806 - 10/18/04 11:52 AM Re: Facelift for UBB Threads 6.5 [Re: andres]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I never said my site was perfect, and I'll correct quite a few of those errors. However there is a big difference between a mistake and deliberately scripting incorrectly to solve "low end" browser issues. How does your scripting hold up to the same validation that you put mine through?...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280807 - 10/18/04 04:42 PM Re: Facelift for UBB Threads 6.5 (showflat) [Re: jacksonm99]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
I like the new showflat layout but my user complain about the separation of the postings. So what to do? I start a try to merge the old UBBt layout with this facelift.<br /><br />I use the modification for the navbars and extra information. I include a back to top button (image is included in zip and must be copy to the ubb image directory). This is a compromise and accepted by my users. Maybe someone like it.<br /><br />Thanks to Dalantech for the for the ideas


Attachments
121631-showflat.zip (39 downloads)

_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#280808 - 10/18/04 07:46 PM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
krow Offline
Lurker

Registered: 01/03/04
Posts: 9
The scripting is not wrong in the way that does not validate. It is crystal clear css by the book. Validates perfectly.<br /><br />As I stated earlier, I just got started with ubbthreads so there are no great sites, I can present. However I am working on a blogging frontend over at Zarzals dragon-clan which (at the moment) validates. <br />http://validator.w3.org/check?uri=http%3...utomatically%29<br /><br />I also worked on the plone cms http://plone.org which should validate perfectly. (Although this ain't my work, but there is a lot to learn from their css-gurus)<br /><br />The problem I see with ubbthreads is that it is really hard work to get it to render clean code. The templates are chosen in a way that validation is only possible when they are run and filled with data. Then, seeing the error in the resulting code you have to find the corresponding template, fix it and get on to the next error. <br /><br />Well, this is stuff I do in my free time, but having seen how things could be makes it kind of frustrating to hack stuff on ubb which clearly has it strengths in other areas.

Top
#280809 - 10/19/04 12:13 AM Re: Facelift for UBB Threads 6.5 [Re: andres]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]krow said:<br />The scripting is not wrong in the way that does not validate. It is crystal clear css by the book. Validates perfectly. [/]<br /><br />I'm about to let this discussion drop, since this thread is about Facelift. If you want to continue after this point then please start a new thread in the Design matters forum.<br /><br />Now this: html> is not standard CSS scripting my friend... <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />Threads has never validated well, and I see that you have compaired my site, which is fully integrated into Threads, to a couple of sites that you have had the luxury of scripting from the ground up -nice, like comparing apples and oranges...<br /><br /> [] The problem I see with ubbthreads is that it is really hard work to get it to render clean code. The templates are chosen in a way that validation is only possible when they are run and filled with data. Then, seeing the error in the resulting code you have to find the corresponding template, fix it and get on to the next error. [/] <br /><br />That's the only thing you've said that I agree with...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280810 - 10/19/04 12:16 AM Re: Facelift for UBB Threads 6.5 (showflat) [Re: landyphil]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Attached is the showflat.tmpl file without spacing between posts <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />


Attachments
121644-showflat.tmpl (60 downloads)

_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280811 - 10/20/04 11:32 PM Re: Facelift for UBB Threads 6.5 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Nice work!
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 1 of 3 1 2 3 >


Who's Online
0 Registered (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
Yesterday at 03:47 PM
What do you use to edit the files
by Ian_W
Yesterday at 03:33 PM
BeyondCompare v3.00
by Ian_W
Yesterday at 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
Yesterday at 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 3

 

 

 
fusionbb message board php hacks