gteyespy
Forum Replies Created
-
i saw this and this is where i need help as i’m a PHP newb.
where do I put in the parameter for the list i want to accept as the invite code.
i.e dog, cat, bird, fishi’m sorry for the stupid qestion. i’m just new at this.
/**
* Validate field Invitation Code
* @param string $key
* @param attay $array
* @param array $args
*/
function um_custom_validate_invite( $key, $array, $args ) {
if ( isset( $args[$key] ) && !preg_match(‘dog, cat, bird, fish’, $args[$key]) ) {
UM()->form()->add_error( $key, __( ‘Please enter valid Invitation code.’, ‘ultimate-member’ ) );
}
}
add_action( ‘um_custom_field_validation_invite’, ‘um_custom_validate_invite’, 30, 3 );`Sorry for the late reply as I was on Holiday
I think the best route would be a new table in the DB
but i guess my question really is how do connect the form field (text) registration form as required and the db table to check if refferer code is valid.
Then i can write a JS that says If user referral code equals A then load JS A. else equals B Load JS B . . etc.
Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapearsMichael,
cancel the above message. . .
This is a great plug-in.
i purchased the pro version.
and guess what . . . works likes a charm. good job.i may bother later you just for fun.
Thanks
George
Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapearsHey Michael,
I had the source of the iFrame insert the correct the external.js load of the script so that it loads in the head of their document.
i still get the same result.
when i try it from not my IP address i get
“to enable the eternal workaround you need to enable UsepostMessage for communication on the external workaround” tab
when i look. this is not enabled.
do i need the pro version for this to work?
i dont have a problem with buying it. but what if it doesn’t work?right now it loads the iFrame just doesnt go to 100% it defaults to “4”
within the console i can see the iframe loaded but is only visible when i adjust the height within the console debugger.
please help
p.s. the 550vH was set in the console to show entirety of the content being loaded in the iFrame. it does the same with 8000px. obviously 550vH is not what im looking for.
Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapearshow can i set it to be 550vH
in the plug-in settings i have it set to 800px.
but when the internal page loads.
it sets it to 4.Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapearsHey Michael the iframe loads.
after you click on the link.
the search widget you see in front of you is the loaded iFrame from an external source. When perform a search the next page loads then disappears. when viewing the source. the inline css from “external workaround” sets height to 4.now, they may not have it public facing and addressed to my IP for testing.
this is the output
<iframe id=”advanced_iframe” name=”advanced_iframe” src=”https://qa1-resortblox.condodirect.com/web/cs?a=5″ border=”0″ allowtransparency=”true” style=”width: 100%; height: 4px; visibility: visible;” width=”100%” height=”4″ frameborder=”0″></iframe>
Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapearstalk to me brother. need your guidance on this
Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapearsand it returns a measure of 4px not 0
Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapearsI’m using Advanced iFrame v7.5.7.
i’m not 100% sure if the frame is using AJAX.
it is an older system so i’m going to say no it doesn’tThanks
G
Forum: Plugins
In reply to: [Advanced iFrame] iFrame loads then dissapears10 days . . . 0_o
that kills me
please help upon your return.
have a good vacation.thanks
~G