News:

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

Main Menu

Mambo Open Source

Started by Sreya, February 24, 2004, 01:40:26 AM

Previous topic - Next topic

Kindred

#300
The one issue I am still having is regarding the font sizes in SMF when run as a call form mambo.

the SMF fonts are very large.
I played with the CSS of both Mambo and SMF, but have been unable to get the fonts back to being small without resizing them in my own browser.

{edit:}
Ok... strangely enough, the original problem is now re-occuring.
I logged out of Mambo.
This required me to logout form the logout box (smf) and from the logout link in the main menu (mambo)

Then I logged in form the login box.
Mambo does not recognize me as being logged in.

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

guido

http://www.aestoaspiramos.cl

Simplemachines + Mambo + Coppermine full integration

RCHawaii

#302
We have installed Mambo an the "bridge" so far, but anyone know what this error is when you click on "Forum"- Thanks!


Fatal error: Call to undefined function: portal_load_wrapper() in /home/avoiding/public_html/spadunderground/testforum/Sources/Load.php(1098) : eval()'d code on line 337

http://spadunderground.biz/mambo/

Orstio

portal_load_wrapper() in Load.php?  What's that? 

I suggest you install a clean version of SMF.  There is no portal_load_wrapper() in Load.php......  Somewhere you have gotten a hold of modified SMF sources.....

RCHawaii

Hmm, I wondered about that as well, this was a test version- I thought it was the original package, Thank you.

Homer_J_S

#305
I have a couple of questions about integration of different components.
I am creating a website with three main parts - Mambo, SMF and Coppermine.
1) Should I install all three on the same DB or 3 different DB's?
2)Should I first try to Bridge SMF and Mambo, then put coppermine as a wrapper to Mambo or Do the wrapper first then tackle the SMF bridge?
3) I know where the SMF Mambo bridge is (thanks oristo) if anybody can point me to the Coppermine /mambo wrapper I would apreciate it. (I know this is a SMF site but yall are the nicest and most  helpful bunch of coders I have ever run accross and I thought I would ask) Or should I tie coppermine to SMF and then Tie SMF to Mambo usiing the SMF Mambo Bridge?  Just  don't know which way to go.

This is my first website where I have tried to combine these seperate components into one cohesive site  so I am just looking for a little guidance.  Right now I have all three components installed on my website on 3 seperate DB's. As I am doing this from scratch and have no users yet,  its no problem to redo a step or two as I have not even attempted a template of any kind.

Again thanks again for all your help. 

Vedm

I've installed the integration of MOS 4.5.1a with SMF RC1, in Opera everything seems to be okay...
Whoops. Got 2 bugs in IE:
- Fonts oversizing, just like it was few times mentioned above;
- Width bug (head modules section goes about 10% right off the screen).

Here it is (try with IE): http://test.eglador.info/index.php?option=com_smf

Is there a doctor in the house? Please advise, how to fix these things. Should I move the existing bug-correcting code from SMF index.template.php to MOS template's index.php? And how to make it work there?
My Forum runs under SMF 1.0 RC1

Orstio

Homer:  I don't think it matters what order you install Mambo, SMF, or Coppermine. 

Vedm:  You've got something there. 

QuoteShould I move the existing bug-correcting code from SMF index.template.php to MOS template's index.php? And how to make it work there?

In your Mambo template, you added something like this:

<?php  require ("components/com_smf/config.smf.php");
             require ($smf_path . "/SSI.php");
?>


Try this, and let us know if it works:

<?php  require ("components/com_smf/config.smf.php");
             require ($smf_path . "/SSI.php");
             if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
, $settings['default_theme_url'], '/fonts-compat.css" />';

?>


Vedm

Quote from: Orstio on October 24, 2004, 08:47:02 PMTry this, and let us know if it works:

<?php  require ("components/com_smf/config.smf.php");
             require ($smf_path . "/SSI.php");
             if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
, $settings['default_theme_url'], '/fonts-compat.css" />';
?>

Nope, it doesn't work. Added code just after the <head> tag and deleted browser cache...
My Forum runs under SMF 1.0 RC1

[Unknown]

When presented with an HTML 4 doctype (or none - just not XHTML, as SMF generally uses) IE will also need the font-size fix.

You can change this by adding:

$settings['doctype'] = 'html';

Into your "init" sub template in index.template.php.

-[Unknown]

Kindred

WOO HOO!   Thanks [Unknown], That appears to have fixed it...

I was looking for some complicated modifications to the CSS files or something.

Now, Orstio...  the only problem I still have is that Mambo-SMF appears to act very differently on my two machines.
From my office machine, I can log in to both Mambo and SMF, but I have issues with the logout (until sessions timeout, it keeps "stacking")
From my home machine, I can not log in to Mambo, although the SMF login works just fine...

Very strange behaviour...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bmwheaven

Hi guys,
I'm quite new to this whole Mambo and SMF thing.
I just started using Mambo (switched from phpnuke) and was thinking of a new forum as well (previously had phpBB).
mmm, I've got the following problems with my mambo smf bridge:

http://bmwheaven.bmwsport.net/mambo/index.php

I did the whole installation in the order the readme file said, then I also changed the path in the config.smf.php file.
Now I really dont have a clue what I've done wrong, the page above is trying to load the mod_smf_login module.
Any help?
Thanks!
Sh*t happens
All the time

Kindred

Did you add the code in the header of your Mambo template?

I think that's the same message I got before I added it.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bmwheaven

yeah, the login is in the top of the template, that's what's going wrong, but i dont know what is going wrong...
I did try to change the config.smf.php, but whatever I set the smf folder to, it doesn't want to work.
Sh*t happens
All the time

Vedm

Quote from: [Unknown] on October 24, 2004, 11:04:36 PMWhen presented with an HTML 4 doctype (or none - just not XHTML, as SMF generally uses) IE will also need the font-size fix.

You can change this by adding:

$settings['doctype'] = 'html';

Yeah, it looks okay now when bridged... And when at non-integrated forum, all fonts in IE went smaller. :(
Maybe there is another way? I have tried to comment out the font-fix code in index.template.php, or to have it both ways (also in MOS template.php) - but no luck.

Also, how to deal with headers section oversizing? Somehow edit the initial // 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 '
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

in index.template.php?
My Forum runs under SMF 1.0 RC1

bmwheaven

got it fixed (or, somebody else fixed it for me  ;D)
Sh*t happens
All the time

Quick

basically you have to make one css with the style for both mos and smf. too much code to post and cannot attach.
smf, mos and cpg are all working together with users integrated. next is osc!! argg
hxxp:www.talbotautos.com [nonactive]

Vedm

Sorry, Quick, that's not quite right, I suppose - what if someone decides to change forum or Mambo template to another ones? He will have to rewrite everything then... And what if some of his sub-boards have different styles?
My Forum runs under SMF 1.0 RC1

davy19

#318
I have a question...


I dont think my integrated login is working and I am not sure what I did wrong, I tried to follow directions exactly. 

Thanks here is the website

http://www.thebandalliance.org/mambo


btw i am really new at mambo so still learning how to use the portal and what not

Kris

#319
Have any people using the bridge of Orstio problems with polls in the forum?

It seems people can't vote, nor can I. (can't find page)

Advertisement: