UBB.Dev
Posted By: Dalantech [6.2 - 6.5] 5x3 array table wrappers mod - 01/25/2003 8:01 PM
What is it?: A little more complex version of the original table wrappers mod. This one allows for smaller graphic files and more detailed graphics effects.

Why should you care?: It's a good way to dress up the table wrappers on your Threads site

Props to JustDave for making the whole table wrapper idea a reality. This is really his mod

Example: Check out the link in my signature. The graphics in this set do not have my domain name or binary. They do have the name of the style sheet at the top left, and UBB Threads at the bottom right.

Installation:

Back up yout tbopen.tmpl and tbclose.tmpl file -do it now...

Take a look at the tbopen and tbclose templates that I'm including with this mod. Edit the path to the graphics to match your site name and the path were you install the graphics for this mod.

The CSS files I've included are not complete! They just contain the extra classes that you'll need for this graphic set. My advice is to cut and past the contents of each one to it's corresponding style sheet via the admin panel (they are all default styles that come with Threads). You'll have to edit the path to match your domain and the directory where you installed the graphics.

Upload all the files to your server, making sure to put the tbopen.tmpl and tbopen.tmpl file in your templates/default directory.

Enjoy

Version 1.0 -initial release
Version 1.1 -fixed a missing closing table cell tag.
Version 1.2 -fixed the directory structure in the templates to stop bandwidth leaches.


Attached File
66175-wrapset1.zip  (306 downloads)
Posted By: JoshPet Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 8:08 PM
You da man! Thanks.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 8:09 PM
Check your email
Posted By: JoshPet Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 8:50 PM
Thank you thank you!
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 8:55 PM
Posted By: omegatron Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 11:15 PM
Cool In was able to shave a few hundred bytes off my top image since it is now broken up in 3 images with only the top left containing the actual image. The rest are alot smaller than the ones you have packaged up with most being 41 bytes. However I can't get past the Photo Quality Images I use in that NOW top left image. The smallest one I have done is 1450bytes which beats the 1750bytes before.

I went one step further knowing graphics a bit and converted the gif down to a jpg which shaved it down to 1125bytes.

Most of the graphics you have packaged up can be compressed to one half or even a quarter of their size with any good graphics compression program. This will help save bandwidth and load time as well. This is what I had to do as we would not even want to try to load the images I created without compressing them.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 11:22 PM
I like this way of doing the table wrapper because the images are easier to work with.

I never really thought about compressing them further because they are already pretty small. Once they are downloaded to the clients browser cahce they won't be pulled from your web server again unless they refresh / reload a page or they clear their cache.

Why don't you send that image you use to me so I can see what I can do with it?
Posted By: omegatron Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 11:27 PM
I am using the same program you are on your advice. Fireworks!

What I am saying is that compressing them saves load time. My side and corner graphics are 41K instead of 80-150k like the ones in your file. I am just saying that if you compress what you have then people will save time loading them. Alot of time people like you and I forget there are still people on dialup access. Thats why I try and compress things as much as possible. I doubt you can compress my topleft.jpg any more than I could. Your welcome to try but Photo Quality images only compress so far without losing quality.

What you did here is great. It saves file size a bit and anything saved is just that much better. You are becoming quite the template wizard.

Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 11:33 PM
Thanks

FireWorks is the only way to go for web design! Photoshop is cool, but FW is geared more toward designing graphics for a web site.

BTW: I'm on a 64K ISDN line in Italy. I know all about slow dial up
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 11:38 PM
Here is the FireWorks PNG file for this mod.

Attached picture 66217-wrapset1.png
Posted By: omegatron Re: [6.2] 5x3 array table wrappers mod - 01/25/2003 11:44 PM
I have cable access so I thought I would point out graphics sizes to you. I have alot of users that are mixed and when I design things I try and compress things as much as possible because there are alot of dialup people out there.

I especially have to be very careful as all the table wrappers I have designed so far the top one includes a photo quality image.

Or should I say now the top left one will contain a photo quality image. Yeah I appreciated the advice a few days back. I have been trying out fireworks and have been impressed. Although I compress the graphics more after designing them in fireworks.
Posted By: omegatron Re: [6.2] 5x3 array table wrappers mod - 01/26/2003 3:11 AM
Hey Dalantech I do have a specific question since you are very familiar to Fireworks and I am new to it.

How do you so those indented boxes that you place the binary and your site name in? I was thinking about doing one of them on my bottom right corner with my site name as well.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/26/2003 8:35 PM
Here is how it's done:

  • Use the rectagle tool to draw a rectangle. You can use the Window / Effect tool set to define the size.
  • Go to Window / Object and set the roundness to 100%.
  • Go back to the effects window and select Bevel and Embose / Inner Bevel. Set it to flat and inverted with an angle of 135 (all other settings just take the default).


...and you're done

I've attached a file with the frame I used for the graphics set and three grey bars showing the progresion of the effect. Just click on them and take a look at what I've done.

Also go to view / grid and make sure show grid and snap to grid are selected. Also go to edit grid and set it to 10 x 10 pixels, if it's not set to 10 x 10 already (makes using the file easier).

Attached picture 66306-omegatron.png
Posted By: omegatron Re: [6.2] 5x3 array table wrappers mod - 01/26/2003 9:18 PM
Thanks I will give it a try.
Posted By: AKD96 Re: [6.2] 5x3 array table wrappers mod - 01/27/2003 11:00 PM
Great hack Dalantech, much thanks. But there seems to be a problem with my site. It may be that I have the Who's Online box or Side-Bar. Anyways, here's a link to the page in question. The right bar around the main section as well as bottom aren't showing up.

BTW, if you want some extra border graphics, I could try to pop out a few. Any ideas or requests?
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/27/2003 11:29 PM
There is no hyperlink in your post, but I can tell you that if you do not see the right side or bottom then there is an extra closing table cell, table row, and or table tag somewhere that's killing off the html in the $tbopen variable. Look for closing tags where they should not be...
Posted By: AKD96 Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 2:10 PM
Ack. Sorry about that, don't know what happened. The URL is drumlines.org. I'll head off to look for those closing tags. Thanks!
Posted By: AKD96 Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 2:53 PM
I give up. I'm using the $tbopen template that came with your zip, so that can't be the problem. I looked through ubbthreads.tmpl, but there are just tables within tables and all kinds of table tags. Too much to trace for this chico. Thanks for your help, though!
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 3:06 PM
It's not a problem with the files that I posted, it's a problem in the script / html that you are trying to use the table wrappers on. Somewhere in your file is a /td /tr and or /table where it's not suppose to be, so the closing table tags in the $tbclose variable are being ignored.

I had the same problem with the Priavay page I scripted recently. It turned out that I had some closing table tags in my privacy statement html that were causing the table wrappers to get cut off. If there is an error that effects the html in $tbclose you'll see it as missing graphics on the right side, bottom corners, and bottom of the table that's suppose to have the graphic wrapper around it.

In short: If you're not going to post your script so I (or someone else) can review it for you then you're gonna have to debug it yourself. I can't help you if you are only going to make half a post and then claim that the error is in my script...

P.S. It's working on my site, and many others...
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 3:08 PM
Also, in my post there is a copy of a corrected ubbthreads.tmpl file. Did you upload it to your /templates/default directory?

Did you change all of the image urls in the tbopen.tmpl and tbclose.tmpl to your site and the directory where you stored the graphics?

Did you change all the background image urls in the CSS classes to your site and the directory on your server where you stored the images?
Posted By: AKD96 Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 9:40 PM
Whoa there pardner. I never said it was a problem with your file. I just thought you meant there was a problem in my $tbopen when you said, "...table tag somewhere that's killing off the html in the $tbopen variable." I guess I misread that.

And I don't know if I uploaded your copy of ubbthreads.tmpl from the old post. I have to fire up the ol' Beyond Compare later.

And I didn't know you wanted me to post my script. I'm new here, and if that's protocol, I wasn't aware and I'm sorry. I just thought the Infopop police didn't want entire scripts posted to the public. But I'll attach it to this post.

Not trying to bad-mouth your hack. I do appreciate all the work you have put into it. Kudos! And let's all just get along.

P.S. I attached the file as a .txt and it turned out partially ran, so I'm just going to quote it below.

[]
<? //UBBTREMARK

echo <<<UBBTPRINT

$only_favs

$BirthdayGreeting

$tbopen

UBBTPRINT;



