Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 26. Nov 2024, 16:14

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 23. Jul 2015, 03:44 
Offline

Joined: 23. Jul 2015, 03:23
Posts: 2
My supplier is sending out links to buyers upon purchasing an item from my site. Upon successful purchase, my suppliers provides a url custom to the customer to register their warranty.

I want them to view the warranty page on my site. The supplier doest support this.

so on my site i have page called https://mydomain.com/warranty

The supplier sends out emails to buyer with a link after purchase. the link is like this: https://mydomain.com/warranty?src=https://supplierdomain.com/warranty?login=true%26wid=qwerty%26doc=asdf%26token=zxcvb%26lang=en%26loginReq=true%23login

the following parameters have to be different for every user.
wid=qwerty
doc=asdf
token=zxcvb


i want to display this page on my warranty page. where do i put the parameters in the plugin config page?

Thanks for the help. Need this asap. the buyers need to register their products for warranty asap. please help


Top
 Profile  
 
PostPosted: 23. Jul 2015, 09:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
So you need to forward

wid=qwerty
doc=asdf
token=zxcvb

from the parent url to the iframe url?

https://mydomain.com/warranty?src=https://supplierdomain.com/warranty?login=true%26wid=qwerty%26doc=asdf%26token=zxcvb%26lang=en%26loginReq=true%23login

The problem is that the src seems to be the only parameter - right?
So parameters can be forwarded but in you case the src parameter would has to be parsed.

So if I understand this right you would need a custom version where the "sub" parameters of src need to be extracted.

Best, Michael


Top
 Profile  
 
PostPosted: 23. Jul 2015, 10:06 
Offline

Joined: 23. Jul 2015, 03:23
Posts: 2
I tried using ALL, and it passes all the parameters. what i put in that field if i want to pass all the other parameters except src?


Top
 Profile  
 
PostPosted: 23. Jul 2015, 10:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
If you use
src=https://supplierdomain.com/warranty?login=true%26wid=qwerty%26doc=asdf%26token=zxcvb%26lang=en%26loginReq=true%23login

than src is the only parameter with the value
https://supplierdomain.com/warranty?login=true%26wid=qwerty%26doc=asdf%26token=zxcvb%26lang=en%26loginReq=true%23login

You need a 2nd level of parsing here which you need to add (by yourself or as a custom extension from me)

best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy