UBB.Dev
Posted By: Dalantech Facelift for UBB Threads 6.4 - 12/10/2003 8:39 PM
What is it? A complete makeover for UBB Threads. Inactive hyperlinks are not displayed and many tables have been removed to make adding graphics to your site look better.

How do I install it?

1) Backup your files first! Copy all of the template in the included zip file to your ubbthreads/templates/default directory.

Where can I see an example? Da Forum -keep in mind that I've modified my site to add graphics (those mods are also posted in this forum).

10 December 03: Version 1.0 released.
12 December 03: Added the correct version of ubbt_icon_select.tmpl
16 December 03: Fixed a colspan error in myhome.tmpl
28 December 03: Fixed an error in the ubbt_instant_ubbcode.tmpl file.
29 December 03: Stole an idea from Josh and moved the my Home and New User links in the ubbt_registerednav.tmpl and ubbt_unregisterednav.tmpl files
01 Jan 04: Fixed a bug that disabled post management in the showflat.tmpl and the showthreaded.tmpl files.
01 Jan 04: Fixed missing $calevent variable in showflat.tmpl and showthreaded.tmpl -must have more coffee...
05 Jan 04: Changed the tbopen.tmpl and tbclose.tmpl templates (they were the table wrappers that I use on my site to hold graphics).
08 Jan 04: Fixed a bug in the ubbt_unregisterednav.tmpl file (no . after the home link). Thanks Allen!
10 Jan 04: Fixed a possible bug in the editbasic.tmpl file. Thanks Allen!

Attached File
101566-Facelift_6.4.zip  (338 downloads)
Posted By: donJulio Re: Facelift for UBB Threads 6.4 - 12/10/2003 9:53 PM
Praise the Lord for these templates! Thank you!
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 12/10/2003 10:02 PM
No problem
Posted By: AllenAyres Re: Facelift for UBB Threads 6.4 - 12/11/2003 5:33 AM
thank you, I'll be using these on one of my personal sites
Posted By: AllenAyres Re: Facelift for UBB Threads 6.4 - 12/11/2003 7:16 AM
hmmm.. does this have a problem with post icons showing up on the forum summary?

http://www.cccbmt.org/forum/ubbthreads.php

I get a blank image in my post about updating the software to make it more user-friendly
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 12/11/2003 7:55 AM
I had a problem with the ubbt_icon_select.tmpl file but I fixed it and re-uploaded the zip file before anyone had downloaded it. The correct template is the one that's in the /templates/alternate directory that comes with Threads.

I'll veryfy that the zip file has the correct template.
Posted By: Ian_W Re: Facelift for UBB Threads 6.4 - 12/11/2003 12:03 PM
Well done.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 12/11/2003 1:13 PM
Thanks for the props!
Posted By: Dalantech Bug fix posted - 12/12/2003 8:45 PM
There was a bug in the ubbt_icon_select.tmpl file that would cause a blank icon to get selected instead of the default. If you've already downloaded the zip file just replace the ubbt_icon_select.tmpl file with the standard one that comes in the /ubbthreads/templates/alternate directory. I'll see if one of the other mods can help me squash the bug...
Posted By: Turbosport Re: Bug fix posted - 12/14/2003 12:29 PM
Dalantec I just joined your site

However your menu wraps for me like the one here at threads dev and look horrid
Posted By: Dalantech Re: Bug fix posted - 12/15/2003 8:59 AM
[]Turbosport said:
Dalantec I just joined your site

However your menu wraps for me like the one here at threads dev and look horrid [/]

What resolution do you have your monitor set to? I'll change the menu so that it doesn't wrap
Posted By: Dalantech Myhome.tmpl updated - 12/16/2003 4:55 PM
I've uploaded a new zip file to the origial post in this thread with a corrected copy of hyhome.tmpl -minor column span error fixed.
Posted By: Zarzal Re: Facelift for UBB Threads 6.4 - 12/17/2003 2:19 AM
How do I insert the quick reply hack V5.0 in this facelist ? It is to hard for me to modify showflat and showthread. Is there a finished version avaible for this ?
Posted By: omegatron Re: Facelift for UBB Threads 6.4 - 12/17/2003 2:27 AM
I just looked at those two templates. You should have no problem at all finding where to insert the quick reply mod in those templates.

In showthreaded.tmpl where the compact mod starts is where it goes

and in showflat.tmpl the code to find is the same your looking for $pageprint right That table closed and then quick reply gets inserted.
Posted By: Zarzal Re: Facelift for UBB Threads 6.4 - 12/17/2003 2:50 AM
I will try it tommorow again. Maybe its to late and I can't see where. Its about 2 O'clock ...