for($c=0;$c<$catsize;$c++) { //UBBTREMARK

echo <<<UBBTPRINT

<!-- CATEGORY LOOP START -->

<tr>

<td colspan="5" class="cleartable"><img src="{$config['images']}/blank.gif" width="1" height="1" alt="*" /></td>

</tr>

<tr>

<td align="center" valign="top" class="tdheader">

<table border="0" cellpadding="0" cellspacing="0"><tr><td class="{$catrow[$c]['NewMarker']}">

{$catrow[$c]['ToggleLink']}

</td></tr></table>

</td>

<td class="tdheader">

<img $imagestyle src="{$config['images']}/about.gif" alt="{$catrow[$c]['CatDesc']}{$catrow[$c]['NotShown']}" title="{$catrow[$c]['CatDesc']}{$catrow[$c]['NotShown']}" />

{$catrow[$c]['CatTitle']}

</td>

<td class="tdheader" align="center" width="9%">

{$ubbt_lang['THREAD_TEXT']}

</td>

<td class="tdheader" align="center" width="9%">

{$ubbt_lang['POSTS_TEXT']}

</td>

<td class="tdheader" align="center" width="40%">

{$ubbt_lang['LAST_POST']}

</td>

</tr>



<!-- BEGIN FORUM CODE LOOP _ DO NOT ALTER COMMENTS -->

UBBTPRINT;

for($f=0;$f<$forumsize[$c];$f++) { //UBBTREMARK

echo <<<UBBTPRINT

<tr>

<td valign="top" class="darktable">

<img src="{$config['images']}/{$forum[$c][$f]['boardfolder']}" alt="" />

</td>

<td class="darktable">

<font class="forumtitle">

<a href="{$config['phpurl']}/postlist.php?Cat=$Cat&Board={$forum[$c][$f]['Keyword']}">

{$forum[$c][$f]['Title']}

</a>

</font>

<br />

<table cellpadding="0" cellspacing="0">

<tr>

<td>

 

</td>

<td class="forumdescript">

{$forum[$c][$f]['Description']}

</td>

</tr>

</table>

{$forum[$c][$f]['modlist']}

</td>

<td align="center" class="threadtotal" nowrap="nowrap">

{$forum[$c][$f]['Threads']}

{$forum[$c][$f]['showthreads']}

</td>

<td align="center" class="posttotal" nowrap="nowrap">

{$forum[$c][$f]['Total']}

{$forum[$c][$f]['showposts']}

{$forum[$c][$f]['showna']}

</td>

<td class="posttime" nowrap="nowrap">

{$forum[$c][$f]['lastpost']}

<br />

     

{$forum[$c][$f]['lastposter']}

- {$forum[$c][$f]['time']}

</td>

</tr>

UBBTPRINT;

} //UBBTREMARK

} //UBBTREMARK

echo <<<UBBTPRINT

<!-- END CATEGORY LOOP -->

<!-- END OF FORUM LOOP -->

</table>

</td>

</tr>

</table>



<br />



<!-- WHOS ONLINE BOX MODIFICATION START -->

$tbopen

<tr>

<td class="tdheader">



Who's Online



</td>

</tr>

<tr>

<td class="lighttable">



{$whosOnline}



</td>

</tr>

$tbclose

<br />

<!-- WHOS ONLINE BOX MODIFICATION END -->



$tbopen

<tr>

<td colspan="3" class="tdheader">

<b>{$ubbt_lang['B_INFO']}</b>

</td>

</tr>

<tr>

<td width="45%" valign="top" class="lighttable">

<span class="small">

$welcomemessage

<br />

$toggleshowstart

$currentshow

$toggleshowstop

<br />

$registered {$ubbt_lang['REGED_USERS']}

<br />

{$ubbt_lang['NEW_MEM']}

<a href="{$config['phpurl']}/showprofile.php?User=$encnewusername&What=ubbthreads&Cat=$Cat">

$newusername

</a>

<br />

{$ubbt_lang['C_ONLINE']} $r {$ubbt_lang['C_ONLINE2']} $a {$ubbt_lang['C_ONLINE3']}

<br />

$edittimelinkstart{$ubbt_lang['OFFSET_TIME']}$edittimelinkstop

$time

</span>

</td>

<td width="30%" valign="top" class="lighttable">

<span class="small">

<b>{$ubbt_lang['VIEW_PAST']}</b>

<br />







<a href="{$config['phpurl']}/dosearch.php?Cat=$Cat&Forum=All_Forums&Words=&Match=Entire+Phrase&Old=1day&Limit=25">

{$ubbt_lang['PAST24']}

</a>

<br />







<a href="{$config['phpurl']}/dosearch.php?Cat=$Cat&Forum=All_Forums&Words=&Match=Entire+Phrase&Old=2days&Limit=25">

{$ubbt_lang['PAST48']}

</a>

<br />







<a href="{$config['phpurl']}/dosearch.php?Cat=$Cat&Forum=All_Forums&Words=&Match=Entire+Phrase&Old=1week&Limit=25">

{$ubbt_lang['PAST7']}

</a>

</span>

</td>

<td valign="top" class="lighttable">

<b>{$ubbt_lang['LEGEND']}</b>

<table border="0" cellpadding="0" cellspacing="2">

<tr>

<td>

<img src="{$config['images']}/newposts.gif" alt="*" />

</td>

<td class="small">

 {$ubbt_lang['L_NEW']}

</td>

</tr>

<tr>

<td>

<img src="{$config['images']}/nonewposts.gif" alt="*" />

</td>

<td class="small">

 {$ubbt_lang['L_NONEW']}

</td>

</tr>

<tr>

<td align="center">

<img class="newpostsincat" src="{$config['images']}/catexpand.gif" alt="{$ubbt_lang['CATLEGEND']}" />

</td>

<td class="small">

 {$ubbt_lang['L_NEW']}

</td>

</tr>

<tr>

<td align="center">

<img src="{$config['images']}/catexpand.gif" alt="{$ubbt_lang['CATLEGEND']}" />

</td>

<td class="small">

 {$ubbt_lang['L_NONEW']}

</td>

</tr>

</table>

<!--Start of Birthday Mod - by JoshPet-->

<tr class="lighttable">

<td class="small" valign="top" colspan="3">

<b>$TodayIntro</b> $todaybday

<b>$MonthIntro</b> $thismonthbday

$BirthdayWarning

</td>

</tr>

<!--Birthday Mod End-->

</td>

</tr>

$tbclose



<br />



UBBTPRINT;

/* UBBTREMARK */ ?>
[/]
Posted By: JoshPet Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 9:44 PM
You can post templates and bits of scripts.

We can't post any whole or modified infopop scripts as they are copyrighted, but my understanding is that we can post template files.

Welcome.

There was a goofy ubbthreads.tmpl file that came with 6.2 (myhome.tmpl too). Those have been fixed in 6.2.1. But they created havoc with tablewrappers.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 10:27 PM
Sorry, I reread my reply to you and realized that it came out kinda harsh (and that was not my intention).

Now let's fix your script

Look for

Code
 <br /><!-- END CATEGORY LOOP --> <br /><!-- END OF FORUM LOOP --> <br /></table> <br /></td> <br /></tr> <br /></table> <br /> 


It should be

Code
 <br /><!-- END CATEGORY LOOP --> <br /><!-- END OF FORUM LOOP --> <br />$tbclose 


That should fix it for you
Posted By: AKD96 Re: [6.2] 5x3 array table wrappers mod - 01/28/2003 10:41 PM
That did the trick! Thanks much.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/29/2003 7:54 AM
No problem , and sorry about the earlier post. I really didn't mean to come accross so abrasive
Posted By: AllenAyres Re: [6.2] 5x3 array table wrappers mod - 01/30/2003 9:17 AM
nice work with this
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 01/30/2003 10:07 AM
Coming from someone like you that's high praise, thanks!
Posted By: Dalantech Version 1.1 update - 01/31/2003 6:54 PM
There was a missing closing table cell tag in the tbclose.tmpl file that, odly enough, only showed up under IE 5.2.2 on the Mac! The zip in the initial post has been updated. If you want to fix your tbclose.tmpl file look for

Code
 <br /></table><br /></td><br /></tr><br /></table><br /><td class="right"> 


and replace that with

Code
 <br /></table><br /></td><br /></tr><br /></table><br /></td><br /><td class="right"> 


