News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[Theme] xtSMF for SMF (1.0 - 1.0.3)

Started by A.M.A, August 11, 2004, 01:06:14 AM

Previous topic - Next topic

user01

#60
hxxp:forum.net-techs.info [nonactive]

working now only because I took the template.index data and shoved in the index template on the site. Why did it not do this automatically? Of course it is a different layout than the other themes I have used, but I though it should load automatically.

Edit: My bad totally. Turns out that I had a file (index.php) in there for some stupid reason. It was using that which I bet is the default layout. When I removed and reinstalled it w/o the index.php there it works flawlessly.

Thanks a bunch for this theme (looks a lot better with the tree) and the time trying to diagnose what was going on. As a shortcut, I had removed the entire forum contents except for the Themes folder and reinstalled. All the while, index.php had been in there.

AbsolutelyFreeWeb

I think this is great!!! I decided to use it!

http://forums.finexe.com

It'd be great with better icons for stickies, I think the dfault is a little lame, a pin would look great. I think this is the best theme I've seen so far! thank you!
:hearts:
I use finexe web for
domain registration and hosting.

ryanbsoftware


Frog

Is there a way to put the title up in the main bar?

I replaced the Logo picture, and may change the image map (if I can remember how to do that stuff).

But I would love to either put a simple graphic between the two with a site name or logo, or just set a header and font of my choice.

I can replace xtHEAD I suppose, but how do I get it to not tile?

No rush on this, its just a little forum for my girlfriend and I.

charlottezweb

Just add an extra table cell to that row between the existing ones and you can put whatever content there you want.   Does that help?

Regards,
Jason

Frog

It helps... ish...

I haven't toyed with PHP in about 2 years, but I'll figure it out.

Now if I can just host my little forum somewhere without fear of losing my database then I will be okay.

charlottezweb

check out index.template.

Search for
Quote
// Show the menu here, according to the menu sub template.
      template_menu();

   echo '</td>
        <td width="20%" align="center" background="', $settings['images_url'], '/xtHEAD.gif"></td>
        <td width="80%" align="right" background="', $settings['images_url'], '/xtHEAD.gif"><img src="', $settings['images_url'], '/xtLOGO.gif"></td>
      </tr>
      <tr>
        <td width="100%" colspan="3">

Then where you see
Quote
        <td width="20%" align="center" background="', $settings['images_url'], '/xtHEAD.gif"></td>
        <td width="80%" align="right" background="', $settings['images_url'], '/xtHEAD.gif"><img src="', $settings['images_url'], '/xtLOGO.gif"></td>

you can add in another set of td's in between the existing ones to create a middle cell.  Make sure you adjust the percentages specified in the other two existing td's.

As for the hosting, browse the "hosts and hosting" board for some suggestions.

Good luck,
Jason

Frog

PERFECT!!!!

Thanks!

I am actualy hosting it from my own server. I can't risk losing the info so I want the database local so that I can back it up anytime I want. I was able to make the XP firewall take a chill pill so now my lovely and wonderfull girlfriend can access it at home and yet i am still a little more secure (not too worried, if anybody wants to hack that machine they wont find much fun there).

I'll post a link when I get it a bit more swanky.

In the interum, I believe I found the code for the image map, so if I keep it exactly how it is now, only change the graphic a bit so that it fits in a tad more will that break anything? It seems like the links are done through the PHP so can I just edit the image how I need it while keeping all the locations the same and it work properly?


Also I saw someone up the line here was wanting to use a flash menu. I came accross a cool little book that gives great ways to tie Flash and PHP together with MYSQL. I don't remember the name of the book but I if memory serves you should be able to tie in a flash menu using the existing PHP menu code, but it may not be worth the effort. If it were me i would create a flash menu that calls to the PHP and uses its checks for the button functionality. Not absolutely certain how to impliment it but I know it can in fact be done and should be compatible with all browsers that have Flash.

Just a thought.  8)

charlottezweb

Quote from: Frog on September 29, 2004, 02:52:53 PM
PERFECT!!!!

Thanks!

Not a problem.  I did some similar editing myself.

Quote
In the interum, I believe I found the code for the image map, so if I keep it exactly how it is now, only change the graphic a bit so that it fits in a tad more will that break anything? It seems like the links are done through the PHP so can I just edit the image how I need it while keeping all the locations the same and it work properly?

yup.  :)

-Jason


FearlessX

hey people.. i modified the theme by adding cells(with bg) around the forum as main wrapper. i did some changes to the main table's width too.. so it has a fixed width. however, the cells (with bg) doesnt show up with a background.. can someone enlighten me? here's my codes..


// For some STRANGE reason, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<br/>
<table width="730" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="15" background="Themes/xtSMF/images/left.jpg"></td>
<td width="700" bgcolor="#ffffff">
<table>


A.M.A

charlottezweb
Thanks for your help .. appreciate it.

FearlessX
could you please post a link to your modified forum.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

FearlessX

i havent got my site online.  i did the stuff online on my webserver running on my laptop. the above codings are what i've added after this few lines of codings in index.template.php

// For some STRANGE reason, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<br/>

FearlessX

Hi.. now the main page is working.. however. when i enter a forum, the borders around my forum went missing.. any idea why?

A.M.A

From the look of your code the BG should change .. cannot make for sure unless I see the whole thing.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

AbsolutelyFreeWeb

Do you think there could be a place to fit in a banner..? I like the design, but nowhere to put ads... I have the forum control on top left, my logo on right, and between the two is not much room..
:hearts:
I use finexe web for
domain registration and hosting.

A.M.A

if you reduce your logo size .. you might get the space you need.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

c0Ld

NICE! Might be my new default in the near future =)
-c0Ld
Current Projects - Simplified Gaming Template is 40% done!

AbsolutelyFreeWeb

#78
before I do this, have someone updated to RC2 with this skin? any problems?

.........


uh oh I just read the themes change log in RC2.. will this theme be upgraded to use RC2 soon ? :)
:hearts:
I use finexe web for
domain registration and hosting.

A.M.A

Quote from: AbsolutelyFreeWeb on October 11, 2004, 06:57:35 PM
before I do this, have someone updated to RC2 with this skin? any problems?

.........


uh oh I just read the themes change log in RC2.. will this theme be upgraded to use RC2 soon ? :)
done .. please check first post
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Advertisement: