aladinDr
Forum Replies Created
-
Forum: Reviews
In reply to: [WordPress REST API (Version 2)] Only for Advanced developerssame question how use for intermediate developers :'(
Forum: Plugins
In reply to: [PHP Code Widget] Questionplease can you help me to make this code working , in first time it was working well , but then when i add the method of coockies for make user can just one time to click the button ..
<?php if(!isset($_COOKIE[$cookie_name])){ ?>
<html>
<body>
<form method=”get”>
<input type=”submit” name=”oui” value=”oui” id=”submit1″>
<input type=”submit” name=”non” value=”non” id=”submit2″>
</form>
</body>
</html>
?>}
<?php
$cookie_name = “user”;
$cookie_value = “user2”;
if(isset($_GET[‘oui’])) {
onFunc();
setcookie($cookie_name, $cookie_value, time() + (86400 * 30), “/”);
}
if(isset($_GET[‘non’])) {
offFunc();
}
function onFunc(){
global $current_user;
get_currentuserinfo();
if((user_can($current_user ,’7eme’))
{
// Remove role
$current_user->remove_role( ‘7eme’ );
// Add role
$current_user->add_role( ‘contributor’ );
echo “..votre niveau scolaire maintenant est 8ème année de base”;
}
}
function offFunc(){
echo “Bonne chance la deuxième fois”;
}?>
now the error displaying like this :
Parse error: syntax error, unexpected ‘{‘ in C:\xampp\htdocs\wptest\wp-content\plugins\php-code-widget\execphp.php(27) : eval()’d code on line 25Hello it’s resolved after restarting apache and mysql , thank you evryone
Okay thank you , we used pmpro 1.8.1 and didnt update , is any of your update fix some thing in the crone file ?
without need to tell me pmpro is the best ever membership , thank you for help me ??
okay , i separate our list to many files csv , each file now have 800 members will be import , so with that should work , please if you know is something should be add to wordpress for improve the time of execution
thank youI know that setting , loocking when user login , i want to show message in the home page like popup or something else , inform him that he should pay for get access ot our content
it’s resolved after we update pmrpo and woocommerce pmro addon thanks
Looking forward to your help
Forum: Plugins
In reply to: [CKEditor for WordPress] Adding external plugins for CKeditor in WPit’s working thanks
Forum: Plugins
In reply to: [CKEditor for WordPress] Adding external plugins for CKeditor in WPHello i follow this link for make mathjax working , but it’s not working yet , can you help me please , i copy you plugin into ckeditor/plugin mathjax equation and i added this instruction : config.extraPlugins = ‘eqneditor’;
in file config but not working , ! maybe i did some wrong can you help me please …!Forum: Plugins
In reply to: [CKEditor for WordPress] Question about mathjexHello i still wait your response please !
Forum: Plugins
In reply to: [BuddyPress for LearnDash] Wish to resolve this soonI think you missunderstand me , i asked you about the link of the course activities shows empty page , not the link of lesson or topics that the activities give a link for them
look please again to screenpic : https://prnt.sc/dmnibx , https://prnt.sc/dmnryhwish you understand me more , and sorry for any upset
Forum: Plugins
In reply to: [BuddyPress for LearnDash] Wish to resolve this soonwait to your response thaaanks
Forum: Plugins
In reply to: [Interactive Content – H5P] Library Always Empty?Same issues library is empty , also when i tried to upload .h5p file message shows that our version of php not support ziparchive