Sorry for the inconvenience:(
Posted By: PhotoPost Re: Version 1.1 update - 02/21/2003 7:45 PM
Ah; just found this. I dont suppose someone could explain to be how export the PNG file (in Fireworks) once I've made my changes?
Posted By: Dalantech Re: Version 1.1 update - 02/21/2003 8:26 PM
Do you mean "how do I cut graphics in Fireworks?" ?
Posted By: omegatron Re: Version 1.1 update - 02/22/2003 12:23 AM
Michael Under file menu there should be an option to export as a gif. If you just save it then it is PNG by default
Posted By: smilesforu Re: [6.2] 5x3 array table wrappers mod - 02/22/2003 3:09 AM
Door knob here... I get spacer.gif with missing images around my tables.. I know I am missing something here. Should I change the spacer.gif to the appropiate images for the theme? But if I do this doesn't that keep the same images for all the style sheets since they all use the same open close template?
Posted By: smilesforu Re: [6.2] 5x3 array table wrappers mod - 02/22/2003 3:20 AM
Got it duh.... wrong url path forgot to add ubbthreads
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/09/2003 7:59 PM
Hmm..I am not sure what original CSS I modified to get my current EFS look.Dalantech do you have any suggestions on which one of your CSS sheets I should append to mine? Eventually I will have to modify the .png file to get my own color scheme but I want to get a feel for the look first.

[edit]Hmm well I started with using the greenday.css values and It doesnt quite seem to work like it should...[/edit}
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/09/2003 9:17 PM
You could use any one of the addtional style sheets classes that are included in the mod. Just make sure you upload all the graphics, templates, and you edit one of the CSS sheets to include the new classes. Don't forget to change the path info in the templates and CSS!
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 6:05 AM
I used greenday.css and it seems to have changed my IIP index page layout.How do I make the pal boxes smaller again? Also I am fairly new to Fireworks also..I managed to edit your .png file to get my own color scheme but do you think maybe you could point me in the right direction on making the individual .gif files for my wrappers? I'm trying to avoid the tutorial How do I make the gifs from the png?
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 7:16 AM
The table wrapper will only "shrink" down to 180 pixels wide. If the pal boxes look a little wider then it's normal. Kinda tough to get an decent effects with less than 90 pixels on each side.

As for cutting gif files: Set the grid to 10 x 10 pixels and enable "snap to grid". Then use the mask tool to highlight the areas that you want to cut into gifs. Make sure you set alpha transperancy before you cut the corners
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 7:27 AM
only my left side PAL boxes are wider than they were before.The right side is the same.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 7:30 AM
The right side may have been large enough so that the table wrappers don't have an effect.
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 7:43 AM
lol ok...I hate to be a bother but if you look at my signature link can you tell me why the right side PAL boxes are the correct size and the left side pal boxes changed? They were identical sizes before
Posted By: JoshPet Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 7:52 AM
That's really odd.

Usually there's something pushing it out of wack. But I don't see anything causnig it.

Have you tried refreshing the cache for IIP since you installed the table wrappers?
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 8:24 AM
I'm with Josh, but the same thing started happening on my site (long after I installed the table wrappers). I'm not sure what's causing it, but I don't think it's the table wrappers (it's the same script for every table, so if it's the table wrapper it should be happening to every table).

Sorry, I didn't see it before on your site cause I had my resolution at 1600 x 1200 (I had to drop down to 1024 x 768 to see it).
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/10/2003 8:30 PM
OK, on my site it was the "Top Threads" PAL that was causing the display to skew. Go into your theme settings and set your table width to 90% and then left click on the save button. Then go back to your index page and take a look at it: the largest PAL box on the left side is the one causing the problem.
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/12/2003 5:07 AM
hmm...I had table width set to 95% and I dropped it down to 90% but it didn't help.( I like it better at 95%) Before I added the table wrappers both the left side and right side columns were the same size as the right side.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/12/2003 8:32 AM
Maybe I didn't explain it very well. If you drop your width settings down to 90% (admin / theme settings) then you should be able to see one or more PAL boxes that are wider that the others. It's those PAL boxes that are making the left side bigger than the right when you have your width settings at 100%.

I really don't think it's the table wrappers since the html for every table wrapper is exactly the same, and the table wrapper uses your theme width settings so they do resize dynamicly with the page.
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/13/2003 1:41 AM
Bingo!! It was the Top Ten Posters Pal box.I turned it off and all is good.Why would it do that?(wrong forum) Thankyou thankyou for the super cool Table Wrappers (link below) for my site by the way.How would I get the Table Wrappers to wrap around my Header too? I've atatched what I use for my Generic header.

Everyone loves them.

Attached File
72792-efs.txt  (174 downloads)
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/13/2003 3:47 AM
oh and here is a Test Site
http://www.emeraldforestseattle.com/threads/index.php?Cat=

My signature is still linked to my main forums
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/13/2003 7:49 AM
Check out my generic header mod for instructions on how to use the $tbopen and $tbclose variables in your generic header (works for the forum headers too).

The table wrappers look kickin' on your site, well done on installing the mod!
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/13/2003 9:28 AM
I think I've found a few html errors in your header. See the attached file.

Attached File
72866-emerald-errors.txt  (390 downloads)
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/13/2003 9:39 AM
If you use my generic header mod then I think this template will work for you

Attached File
72867-emerald.tmpl  (158 downloads)
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/14/2003 7:31 AM
Thankyou for cleaning up my html. My html skills amount to a lot of cut and pasting at the moment I added a <br /> at the end and that kept my banner box from sitting on the 'Threads nav bar.

I tried the header.tmpl but it didnt quite work.
Test Site

And my pesky left side Pal boxes keep resizing to larger by themselves..I had to enable the Top Ten Posters again then disable it to fix them.
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/14/2003 9:38 AM
Yup, it pretty much exploded

I'll take another look at your header and put everything into a template for you (later on today if I have time).

In the mean time take a look at the header info you posted earlier and see about putting everything into the generic header. I thought it was odd that you had a lot of html outside of, and before, the Threads generic header. Putting everthing into the generic header will make it easier to script.
Posted By: ChAoS_dup1 Re: [6.2] 5x3 array table wrappers mod - 03/15/2003 9:21 PM
You mean on the test site right? I just did that so I wouldnt lose the original. I was in a hurry so I didnt have time to make a backup.Too bad Threads doesn't give you an option for backing up the templates from the Admin Panel
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 03/15/2003 10:59 PM
Yes, try it out on the test site. Everything before the menu bar should be in the generic header.
Posted By: Dalantech Re: [6.2 - 6.4] 5x3 array table wrappers mod - 01/25/2004 11:03 PM
This works for Threads 6.2 to 6.4
To those of you who thought you were being clever by replacing the yourdomain.com in the tbopen and tbclose templates with dalantech.com you might want to check your web sites and edit those files...

Next time I'll replace the graphics you are stealing with something really ugly...
Posted By: omegatron Re: [6.2] 5x3 array table wrappers mod - 02/08/2004 7:55 PM
Thats why I learned along time ago to disable hotlinking
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 02/08/2004 7:57 PM
I thought the .htaccess file I had would stop it...
Posted By: J.C. Re: [6.2] 5x3 array table wrappers mod - 02/09/2004 1:07 AM
This is what I use:

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?ubbdesign.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?ubbdesign.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?ubbuniverse.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?ubbuniverse.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|png|txt|zip)$ http://www.ubbdesign.com/forums/images/blank.gif [R,NC]

