Follow us on Twitter
Welcome, Guest
Please Login or Register.    Lost Password?
JoomAce Support
AceSEF
Extensions Support
Solved Issues
Forum is locked
problem/workaround needed for sharing url's Forum is locked
(3 viewing) fefekuku, Marian Ionita, (1) Guest
Go to bottomPage: 1
TOPIC: problem/workaround needed for sharing url's
#14986
problem/workaround needed for sharing url's 2 Months, 2 Weeks ago  
I use community builder which allows each user to have their own profile page. The url that ace sef generates for the user is: www.domain.com/keyword/[userid].html. It works great for me because it is more private than using their username, which is the default. When a user is not logged in and views their profile this is the url that is used. When they are logged in and viewing their own page, the url is: www.domain.com/keyword.html. This also works fine for me.

The problem is that I want users to share their url with others, including places like facebook, twitter, etc. If a someone tries to visit a page by typing in the url directly: www.domain.com/keyword/[userid].html, and no one has been to their profile by clicking a link from my site to their page yet, it seems ace sef doesn't know what this url is, and it automatically moves that url from what was typed in, to: www.domain.com/keyword/[userid].html?format=html

This creates problems when a user then wants to share their profile url. The url shows up as a moved url to acesef and when a guest tries to view that page with the original url it doesn't allow them, and says they must be logged in to view the page, which they shouldn't have to be.

Hope you can understand this. Is there any work around for this? Thanks.
Joe
PLUS Customer
Posts: 14
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
#15020
Re: problem/workaround needed for sharing url's 2 Months, 1 Week ago  
So, is the problem with "?format=html" part?
Denis Dulici
Administrator
Posts: 2683
graph
Click here to see the profile of this user
Gender: Male
If you use AceSEF, please support us by posting a rating and a review at the Joomla! Extensions Directory
The topic has been locked.
 
#15068
Re: problem/workaround needed for sharing url's 2 Months, 1 Week ago  
Yes. When SEF url www.domain.com/keyword/[userid].html is accessed for the first time and the url is typed in directly to the browser, it reverts to www.domain.com/keyword/[userid].html?format=html.

This causes problems not allowing anyone to then access page by the correct sef url. It gives the person trying to view the page a message that they need to be logged in to view that page, when they shouldn't need to be.
Joe
PLUS Customer
Posts: 14
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
#15159
Re: problem/workaround needed for sharing url's 2 Months, 1 Week ago  
Any solution or suggestions to this problem?
Joe
PLUS Customer
Posts: 14
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
#15277
Re: problem/workaround needed for sharing url's 2 Months ago  
Go to administrator/components/com_acesef/extensions/com_comprofiler.php line 187 and add this code : "unset($vars['format']);"
After that delete the old URL and generate new one.
Gilbert Lici
Administrator
Posts: 304
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
#15299
Re: problem/workaround needed for sharing url's 2 Months ago  
I have no line 187 in that file. I've attached the file I have.
This attachment is hidden for guests. Please login or register to see it.
Joe
PLUS Customer
Posts: 14
graphgraph
Click here to see the profile of this user
Last Edit: 2010/10/29 10:07 By Joe028.
The topic has been locked.
 
#15300
Re: problem/workaround needed for sharing url's 2 Months ago  
I added it to line 144. Download that file.
This attachment is hidden for guests. Please login or register to see it.
Gilbert Lici
Administrator
Posts: 304
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 1
JoomAce Support
AceSEF
Extensions Support
Solved Issues
Forum is locked
Powered by Kunenaget the latest posts directly to your desktop