News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Forum Bridge to Joomla 1.x

Started by ZuMe, November 29, 2005, 08:16:26 AM

Previous topic - Next topic

ZuMe

Hey there,

hope you can help me on this tough one.
I'm using the SMF 1.1 RC and Joomla! 1.0.4 together now.
I integrated them via the SMF forum brigde i found at the Joomla! Site.

Now this works out perfectly fine, but when it comes to loading the page which integrates the SMF forum, the SMF stylesheet is loaded, and it seems to be valid for all of the page - including the Joomla! components and navbar as well as the forum.

So, instead of having a dark blue page with an easy readable light blue forum integrated, i now get a light blue page all over. I admit i am too lazy to either search all the templates of the forum or of Joomla in order to find all of the "class" - tags and rename them to something else not used on Joomla. Anyway, there would still be the problem with the html-tags like "< a >" or "< td >" - cannot change them for sure, but i want to format them anyway.

So in the hope that someone here helped with that Joomla forum bridge - is there a way to limit the forum stylesheet to the forum ?

thx

Suse
Roleplayers do it anytime, anywhere, and sometimes even for days.

chadness

Unfortunately, no, there isn't a way to do that.  However, there have been some themes released with this work already done.  Check this thread:
http://www.simplemachines.org/community/index.php?topic=43476.0

Here's one I did and use:
http://www.technoadvice.com/component/remository/Download/Joomla-and-Mambo/AiM-Custom-SMF-theme-for-SMF-1.1-RC1/

ZuMe

Thank you chadness for your definite answer.
I guess it is possible by using this wrapper thing in joomla, but i don't know who much performance this will take, considering loading times for the forum.
As my provider is already watching me closely for the traffic generated ;) i'll have to find another way then...

thank you again.

Yours,
Suse
Roleplayers do it anytime, anywhere, and sometimes even for days.

chadness

Quote from: ZuMe on November 30, 2005, 10:12:32 AM
I guess it is possible by using this wrapper thing in joomla, but i don't know who much performance this will take, considering loading times for the forum.
Using the Joomla wrapper would be pretty ugly.

It's not too long of a process to comment out or remove the duplicate CSS classes.  If you want a general idea of what they will be, download my theme from the link above, and look in the file called "style-unwrapped.css" - that's where I moved all of the duplicate entries for that theme.  They should be pretty much the same for whichever one you are using.

[edit - I decided to open the file and paste those in - it's a pretty small list]
/* Normal, standard links. */
a:link
{
        color: #000000;
        text-decoration: underline;
}
a:visited
{
        color: #323232;
        text-decoration: underline;
}
a:hover
{
        color: #b23232;
        text-decoration: none;
}

/* By default (td, body..) use Tahoma in black. */
body, td
{
        color: #003333;
        font-size: small;
        font-family: Arial, helvetica, serif;
}
/* The main body of the entire forum. */
body
{
        margin: 0px;
        padding: 0px;
background-color: #d8d0c8;
}
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
        font-size: 9pt;
        color: #000000;
        font-family: Tahoma, arial, helvetica, serif;
}

ZuMe

 :D  already did that. I'll not use your style as i need a heavily fantasy-orientated, mystical all-in-one-but-not-too-many-pictures forum style thing which nevertheless looks cool and is not too dark (okay admittedly i still don't know what style it will be finally ;))
but thanks for the advice and the file. I'll go through it all then.

yours,
Suse
Roleplayers do it anytime, anywhere, and sometimes even for days.

chadness

Good luck!  I'm interested to see the final result, as I might be interested in something similar for one of my other sites.  It's not bridged, but this is what I currently use there:
http://www.vanguardepsilon.com/forum/index.php

ZuMe

Now thats nice  ! im jealous  :D

I now inserted the tags the smf uses, like windowbg and so on, into the joomla css file, which works out pretty well.
have a look if you like :

http://www.silbermarken.de [nofollow]
http://www.silbermarken.de/forum [nofollow] (unbridged)

anyway, my question is answered so i'd think we could close this thread....

yours
Suse
Roleplayers do it anytime, anywhere, and sometimes even for days.

chadness


Advertisement: