Hi, 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?
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':
Thanks for that. It's working fine now. Right now I have the default page set to one of my discussions.
Do you know how I could make it so that it only goes to the set default page if the user has not participated in that particular discussion? (going off-road here).
Thank you for your help.
I have added an option to strip ReturnUrl from the url. This is a workaround for a problem with the Blog extension (and possibly others) when a user is not signed in, is viewing the 'Blog' page and then clicks on the 'Sign-In' link. See http://lussumo.com/community/?CommentID=70417
Notice: Undefined index: CssClass in /forum/themes/people_banner.php on line 5
Edit the following line in your conf/settings.php file:
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