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 25. Nov 2024, 00:11

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
 Post subject: add shortcode in iframe
PostPosted: 29. Oct 2019, 18:43 
Offline

Joined: 29. Oct 2019, 18:27
Posts: 1
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


Top
 Profile  
 
PostPosted: 30. Oct 2019, 00:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
PostPosted: 3. Nov 2019, 23:46 
Offline

Joined: 3. Nov 2019, 23:43
Posts: 1
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.


Top
 Profile  
 
PostPosted: 6. Nov 2019, 00:45 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


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 14 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