|
Title: JSMF 2.0 RC1 released Post by: -Wolverine on October 03, 2006, 02:05:37 PM JSMF 2.0RC1 is released and can be downloaded from the remository. (http://www.joomlahacks.com/component/option,com_remository/Itemid,41/func,fileinfo/id,426/)
The user guide can be found in the remository (http://www.joomlahacks.com/component/option,com_remository/Itemid,41/func,fileinfo/id,424/) as well. Documentation is still ongoing however there is a fair amount included in this doc. Anyone wishing to help please let me know. Language files still need to be translated. Anyone wishing to help with the translations please attach them to this post. Please post problems and questions in this thread or in this forum. Thanks! Title: Re: JSMF 2.0 RC1 released Post by: Karonte on October 03, 2006, 02:28:08 PM ;D Thank you very much for your hard work!!!!!!!!
From Chile, South America! ;) Title: Re: JSMF 2.0 RC1 released Post by: asteroidjay on October 03, 2006, 02:41:58 PM Thank you for all your work. I hope you don't mind me bugging you, but there is still an issue with the SMF avatars not appearing in the CB profile. Also, I noticed that the links for the forum profile settings are correct now, but it still does not work when saved.
Can I PM you a link? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 03, 2006, 02:56:08 PM Thank you for all your work. I hope you don't mind me bugging you, but there is still an issue with the SMF avatars not appearing in the CB profile. Also, I noticed that the links for the forum profile settings are correct now, but it still does not work when saved. yes, go ahead. I tested both of these with this release and didn't encounter a problem so I am unsure what is causing your problems.Can I PM you a link? Title: Re: JSMF 2.0 RC1 released Post by: Livebox on October 03, 2006, 03:27:38 PM Thanks for this release. it works great.
Title: Re: JSMF 2.0 RC1 released Post by: DJ Jester on October 03, 2006, 04:06:59 PM Aye nicely done, I'm all installed and working great.
Title: Re: JSMF 2.0 RC1 released Post by: masyomo on October 03, 2006, 06:39:07 PM brilliant work ;D
I can't get it working with sef though. Is this just me or is not set up to? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 03, 2006, 06:41:21 PM which sef? Joomla SEF? It is setup to work with that by default.
Title: Re: JSMF 2.0 RC1 released Post by: masyomo on October 03, 2006, 06:56:24 PM yeah I thought I'd seen that it was compatible - I'm using ARTIO joomsef. I'm only just starting to use it so it doesn't matter which one we use so maybe I'll try uninstalling that
Title: Re: JSMF 2.0 RC1 released Post by: masyomo on October 03, 2006, 06:59:41 PM think I sorted it - in the configuration I removed the option to ignore commas (,) and so far seems to be working well now..........
Title: Re: JSMF 2.0 RC1 released Post by: e_LUNATIC on October 03, 2006, 07:24:17 PM Posted by: -Wolverine
Quote try JSMF 2.0RC1, I reworked the login so it didn't change for SEF, which appeared to cause the problem you had. Please let me know if it doesn't. Thank you...works perfect! :D :D :D Title: Re: JSMF 2.0 RC1 released Post by: Karonte on October 03, 2006, 09:07:08 PM Hello,
After click to patch Joomla!(Spanish) Source Files, extrange characters appear in text of Joomla pages, for example: Menú --> Menú Página --> página Emulación --> Emulación If unpatch everithing is OK How can I fix this problem? Thanks!!!! Version Information: Your Joomla version is: 1.0.11 (Spanish) Your SMF version is: 1.1 RC3 Your Joomla-SMF version: 2.0 RC1 Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 03, 2006, 09:25:27 PM it could be a definition that SMF is making that is causing this. The section in the joomla index that defines the headers does not get called when SMF has already sent the headers. Do you know if you charset is the same for both SMF and Joomla?
Title: Re: JSMF 2.0 RC1 released Post by: theelite on October 03, 2006, 10:00:00 PM Hello, I get this when trying to sync usernames
Joomla/Mambo[0] / SMF[0] inserted Failed :Akram : _JSMF_MSG_FAILED : This e-mail is already registered. If you forgot the password click on \"Lost your Password\" and new password will be sent to you Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 03, 2006, 10:05:16 PM you need to go into phpMyAdmin and find this username. Basically, this user's email is already in joomla but the usernames don't match. Make them match in phpMyAdmin or delete them from one or the other. All the other users have been synced although the counts aren't coming through for some strange reason.
Title: Re: JSMF 2.0 RC1 released Post by: Legitimus on October 04, 2006, 11:07:49 AM i use Brat plugin (CB_SMF_JSMF-->plug_smfinfo, plug_smfprofile, plug_smgposts)
When a user change his smf profile (via Brat plugin smfprofile in CB) and then saves, he receives an error msg (see attached file) Prb with Bridge or Brat plugin ? Title: Re: JSMF 2.0 RC1 released Post by: theelite on October 04, 2006, 12:50:36 PM Thanks Wolverine,
Looked like the user wasn't in joomla at all, only the SMF table for some reason, deleted out of SMF and now sync usernames works successfully. you need to go into phpMyAdmin and find this username. Basically, this user's email is already in joomla but the usernames don't match. Make them match in phpMyAdmin or delete them from one or the other. All the other users have been synced although the counts aren't coming through for some strange reason. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 04, 2006, 02:08:49 PM i use Brat plugin (CB_SMF_JSMF-->plug_smfinfo, plug_smfprofile, plug_smgposts) bridge error, can you verify that url is valid?When a user change his smf profile (via Brat plugin smfprofile in CB) and then saves, he receives an error msg (see attached file) Prb with Bridge or Brat plugin ? Title: Re: JSMF 2.0 RC1 released Post by: Legitimus on October 04, 2006, 02:29:41 PM bridge error, can you verify that url is valid? Yep, 'http://swisspokpok.com/images/comprofiler/79_450aab7b38059.gif' is a valid url. My site is protected by a pwd (can this explain this error ?) Other problem, now when a new user register to my site, i dont receive e-mail to approve it and no CB moderation action appears (user need to be approved by an administrator) any idea ? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 04, 2006, 04:28:57 PM Yep, 'http://swisspokpok.com/images/comprofiler/79_450aab7b38059.gif' is a valid url. My site is protected by a pwd (can this explain this error ?) Other problem, now when a new user register to my site, i dont receive e-mail to approve it and no CB moderation action appears (user need to be approved by an administrator) any idea ? Sure you have your settings correct? I tested this pretty thoroughly. Title: Re: JSMF 2.0 RC1 released Post by: Legitimus on October 04, 2006, 10:13:22 PM Thats exactly the reason. The script is trying to get the file and fails.Sure you have your settings correct? I tested this pretty thoroughly. Ty ! pwd was the prb !and for the other prb (registration) one file was corrupted and i modified it, all is OK now ;) Title: Re: JSMF 2.0 RC1 released Post by: detnate on October 04, 2006, 11:24:12 PM Can anyone tell me what verisons of Joomla and SMF they are running with this RC1 working?
This is my first time using all three and after installing and configuring, I am receiving weird problems like CB registration not coming up and login for admin no longer working. I am running Joomla 1.0.11, SMF 1.0.8, CB 1.0.1, and JSMF 2.o RC1. All installed on same host and in same DB, working ok independently. tia Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 04, 2006, 11:28:55 PM you must read the documentation! This bridge does not work with anything but SMF 1.1RCX. That is what is wrong with your install.
Title: Re: JSMF 2.0 RC1 released Post by: detnate on October 04, 2006, 11:58:58 PM you must read the documentation! This bridge does not work with anything but SMF 1.1RCX. That is what is wrong with your install. :-[ i read the doc but must have had a bit of over analyze syndrome fogginf me. sorry and ty for the kick in the right direction! great stuff here, can't wait to get this up and running and send you a donation. Title: Re: JSMF 2.0 RC1 released Post by: Angelos on October 06, 2006, 05:04:54 AM Hey wolverine great work again! I did not install it already but i will soon.
I could do some translation work (german, and maybe greek...). One question, how stable is the version? because at the moment I have not test machine and my community is growing... ::) Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 06, 2006, 09:47:04 AM It has been very stable so far. The only changes since beta1 were minor bug fixes so the core code has been running stable for many users for a month or so. However, I never recomment installing it first without testing, so be careful.
Any and all help with translations would be much appreciated! ;D Title: Re: JSMF 2.0 RC1 released Post by: Angelos on October 06, 2006, 04:00:40 PM I trust you and will try it ;).
If you need someone to help with the german translation I am sure that I can manage it in a short period of time (greek is a bit more difficult becaus of the keyboard..). Just message me-->pm. Title: Re: JSMF 2.0 RC1 released Post by: Regnaw on October 07, 2006, 02:03:06 AM I have come a crossed a few odd.. bugs I guess.
First one isn't a biggy, but a little annoying. After installing the bridge some text is larger. Please see the images provided. It might just be something in the CSS file, as you will notice that my link color also changes after installing the bridge. I would just like to know what to do about the enlarged text. before the install: (http://img92.imageshack.us/img92/904/largetextbeforeit5.th.jpg) (http://img92.imageshack.us/my.php?image=largetextbeforeit5.jpg) after: (http://img98.imageshack.us/img98/3402/largetextafterin0.th.jpg) (http://img98.imageshack.us/my.php?image=largetextafterin0.jpg) The second and most important issue is that when I go to synchronize my users, it gives me a "The page cannot be displayed." error. It looks as if some members synced up, but not all of them. Joomla 1.0.11 SMF 1.1 RC3 JSMF 2.0 RC1 Title: Re: JSMF 2.0 RC1 released Post by: tony millan on October 07, 2006, 04:18:06 AM I installed it at my site and it works great! Good job integrating this with CB Enhanced and UDDEIM! ALL the profile links in SMF, take you to the CB profile! sweet!
How can I make the CB Enhanced avatar show in SMF? I am using: CBE sv0.6236 (latest version) SMF 1.1 RC3 (latest version) JSMF Forum 2.0RC1 (latest version) and mod_cbelogin_2.458.zip (latest login module for CBE) Title: Re: JSMF 2.0 RC1 released Post by: Angelos on October 07, 2006, 06:13:00 AM I installed the new version and it works really great!
What I like: -No error messages or bugs ;D Great work! -more configuration possibilities -sync works good What I don't like (small things..): -In the 1.1.4.2 version the regsiter and the lost pw link used the template style now it changed to simple links. -when I ckick on upload avatar it redirects me to cb profile-ok. I upload a file and I can see it in the cb profile but not in the login module. -I don't really what to do with the smf.plugin file... -there is still no possibilty to open the Forum link in a new window (unwrapped) Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 07, 2006, 09:09:15 AM I installed the new version and it works really great! This on the JSMF login?What I like: -No error messages or bugs ;D Great work! -more configuration possibilities -sync works good What I don't like (small things..): -In the 1.1.4.2 version the regsiter and the lost pw link used the template style now it changed to simple links. -when I ckick on upload avatar it redirects me to cb profile-ok. I upload a file and I can see it in the cb profile but not in the login module. JSMF Login? Do you see it in the forum?-I don't really what to do with the smf.plugin file... Joomap plugin, instructions are coming for that-there is still no possibilty to open the Forum link in a new window (unwrapped) You ask too much! ;D You want the main menu link to open in a new window unwrapped?Title: Re: JSMF 2.0 RC1 released Post by: Angelos on October 07, 2006, 09:49:33 AM Yeah I use JSMF Login and I don't see the avatar in smf. But you can try it on your own, your account still exists. www.corfu.at ;)
Ok thanks for the smf.plugin info (I tried to install it in both smf and cb :P) Quote You ask too much! Grin You want the main menu link to open in a new window unwrapped? You are totaly right(with both).Title: Re: JSMF 2.0 RC1 released Post by: Regnaw on October 07, 2006, 04:03:57 PM hey! you skipped over me! heh.. did I post in the wrong section?
Title: Re: JSMF 2.0 RC1 released Post by: Karen Stout on October 07, 2006, 10:33:34 PM Does this release work with SMF SMF 1.1 RC3 ?
Thanks, Karen Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 07, 2006, 11:05:59 PM Does this release work with SMF SMF 1.1 RC3 ? yesThanks, Karen Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 07, 2006, 11:08:14 PM I have come a crossed a few odd.. bugs I guess. The SMF css must be included before the Joomla or vice versa and it was the other way with the old version. The real problem is that you have the same definition in both files, and you need to merge them in order to get the same appearance. First one isn't a biggy, but a little annoying. After installing the bridge some text is larger. Please see the images provided. It might just be something in the CSS file, as you will notice that my link color also changes after installing the bridge. I would just like to know what to do about the enlarged text. before the install: (http://img92.imageshack.us/img92/904/largetextbeforeit5.th.jpg) (http://img92.imageshack.us/my.php?image=largetextbeforeit5.jpg) after: (http://img98.imageshack.us/img98/3402/largetextafterin0.th.jpg) (http://img98.imageshack.us/my.php?image=largetextafterin0.jpg) The second and most important issue is that when I go to synchronize my users, it gives me a "The page cannot be displayed." error. It looks as if some members synced up, but not all of them. turn joomla error reporting to maximum and check your php error_log to see if an error is being reported. How many users do you have?Joomla 1.0.11 SMF 1.1 RC3 JSMF 2.0 RC1 Title: Re: JSMF 2.0 RC1 released Post by: Regnaw on October 08, 2006, 02:45:58 AM turn joomla error reporting to maximum and check your php error_log to see if an error is being reported. How many users do you have? This is what was in my error log after I set it to max:PHP Fatal error: Undefined class name 'jsmffrontend' in /home/kcsadmin/public_html/modules/mod_smf_login.php on line 100 PHP Fatal error: Cannot redeclare template_init() (previously declared in /home/kcsadmin/public_html/forums/Sources/Load.php(1702) : eval()'d code:32) in /home/kcsadmin/public_html/forums/Sources/Load.php(1702) : eval()'d code on line 30 we have about 356 members Title: Re: JSMF 2.0 RC1 released Post by: Karonte on October 08, 2006, 01:44:34 PM it could be a definition that SMF is making that is causing this. The section in the joomla index that defines the headers does not get called when SMF has already sent the headers. Do you know if you charset is the same for both SMF and Joomla? Thanks for the asnwer, is very diffcult tho change charset once all is intalled, I tried but don't change anything, the problem was solved reinstalling SMF forum and Uncheck UTF-8 box during the process, and now, almost everything appear to be ok. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 08, 2006, 08:41:25 PM This is what was in my error log after I set it to max: both of those errors occurred after clicking sync usernames?PHP Fatal error: Undefined class name 'jsmffrontend' in /home/kcsadmin/public_html/modules/mod_smf_login.php on line 100 PHP Fatal error: Cannot redeclare template_init() (previously declared in /home/kcsadmin/public_html/forums/Sources/Load.php(1702) : eval()'d code:32) in /home/kcsadmin/public_html/forums/Sources/Load.php(1702) : eval()'d code on line 30 we have about 356 members Title: Re: JSMF 2.0 RC1 released Post by: Regnaw on October 09, 2006, 07:14:45 PM both of those errors occurred after clicking sync usernames? I dont know if they happend at the exact same time.. thats just what was in the log when I opened it. I did however try and delete the file to try and get a fresh log, but the log didnt recreate itself. update: i tried it again tonight and only got one for todays date: [09-Oct-2006 20:56:08] PHP Fatal error: Undefined class name 'jsmffrontend' in /home/kcsadmin/public_html/modules/mod_smf_login.php on line 100 Title: Re: JSMF 2.0 RC1 released Post by: Alex on October 10, 2006, 06:21:46 AM I got some problems when I have used SMF for registration. I made some quickly not really professional fixes but they work for me.
Issue #1: Quote After click on the "registration" button in the SMF registration, I got a Joomla Error "You are not authorized to view this resource. You need to login." In the Browser Adressline the following will be shown: http://www.test.com/index.php?option=com_smf&Itemid=76& I have changed: smf.class.php -> function integrateExit($param) Code: header('Location: '.$jsmfConfig->url); into Code: header('Location: '.sefRelToAbs(str_replace('&', '&', $jsmfConfig->url))); Issue #2 Quote When I have used for example, a already used nickname to register, I got the following: (http://ba9er.a3k.net/pic.gif) (http://ba9er.a3k.net/pic.gif) I have changed: smf.php on line 120 Code: $buffer = mosGetParam($_SESSION, 'MH_WARNING', NULL, _MOS_ALLOWHTML); into Code: $buffer = str_replace('\\', '', mosGetParam($_SESSION, 'MH_WARNING', NULL, _MOS_ALLOWHTML)); Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 10, 2006, 09:15:55 AM Thanks Alex, those look valid at first glance. I really appreciate the input!
Title: Re: JSMF 2.0 RC1 released Post by: webnet on October 10, 2006, 09:33:07 AM I am using 2.0 and smf all great except I get the error message:
Failed: Code to be patched not found in file: if (!defined(\'WIRELESS\')) I am using firefox and Community builder any help would be much appreciated thank you Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 10, 2006, 09:34:28 AM what version of SMF? Have you checked the user guide?
Title: Re: JSMF 2.0 RC1 released Post by: XGC KNIGHT XI on October 11, 2006, 02:09:06 PM Failed: Code to be patched not found in file: if (!defined(\'WIRELESS\'))/home/content/x/g/c/xgcknight/html/smf/index.php
THIS IS THE ERROR I AM GETTING WHEN I PATCH SMF Source Files Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 11, 2006, 05:22:24 PM Failed: Code to be patched not found in file: if (!defined(\'WIRELESS\'))/home/content/x/g/c/xgcknight/html/smf/index.php Shouting gets you nowhere. Why on earth would you post this when there is the same problem not two posts ahead of this!? And it has been reported multiple times in other topics. Have you searched, read the user guide? I've got lots of money riding on the fact that you have not installed SMF 1.1RC2 or RC3. Whats more, that is the answer posted in multiple threads. Thank you for wasting my time by making your post. >:( >:(THIS IS THE ERROR I AM GETTING WHEN I PATCH SMF Source Files Title: Can someone direct me to more info Post by: Roland on October 12, 2006, 02:17:32 PM Thanks Wolverine! I installed your bridge and everything went pretty smooth considering I'm new to all this.
Can anyone point me to some instruction for intergrating SMF/SMF bridge with CB? Right now I can't seem to get it working. http://divevets.com/testsite Is CB the way to go if I want to add features like Gallery later on? Title: Re: JSMF 2.0 RC1 released Post by: Regnaw on October 12, 2006, 04:58:30 PM Hi Wolverine, hope ya didnt forget about me =)
Still having this problem. Its the only thing holding me back from making the site live. both of those errors occurred after clicking sync usernames? I dont know if they happend at the exact same time.. thats just what was in the log when I opened it. I did however try and delete the file to try and get a fresh log, but the log didnt recreate itself. update: i tried it again tonight and only got one for todays date: [09-Oct-2006 20:56:08] PHP Fatal error: Undefined class name 'jsmffrontend' in /home/kcsadmin/public_html/modules/mod_smf_login.php on line 100 Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 13, 2006, 12:31:08 AM send me some connection details if you want. I don't have a clue at this point.
Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 13, 2006, 12:32:13 AM I made some improvements to the avatar sync when the avatar is a url in SMF. I found a couple bugs so I think this should resolve most of the problems users reported. In addition, I am rewriting Brat's SMF profile plugin for CB and will address the same changes in the avatar sync in the plugin.
Title: Re: JSMF 2.0 RC1 released Post by: Regnaw on October 13, 2006, 02:09:52 AM send me some connection details if you want. I don't have a clue at this point. Ok I PMed you. thanks. Title: Re: JSMF 2.0 RC1 released Post by: trelamenos on October 13, 2006, 11:26:17 AM Hey guys. Great your work, i ve tested previous releases of your comp but with this release i get this error while i trying to install on Joomla 1.0.11:
Code: Unrecoverable error "PCLZIP_ERR_BAD_FORMAT (-10)" [ Continue ... ] Upload component - Failed Installation file not found: [ Continue ... ] Why is that? Thanks in advance and once again, great work!!! Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 13, 2006, 12:44:17 PM first, get the user guide and follow it. Second, it will tell you to extract the file.
Title: Re: JSMF 2.0 RC1 released Post by: trelamenos on October 13, 2006, 01:53:40 PM first, get the user guide and follow it. Second, it will tell you to extract the file. I extract the first .zip i download and i was trying to install the file com_smf_2_0! Do i have to extract this too? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 13, 2006, 02:01:26 PM com_smf_2_0 is the correct file. Does your server have zip enabled?
Title: Re: JSMF 2.0 RC1 released Post by: trelamenos on October 13, 2006, 02:09:22 PM com_smf_2_0 is the correct file. Does your server have zip enabled? Yea ofcourse. i am able to install others files. Right now i am trying to communicate with my server's admin. But i thought that maybe it's not ma server's fault. Anything else i could possibly making wrong? ??? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 13, 2006, 04:43:58 PM try downloading again? Zip file must be corrupt.
Title: Re: JSMF 2.0 RC1 released Post by: enzo on October 14, 2006, 01:16:38 AM DOES IT WORK WITH JOOM!FISH, NOW?
PS. ArtioSEF Joomla-SMF-Bridge and Joom!Fish shold be working together, thats my wish, but it aint gonna happen, right:p Title: Re: JSMF 2.0 RC1 released Post by: Mr. Winterbottom on October 15, 2006, 09:46:47 AM PHP Fatal error: Cannot redeclare template_init() (previously declared in /home/kcsadmin/public_html/forums/Sources/Load.php(1702) : eval()'d code:32) in /home/kcsadmin/public_html/forums/Sources/Load.php(1702) : eval()'d code on line 30 I got the same error when setting different themes for different boards. It seems to be due to the bridge, as it works fine, when calling the forum directly. There is no difference if I use a theme supplied with SMF or if I use a theme I adjusted myself. Im using Joomla 1.0.11 SMF 1.1 RC3 Joomla-SMF-Bridge 2.0 RC1 It appears to me, that this error has been reported before, but has been either not solved or neglected (http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,84.0 (http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,84.0)). Title: Re: JSMF 2.0 RC1 released Post by: ray on October 15, 2006, 12:54:21 PM When a new user creates a account on my site, their forum names are their real names and not their usernames. I tried changing the option in the bridge to sync by usernames but it does not work. Any idea's?
http://www.wii-volution.com Title: Re: JSMF 2.0 RC1 released Post by: Livebox on October 15, 2006, 05:41:44 PM @ Wolverine ;)
Is it possible to get this bridge @ work with Joomla beta 1.5? (only for testing) Or is there comming a new bridge in the futher? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 15, 2006, 06:06:27 PM @ Wolverine ;) its in the works... but no, 2.0 does not work with J!1.5.Is it possible to get this bridge @ work with Joomla beta 1.5? (only for testing) Or is there comming a new bridge in the futher? Title: Re: JSMF 2.0 RC1 released Post by: Livebox on October 15, 2006, 06:07:18 PM its in the works... but no, 2.0 does not work with J!1.5. oke thanks for your reply... I will wait Title: Re: JSMF 2.0 RC1 released Post by: enzo on October 16, 2006, 11:12:41 AM Does this work with joomlaFish pleasE?
Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 16, 2006, 01:59:49 PM Does this work with joomlaFish pleasE? no support for JoomFishTitle: Re: JSMF 2.0 RC1 released Post by: Mr. Winterbottom on October 17, 2006, 11:00:08 AM @Wolverine:
Any ideas for the "Cannot redeclare template_init()" problem yet? http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,2413.msg12096#msg12096 (http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,2413.msg12096#msg12096) Thanks. Title: Re: JSMF 2.0 RC1 released Post by: GlingGlo on October 17, 2006, 07:43:39 PM Does this work with joomlaFish pleasE? Enzo... To make SMF Joomfish aware, you have to make a very small hack to the Joomfish language selector module (mod_jflanguageselection.php): Around line 154 where it says: Code: if( $key != "lang" ) { change it for: Code: if( $key != "lang" && $key != "language"){ and at the end of the file, just before the line that says: Code: return sefRelToAbs( $href ); you must ADD this(modify it depending on which languages you have): Code: if( $iso=='en' ) $smflang .= "&language=english"; elseif( $iso=='es' ) $smflang .= "&language=spanish"; $href.= $smflang; i hope this is what you needed...it works for me. cheers SMeaLLuM Title: Re: JSMF 2.0 RC1 released Post by: p9939068 on October 18, 2006, 12:20:47 PM Great work on jsmf 2.0 rc1! Everything's working nicely now.
I reported a bug awhile back on beta3. Lemme quote it: Quote [bug]When a user selects "Remove image" via CB profile, the avatar file under SMF is removed, but the user's smf profile did not revert back to no avatar, hence you see a image-missing space instead of no avatar shown.[/bug] You mentioned you're working on a new version of the SMF-CB plugin. Is that in the works now? You replied to my previous post saying: Quote might be a different funciton in CB without an event trigger I have an idea to this: maybe the plugin can automatically set SMF's avatar to the "No Image" picture used by CB (the one with the shadow of a head) whenever a user removes his avatar via CB?Another suggestion: now that there are so many CB plugins and updates/new versions to CB plugins, it'll be real convenient if a new category is added to the download page (assuming it's not already there, which i cant seem to find). Thanks again for all the hard work! Rgds, Mike Title: Re: JSMF 2.0 RC1 released Post by: kenosha on October 19, 2006, 08:32:02 PM I had no problems with the beta's, but when upgrading to RC1, I cannot sync in JSMF install. I get the error:
Code: Joomla/Mambo[0] / SMF[0] inserted Failed : : _JSMF_MSG_FAILED : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \ Couldn't begin to figure where "\" is... Any clues? Thanks for a great product! It's made my life a lot easier. -- John Nordquist The Daily Kenoshan http://www.dailykenoshan.com Title: Error changing the membername (fullname) in user profile from inside SMF Post by: Christian on October 21, 2006, 04:12:21 AM My versions: Joomla: 1.0.11 SMF : 1.1 RC3 Joomla-SMF: 2.0 RC1 I get an error when trying to change inside smf the full name of the currently logged user by editing and trying to save the modified smf user profile: The following error message poppes up, and after closing it the result is that the fullname is correctly saved in the Joomla DB tables whereas it is NOT changed in the smf DB tables: ~~~ FROM: ......\administrator\components\com_smf\admin.smf.class.php || getjid || 1540 MY FIX: Debugging the situation i located where the problem was: It islocated in the file components\com_smf\smf.class.php, line 1395: The error in this is because getJid(...) always looks up for a username in joomla database whereas here it was called with the full name stored in $value variable. So i corrected this by substituting $value with $memberName. Code: // $uid = $jsmf->getJid(null, $value); $uid = $jsmf->getJid(null, $memberName); now it works fine. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 21, 2006, 10:51:30 AM I had no problems with the beta's, but when upgrading to RC1, I cannot sync in JSMF install. I get the error: Joomla cuts the returned error message off in the display of it. Check the URL for that page, the full error message is in the URL.Code: Joomla/Mambo[0] / SMF[0] inserted Failed : : _JSMF_MSG_FAILED : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \ Couldn't begin to figure where "\" is... Any clues? Thanks for a great product! It's made my life a lot easier. -- John Nordquist The Daily Kenoshan http://www.dailykenoshan.com Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 21, 2006, 10:52:15 AM My versions: yes, I fixed this just last week and it will be included in the next release.Joomla: 1.0.11 SMF : 1.1 RC3 Joomla-SMF: 2.0 RC1 I get an error when trying to change inside smf the full name of the currently logged user by editing and trying to save the modified smf user profile: The following error message poppes up, and after closing it the result is that the fullname is correctly saved in the Joomla DB tables whereas it is NOT changed in the smf DB tables: ~~~ FROM: ......\administrator\components\com_smf\admin.smf.class.php || getjid || 1540 MY FIX: Debugging the situation i located where the problem was: It islocated in the file components\com_smf\smf.class.php, line 1395: The error in this is because getJid(...) always looks up for a username in joomla database whereas here it was called with the full name stored in $value variable. So i corrected this by substituting $value with $memberName. Code: // $uid = $jsmf->getJid(null, $value); $uid = $jsmf->getJid(null, $memberName); now it works fine. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 21, 2006, 02:31:46 PM I had no problems with the beta's, but when upgrading to RC1, I cannot sync in JSMF install. I get the error: I added a feature to the bridge to re-display the full error message if joomla chops it off.Code: Joomla/Mambo[0] / SMF[0] inserted Failed : : _JSMF_MSG_FAILED : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \ Couldn't begin to figure where "\" is... Any clues? Thanks for a great product! It's made my life a lot easier. -- John Nordquist The Daily Kenoshan http://www.dailykenoshan.com Title: Frontend login fails, if forum component com_smf is not public Post by: Christian on October 21, 2006, 05:07:18 PM My versions:
Joomla: 1.0.11 SMF : 1.1 RC3 Joomla-SMF: 2.0 RC1 The cause inside the code: In order to complete, the login procedure which gave already positive results from both jos and smf database table compares, it has to pass the function mosMenuCheck() in line 236 of file index.php: Code: if ($path = $mainframe->getPath( 'front' )) { $task = strval( mosGetParam( $_REQUEST, 'task', '' ) ); $ret = mosMenuCheck( $Itemid, $option, $task, $gid ); if ($ret) { require_once( $path ); } else { mosNotAuth(); } } else { header( 'HTTP/1.0 404 Not Found' ); echo _NOT_EXIST; } However this check fails, if the forum, com_smf is made accessible for registered users only. I have to build a forum which is not public but allows access only for registered users! So i don't want to show the corrisponding menu tab of the main menu only if the user has not het logged in correctly; In order to resolve the problem, for the moment i did my own "bad" workaround in the source code of joomla's index.php, letting pass all $options with value 'com_smf' : Code: if ($path = $mainframe->getPath( 'front' )) { if($option=='com_smf') $ret = true; else { $task = strval( mosGetParam( $_REQUEST, 'task', '' ) ); $ret = mosMenuCheck( $Itemid, $option, $task, $gid ); } if ($ret) { require_once( $path ); } else { mosNotAuth(); } } else { header( 'HTTP/1.0 404 Not Found' ); echo _NOT_EXIST; } Know it works fine. I don't know what you think about, but maybe you could take into account to include a similar workaround in the patching procedure during installation where you already alter the original code index.php. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 22, 2006, 01:06:16 AM Great work on jsmf 2.0 rc1! Everything's working nicely now. Ok, I identified this one as well, CB is not triggering a plugin if the user deletes his/her avatar. So there is nothing I can do for this one at this point other than report this as a bug to CB which I have done. :(I reported a bug awhile back on beta3. Lemme quote it:You mentioned you're working on a new version of the SMF-CB plugin. Is that in the works now? You replied to my previous post saying: I have an idea to this: maybe the plugin can automatically set SMF's avatar to the "No Image" picture used by CB (the one with the shadow of a head) whenever a user removes his avatar via CB? Title: Re: JSMF 2.0 RC1 released Post by: kenosha on October 22, 2006, 12:00:17 PM Joomla cuts the returned error message off in the display of it. Check the URL for that page, the full error message is in the URL. That was it. Had a few phantom users that were imported a long time ago from my old Geeklog user-base, some had apostrophe's in their names and there was the problem. Many thanks. Title: Re: JSMF 2.0 RC1 released Post by: kenosha on October 22, 2006, 12:08:19 PM There is one more tiny little thing that has changed with RC1.
The Joomla_SMF_Discussbot in the Betas included the discussbot link on the front page articles, which display only the introtext on my Joomla template setup. While the link was there, it would not work unless a user viewed the entire story. Now, in RC1 the link does not display on the front page and only when the full story is viewed. I checked all my settings double to see that it wasn't a switch. Is this intended, or something I'm missing? Title: Re: JSMF 2.0 RC1 released Post by: Andrew Morpeth on October 23, 2006, 05:31:16 AM Hi! I've been trying to redirect a user to the comprofiler on login, but the redirect just doesn't seem to work. It always redirects to main page after login. Do you have any ideas? Thanks in advance Version Information: Your Joomla version is: 1.0.11 Your SMF version is: 1.1 RC3 Your Joomla-SMF version: 2.0 RC1 Mad SMF Login 2.0.1 Hey, I have the exact problem with the above configuration. Im using the mod_smf_login URL redirect but it does not work. Does anyone have a fix or can you tell me where I can change this in the code? Cheers Andrew Title: Re: JSMF 2.0 RC1 released Post by: pk on October 23, 2006, 08:07:42 AM Same problem on my site:
- After I log-in using the form on the SMF forum - I'm redirected to the joomla main page. The same with logout. - After I log-in from community builder native login module - I stay on the same page I was previously. No matter if it was a forum or other component. Wolverine - was it planned or it is a bug? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 23, 2006, 09:49:29 AM It is not a bug, but because there are so many things interacting here I do not redirect unless there is nothing else set for a redirect url. If something is set that is where the bridge will redirect you to. It says as much in the user guide and the help in configuration. For the mod_smf_login this will be improved with the next build. For the other modules it is up to them to set the correct data for the redirects.
Title: Re: JSMF 2.0 RC1 released Post by: sabt on October 23, 2006, 10:33:38 AM Installed JSMF 2.0 RC1 today but got a problem syncing users...
Joomla/Mambo[0] / SMF[0] inserted Failed :Unknown column \\\'activation\\\' in \\\'field list\\\' SQL=SELECT name, username, password, email, registerDate, block, activation FROM jos1011_users LEFT J i hope anyone of u can help me cause i have already read many topics but haven't found any answers to my question... Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 23, 2006, 10:46:11 AM better check your smf_members table, it seems an entire column is missing. Did you just upgrade SMF? I have had problems with the SMF upgrade procedure in the past.
Title: Re: JSMF 2.0 RC1 released Post by: sabt on October 23, 2006, 11:08:51 AM I reinstalled smf and the bridge but now i get the following error:
Failed:_JSMF_MSG_SMF_JOOMLA_SYNC_CHECK_ERR: db_error:Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation \\\'=\\\' SQL=SELECT count(*) FROM smf_members how can I change collations? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 23, 2006, 11:15:07 AM you should search before posting, this has been reported numerous times. You can change your collation using phpMyAdmin
Title: Problem with return value of db_insert_id() inside function registerMember() Post by: Christian on October 23, 2006, 12:48:35 PM My versions:
Joomla: 1.0.11 SMF : 1.1 RC3 Joomla-SMF: 2.0 RC1 CB: no File: smf\Sources\Subs-Members.php (patched) The error: The memberid of the inserted user is not always reported back correctly by db_insert_id()! So subsequent updates on this member fail! I am not sure, but could it depend in some way on the integrate_register function which is called before the db_query call? Anyhow, i fixed it by adding an explicit query to get the correct $memberID. Now it works without problems. The context, unchanged: Code: //this calls the integrate registry function of smf component, so we cannot disable it! if (isset($modSettings['integrate_register']) && function_exists($modSettings['integrate_register'])) $modSettings['integrate_register']($regOptions, $theme_vars); // Register them into the database. db_query(" INSERT INTO {$db_prefix}members (" . implode(', ', array_keys($regOptions['register_vars'])) . ") VALUES (" . implode(', ', $regOptions['register_vars']) . ')', __FILE__, __LINE__); ...continues, with my fix: Code: //original code: but doesn't always return correct inserted memberID!!! //I just renamed the variable to $memberID0 so one could track the fault situation by comparing the 2 different results! $memberID0 = db_insert_id(); //my workaround: i do a query of the membername to get the corrisponding id, //thus not relying on the value which db_insert() give back, Now it works! //begin fix $request = db_query(" SELECT ID_MEMBER FROM {$db_prefix}members WHERE memberName = '" .$regOptions['username']. "' LIMIT 1", __FILE__, __LINE__); $inserted_row = mysql_fetch_assoc($request); $memberID = $inserted_row['ID_MEMBER']; mysql_free_result($request); //end fix Title: Bug in trimQuotes() leads to query error if users real name contains quotes Post by: Christian on October 23, 2006, 12:52:32 PM My versions:
Joomla: 1.0.11 SMF : 1.1 RC3 Joomla-SMF: 2.0 RC1 CB: no File: componentes\com_smf\smf.class.php The function obviouly was designed to strip the enclosing "'" characters from a string But it fails to remove the closing "'" character, if $val contains a "'" string too! This leads in my case to subsequent database query errors!! As a simple remedy i substitued the second strpos with strrpos, which searches from right to left. Code: function trimQuotes($val) { if (strpos($val, "'") == 0) { $val = substr($val, 1); } if (strrpos($val, "'") == (strlen($val)-1)) { //fixed: strrpos() instead of strpos()! $val = substr($val, 0, strlen($val)-1); } return $val; } Title: Query error if users realName contains quote character "'": Fixed Post by: Christian on October 23, 2006, 01:02:48 PM My versions:
Joomla: 1.0.11 SMF : 1.1 RC3 Joomla-SMF: 2.0 RC1 CB: no file: componentes\com_smf\smf.class.php Bug in function integrateChangeMemberData() lead to query error if the users realName contains quote character "'": Missed: invoking of addslashes()! original lines, left unchanged: Code: $field = $joomla_cols[$var]; $value = $jsmf->trimQuotes($value); my lines added immedeately after: Code: //as eventuel present slashes have been trimmed away by the caller and as //as joomla is designed to run without magic quotes off, as far as i know, //we have to invoke addslashes here, otherwise subsequent queries may fail! //if(!get_magic_quotes_gpc()) { //better omitt the if statement completely $value = addslashes($value); //} Together with the bug fix of trimQuotes() (see my posting above!!!) i get no more query errors when the full user name contains quote character "'". (magic_quotes_gpc = off!) Title: Re: JSMF 2.0 RC1 released Post by: Andrew Morpeth on October 23, 2006, 02:08:16 PM It is not a bug, but because there are so many things interacting here I do not redirect unless there is nothing else set for a redirect url. If something is set that is where the bridge will redirect you to. It says as much in the user guide and the help in configuration. For the mod_smf_login this will be improved with the next build. For the other modules it is up to them to set the correct data for the redirects. Hi Wolverine, In regards to the redirects. I need to be able to login and logout and be redirected to ONE specific page on my site. However the redirect to URL in the smf_login module does not seem to work. Is there any fix for this? OR Could you tell me where in the code I could enter a fixed page that will used when you login or log out? Thanks Andrew Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 23, 2006, 02:11:12 PM Hi Wolverine, the newest version of the mod_smf_login will resolve this. I should have it released this week. In regards to the redirects. I need to be able to login and logout and be redirected to ONE specific page on my site. However the redirect to URL in the smf_login module does not seem to work. Is there any fix for this? OR Could you tell me where in the code I could enter a fixed page that will used when you login or log out? Thanks Andrew Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 23, 2006, 02:12:48 PM My versions: good call... thx.Joomla: 1.0.11 SMF : 1.1 RC3 Joomla-SMF: 2.0 RC1 CB: no File: componentes\com_smf\smf.class.php The function obviouly was designed to strip the enclosing "'" characters from a string But it fails to remove the closing "'" character, if $val contains a "'" string too! This leads in my case to subsequent database query errors!! As a simple remedy i substitued the second strpos with strrpos, which searches from right to left. Code: function trimQuotes($val) { if (strpos($val, "'") == 0) { $val = substr($val, 1); } if (strrpos($val, "'") == (strlen($val)-1)) { //fixed: strrpos() instead of strpos()! $val = substr($val, 0, strlen($val)-1); } return $val; } Title: Re: JSMF 2.0 RC1 released Post by: pk on October 23, 2006, 04:49:52 PM It is not a bug, but because there are so many things interacting here I do not redirect unless there is nothing else set for a redirect url. If something is set that is where the bridge will redirect you to. It says as much in the user guide and the help in configuration. For the mod_smf_login this will be improved with the next build. For the other modules it is up to them to set the correct data for the redirects. Either I don't understand something or you. Please - let me understand/clear your understanding: When I'm logging in from CB login module - after successful login I stay wherever I was. At the same time after successful login from SMF - the bridge redirects me to the main page. My question: where can I change the SMF redirection to "do not redirect me anywhere, just stay where you are"? The CB login module works as I want it to work (redirection URL is empty). Why do you write that "I do not redirect unless there is nothing else set for a redirect url. If something is set that is where the bridge will redirect you to". So where is the bridge checking the redirection URL if it is not CB? Title: Re: JSMF 2.0 RC1 released Post by: manicon on October 24, 2006, 06:36:06 AM the newest version of the mod_smf_login will resolve this. I should have it released this week. those are good news!Title: Re: JSMF 2.0 RC1 released Post by: sabt on October 24, 2006, 02:25:49 PM Don't know why i got so much problems syncing users between joomla and smf but after changing all the collations of my database by hand there is again the error of an unknown column... But this time in joomla!
Joomla/Mambo[0] / SMF[0] inserted Failed :Unknown column \\\'activation\\\' in \\\'field list\\\' SQL=SELECT name, username, password, email, registerDate, block, activation FROM jos1011_users LEFT J Title: Re: JSMF 2.0 RC1 released Post by: Lycofron on October 25, 2006, 05:56:26 AM There's a funny error in my forum I could not find any info about:
For some strange reason, duplicate user accounts are created on SMF. (By "duplicate" I mean, they match the same Joomla user, and, as I've seen on the DB, they have same username but somehow password happens to be stored on db unencrypted. I contacted a user whose account was duplicated, he told me he didn't change anything on his profile. Something that I suspects is important is that duplicated usernames are in greek characters (my site uses utf-8 everywhere). Any ideas ??? Title: Re: JSMF 2.0 RC1 released ijoomla magazine compatability Post by: Warwick on October 25, 2006, 08:29:18 AM Hi,
If I get ijoomla magazine will the mos_smf_discussbot work with its articles? The mos_smf_discussbot is a great feature, by the way. Title: Re: JSMF 2.0 RC1 released Post by: Tijntje on October 25, 2006, 02:52:05 PM First of all thanks for all the great work on the component.
I have a problem with quoting (is that how you spell it?) When I quote the normal way the reply window is outside joomla. If I qoute when the quick reply is open, everything works great. the site is http:www.codstats.nl (http://www.codstats.nl) Can provide you with an login if needed. This was in the first beta and I upgraded to RC1 but that didn't make any difference. Title: Re: JSMF 2.0 RC1 released Post by: sepp on October 25, 2006, 03:09:45 PM The SMF css must be included before the Joomla or vice versa and it was the other way with the old version. The real problem is that you have the same definition in both files, and you need to merge them in order to get the same appearance. I've also a CSS problem ...please can anybody explain me what wolverine meant above? I don't understand what to do ::) thanx a lot Title: Re: JSMF 2.0 RC1 released Post by: Brat on October 25, 2006, 07:47:55 PM I've also a CSS problem ...please can anybody explain me what wolverine meant above? I don't understand what to do ::) thanx a lot Sure thing! What Wolverine meant in detail is that you need to open the CSS file associated with your desired SMF theme, and then copy and paste the entire contents of that file into your Joomla template's template_css.css file. I'd strongly recommend that you append SMF's CSS at the end of the Joomla template CSS file. Often times (in fact, every time ;))SMF's CSS file contains CSS codes controlling links, paragraphs, etc. - yep, just like Joomla. That means you're gonna have duplicate CSS codes, and you'll need to edit the "merged" template_css.css (Joomla CSS) file accordingly. There is a bit of "trial and error" to the whole thing to get the look you want, but it's not heinous. I'm dealing with all this now for my current projects, so don't hesitate to ask more questions as needed. Regards, Brat. 8) Title: Re: JSMF 2.0 RC1 released Post by: Little Jedi on October 26, 2006, 12:35:22 AM When a new user creates a account on my site, their forum names are their real names and not their usernames. I tried changing the option in the bridge to sync by usernames but it does not work. Any idea's? http://www.wii-volution.com Seems this message went unnoticed. And i'm having the same problem. Title: Re: JSMF 2.0 RC1 released Post by: Brat on October 26, 2006, 07:43:26 PM Seems this message went unnoticed. And i'm having the same problem. Okay, I'm not sure how to edit this either. However, I think this may point you in the right direction - anyone feel free to jump in if I'm wrong. I believe the file you need to look at for this version of JSMF is: administrator\components\com_smf\admin.smf.class.php This file seems to contain all the routines for the bridge related to user creation and synchronization. Of particular interest are: function syncUsers (starting on or about line 404) function createSMFUser (starting on or about line 548) I don't have time to tear through the code previously used for this fix in the last version, but this is where I'd start. Hope this helps! Regards, Brat. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 26, 2006, 07:48:38 PM that is a bug and will be fixed in JSMF 2.0RC2.
Title: Re: JSMF 2.0 RC1 released Post by: pk on October 27, 2006, 03:42:12 PM that is a bug and will be fixed in JSMF 2.0RC2. What about the part of code that was commented in beta3 and in RC1 is uncommented: Code: if (mosGetParam($_GET, 'passwrd', '') || mosGetParam($_GET, 'hash_passwrd', '') || mosGetParam($_REQUEST, 'passwrd', '') || mosGetParam($_REQUEST, 'hash_passwrd', '')) { $setLocation = ''; } What for is it? It causes that after logging in instead of redirection to the same page on which the user was during logging in - he is redirected to main page because the $setLocation variable is always cleared! Isn't it a bug? Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 27, 2006, 05:29:35 PM No, it is not a bug, it does not clear any valid url. If you redirected to a url with your password in it it would not be the page you logged in from. In addition, that url with your password would get stored to your history which is obviously a security problem.
That piece of code does not *always* clear setLocation. The redirect works like this. First it checks if your login module has a static location set for login or logout. Next it checks if a variable named return was passed by the form. This is the normal joomla method for returning a member to the location they logged in from. Finally, if neither of those two are set then we fall back to the bridge defaults of login and logout redirects. I will take another look. Which login form are you having a problem with? Title: Re: JSMF 2.0 RC1 released Post by: pk on October 27, 2006, 06:31:45 PM I'm using CB login module, but the problem is with logging in from SMF.
Just a little description of test scenario that I can do on my page: 1. I'm inside the forum, then I'm logging in from SMF -> and I'm redirected to main page, variable $setLocation is '' 2. I'm inside the forum, then I'm logging in from CB -> I stay where I was, variable $setLocation is set to the right page/thread 3. I commented the code I wrote you previously & I'm inside the forum, then I'm logging in from SMF -> I'm still in the forum, variable $setLocation is set to the right page/thread It seems that the code spoils my redirection. Title: Re: JSMF 2.0 RC1 released Post by: Tijntje on October 28, 2006, 04:22:17 AM Do you have any idea what this problem could be?
First of all thanks for all the great work on the component. I have a problem with quoting (is that how you spell it?) When I quote the normal way the reply window is outside joomla. If I qoute when the quick reply is open, everything works great. the site is http:www.codstats.nl (http://www.codstats.nl) Can provide you with an login if needed. This was in the first beta and I upgraded to RC1 but that didn't make any difference. Title: Re: JSMF 2.0 RC1 released Post by: pk on October 28, 2006, 05:34:30 AM Hi Tijntje,
Seems like a problem with template you are using. Maybe there are some tags that are not closed and this is the reason that some of the elements are displayed wrong way? I had similar problem with my joomla template and I found one tag inappropriatelly closed. When I fixed it everything was working normal. In general this should not be a problem of the bridge as it does not modify the SMF code. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 28, 2006, 11:41:32 AM I'm using CB login module, but the problem is with logging in from SMF. thanks for the kick in the butt! I took another look and it seems I was approaching this security problem wrong and you were right that this code could be incorrectly clearing forum locations. I have reworked the code and it seems to be behaving better. It will be included in JSMF 2.0RC2Just a little description of test scenario that I can do on my page: 1. I'm inside the forum, then I'm logging in from SMF -> and I'm redirected to main page, variable $setLocation is '' 2. I'm inside the forum, then I'm logging in from CB -> I stay where I was, variable $setLocation is set to the right page/thread 3. I commented the code I wrote you previously & I'm inside the forum, then I'm logging in from SMF -> I'm still in the forum, variable $setLocation is set to the right page/thread It seems that the code spoils my redirection. Title: Re: JSMF 2.0 RC1 released Post by: pk on October 28, 2006, 03:05:58 PM thanks for the kick in the butt! I took another look and it seems I was approaching this security problem wrong and you were right that this code could be incorrectly clearing forum locations. I have reworked the code and it seems to be behaving better. It will be included in JSMF 2.0RC2 No problem. Can you tell me when can we expect RC2? Or maybe you can send me correct piece of code so I will replace the "if clause" I have with whatever you will send me? Title: Re: JSMF 2.0 RC1 released Post by: Tijntje on October 29, 2006, 08:51:04 AM Hi Tijntje, Thanks for your replySeems like a problem with template you are using. Maybe there are some tags that are not closed and this is the reason that some of the elements are displayed wrong way? I had similar problem with my joomla template and I found one tag inappropriatelly closed. When I fixed it everything was working normal. In general this should not be a problem of the bridge as it does not modify the SMF code. Why is it only with a quote and not a reply for instance? If it is in my template do you mean the index.php from the template? The other strange thing is that when I copy the Link Location from my browser and paste it into a new window it works like it should. Title: Re: JSMF 2.0 RC1 released Post by: Livebox on October 29, 2006, 08:56:27 AM Yes this can be in the Index.php of your template
example when you open a function you also have to close it. A simple example <td <--open tag </td> <--Close tag Title: Re: JSMF 2.0 RC1 released Post by: onecha on October 29, 2006, 10:15:39 AM GREAT!!!
It works perfectly!!! THANKS A LOT!! PS I was just about going to change your brigde for the Orstio´s one! THANKS AGAIN! Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 29, 2006, 02:02:20 PM JSMF 2.0RC2 is almost released, but I had to make a change to the caching today so I need to have the test team run it through its paces before I unleash the havoc ;)
Title: Re: JSMF 2.0 RC1 released Post by: Tijntje on October 30, 2006, 02:36:25 AM Yes this can be in the Index.php of your template Oke thanks,example when you open a function you also have to close it. A simple example <td <--open tag </td> <--Close tag I tried it with 3 different templates: 1. madeyourweb 2. p3p70bf2_1 3. rhuk_solarflare_ii They all have the same problem. I've checked the entire template and didn't find any problems. With the old version of the bridge I didn't have any problem. Oke did some futher testing and changed the template of SMF. Normally I use the default template of SMF. The only theme were it did work correctly was Dark Day. If there is anyone who knows were to look I would really appreciate it. Title: Re: JSMF 2.0 RC1 released Post by: Livebox on October 30, 2006, 11:28:30 AM Joomla and SMF templates are using the same Class Id’s . What you can do is: You can look for the duplicate Class Id’s in your templates. and you can rename them in one of the templates. I renamed the most in the Joomla template.
I used for the Webdeveloper toolbar for Firefox. This is really a great tool for finding these things. Example of duplicate Class Id’s. (the footer Class Id) Joomla footer (index.php) Code: <div class="topnav" id="footer"> <?php mosLoadModules('footer', -1); ?> <?php include_once( $mosConfig_absolute_path .'/includes/footer.php' ); ?> </div> SMF footer (index.template.php) Code: <div id="footer">', theme_copyright(), '</div> I renamed the footer ID from the Joomla template also ajust the Css file. and it works for me. Title: Re: JSMF 2.0 RC1 released Post by: -Wolverine on October 30, 2006, 12:15:04 PM good point livebox. There should *only* be one element with a given id name. You should never use the same id twice in your html. Obviously since J! and SMF are two separate systems it is possible you will have duplicate elements with the same id.
Title: Re: JSMF 2.0 RC1 released Post by: Tijntje on October 30, 2006, 02:38:57 PM Joomla and SMF templates are using the same Class Id’s . What you can do is: You can look for the duplicate Class Id’s in your templates. and you can rename them in one of the templates. I renamed the most in the Joomla template. Hi thanks for the reply, but that can't be the problem.I used for the Webdeveloper toolbar for Firefox. This is really a great tool for finding these things. Example of duplicate Class Id’s. (the footer Class Id) Joomla footer (index.php) Code: <div class="topnav" id="footer"> <?php mosLoadModules('footer', -1); ?> <?php include_once( $mosConfig_absolute_path .'/includes/footer.php' ); ?> </div> SMF footer (index.template.php) Code: <div id="footer">', theme_copyright(), '</div> I renamed the footer ID from the Joomla template also ajust the Css file. and it works for me. I build a check in the Joomla template. When my forum is shown I don't show any menu's on the left side. When this happens I don't include the Joomla CSS but only the SMF template CCS. I included some of the CSS id's from the Joomla template in the SMF template. Title: Re: JSMF 2.0 RC1 released Post by: Livebox on October 30, 2006, 03:10:10 PM How did you build in the check. Did you check it with the Webdeveloper toolbar witch Css files are loaded. ;)
I had to rewrite a lot of Css code to get my board done. I am still working on it :P Title: Re: JSMF 2.0 RC1 released Post by: Tijntje on October 31, 2006, 02:55:58 AM How did you build in the check. Did you check it with the Webdeveloper toolbar witch Css files are loaded. ;) I did the following in my template index.php:I had to rewrite a lot of Css code to get my board done. I am still working on it :P Code: if ( mosCountModules( 'left' ) > 0) { $forum = 0; } else{ $forum = 1; } Code: <?php if ($forum == 0){ ?> <link href="<?php echo $mosConfig_live_site;?>/templates/p3p70bf2_1/css/template_css.css" rel="stylesheet" type="text/css"/> <?php } ?> I check if there are any menu's on the left if not the forum is loaded and I don't load the css from joomla. And I checked with Webdeveloper Toolbar and only the Print.css and Style.css from SMF are loaded. But the strange thing is when I copy the link to qoute and open that in a new window all works fine. And I never had the problem with the old bridge.
Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved. Joomla Bridge by JoomlaHacks.com |