Discussion in "E107 FURL Support" started by    AIPman1    Jun 22, 2008.
Sun Jun 22 2008, 09:55 pm
#1
I really like the FURL, and would use it, but have to turn it off until I can find out how to get it to work with the Alternative Profiles plug in (http://boreded.co.uk/)

The output going to a profile without furl on is:
you click link to your profile as: http://www.dimestoreproductions.com/user1.html

you end up at: http://www.dimestoreproductions.com/e107_plugins/alternate_profiles/newuser.php?id=1

The place you end up with furl ON is:
http://www.dimestoreproductions.com/e107_plugins/alternate_profiles/newuser.php

so it's just dropping the ?id=1 - but I have no idea how or where it's doing that...and it would be really nice if there was code for furl to make the URL something easy, like,

/profile1.html as the output url...

LEt me know on that, I'm willing to test/report...
Mon Jun 23 2008, 09:02 pm
#2
FURL does not support Alternate profiles yet.

Check in forum, maybe you get some idea how can that be done... manually..
Mon Jun 23 2008, 09:16 pm
#3
I'll read up on it, but I'm afraid my coding knowledge and time is hugely limited. If anyone that does use both of these great plug ins has any work done already, please let us know. I'll report anything I find or come up with.

I mean, at this point, if I can just get FURL to not drop the ?id= part at the end of the alternative profiles url, that would be enough till someone can make it actually support the plug in with a nice looking url. But it's breaking of it keeps me from using FURL for now, as I felt the profiles and buddy lists etc was more important than pretty urls, by just a little bit.

I'll be back when I know anything and will keep my ears open!
Mon Jun 23 2008, 09:25 pm
#4
I will try if i can help coz i am hardly getting time these days
even the mapme plugin's new version is pending for release..
Mon Jun 23 2008, 09:34 pm
#5
very cool, and much appreciated. I'm reading on trying to figure out how to get it not to drop that ?= part right now...
Mon Jun 23 2008, 10:11 pm
#6
quick report:

Advanced Profiles takes the normal profile url you click:

http://www.dimestoreproductions.com/user.php?id1

and redirects you to:

http://www.dimestoreproductions.com/e107_plugins/alternate_profiles/newuser.php?id=1

FURL takes the user.php?id1 and makes it user1.html

so the simple fix I just did so I can use FURL and Advanced Profiles, is I commented out any lines with the User rewrite in the

htaccess - sitelinks.sc - and e-module.php files

It lets the user stuff work - so I can move on for now.

It would be great if later we can make better urls for advanced profiles...but for now, that work around will let FURL handle the rest of things as it does...which is good for now.


[ Edited Mon Jun 23 2008, 10:13 pm ]
Tue Jun 24 2008, 08:35 pm
#7
you dont have to edit sitelinks.sc and e_module.php file

just edit htaccess like this

Replace this aprt of text
user.php?id

with
e107_plugins/alternate_profiles/newuser.php?id=

try and tell me..
Tue Jun 24 2008, 09:43 pm
#8
VERY CLOSE!!!!!

It gets the right page to display, but, the profile is blank, no data. This is what I suspect:

The Htaccess is doing things right, getting the right page and displaying the right /user1.html

However, in the e-module, the

$patterns[31] = '/user\.php\?id\.([0-9]+)/';

and the sitelinks.sc, the same -

$patterns[31] = '/user\.php\?id\.([0-9]+)/';

aren't keeping the same data alive that the newuser.php?id=1 is drawing from the database, or something along those lines.

So, you got the page to display, minus the data of the user in the numer of the url (i tried a few users to make sure none displayed)

Good next step, I'll be here to test any further ideas to bring this to complete!
Mon Dec 22 2008, 08:56 am
#9
did anyone ever finish fixing this?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Michailqfh
Fri Mar 29 2024, 01:53 am
Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm