Search found 8 matches

by sta777
Fri Feb 05, 2010 5:10 pm
Forum: Developers Discussion
Topic: Login redirect / returnto
Replies: 11
Views: 4174

Re: Login redirect / returnto

Ok, so something like this?

Code: Select all


<!-- start content -->
             <h1>{title}</h1>
{if $ccuser->loggedin() && $ccuser->memberof('Members')}
            {content}
 {else}
      {module=FrontEndUsers}
        {/if}
<!-- start content -->

by sta777
Wed Jan 20, 2010 9:54 am
Forum: Developers Discussion
Topic: Login redirect / returnto
Replies: 11
Views: 4174

Re: Login redirect / returnto

There is a page called login, which is hidden. All this does is call a global content block called login with the code: {cms_module module=FrontEndUsers form="login" returnto="forum" nocaptcha="1"} Now within my layout template I have this code: <!-- start content -->  ...
by sta777
Mon Jan 18, 2010 4:57 pm
Forum: Developers Discussion
Topic: Login redirect / returnto
Replies: 11
Views: 4174

Re: Login redirect / returnto

It all sounds great but I still can't get it to work! my url with the login form: http://www.xxxxxxxxxxxxxxxxxxxxxxxxxx.org/members-area/council-section/index.php?page=Login when I add the returnto=$page_alias it ends up at the login form again but at this address: http://www.xxxxxxxxxxxxxxxxxxxxxxx...
by sta777
Fri Jan 15, 2010 5:21 pm
Forum: Developers Discussion
Topic: Login redirect / returnto
Replies: 11
Views: 4174

Re: Login redirect / returnto

Thanks ajprog, but using returnto=$page_alias returns the user to the login screen. arrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
by sta777
Fri Jan 15, 2010 4:39 pm
Forum: The Lounge
Topic: Upload file to forum (front end)
Replies: 5
Views: 2557

Re: Upload file to forum (front end)

Anybody? Somebody must surely have done something like this?
by sta777
Fri Jan 15, 2010 4:39 pm
Forum: Developers Discussion
Topic: Login redirect / returnto
Replies: 11
Views: 4174

Re: Login redirect / returnto

Thanks for that but I really don't understand.

There must be a simpler way of doing this?
by sta777
Thu Jan 14, 2010 4:29 pm
Forum: The Lounge
Topic: Upload file to forum (front end)
Replies: 5
Views: 2557

Upload file to forum (front end)

Hi,

Anybody know how to integrate the upload module to work with the forum made simple? Would like users to be able to upload files to go with their posts/topics.

Thanks in advance
Sta777
by sta777
Thu Jan 14, 2010 3:59 pm
Forum: Developers Discussion
Topic: Login redirect / returnto
Replies: 11
Views: 4174

Login redirect / returnto

Hi, I'm using this piece of code {cms_module module=FrontEndUsers form="login" returnto="forum" nocaptcha="1"} in a Global Content Block called 'Login' to forward users to the forum once logged in, which all works great. After adding a seperate page/section that also re...

Go to advanced search