Sgracia
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryWarning: Invalid argument supplied for foreach() in /home/inrunews/public_html/wp-content/plugins/global-content-blocks/global-content-blocks.php(322) : eval()’d code on line 112
after the images i have this error
Good night and ty
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryoopss forget it it’s works i’m too tired xd
Ty very much for your time !!!
And is there a way to have easy the first image ?
or i break the foreach
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entrywhy this ? in the html source
<img class=”avisImages” src=”. get_entry_files( $entry) .”>Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryhttps://www.inrunews.com/wp-content/uploads/2015/08/d337652417f36840a81c18de34e0c779.jpghttps://www.inrunews.com/wp-content/uploads/2015/08/feb25f46dcbfd73ba6fec2cd9ce03f9d.jpghttps://www.inrunews.com/wp-content/uploads/2015/08/cc750e1627982919819a17938a72f4b2.jpghttps://www.inrunews.com/wp-content/uploads/2015/08/cce954a07c4f6851bde98a5a3e550749.jpg
Warning: Invalid argument supplied for foreach() in /home/inrunews/public_html/wp-content/plugins/global-content-blocks/global-content-blocks.php(322) : eval()’d code on line 112Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entrytest
View File #1 (.jpg), View File #2 (.jpg), View File #3 (.jpg), View File #4 (.jpg),they are pictures
array(47) { [“id”]=> string(2) “15” [“form_id”]=> string(1) “1” [“date_created”]=> string(19) “2015-08-28 21:22:21” [“is_starred”]=> int(0) [“is_read”]=> int(0) [“ip”]=> string(12) “90.15.234.72” [“source_url”]=> string(47) “https://www.inrunews.com/en/add-obituary-notice/” [“post_id”]=> NULL [“currency”]=> string(3) “CHF” [“payment_status”]=> string(4) “Paid” [“payment_date”]=> string(19) “2015-08-28 21:22:40” [“transaction_id”]=> string(17) “36T17855A99669710” [“payment_amount”]=> string(4) “1.00” [“payment_method”]=> string(6) “PayPal” [“is_fulfilled”]=> string(1) “1” [“created_by”]=> string(1) “1” [“transaction_type”]=> string(1) “1” [“user_agent”]=> string(110) “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36” [“status”]=> string(6) “active” [4]=> string(10) “2015-08-12” [“6.3”]=> string(4) “test” [“6.6”]=> string(4) “test” [11]=> string(5) “paris” [12]=> string(10) “2015-08-10” [13]=> string(5) “paris” [17]=> string(1) “1” [“18.1”]=> string(36) “Publish Obituary notice CHF 1 / day” [“18.2”]=> string(8) “CHF 1.00” [21]=> string(10) “2015-08-28” [22]=> string(10) “2015-08-28” [23]=> string(1) “1” [36]=> string(50) “a:4:{i:0;i:6181;i:1;i:6182;i:2;i:6183;i:3;i:6184;}” [“6.2”]=> string(0) “” [“6.4”]=> string(0) “” [“6.8”]=> string(0) “” [35]=> string(0) “” [29]=> string(0) “” [30]=> string(0) “” [33]=> string(0) “” [25]=> string(0) “” [24]=> string(0) “” [26]=> string(0) “” [34]=> string(0) “” [“18.3”]=> string(0) “” [31]=> string(0) “” [32]=> string(0) “” [28]=> string(0) “” }
test test (Age:-1)Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryarray(47) { [“id”]=> string(2) “14” [“form_id”]=> string(1) “1” [“date_created”]=> string(19) “2015-08-28 19:47:30” [“is_starred”]=> int(0) [“is_read”]=> int(1) [“ip”]=> string(12) “90.15.234.72” [“source_url”]=> string(47) “https://www.inrunews.com/en/add-obituary-notice/” [“post_id”]=> NULL [“currency”]=> string(3) “CHF” [“payment_status”]=> string(4) “Paid” [“payment_date”]=> string(19) “2015-08-28 19:47:51” [“transaction_id”]=> string(17) “28H01656FU8655025” [“payment_amount”]=> string(5) “65.00” [“payment_method”]=> string(6) “PayPal” [“is_fulfilled”]=> string(1) “1” [“created_by”]=> string(1) “1” [“transaction_type”]=> string(1) “1” [“user_agent”]=> string(110) “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36” [“status”]=> string(6) “active” [4]=> string(10) “2000-08-03” [“6.3”]=> string(7) “Camelle” [“6.6”]=> string(5) “Brian” [11]=> string(5) “Paris” [12]=> string(10) “2015-08-28” [13]=> string(5) “Paris” [17]=> string(2) “65” [“18.1”]=> string(36) “Publish Obituary notice CHF 1 / day” [“18.2”]=> string(8) “CHF 1.00” [21]=> string(10) “2015-08-27” [22]=> string(10) “2015-08-27” [23]=> string(2) “65” [24]=> string(150) “a:1:{i:0;a:5:{s:4:”Name”;s:6:”yanick”;s:4:”Link”;s:4:”fils”;s:8:”Location”;s:5:”Paris”;s:5:”Phone”;s:9:”063265987″;s:5:”Email”;s:13:”[email protected]”;}}” [25]=> string(116) “a:1:{i:0;a:3:{s:4:”Type”;s:11:”Cérémonie”;s:14:”Date and hours”;s:15:”21 oct 18 h 21h”;s:6:”Adress”;s:5:”paris”;}}” [26]=> string(60) “
bonjourvoici le texte
merci
” [“6.2”]=> string(0) “” [“6.4”]=> string(0) “” [“6.8”]=> string(0) “” [35]=> string(0) “” [36]=> string(0) “” [29]=> string(0) “” [30]=> string(0) “” [33]=> string(0) “” [34]=> string(0) “” [“18.3”]=> string(0) “” [31]=> string(0) “” [32]=> string(0) “” [28]=> string(0) “” }
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entrydon’t work ??
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryfunction calculateAge($dob, $date=null) {
$dob = strtotime($dob);
$date = $date ? strtotime($date) : time();
// Calculate the age
$age = date(‘Y’, $date)-date(‘Y’, $dob);// Correct age for leap year
return (date(‘md’, date(‘U’, $dob)) > date(‘md’, date(‘U’, $date)))
? $age-1 : $age;}
//Choix du formulaire
$form_id = 1;$search_criteria = array(
‘status’ => ‘active’,
‘field_filters’ => array(
‘mode’ => ‘any’,
array(
‘key’ => ‘payment_status’,
‘value’ => ‘Paid’
),
array(
‘key’ => ’22’,
‘operator’ => ‘<=’,
‘value’ => ‘NOW()’
),
array(
‘key’ => ’21’,
‘operator’ => ‘>=’,
‘value’ => ‘NOW()’
)
)
);$my_param = $_GET[‘urlparams’];
$perPage = 10;
$total_count= GFAPI::count_entries( $form_id, $search_criteria );// Nombre total de page
$nbPage = ceil($total_count/$perPage);if (isset($my_param) && $my_param>0 && $my_param <=$nbPage) {
$sPage = $my_param ;
}
else{
$sPage = 1;
}$sorting = array( ‘key’ => ‘date_created’, ‘direction’ => ‘DESC’ );
$paging = array( ‘offset’ => (($sPage-1)*$perPage) , ‘page_size’ => $perPage );
$entries = GFAPI::get_entries( $form_id, $search_criteria, $sorting, $paging, $total_count );
echo ‘<table style=”width: 100%; background-color: #2e2e2e;”><tbody>’;
foreach($entries as $entry) {
echo ‘<tr>’;
echo ‘<td colspan=”4″><span style=”color: #ffffff;”>’ . rgar( $entry,’6.3′) . ‘ ‘ . rgar( $entry,’6.6′) .’ (Age:’.calculateAge(rgar( $entry,’4′),rgar( $entry,’12’)).’)</span></td>’;
echo ‘</tr><tr>’;$file_id = maybe_unserialize( $entries[0][36]);
echo ‘<td style=”width: 150px; text-align: center; vertical-align: middle;” rowspan=”3″><img class=”avisImages” src=”‘.wp_get_attachment_url( $file_id).'” /></td>’;
echo ‘<td style=”width: 30%; text-align: right; background-color: #a6a6a6;”>?Place of Birth:</td>’ ;
echo ‘<td style=”width: 50%; background-color: #a6a6a6;” colspan=”2″>’ . rgar( $entry,’11’) . ‘ </td>’;
echo ‘</tr><tr>’;
echo ‘<td style=”width: 30%; text-align: right; background-color: #a6a6a6;”>?Place of Death:</td>’;
echo ‘<td style=”width: 50%; background-color: #a6a6a6;” colspan=”2″> ‘ . rgar( $entry,’13’) . ‘ ?</td>’;
echo ‘</tr><tr>’;
echo ‘<td style=”width: 30%; text-align: right; background-color: #a6a6a6;”>?Date of death:</td>’;
echo ‘<td style=”width: 50%; background-color: #a6a6a6;” colspan=”2″>’ . rgar( $entry,’12’) . ‘ ?</td></tr>’;
echo ‘<tr><td style=”height:2px; background-color:#ffffff;”><td colspan=”2″ style=”height:5px; background-color:#ffffff;”></td></tr>’;
}echo ‘</tbody></table>’;
if(!empty($my_param) AND intval($my_param)>0 AND intval($my_param)<=$nbPage ){$page=$my_param;}else{$sPage=1;}
if($sPage>1){
// echo “Première page “;
$precedent=$sPage-1;
echo “ << “;
}if($sPage<$nbPage){
$suivant=$sPage+1;
echo “ >> “;
// echo “Dernière page “;
}Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryI update the plugin
i did :
$entries = GFAPI::get_entries( $form_id, $search_criteria, $sorting, $paging, $total_count );
foreach($entries as $entry) {
$file_id = maybe_unserialize( $entries[0][36]);
<img class=”avisImages” src=”‘.wp_get_attachment_url( $file_id).'” />
}don’t work ??
maybe i don’t understand something
Sorry ??
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryyes
$entries = GFAPI::get_entries( $form_id, $search_criteria, $sorting, $paging, $total_count );Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Font end entryno it’s not for a post it’s for custom
my form :
https://www.inrunews.com/en/add-obituary-notice/where it’s display
https://www.inrunews.com/en/obituary-notice/Forum: Plugins
In reply to: [Homepage Pop-up] Shortcode?je l’ai fait en modifiant le php /views/popup.php
<div class=”modal-body”> ‘. do_shortcode(‘[wysija_form id=”2″]’) .’ </div>
Forum: Plugins
In reply to: [Namaste! LMS] Change bredcrumbi’m sorry but i don’t find where
in setting you can change the name of a slug urlExemple : if i change : Courses in Formations
in the breadcrumb i have always
MyWebsite > Courses
and not
MyWebsite > Formationscause the title of the page always “Courses”
Forum: Plugins
In reply to: [Educator] courses blank pageworks ^^ need just the link to the course
Forum: Plugins
In reply to: [Educator] courses blank pagei find the problem
i install a new wordpress website, courses works
I install Avada Themes 3.7 courses doesn’t work
Maybe conflict with words maybe ‘content’
this line is the problem
<?php get_template_part( ‘content’, get_post_format() ); ?>how can we fix this ? contentEductor or something like this ?