Testing it:
[]http://www.ubbdesign.com/forums/images/graemlins/smile.gif[/]
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 02/09/2004 8:10 AM
Thanks! I had changed mine to something like yours after I made that last post. It seems to be working except for the rewrite rule to send the offender an image:

Code
 RewriteRule .*\.(gif|jpg|jpeg|bmp|png|txt|zip)$ http://www.dalantech.com/images/stolen.gif [R,NC] 


They just don't get anything...
Posted By: JoshPet Re: [6.2] 5x3 array table wrappers mod - 02/09/2004 9:32 AM
If you are blocking the display of images from their site, and want to display something else to them.... then that image needs to come from somewhere else - as you're blocking the display of images. So either another domain or somewhere on your site not htaccess protected.
Posted By: omegatron Re: [6.2] 5x3 array table wrappers mod - 02/09/2004 2:45 PM
What line I use is this

RewriteRule .*\.(gif|jpg|jpeg|bmp|png|txt|zip)$ - [F,NC]
Posted By: Dalantech Re: [6.2] 5x3 array table wrappers mod - 02/09/2004 9:27 PM
Gotcha -that's what I figured
Posted By: J.C. Re: [6.2] 5x3 array table wrappers mod - 02/09/2004 10:13 PM
This may help
http://altlab.com/htaccess_tutorial.html
This one works for Threads 6.5 as well
^Stealth Bump^

TY
© UBB.Developers