Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
DefaultPage
DefaultPage
0
Comments
I'll fix it and upload the new version as soon as possible.
I've got the following error come on the top of my page:
Notice: Undefined index: DEFAULT_PAGE in /home/.xxxx/xxxxx/xxxxx.com/forums/library/Framework/Framework.Functions.php on line 17
edit -
I put in some text and the error vanished. I've hot friendly-urls installed and the problem I'm finding is to find out what the dynamic-url of one of my posts is which I want it to direct to. Does anyone know how I could find out?
The buildup of the url at present is like this:
http://www.xxxxxxxxxxxxxxx.com/forums/discussion/346/2/
edit - Addon works fine when I direct it to a more general page (extension.php?PostBackAction=Members)
Not used friendly-urls myself so have not run into this problem.
I've installed 'friendly-urls' and have not been able to reproduce your error message, but neither have I been able to get a friendly-url entry to work with DefaultPage. It is possible however to use a 'dynamic url' as the entry for the default page.
For a discussion with the title 'Some Discussion':
http://mywebsite.com/discussion/3/some-discussion/
translates to
http://mywebsite.com/comments.php?DiscussionID=3
In the above example set the 'DefaultPage' to:
comments.php?DiscussionID=3
Hope this helps. I'll add a 'friendly-url- warning to the 'Extension Options' page.
Simon
It's not something that is going to be achievable with DefaultPage but is an idea for a new extension.
Notice: Undefined index: CssClass in /forum/themes/people_banner.php on line 5
Edit the following line in your conf/settings.php file:
$Configuration['DEFAULT_PAGE_STRIP_RETURNURL'] = '1';
Cheers
Dex