PEAK XOOPS - Redirect after submit in englishin japanese

Redirect after submit

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/11/26 22:17
slyss79  »°Åù·³Áâ   Posts: 143
hi guys...

my question is:

when my user upoload one pictures by myalbum2/submit.php and click submit is possible to redirect to page.php ?

thanks a lot
Votes:73 Average:7.95
Previous post - Next post | Parent - Children.1 .2 .3 | Posted on 2006/12/3 0:31
Bandit-x  °ìÅùʼ From: UsA - MiChIgAn  Posts: 17
yes. in submit.php Line 218 or so.
	// Clear tempolary files
	myalbum_clear_tmp_files( $photos_dir ) ;

	$redirect_uri = "viewcat.php?cid=$cid&orderby=dateD" ;
	if( $caller == 'imagemanager' ) $redirect_uri = 'close.php' ;
	redirect_header( $redirect_uri , 2 , _ALBM_RECEIVED ) ;
	exit ;
You just gotta change the $redirect_uri .. currently it goes to yoursite.com/modules/myalbum2/viewcat.php?cid=$cid&orderby=dateD
Votes:23 Average:4.78
Previous post - Next post | Parent - No child | Posted on 2006/12/3 6:01
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi bandit-x.

login and read my PM
Votes:22 Average:4.09
Previous post - Next post | Parent - No child | Posted on 2006/12/4 3:23
slyss79  »°Åù·³Áâ   Posts: 143
thanks guys
Votes:30 Average:7.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2007/1/9 17:21
xocoso  ÆóÅùʼ   Posts: 3
I have tried with firefox and Internet explorer and its the same problem, everytime I upload a picture can get tha gallery redirect to the image manager, but that just happens when I upload a picture in a anonimous way, whe I Upload a picture being logged on, I have no problem , the gallery redirect right.

in the both cases the picture its uploaded, but in the anonimous way can't redirect,
please If you could help me, thank you

my site

www.arandasusa.com
Votes:20 Average:4.50
Previous post - Next post | Parent - No child | Posted on 2007/1/10 6:30
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I cannot understand what you mean.
Report it clearly.

eg)

registered users
- can post photos
- can be redirected after posting photos

guests
- can post photos
- get a blank page after posting photos
Votes:21 Average:6.19
Previous post - Next post | Parent - Children.1 | Posted on 2007/1/10 20:38
Shine  ¾åÅùʼ From: Netherlands  Posts: 35
Don't see the problem either.
Just uploaded as anonymous at your site (blue little man pic) which works without any probs.
After upload it redirects me to the index category of myalbum to which I've uploaded.

Imagemanager is something else. Think your are confusion them.
Votes:23 Average:5.65

none Re: Redirect after submit

msg# 1.1.3.2.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/1/10 20:42
Shine  ¾åÅùʼ From: Netherlands  Posts: 35
Addition to my prvious posting:
As anonymous I cannot upload to imagemanager. Only within the module myalbum itself.

Which remains: I don't understand the problem either.
Votes:8 Average:10.00

happy Re: Redirect after submit

msg# 1.1.3.2.1.1
Previous post - Next post | Parent - No child | Posted on 2007/1/11 9:08
xocoso  ÆóÅùʼ   Posts: 3
Hi!
thanxs to all for your help, exactly when I used to upload a picture, not being logged (anonimous) I just was seeing a blank page, but not this way uploading a picture being logged, my problem fixed when I downloaded the the preview or actual version the 2.87 or something like that and I just re-uploaded the file submit.php and that's it the problem didnt happened again.


thanks Im sorry about my english
Votes:22 Average:9.09

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!