Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

add shortcode in iframe
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=6479
Page 1 of 1

Author:  xenixboy [ 29. Oct 2019, 18:43 ]
Post subject:  add shortcode in iframe

Hey,

I have added an extra field to the customer / subscriber information.
I would like this information to be called up in the iframe link.

This is the link I use:

[advanced_iframe securitykey="SECURITYKEY" src="https://LINKTOTHESITE/api/login?account=ACCOUNTNAME&after=ANOTHERACCOUNTNAME&user{{name}}=Here the information must come from the extra field that is added to the customer / subscriber" width="100%" height="1800"]


But none of these options work:
[shortcode]
{shortcode}
{{shortcode}}
"shortcode"
'shortcode'

Normally I use a different page for each subscriber where this information is entered per page.
By adding the extra field I have added the detailed information per customer / subscriber.
Now I want to use one page and that the iframe link automatically retrieves this information per logged in user.

Can someone help me get this working?
I don't know any other options :? .

Thanks in advance!

Jeroen

Author:  TinyWebGallery [ 30. Oct 2019, 00:09 ]
Post subject:  Re: add shortcode in iframe

Please check your e-mail:

{usermeta-X [,defaultvalue]}: extract key X from get_user_meta. E.g. {usermeta-last_name}. The optional default value is used if the attribute is not found or set. See here for details. Click here for all values of the current user.

on the basic tab at "Url".

This is a feature of the pro version.

Best, Michael

Author:  Sherry512 [ 3. Nov 2019, 23:46 ]
Post subject:  Re: add shortcode in iframe

Could I also see the answer to this question? email is fine if that's required. I need to include the current logged in wordpress user and no luck using all those variations of shortcode, but did not understand the reply here:

{usermeta-X [,defaultvalue]}: extract key X from get_user_meta. E.g. {usermeta-last_name}. The optional default value is used if the attribute is not found or set. See here for details. Click here for all values of the current user.

Author:  TinyWebGallery [ 6. Nov 2019, 00:45 ]
Post subject:  Re: add shortcode in iframe

the user name is not in the user meta.

Check the documentation of the url attribute.

{username [,defaultvalue]}: the username of the current user. The optional default value is used if no user is logged in.

so with {username} you get the current logged in user.

See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/url-features#h49 for examples.

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/