Topic: SMF with modx from newbie to newbie  (Read 85447 times)

Pages: 1 2 3 [4]   Go Down

#61: 16-Apr-2009, 06:21 AM


norlin
Posts: 205

mod the x!

Anyone know how the SMF-Bridge Access the SMF-Forum administration panel? This shouldn't have anything to do with my web-login? I seriously can't find out why this is not working on my modx?! Forum/Bridge installs perfectly. I don't expect Register/Web-login to work duo WebLoginPE, But the module should be able to access my forum admin !

Makes no sense to me what so ever Smiley

When i go to Modules > SMF Connector >Administration Center  i just get a plain white screen, no error
« Last Edit: 16-Apr-2009, 06:24 AM by norlin »

#62: 16-Apr-2009, 02:48 PM


rossco
Posts: 933

WWW
I would say you're not going to get very far with it... there are so many people who failed to get it working and it's not worked for me.  I tried with several different builds of modx and smf and none have worked.  Save yourself some time and heart ache and keep them separate. 

#63: 18-Apr-2009, 04:07 PM


Frank
Posts: 518

WWW
Hi,

well just to confirm it works for me with ver 1.1.4 of SMF. SMF was down 2 nights ago when I copied the stuff over so I did not update and do not know what it does with newer releases.
Anyway crux is at two point I think:
  • Make sure you disable administrative security (in features and options) in step 3.
  • At least save your current SMF template (or make a new one) give that one a name (eg theme1), make it default and copy the attached index.template.php into that newly created directory (should be there, in this case theme1) over ftp
Got it up and running on http://www.foto-retouch.nl/forum.html all is syncing well, no blanc pages nowhere. I know its a shitty page, and the styling is far from done. Also teh div that SMF is in is only 625px width, but hey it was just for this thread,

Frank.

#64: 29-Apr-2009, 08:04 PM

nikolaos
Posts: 1

Hi,

As another fresh newbie I think I missed an important step for a simple-basic-standard integration of SMF. So far I've successfully completed the steps as described in the download of SMF connector:
1. Install modx in the normal way
2. Install SMF in the normal way (in "/forum" directory for example)
3. Install SMF_Forum_Integration_1.0 in the normal way"

From this point I'm trying to figure out how to call the forum itself to one of my document pages in modx. I understand this has to be done via a snippet, but so far i haven't written any snippet by my own, so this is where i get lost. I made one attempt of copying the code of 'smf/index.php' into a new snippet (replacing the require_once paths with the corresponding "$modx->config['base_path']", and introducing some global variables used by smf: "global $modSettings, $db_prefix, etc"), but i still get errors that i suspect are occuring because the values of my global variables get emptied ("") whithin a function call that is in any external php file located in smf's folder (I'm pretty new to php as well).

Is there any place where i can get the correct snippet code? something i can directly copy to the resources manager and get it working correctly?... or any hint at all?

Thanks in advance

#65: 30-Apr-2009, 04:43 AM


Frank
Posts: 518

WWW
Hi

If you go to the resources/snippets page. Click "new snippet" and paste the following:

Code:
<?php
include_once($modx->config['base_path'] . '/forum/index.php');
return ;
?>

Name it the way you want (eg forumcall) and place a call on the page you want. [!forumcall!].

Above  snippet code presumes the SMF is in a directory called forum. (forum/index.php')Wink

This can be read in step three on the beginning of this thread. Best.

« Last Edit: 30-Apr-2009, 04:45 AM by Frank »

#66: 1-Jun-2009, 03:40 PM

michaelstrauss
Posts: 4

I've muddled my way through this tutorial and these forums.
I've gotten as far as I believe I can get (new to modX and to SMF and to PHP - HAH! - I'm a webdev by trade but I work with .NET)
Anyway, I have everything working to a point.
When I go into either of the module areas (administration center or synch) I get the following errors:

Admin Center:
Fatal error: Call to undefined function smf_loginbyid() in /home/<mysiteDirectory>/public_html/assets/modules/smforum/smf.admin.class.inc.php on line 36

Synchronize Users:
Fatal error: Call to undefined function smf_registermember() in /home/<mysiteDirectory>/public_html/assets/modules/smforum/smf.sync.class.inc.php on line 114

I'm guessing there's a missing 'includes' somewhere but I'm not positive where to look.

I'm on modX 0.9.6.3 and SMF 1.1.9.

I've seen these errors elsewhere within the forum but have yet to see a definitive answer.

Oh - and there was one other bit I had to sort out as well -- my SMF installation was through SimpleScripts so it installed a seperate DB and directory so the SMF DB had to be modified - adding the modX generated username/pwd for the modX DB. (in case anyone else is having errors like '<user>@localhost' denied access to '<some_SMFTable>'


Thanks in advance!
Atop a hundred-foot pole, how do you step forward? -- Shishuang

#67: 10-Jun-2009, 08:03 AM

jusmeig
Posts: 363

MODx, because it makes things easier.

WWW
Most excellent tutorial, get yourself onto the documentation team!!!
Very clear, very concise...worked first time Smiley

#68: 22-Aug-2009, 02:18 PM

tryingcms
Posts: 3

Brocoli,

Thanks for this tutorial! Do you know how I can use SMF login, logout, register, profile functions instead of that of Modx. I just want to have SMF inside my Modx template but I don't want to use modx webloginpe. Do you have any idea aside from manually working on the templates of SMF? Thanks!  Grin
« Last Edit: 22-Aug-2009, 04:05 PM by tryingcms »

#69: 30-Aug-2009, 10:01 PM

sportin3
Posts: 4

I want to start by saying "Great Tutorial"

I have a problem with my install long before I get to the errors that have been talked about so far.

Here is were I am:

Modx - 1.0.0 (Installed no errors)
SMF - 2.0 rc (Installed no errors)
SMF Connector 1.0 here is were the problem begins

When I run the install directory for the connector mod this is the out put I get.

_______________________________________ _______________________________________ ___

Setup will now attempt to setup the database:

Creating connection to the database: OK!

Selecting database `USER_modx`: OK!

Module:

  SMF Connector: Upgraded

Plugin:

  SMFConnect: Upgraded


Fatal error: Call to a member function getFullTableName() on a non-object in /home/USER/public_html/modx/manager/processors/cache_sync.class.processor.php on line 107

_______________________________________ _______________________________________ _________________

I have seached the forums for a similar problem and have tried some of the solutions for the ones I found. I have not been able to get past this error.

Any suggestions?

#70: 10-Sep-2009, 01:38 AM

nicboyde
Posts: 34

Ensis praevalebit

WWW
This isn't a fix necessarily, but: check your modx database. If the table-names have prefixes, you get this error.

I wasted hours trying to figure it out, then realised that the piece of code concerned in the installation program doesn't seem to mention prefixes.

So I did another installation, on another MODX site I run, on the same server, but where I didn't create MODx table-name prefixes at installation, and no problem.

As it happens, it is probably immaterial, which is why no-one has bothered to fix it: the routine concerned is just clearing the cache - always good manners. Fix it if you know how, or take the prefixes off your DB tables, or just ignore it: everything was in fact installed correctly and you can get on to the hard stuff...
Skype: nicbaldeagle

#71: 17-Sep-2009, 04:03 PM


tat2d
Posts: 64

I'm getting it... sort of

WWW
I'm trying to install the SMF Forum module to my site, but get this message:
Setup will now attempt to setup the database:

Creating connection to the database: Database connection failed!

Please check the database login details and try again.

I don't understand what I did wrong, or what details it is referring to. I posted this issue in another thread, but no one can help. Ideas?

I also completely reinstalled both the main smf forum and the add on, and still have the same problem.
« Last Edit: 17-Sep-2009, 07:21 PM by tat2d »
Teaching myself MODx

#72: 18-Sep-2009, 03:30 AM


Frank
Posts: 518

WWW
Hi,

what version of SMF and MODX are you using?

Fr.

#73: 18-Sep-2009, 04:16 PM


tat2d
Posts: 64

I'm getting it... sort of

WWW
Modx 1.0.0 Evolution, and SMF 1.1.10
Teaching myself MODx

#74: 19-Sep-2009, 07:10 AM


Frank
Posts: 518

WWW
Hi,

dont know if that was tested by anyone.
But it seems Evo and SMF have problems?
Someone managed creating the bridge between Evo and SMF?

fr.

#75: 12-Oct-2009, 06:04 AM


yoomai
Posts: 264

WWW
Nope, not yet. Would be nice to hear whether ist works or not.

#76: 3-Nov-2009, 07:21 AM

mIDO
Posts: 40

This integration using: evo 1.0.1 and SMF 1.1.10 has a lot of fails.
Installation error message
Error page on saving module configuration.
Error on running module.
Will this module be continued? Is anyone developing something? If not, i'll thing rewriting a new one...

#77: 3-Nov-2009, 12:05 PM


Frank
Posts: 518

WWW
Hi,

I think the module development has stoppped, and the guy that started this thread is not wtih modx anylonger.
So yeah, if you can write a new one great. Forum integration is a missing thing in Modx. However I read that speccialy the password encryprion differnces between Modx and eg FDM are a difficulty. Keep us posted!

Best, Frank.

#78: 15-Nov-2009, 11:32 PM


tat2d
Posts: 64

I'm getting it... sort of

WWW
What about this message every time I click on my forum link to go to the smf forum?

: Table 'p559r734_modx.smf_sessions' doesn't exist
/home/xxxxxxx/public_html/forum/Sources/Load.php
1998

If I refresh the page, I can access the forum with no problems.
Teaching myself MODx

#79: 17-Nov-2009, 11:49 AM


Frank
Posts: 518

WWW
Brocoli,

Thanks for this tutorial! Do you know how I can use SMF login, logout, register, profile functions instead of that of Modx. I just want to have SMF inside my Modx template but I don't want to use modx webloginpe. Do you have any idea aside from manually working on the templates of SMF? Thanks!  Grin

http://modxcms.com/forums/index.php/topic,42385.0.html
Pages: 1 2 3 [4]   Go Up
0 Members and 1 Guest are viewing this topic.