Dalantech, can you post the part from your .css for the tbopen.tmpl ?
Thats: tlc, topleft, top, topright, trc, left, middle

It's just for an example to see what do you do with it and what do you set in it. It should a base for my to try my own try's. Tjhanks for this great work.
Posted By: omegatron Re: Facelift for UBB Threads 6.4 - 12/17/2003 4:15 AM
Zarzal in the forum design forum there is the tablewrappers mod where you can download the files you need and see exactly how the classes used in the tablewrappers work.
Posted By: Dalantech Thanks for the props! - 12/17/2003 7:56 AM
[]Zarzal said:
Dalantech, can you post the part from your .css for the tbopen.tmpl ?
Thats: tlc, topleft, top, topright, trc, left, middle

It's just for an example to see what do you do with it and what do you set in it. It should a base for my to try my own try's. Tjhanks for this great work. [/]

Check out the Table wrapper mod that I wrote -the CSS changes are included, as well as some graphics to get you started
Posted By: donJulio Re: Thanks for the props! - 12/28/2003 8:43 AM
I think I found an error in one of the template files:
ubbt_instant_ubbcode.tmpl

The problem is that the options to for poll start, poll option, and poll end are all still there in a row. Polls now don't use those tags. You have to check the box above submit that says add a poll to this post. At least I think it's a problem from these templates because this is the set I use. I fixed this problem by replacing that template w/ the stock version from Infopop.
Posted By: Dalantech Re: Thanks for the props! - 12/28/2003 1:29 PM
-good catch! I've fixed the ubbt_instant_ubbcode.tmpl file and the zip file in the original post has been updated. Thanks!

Conrad has sugested that all of the dead hyperlinks be removed in Threads 6.5, so hopefully the days of "Facelift" are numbered
Posted By: donJulio Re: Thanks for the props! - 12/28/2003 8:01 PM
What are dead hyperlinks anyways?
Posted By: omegatron Re: Thanks for the props! - 12/28/2003 8:11 PM
Links that go nowhere Kinda like in the stock versions the edit reply post etc that guest have no hyperlink attached too.
Posted By: scroungr Re: Thanks for the props! - 12/28/2003 8:48 PM
is that dead links or dead lynx?
Posted By: Dalantech Re: Thanks for the props! - 12/28/2003 10:48 PM
[]donJulio said:
What are dead hyperlinks anyways? [/]

Normally Threads displays the text of a link even if you don't have the right to use it. So, for example, the Reply link text will be visible even if the hyperlink behind it isn't available. I don't like the way it looks, so I scripted them completely out if you don't have the right to use them.

A prime example is the articles at my site -when I view it I see an edit, reply, and quote link because I've got admin rights. Normal users won't see any links at all since I don't allow anyone other than moderators and admins to edit, reply, or quote in an article.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/01/2004 1:55 AM
I've fixed a bug in the showflat.tmpl and showthreaded.tmpl file that would not allow post management
Posted By: Zarzal Re: Facelift for UBB Threads 6.4 - 01/01/2004 3:13 PM
I try to fix this yesterday But your fix looks better. There is something else: miss the $calevent

Do you remove it or just forget ?
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/01/2004 5:38 PM
I'm just getting old -good catch! I've fixed both showflat and showthreaded and I uploaded a corrected zip file to the first post.
Posted By: Zarzal Re: Facelift for UBB Threads 6.4 - 01/01/2004 6:11 PM
Do you be sure to upload the correct .zip file ? seems to be the old one with both files from 00:49 and no change in it.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/01/2004 6:32 PM
[]Zarzal said:
Do you be sure to upload the correct .zip file ? seems to be the old one with both files from 00:49 and no change in it. [/]

I had more than one version on my PC and I uploaded the wrong one

It's correct now -thanks!
Posted By: Zarzal Re: Facelift for UBB Threads 6.4 - 01/01/2004 6:58 PM
now it's correct. You insert the missing part there where I assume it. Thanks for the update and a happy new year.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/01/2004 7:03 PM
Thanks for letting me know!!!

Happy New Year!
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/05/2004 8:02 AM
Thanks to drkknght for spotting this one: I had my modified tbopen.tmpl and tbclose.tmpl files in Facelift (I have mine set up for graphics). I've replaced them with the stock templates and updated the zip file attached to the first post.
Posted By: donJulio Re: Facelift for UBB Threads 6.4 - 01/05/2004 9:16 PM
Sorry Dal. I had a problem and Josh had to fix those two templates (tbopen and tbclose). I should have let you know, but I just forgot
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/06/2004 7:49 AM
No problem -I just need to keep Facelift seperate from other things that I do with the tempaltes
Posted By: AllenAyres Re: Facelift for UBB Threads 6.4 - 01/08/2004 8:38 AM
small bug... unregisterednav needs a . between the home link and main index link
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/08/2004 9:29 AM
Fixed -thanks for letting me know!
Posted By: AllenAyres Re: Facelift for UBB Threads 6.4 - 01/10/2004 1:20 AM
possible bug - unable to update profile page
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/10/2004 1:34 AM
I just updated my profile on Da LAN Tech: What error are you getting / what are the symptoms? For Facelift I just pulled out some table wrappers so that there were fewer tables being generated, but none of the other original data was touched in that file...
Posted By: AllenAyres Re: Facelift for UBB Threads 6.4 - 01/10/2004 1:54 AM
When I would try to update the page with username/password/avatar stuff it would say:

"it does not appear that this was submitted from the proper place" or something like that.

I uploaded the editbasic template and editbasic/changebasic php files a few times without improvements. It finally worked again when I went back to the base editbasic template file.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/10/2004 6:11 PM
I'll add the one I have to the zip file -not sure why it would be different though.
Posted By: AllenAyres Re: Facelift for UBB Threads 6.4 - 01/10/2004 7:17 PM
thanks da I had a similar problem with new registrations.. I may try a beyond compare and see if something jumps out at me.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/11/2004 3:22 PM
I added the template that I use to the zip. Please let me know if it works.
Posted By: AllenAyres Re: Facelift for UBB Threads 6.4 - 01/11/2004 10:09 PM
sure, thanks
Posted By: JoshPet Re: Facelift for UBB Threads 6.4 - 01/15/2004 8:36 PM
[]AllenAyres said:
possible bug - unable to update profile page [/]


OK - there is a change that needs to be made to these templates for 6.4.1... new security check.

in editbasic.tmpl, editdisplay.tmpl AND editemail.tmpl, you need to add this:

<input type="hidden" name="profilehash" value="$profilehash" />
Posted By: JoshPet Re: Facelift for UBB Threads 6.4 - 01/15/2004 10:18 PM
Also - in newpost.tmpl and newreply.tmpl

This:

<input type="checkbox" name="addsig" value="1" checked="checked" class="formboxes" />
{$ubbt_lang['ADDSIG']}


Should be replaced with

$addsig


Or else anonymous people get the signature checkbox.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 01/15/2004 11:45 PM
I'll fix both in the next few days and get a new zip file up to the first post -thanks for letting me know Josh!!!
Posted By: tenshu Re: Thanks for the props! - 01/17/2004 1:16 AM
Great one, Thanks boss!!
Posted By: drkknght Re: Thanks for the props! - 01/18/2004 9:47 AM
question: is anyone else with the facelift templates having difficulty with the automated welcome PMs?

not sure if its related or not, but, ever since i popped them in, my welcome pms are all screwy. like, you get the notification that you have one, but there's really nothing in the inbox.

other PMs work fine

?
Posted By: Dalantech Re: Thanks for the props! - 01/18/2004 10:20 AM
The templates wouldn't have any impact on the welcome PMs. There was a bug in a past version of Threads that would send out a welcome PM with no subject -so you couldn't read it. Is that the error you see?
Posted By: drkknght Re: Thanks for the props! - 01/18/2004 9:20 PM
yeah, that sounds like its it

should i just grab a cleaner, updated version of 6.4 and upload the updated files?
Posted By: Dalantech Re: Thanks for the props! - 01/19/2004 8:54 AM
Yes, but the bug is in one of the PHP scripts -and I don't remember which one
Posted By: JoshPet Re: Thanks for the props! - 01/22/2004 8:35 AM
Do you have a user #2 (the main admin).

That'll happen if you're missing the user#2.

Try this SQL Query

SELECT U_Username
FROM w3t_Users
WHERE U_Number = 2

and see if you get any results.
Posted By: ArclinkWeb Re: Facelift for UBB Threads 6.4 - 10/10/2004 12:57 AM
Nice Work! Yea really.
Posted By: Dalantech Re: Facelift for UBB Threads 6.4 - 10/10/2004 10:11 AM
Thanks! Facelift for Threads 6.5 is gonna be even better
© UBB.Developers