Website | Forums | Documentation
ForumsForums,
RulesRules,
MembersMembers,
GroupsGroups,
UnreadUnread,
RecommendRecommend,

Topic: Auto redirect   

Skip navigation

Member information

    [ Join | More ]


,   Reply,   Add topic,  



Auto redirect
Welcome Zone --> Site Zone
Posted 06 May, 2008, 08:30 PM
#39350
Avatar
Regular member

Rank image
Hello Everyone!

I'm trying to setup a proof of concept site so I can make some $$$ for ocProducts. Part of this site requires the splitting of the Welcome Zone and the Site Zone. What I'd like to have happen is when a user logs in, they are sent to the Site Zone instead of returned to the Welcome Zone. I have tried to accomplish this with redirects, but no luck. Any thoughts/suggestions?

TIA, SD

 "no violence, no hate, no pain, no enemies
just peace, unity, tolerence and love" - The Beloved

Free the BC3!!
Back to the top
Report post (39350),   Quote post (39350),  
 
Posted 07 May, 2008, 09:51 PM
#39358
Avatar
Site director

Rank image
Redirect pages aren't going to work here, but good thinking. The default page for a login is the same as the default page for someone entering the website - so there's no scope for creating a wedge between those.

A template edit should do the trick. BLOCK_SIDE_STATS_NO, change:

Code

{LOGIN_URL*}
to:

Code

{LOGIN_URL*}&redirect={$PAGE_LINK*&,site:start}

I haven't tested it, and that's for v4, but it should work. For v3 it's only slightly different:

Code

{LOGIN_URL*}&redirect_url={$PAGE_LINK*&,site:start}



Was I helpful?
 - If not, please let us know how we can do better.
 - If so, please let others know about ocPortal whenever you see the opportunity.
Back to the top
Report post (39358),   Quote post (39358),  
 
Posted 07 May, 2008, 09:53 PM
#39359
Avatar
Site director

Rank image
You might want to copy and paste that stuff. The font looks a bit weird there, looks like there are spaces in there but there aren't.



Was I helpful?
 - If not, please let us know how we can do better.
 - If so, please let others know about ocPortal whenever you see the opportunity.
Back to the top
Report post (39359),   Quote post (39359),  
 
Posted 07 May, 2008, 10:49 PM
#39363
Avatar
Regular member

Rank image
Thanx Chris! I'll give it a whirl and let ya know.

 "no violence, no hate, no pain, no enemies
just peace, unity, tolerence and love" - The Beloved

Free the BC3!!
Back to the top
Report post (39363),   Quote post (39363),  
 
Posted 08 May, 2008, 10:25 PM
#39370
Avatar
Hallowed customer

Rank image

Chris Graham said

You might want to copy and paste that stuff. The font looks a bit weird there, looks like there are spaces in there but there aren't.

HAH!

You are obviously using some flavour of FF. Appears fine in my default browser - IE7 ... !!!!!

 :sinner:


Take my advice.  I'm not using it.
View my live ocPortal site at Anglo-Indian Portal
Back to the top
Report post (39370),   Quote post (39370),  
 
Posted 09 May, 2008, 06:19 AM
#39372
Avatar
Site director

Rank image
Or it could be the Mac version of the font, I'm not sure.



Was I helpful?
 - If not, please let us know how we can do better.
 - If so, please let others know about ocPortal whenever you see the opportunity.
Back to the top
Report post (39372),   Quote post (39372),  
 
1 guests and 0 members are viewing this: None
Control functions:

,   Reply,   Add topic,  




Quick reply   Expand/Contract

:P , :'( , :dry: , :$ , ;) , O_o , :wub: , :cool: , :lol: , :( , :) , :thumbs: , :offtopic: , :| , :ninja: , :o ,
If you have a vision impairment, please contact a member of staff to perform this action on your behalf. If you are viewing this text instead of an image, try refreshing the page.

To prevent bots, we require you to duplicate the text shown in the image, in the text box.





, Back to the top, ocPortal,   Keyboard map, Site map,  
Build a website today!