Uutiset:

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

Main Menu
Advertisement:

SMF Bridge HELP please!!

Aloittaja madd, huhtikuu 06, 2006, 01:10:38 IP

« edellinen - seuraava »

madd

So I installed the joomla SMF Bridge.  ( package is MOS_SMF_BRIDGEv3[1].19a_stable )

I did step by step.  But I fear the bridge i tried to install prior might have screwed something up...  Everything seems to be working now.  I was getting this error,

Notice: Undefined index: smf239 in c:\web\mimnocks\smf\Sources\Subs.php on line 966


So I found in subs.php where smf239 was and I commented em out.

// '~\[quote(?: author)?=&quot;(.{1,80}?)&quot;\](?:<br />)?~i' => isset($disabled['quote']) ? '<div>' : '<div class="quoteheader">' . $txt['smf239'] . ': $1</div><div class="quote">',
// '~\[quote author=(.{1,80}?) link=(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?) date=(\d+)\](?:<br />)?~ei' => isset($disabled['quote']) ? '\'<div>\'' : '\'<div class="quoteheader"><a href="' . $scripturl . '?$2">' . $txt['smf239'] . ': $1 ' . $txt[176] . ' \' . timeformat(\'$3\') . \'</a></div><div class="quote">\'',
// '~\[quote author=(.{1,80}?)\](?:<br />)?~i' => isset($disabled['quote']) ? '<div>' : '<div class="quoteheader">' . $txt['smf239'] . ': $1</div><div class="quote">',
// '~\[quote\](?:<br />)?~i' => isset($disabled['quote']) ? '<div>' : '<div class="quoteheader">' . $txt['smf240'] . '</div><div class="quote">',


That got rid of the errors...   Now my page looks like it should with the exception of the login module...   Its blank...  Like it cant find something in the lang file??? 

Can anyone please help me?  The login module is at the bottom of my site, left hand side
http://www.mimnoks.com

Thank you,
MaDd

Kindred

you can't just randomly comment out lines.

1- What version of SMF are you using?
2- what version of the bridge did you have previously installed?
3- did you add the code into your joomla template?
4- did you configure the component with the aboslute path to your forum?
Сл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."

madd


