Home arrow Forum Latest posts of: p9939068
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2008, 09:40:33 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1] 2 3 ... 12
1  Joomla Hacks / Joomla-SMF 2.0.x / Re: Since upgrade to Joomla 1.0.14 problem with index.php patching on: February 20, 2008, 08:05:08 PM
You can manually patch it yourself. Unzip the patched 1.0.11 index.php, and search for JOOMLAHACKS.COM. Those are the lines added/modified by the patch. Copy them to your 1.0.14's index.php in around the same place.
2  Joomla Hacks / Joomla-SMF 2.0.x / Re: JSMF 2.0.2 Released on: February 20, 2008, 07:18:55 PM
Hey Wolverine
Saw your thread that you're no longer actively developing JSMF. Huge thanks for taking up the project back then man. I know how it is, sometimes it's just  no longer possible to continue supporting a huge project. Sorry couldn't be around more the past months, my site's keeping me pretty busy too Wink

Huge thanks once again, god knows how much the smf community owes you and cowboy.
3  Joomla Hacks / Joomla-SMF 2.0.x / Re: JSMF 2.0.2.1 on: February 20, 2008, 07:09:45 PM
Woah, it's been a while since I last logged in here Tongue

I just upgraded J 1.0.11 to 1.0.14(together with CB1.1 and JSMF 2.0 RC3) 10 mins ago and found out JSMF isn't working as it should. First thought that came to mind is how the new JSMF isn't made to hash the password together with a salt. The fix is actually very simple (without the need to reinstall with this JSMF 2.0.2.1). Wanted to post it here, but found there's already a good thread on it.

I'm assuming you already have the official JSMF 2.0 installed.

Just open Joomla's index.php (AFTER patching) and search for the part where Joomla controls login. You should see a bunch of text that JSMF's patching added:
Quote
   //JOOMLAHACKS.COM
   $_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
   $_SESSION['_FROM_MOS'] = TRUE;
   $_SESSION['_RETURN'] = $return;
   $jsmf->doLogin(true);
