Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorNeverender
    • CommentTimeOct 23rd 2007 edited
     # 51
    well it still looks ugly but i guess that makes sense. what about showing the category name in urls?

    Edit: I dunno.. I guess I'm just used to wordpress. You just tell it what url structure you want and it spits out a .htaccess file for you and you dont need any ID's if you dont want them. Oh well, I love vanilla anyway :)
  1.  # 52
    It cant be 'fixed' because as dan39 says the discussion title my change and also on a reasonably size forum there are bound to be multiple discussions with the same name. The forum would never know which one to pick.

    I guess it could be done for categories with a bit of extra code in the core as they're unlikely to have the same name.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeOct 25th 2007
     # 53
    You don't need the IDs in a blog as you're highly unlikely to change the name of a post and your much more likely to spend longer mulling over what to call it in the first place. That and the chances of a duplicate are also far lower as there are generally fewer posts in a blog than a forum.
    •  
      CommentAuthorblizeH
    • CommentTimeOct 25th 2007 edited
     # 54
    -nevermind, sorry!-
    •  
      CommentAuthorDinoboff
    • CommentTimeOct 27th 2007 edited
     # 55
    Using the id + the title for the link is not perfect since it create duplicate pages. e.g.:
    http://lussumo.com/community/discussion/5425/2/friendly-urls/ == http://lussumo.com/community/discussion/5425/2/foo/
    http://lussumo.com/community/discussion/5425/2/friendly-urls/ == http://lussumo.com/community/discussion/5425/2/

    it could be fix by redirecting http://lussumo.com/community/discussion/5425/2/.*/ to http://lussumo.com/community/discussion/5425/2/. But It would slow the load of the page.

    Using the title is not possible but a meaningful unique key could be created from the title. The key for a post called "test" would be something like test-999 and could be reached by http://lussumo.com/community/discussion/test-999/.
    • CommentAuthorNeverender
    • CommentTimeOct 27th 2007
     # 56
    DinoboffUsing the title is not possible but a meaningful unique key could be created from the title. The key for a post called "test" would be something like test-999 and could be reached by http://lussumo.com/community/discussion/test-999/.

    i like that idea
    • CommentAuthordan39
    • CommentTimeOct 29th 2007 edited
     # 57
    But then you lose the SEO-friendly keywords in the URL, which is really the whole point of this Add-On. All you would gain is the elimination of the remote possibility that someone creates duplicate URLs.

    (And what if someone edits the Title of the post? Would that change the key in the URL?)
    •  
      CommentAuthorDinoboff
    • CommentTimeOct 29th 2007 edited
     # 58
    I don't know why it would not be seo-friendly. the key word is here.
    The link for this page would be http://lussumo.com/community/discussion/friendly-urls-29/2/.
    It is search engine friendly since there is no query string; and it is meaningful for search engines and the user who bookmark it. The 29 is here because there must be 29 discussion with the same title.

    would it be better like http://lussumo.com/community/discussion/friendly-urls/n29/2/

    If the user change the title, the key or the url should not change.
  2.  # 59
    Surely having to use 29 is just like having to use 5425 though?
    •  
      CommentAuthorDinoboff
    • CommentTimeOct 29th 2007 edited
     # 60
    yes, you're right, it will be easier to create the key from the original title + primary key if the title has been already used.

    Anyway the point is that we can create a meaningful unique key (as meaningful as the original title) for each discussion, retrieve the discussion with something else than the primary key, and get one unique url for each discussion.

    Someone wants to create the patch for that?
    It involves some changes in the way the discussion are created, updated, ins the way the discussion grid is created, and in the installer. It would also need and upgrader 1.1.x => 1.2.
    • CommentAuthordan39
    • CommentTimeOct 30th 2007 edited
     # 61
    Personally, I think it's fine the way it is right now. But, that's just me.
    •  
      CommentAuthorWanderer
    • CommentTimeOct 30th 2007
     # 62
    ...and me!
    • CommentAuthorvivek
    • CommentTimeDec 16th 2007
     # 63
    Now I have a new issue which is related to this topic. I hope we can solve it.

    I registered on the forum with an alias and got this email upon approving my own membership:

    Hello xyz,

    This message is to inform you that your account at Aavaas Forums has
    been changed.
    You have been assigned member status.

    You can review your role change at the following url:
    http://aavaas.com/forums/account/5/

    The only problem is that I am unable to see my role change at that url !

    When I click on that, I am redirected to : http://aavaas.com/forums/discussions/

    Please help.
  3.  # 64
    are you signed in?
    • CommentAuthorvivek
    • CommentTimeDec 21st 2007
     # 65
    Hello minisweeper

    i am not logged in. if i am, i am able to see the page. also, when i click on someone elses account page, i do not see that correctly.
  4.  # 66
    Well if it works when you're signed in then it's not a problem with friendly urls...
  5.  # 67
    :edited:
    • CommentAuthorsstawarz
    • CommentTimeApr 3rd 2008
     # 68
    I've got an odd error with Friendly URL's.

    if I turn them OFF, I go to start a new discussion, and i "forget" to put in a discussion topic. I get redirected to http://www.screenflex.com/forum/comments.php and I get an error saying: Some problems were encountered. The requested discussion could not be found.

    First off, shouldn't the error tell me that I need to add a Discussion Title? seems a little unfriendly.

    But, that's not my point.

    When I turn Friendly URL's ON. I don't get directed to the error message screen, I get redirected my website's error document. What's the deal with that? Any suggestions?
    •  
      CommentAuthorWallPhone
    • CommentTimeApr 3rd 2008 edited
     # 69
    Yes, it should, and Vanilla actually does--but there is a bug in an extension somewhere that fiddles with the new discussion object (marked invalid at this point) and makes it appear as valid, so Vanilla makes the mistake of taking you to it when it doesn't exist.

    Friendly URLs just changes slightly how this bug works. With friendly URLS, the address of the non-existent post appears more like a file address than a Vanilla/PHP/friendly URLs address, so Friendly URLs ignores the request and lets the web server try to handle it--which fails.

    I suspect attachments or notify is the cause of this, but I can't seem to reproduce it.
    • CommentAuthorsstawarz
    • CommentTimeApr 3rd 2008
     # 70
    Thanks Wallphone. --- you've given me a starting point to look.
    •  
      CommentAuthoraerocapture
    • CommentTimeApr 26th 2008 edited
     # 71
    Hey all, not to jump slightly off-topic, but I've been having the same problems with rewriting subdomain URLs with this extension as Zhak on the previous page. I had everything up and running perfectly, when I was using

    http://mysite.com/forum/
    but

    http://forum.mysite.com/
    redirects everything back to index.php. Any reasons this might be happening?

    (BTW, I'm using Dinoboff's .htaccess file in my root Vanilla directory.)
    • CommentAuthormiquel
    • CommentTimeMay 2nd 2008 edited
     # 72
    Any idea on the comment by in Friendly Urls # 39 about the issue with PageManager?

    thank(also using Dinoboff's .htaccess)
    • CommentAuthorwakeup
    • CommentTimeMay 19th 2008
     # 73
    sstawarz did you solve it? I have the same problem and I have test without attachment extension and it runs sucessfull, but I don't know how solve it with attachment extension activated.
    thanks
    • CommentAuthorsstawarz
    • CommentTimeMay 30th 2008 edited
     # 74
    No, not yet. My forum has primarily been used by our own company people and a few others. Since activity is slow, I've been able to let this sit for a bit.

    Sorry. If you solve it before me, let me know.

    thanks.

    I should add, that part of the reason it redirects to my home page is the URL is not found, and then apache kicks in with the default error document which I found to be is set to my website's home page by the hosting company.
    •  
      CommentAuthorWallPhone
    • CommentTimeMay 30th 2008
     # 75
    sstarts/wakeup--Try changing the core code like outlined here: Forced Category # 10.

    And let me know if it works or not.
Add your comments
    Username Password
  • Format comments as