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 24. Nov 2024, 16:33

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  [ 6 posts ] 
Author Message
PostPosted: 23. Dec 2014, 23:01 
Offline

Joined: 23. Dec 2014, 22:45
Posts: 3
Hi Michael,

My apologies for double posting in the comments but I didn't see my original post anymore. I just found this forum which is probably a better place to ask questions.

I have several variables being passed in to my WordPress site via $_POST. I have used hidden input fields to store them for passing forward and have kept the original variable names. Plus, all of the values are URL ready - changing a space to %20 and so on.

I have set the URL Forwarding Parameter to ALL and also to a list of the variable names (separated by commas). It does not appear to be forwarding the parameters into the iframe OR the web page in the iframe does not seem to receive them. In the target web page, I have written php code to echo the variables to the screen.

I know I am doing something wrong but I just don’t know what that could be. Hopefully it is a simple change in a setting.

BTW, I have the Pro version.

Thanks,
Rob


Top
 Profile  
 
PostPosted: 24. Dec 2014, 13:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

This is the answer I posted:

url parameters are GET parameter not POST. Reading them would not a big problem but you cannot pass them along as POST.
So you would have to extend the plugin to read post parameters if you are o.k. that you pass them to the iframe as get parameter.

And yes. The forum is the best palace. I will disable comments in the blog next week as the same questions are asked again and again but on different pages...

Best, Michael


Top
 Profile  
 
PostPosted: 29. Dec 2014, 17:47 
Offline

Joined: 23. Dec 2014, 22:45
Posts: 3
Thanks Michael,

I have changed my code to print out the $_GET Parameters being passed into the web page in the iframe. Still, nothing seems to be passing through. I have set the URL forward parameters to ALL.

Not really sure what I am doing wrong.

I guess my next question would be - if I have the URL forward parameters set to ALL, what parameters is your plugin looking for when I set it to ALL plus how do I create those parameters and set those parameters with the correct values??? Right now I am using hidden input values.

Thanks,
Rob


Top
 Profile  
 
PostPosted: 29. Dec 2014, 22:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I do extract the url parameters from the url of the request.
I don't use the $_GET variable but the query string directly.

How does the url look like where you include the iframe to. Are the parameters in the url.
You can also specify them directly in this field.

If you set it to ALL I get the whole query string and add all parameters to the iframe as query parameters.
Do you have an example?

Best, Michael


Top
 Profile  
 
PostPosted: 29. Dec 2014, 23:13 
Offline

Joined: 23. Dec 2014, 22:45
Posts: 3
Ahhh...I understand.

You are forwarding the URL parameters being passed into the parent page into the child iframe page.

That where my mind is disconnecting. All I have to work with are $_POST parameters coming into the parent page. I have to some how make the page think that they also come in with the URL - might need to "tickle" the DOM a bit.

We'll see what dark PHP path this will take me.


Thanks!!!

Rob


Top
 Profile  
 
PostPosted: 29. Dec 2014, 23:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I think it is maybe easier to simply extend the plugin to read GET and POST parameters also.
I have put this on my feature list but this list is long ;).

Best, Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 23 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