Just add "$mainframe->login();" above that chunk. What this does is to go through logging in process twice; 1st through J's framework (which is capable of handling the new password hashing), and then let jsmf's login class takeover (which includes another round of Joomla login, only this time it's redundant since it doesn't handle the new hashing, and $mainframe has already done the logging in for it.

Not the most elegant, of course, but it works. The problem comes when you have other 3rd party crap to bridge (Iono licensing in my case). This is because if you try to re-create a Joomla login on your 3rd party software, you pretty much lose all your globals. If that's the case, ignore what I've typed above. You still can use the original JSMF (if you have already done so). Download JSMF 2.0.2.1 (attached to the first post on this thread), but there's no need to reinstall. Simply find the file smf.class.php and replace it in components/com_smf/smf.class.php. All the work/changes are mostly done on that file. What kevin did is to change the original crap in "$mos = ($data->password == md5(($password));" blah blah to work with J's new hashing method. Good job Wink
4  Joomla Hacks / Joomla-SMF 2.0.x / Re: JSMF 2.0.1 on: January 16, 2007, 07:16:00 AM
I would love to, however even my own free time is being hold up about 80% from school.
15 tests next 2 weeks.
But in february I will take looooaads of days and nights to learn advanced php.
Everyone of us has our "own free time" being help up by something else. At least you're taking your tests for yourself only, and not other people Wink

By the way Wolverine, I sent you a PM, but I think the PM system is still broke (at least for me). Will email you soon Smiley
5  Joomla Hacks / Joomla-SMF 2.0.x / Re: Can I keep my users? on: December 23, 2006, 12:26:44 AM
hi scott,
You will be able to keep all your users, and your posts will not be altered in any way.
Simply sync the users from SMF to Joomla using the syncing tool of the bridge and you're done.
6  Joomla Hacks / Joomla-SMF 2.0.x / Re: CB Plugins for SMF (v2.1) on: December 23, 2006, 12:23:33 AM
i have tried the modification in the latest version of the plugin but there is a lot of modified code now...it looks a lot different(i guess improved by Wolverine)

i guessed the piece of code where i could try the same thing and modified it manually:

Code:
if ($my->id == $user->id || $my->usertype == "Super Administrator") {
        SMFPosts_HTML::displayTopicNotifications();
        SMFPosts_HTML::displayBoardNotifications();
        }

But it just hides the notifications for everybody. What am i missing?

Thanks anybody for any advice,
NiCo

You did not call $my as a global variable. add $my in the global line above.
Code:
global $my;
7  Joomla Hacks / Joomla-SMF 2.0.x / Re: Configure SMF displays blank page on: December 20, 2006, 06:32:48 AM
Hi,
Where did you download Joomla_SMF_1_1_4 from..?

Rgds, Mike
8  Joomla Hacks / Joomla-SMF 2.0.x / Re: hi on: December 19, 2006, 11:29:16 AM
What's your website..? Can we take a look?
9  Joomla Hacks / Joomla-SMF 2.0.x / Re: Is it possible to run the SMF installation on a sub-domain? on: December 18, 2006, 07:33:07 PM
Off the top of my head, a .htaccess rewrite rule may work.
10  Joomla Hacks / Joomla-SMF 2.0.x / Re: JSMF Logic Module. on: December 18, 2006, 07:26:21 PM
Good night to all. First that I must say it is that I do not speak too English and for that reason nonuse the finder.

I am using JSMF (Joomla-SMF) login modulates in its last version and I am trying to make a small modification. At the moment to enter it leaves to me thus:
User:
XXXXXXX
Password:
XXXXXXX

Where XXXXXXX are the hollow to put the data.

I would like to obtain this:
User: XXXXXXX
Password: XXXXXXX

   
I have watched the file mod_smf_login.php but not that I must touch.

Some has the prepared file or or knows that I must do?

A greeting,
Username and password can be found in the database table jos_users
11  Joomla Hacks / Feedback / Re: Questions about this Bridge on: December 18, 2006, 07:21:22 PM
Sorry, didn't mean to jump your bridge without at least trying it.  It does look like it has extended features over Orstio's 1.1.6 bridge, however, it does require SMF and Joomla being in the same DB?  I'd really rather keep them separate for right now, as I've put a lot of work into my Joomla config over the last couple weeks (mods, etc).  Unless there is a way to merge the two DB's?  I have plenty of backups to work with if things get screwed up.
Export -> Import
12  Joomla Hacks / Joomla-SMF 2.0.x / Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help. on: December 10, 2006, 12:28:13 AM
Did you install any SMF mods recently? and if you did, did you unpatch JSMF first before installing the mods?

I will suggest uninstalling any mods (if any) and try again.
13  Joomla Hacks / Joomla-SMF 2.0.x / Re: CB Plugins for SMF (v2.1) on: December 09, 2006, 10:30:07 PM
Good news  Grin

i just finished updating to CB 1.0.2 and i also updated to latest version of cb_authorbot (1.02) and the magic happens. Now clicking on the Alias link in the "Written by...." below the content title, shows the correct profile  Smiley

Cheers,
NiCo
Just a heads-up since you're using the CB authorbot. There's a hack on the authorbot over at joomlapolis that adds the author's avatar thumbnail beside the author's name on the content. Cool feature, thought you'd like that Smiley

Rgds, Mike
14  Joomla Hacks / Joomla-SMF 2.0.x / Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help. on: December 09, 2006, 10:27:07 PM
Seems your links are resolved correctly. In the reply post screen, the "Insert Quote" beside each previous reply below points to "http://www.hairdressingworld.com/component/option,com_smf/Itemid,XX/board,XX.0/#top" when it should've pointed to something like "http://www.hairdressingworld.com/component/option,com_smf/Itemid,XX/action,post/topic,XX.0/num_replies,X/#top"
(X are all numbers)

I don't know what could cause this, but maybe you can try disabling Joomla's SEF for the moment. Also, just to check, make sure you've patched the SMF files in your JSMF's backend.

Rgds, Mike
15  Joomla Hacks / Joomla-SMF 2.0.x / Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help. on: December 09, 2006, 02:22:40 PM
Hi Wolverine,
I converted to your bridge last night without too many problems.
The only problem I have is that any Ajax features in SMF do not seem to work (either in the front end or the admin panel). For the benefit of people searching or reading this post in future, your Ajax features are the buttons or icons like smilies, formatting (bold, italics) etc. If you are having this problem then this is the thread you need to read.
Those arent ajax codes, they're BBC buttons. What do you mean they dont work?
Pages: [1] 2 3 ... 12


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login