SMF File Your Version Current Version
SMF Package SMF 1.0.7 SMF 1.0.7
Sources 1.0.7 1.0.7
Admin.php 1.0.4 1.0.4
BoardIndex.php 1.0 1.0
Calendar.php 1.0.3 1.0.3
Copy of Subs.php 1.0.6 ??
Display.php 1.0.1 1.0.1
DumpDatabase.php 1.0 1.0
Errors.php 1.0.2 1.0.2
Help.php 1.0 1.0
InstantMessage.php 1.0.2 1.0.2
Karma.php 1.0 1.0
Load.php 1.0.2 1.0.2
LockTopic.php 1.0.6 1.0.6
LogInOut.php 1.0.2 1.0.2
MOS_SMF.php ?? ??
ManageAttachments.php 1.0.1 1.0.1
ManageBoards.php 1.0.1 1.0.1
ManageMembers.php 1.0.6 1.0.6
ManagePermissions.php 1.0 1.0
ManageSmileys.php 1.0.2 1.0.2
Memberlist.php 1.0.6 1.0.6
MessageIndex.php 1.0 1.0
ModSettings.php 1.0.1 1.0.1
Modlog.php 1.0 1.0
MoveTopic.php 1.0.1 1.0.1
News.php 1.0.3 1.0.3
Notify.php 1.0 1.0
PackageGet.php 1.0.1 1.0.1
Packages.php 1.0.1 1.0.1
Poll.php 1.0.7 1.0.7
Post.php 1.0.6 1.0.6
Printpage.php 1.0 1.0
Profile.php 1.0.6 1.0.6
QueryString.php 1.0.7 1.0.7
Recent.php 1.0.2 1.0.2
Register.php 1.0.3 1.0.3
Reminder.php 1.0 1.0
RemoveTopic.php 1.0.1 1.0.1
RepairBoards.php 1.0 1.0
SSI.php 1.0.6 1.0.6
Search.php 1.0.7 1.0.7
Security.php 1.0.2 1.0.2
SendTopic.php 1.0 1.0
SplitTopics.php 1.0 1.0
Stats.php 1.0 1.0
Subs-Auth.php 1.0.3 1.0.3
Subs-Boards.php 1.0.5 1.0.5
Subs-Graphics.php 1.0 1.0
Subs-Package.php 1.0.3 1.0.3
Subs-Post.php 1.0.3 1.0.3
Subs.php 1.0.6 1.0.6
Themes.php 1.0.2 1.0.2
ViewQuery.php 1.0 1.0
Who.php 1.0 1.0
Default Templates 1.0.4 1.0.4
Admin.template.php 1.0.4 1.0.4
BoardIndex.template.php 1.0.1 1.0.1
Calendar.template.php 1.0 1.0
Display.template.php 1.0.3 1.0.3
Errors.template.php 1.0 1.0
Help.template.php 1.0 1.0
InstantMessage.template.php 1.0 1.0
Login.template.php 1.0 1.0
ManageAttachments.template.php 1.0 1.0
ManageBoards.template.php 1.0 1.0
ManageMembers.template.php 1.0 1.0
ManagePermissions.template.php 1.0 1.0
ManageSmileys.template.php 1.0 1.0
Memberlist.template.php 1.0 1.0
MessageIndex.template.php 1.0 1.0
Modlog.template.php 1.0 1.0
MoveTopic.template.php 1.0 1.0
Notify.template.php 1.0 1.0
Packages.template.php 1.0.1 1.0.1
Poll.template.php 1.0.3 1.0.3
Post.template.php 1.0 1.0
Printpage.template.php 1.0 1.0
Profile.template.php 1.0.4 1.0.4
Recent.template.php 1.0.1 1.0.1
Register.template.php 1.0 1.0
Reminder.template.php 1.0 1.0
Search.template.php 1.0 1.0
SendTopic.template.php 1.0 1.0
Settings.template.php 1.0 1.0
SplitTopics.template.php 1.0 1.0
Stats.template.php 1.0 1.0
Themes.template.php 1.0 1.0
Who.template.php 1.0 1.0
Wireless.template.php 1.0.1 1.0.1
index.template.php 1.0 1.0
Language Files 1.0.4 1.0.4
Admin.english.php 1.0.4 1.0.4
Errors.english.php 1.0 1.0
Help.english.php 1.0 1.0
Install.english.php 1.0 1.0
InstantMessage.english.php 1.0 1.0
Login.english.php 1.0 1.0
ManageBoards.english.php 1.0 1.0
ManageMembers.english.php 1.0 1.0
ManagePermissions.english.php 1.0 1.0
ManageSmileys.english.php 1.0 1.0
ModSettings.english.php 1.0 1.0
Modifications.english.php 1.0 1.0
Packages.english.php 1.0.1 1.0.1
Post.english.php 1.0 1.0
Profile.english.php 1.0 1.0
Settings.english.php 1.0 1.0
Stats.english.php 1.0 1.0
Themes.english.php 1.0 1.0
Who.english.php 1.0 1.0
Wireless.english.php 1.0 1.0
index.english.php 1.0.1 1.0.1
Current Templates 1.0.3 1.0.3


previous version installed was Joomla-SMF_1[1].1

Yes I edited the joomla template

I did configure the component with the absolute path...

Path to SMF(absolut):   c:\web\mimnocks\smf


madd

if I un comment the lines I had commented,

Notice: Undefined index: smf239 in c:\web\mimnocks\smf\Sources\Subs.php on line 966

Notice: Undefined index: smf239 in c:\web\mimnocks\smf\Sources\Subs.php on line 967

Notice: Undefined offset: 176 in c:\web\mimnocks\smf\Sources\Subs.php on line 967

Notice: Undefined index: smf239 in c:\web\mimnocks\smf\Sources\Subs.php on line 968

Notice: Undefined index: smf240 in c:\web\mimnocks\smf\Sources\Subs.php on line 969


Also notice the login form ( test one at bottom left ) is NOT working... it shows up blank...

Orstio

Lainaaprevious version installed was Joomla-SMF_1[1].1

That's probably your problem.  The Joomlahacks bridge makes changes to the SMF and Joomla source files.

You will need to upload clean files before installing the bridge that is supported here.

madd


madd

ok,  I re uploaded everything brand spanking new and clean.  It works pretty well now with a few quarks...

First,   the login module always redirects to the forum,  even though I have the login redirection set to "back to the mambo homepage" as well as the logout redirection there also.

seccond,  When someone logs in using the module,  It logs them into the forums, but not into joomla/mambo.  So, if another author wants to submit news,  they have to use a seperate login form.  ( the joomla form )

Any ideas on those?


madd

Thanks that works great!!!

Now,  any idea why whenever anyone logs in,  they are redirected to the forums, instead of the main page??  ( even though I have the proper check box in the component / module )

Orstio

Because you have it set to unwrapped.  The setting for unwrapped is incompatible with the redirect options.

madd

Dang....   is there any hack or anywhere I can at all force it to stay on the main page after login,  and be unwrapped?

It looks nasty wrapped....

Advertisement: