3289 comments found.
Hello for the Membership pro? When i create a new page / Article, how can i add images??
For now, you can add image using html view, there is no option from within editor to upload and insert images. I will add this feature in the next update
And how? I insertet the 
But it just shows the Alt not the image
You need to upload image to your server or remote server, and just enter full image tag. see here: https://www.w3schools.com/tags/tag_img.asp
hello how do i change the logo size & make it bigger?
edit style.css located in /view/front/css/ look for .logo
In installation wizard the field “Install Directory:” is disable. I have to install it on home directory only that I don’t want.
Why is this? How can I install it in a sub directory instead of root directory ?
I tried to change “site_dir” field in settings in db but it does not work. I tried editing it using chrome inspect it did not work too. I am seeing this complain in 5 years old comments; so this problem is ages old but still not solved yet. UNBELIEVABLE . Please contact me ASAP. Don’t waste time.
Dont worry about install directory field, its automatically configured during install. Just follow install wizard steps. I have replied to your email
Hi, installation wizard created a temporary password for admin; I forgot what was written during setup. Please let me know what temp pass you set for admin. by the way this is not a good way to set a temp pass.
reply pls
Email sent
Hello how do i change this image? https://ibb.co/HgS8tYV
Just replace header.jpg in view/front/inages
Greetings once again!
In testing the password reset function (for both a member and the admin), I am receiving the bracketed [PASSWORD] text, not the actual password character string.
I did edit your original html table format from within the email templates editor—while making sure to keep the bracketed values in tact, of course.
The [NAME] attribute comes through just fine, but the [PASSWORD] attribute is not rendering.
Here are two screenshot links that illustrate…
THE EMAIL MESSAGE: https://cmr-icons.s3.us-west-1.amazonaws.com/email-rendering.png THE TEMPLATE’S HTML CODE: https://cmr-icons.s3.us-west-1.amazonaws.com/html-rendering.pngCheers!
Thanks for pointing out. I will verify, and update if necessery
It looks like you are using an old password reset template. Please email me from my profile and I’ll provide updated templaets
On after i filled out the registration form it just keeps loading… And dont send any e-mail? What is your email so i can send you more details?
You can email me from my profile page, but you need to configure your SMTP settings in admin configuration page, thats the reason registration can not complete
Hello, does this script have an api, let me get user information and modify it through the api
No, it does not, but it could be easily developed
Hi there. I am planning to set up a video training with multiple pages. Each lesson is a video on it’s own page. Would this for for that purpose? Or can members get downloads only?
Cheers, Carl
Members can get download as well as protected page content
Thank you very much for the reply. I am buying now. Cheers.
Thanks, let me know if you have any other question.
Hi there!
I have just run into a snag, as it pertains to editing any of my users’ detail information:
From the admin panel Members > Edit
I am unable to change the member’s profile details (membership type, extended duration, status/role, user type, newsletter preference.)
Here is a quick screencast video that illustrates the issue:
https://drive.google.com/file/d/1Vpa5XevLzQS7Gzroub41TASCfl7Uw1xO/view?usp=sharingThank you kindly!
Yes, I can see, but Im not sure what the issue is, unless I can test it. Im not able to replicate the problem on the latest version. Please email me from my profile page with your admin url, and ftp access, and I’ll have a look
Thank you, gewa13! I went ahead and re-installed the entire program (owning to the likely fact that I made an error in the configuring process), and sure enough (upon a fresh start) I was able to properly edit a newly created user. *Hand-shake regards to your supportive efforts.. Cheers!
No problem. Let me know if you run into any other issues.
QUESTION:
How do I trigger $_sessions to Display without Calling: if (App::Auth()->is_User()): endif;
Here is my setup:
public/MMP/abcDirectory/variables.php
REMEMBER:
All works if I call if (App::Auth()->is_User()): endif; .
ISSUE: I need $_sessions to be Active & Display without using :if (App::Auth()->is_User()): endif; .
How do I do this?
ALSO,
Thank you so much for ALL YOU’RE DOING!
YOUR SUPPORT IS OUTSTANDING,
Over the past 9 plus years, I rate it among the BEST I HAVE EVER SEEN on Codecanyon!!! <strong10 STARS **I see why your sells are OFF THE CHARTS!!!
GREAT SCRIPT & SUPPORT… wow!
Anyway,
here is the public/MMP/abcDirectory/variables.php Source Code. – I hope this will help others.
<?php
define("_VALID_PHP", true);
define("_WOJO", true);
require_once("../init.php");
// // if (App::Auth()->is_User()): endif;
// // I Don't want to CALL ABOVE "App::Auth()->is_User()"
?>
<!-- NEXT -->
<?php if (!Membership::is_valid([2,3,4,5,6,7,8,9])) : ?>
<h1>Wait, Your Membership isn't valid.</h1>
<?php echo "Your Membership is (" . (!Membership::is_valid([3,4])) . ") <br /><br /><hr />";?>
<?php else: ?>
<h1>YES, You have a valid membership!</h1>
<?php echo "Your Membership is (" . $_SESSION['membership_id'] . ") <br /><br /><hr />";?>
<?php endif; ?>
<?php if (!App::Auth()->is_User()):?>
Sorry, no access, you must be logged in.. Sessions Gone!<br /><br />
<?php else:?>
Because you ARE LOGGED IN: Sessions are READY!<br /><br />
<?php endif;?>
<!-- Active Inactive Pending Banned -->
<?php $_SESSION['userid'] = Auth::$userdata->id; ?>
<?php echo $_SESSION['userid'] ?>
<!-- NEXT -->
<?php echo "<hr /><br />"; ?>
<?php // echo "AVATAR: " . App::Auth()->avatar . " <br />";?>
<?php $AVATAR = App::Auth()->avatar;?>
<?php echo "\$AVATAR = " . $AVATAR . " <br />";?>
<?php echo $_SESSION['avatar'] . "<br />";?>
<?php // echo "AVATAR PATH: " . UPLOADURL . "/avatars/ <br />";?>
<?php $AVATAR_PATH = UPLOADURL . "/avatars/ <br />";?>
<?php echo "\$AVATAR_PATH = " . $AVATAR_PATH . " <br />";?>
<?php // echo "AVATAR FULL PATH: " . UPLOADURL . "/avatars/" . App::Auth()->avatar ." <br />";?>
<?php $AVATAR_FULL_PATH = UPLOADURL . "/avatars/" . App::Auth()->avatar;?>
<?php echo "\$AVATAR_FULL_PATH = " . $AVATAR_FULL_PATH . " <br />";?>
<!-- NEXT -->
<?php echo "<hr /><br />"; ?>
<?php // echo "Membership: " . (!Membership::is_valid([3,4])) . " <br />";?>
<?php $Membership = (!Membership::is_valid([3,4]));?>
<?php echo "\$Membership = " . $Membership . " <br /><br />";?>
<!-- Staff Editor Member -->
<?php // echo "Membership_TYPE: " . App::Auth()->usertype . " <br />";?>
<?php echo $_SESSION['type'] . "<br />";?>
<?php $Membership_TYPE = App::Auth()->usertype;?>
<?php echo "\$Membership_TYPE = " . $Membership_TYPE . " <br /><br />";?>
<?php // echo "Membership_TYPE: " . App::Auth()->type . " <br />";?>
<?php echo $_SESSION['membership_id'] . "<br />";?>
<?php $Membership_ID = App::Auth()->membership_id;?>
<?php echo "\$Membership_ID = " . $Membership_ID . " <br /><br />";?>
<?php // echo "User Level: " . App::Auth()->userlevel . " <br />";?>
<?php echo $_SESSION['userlevel'] . "<br />";?>
<?php $USERLEVEL = App::Auth()->userlevel;?>
<?php echo "\$USERLEVEL = " . $USERLEVEL . " <br /><br />";?>
<?php // echo "ACTIVE: " . App::Auth()->active . " <br />";?>
<?php $ACTIVE = App::Auth()->active;?>
<?php echo "\$ACTIVE = " . $ACTIVE . " <br /><br />";?>
<?php // echo "LOGGED IN: " . App::Auth()->is_User . " <br />";?>
<?php $LOGGED_IN = App::Auth()->is_User();?>
<?php echo "\$LOGGED_IN = " . $LOGGED_IN . " <br /><br />";?>
<?php // echo "USER ID: " . App::Auth()->uid . " <br />";?>
<?php echo $_SESSION['userid'] . "<br />";?>
<?php $USERID = App::Auth()->uid;?>
<?php echo "\$USERID = " . $USERID . " <br /><br />";?>
<?php // echo "FISRT NAME: " . App::Auth()->fname . " <br />";?>
<?php echo $_SESSION['fname'] . "<br />";?>
<?php $fname = App::Auth()->fname;?>
<?php echo "\$fname = " . $fname . " <br /><br />";?>
<?php // echo "LAST NAME: " . App::Auth()->lname . " <br />";?>
<?php echo $_SESSION['lname'] . "<br />";?>
<?php $lname = App::Auth()->lname;?>
<?php echo "\$lname = " . $lname . " <br /><br />";?>
<?php // echo "USERNAME: " . App::Auth()->username . " <br />";?>
<?php echo $_SESSION['MMP_username'] . "<br />";?>
<?php $username = App::Auth()->username;?>
<?php echo "\$username = " . $username . " <br /><br />";?>
<?php // echo "NAME: " . App::Auth()->name . " <br />";?>
<?php echo $_SESSION['fname'] . ' ' . $_SESSION['lname'] . "<br />";?>
<?php $name = App::Auth()->name;?>
<?php echo "\$name = " . $name . " <br /><br />";?>
<?php // echo "EMAIL: " . App::Auth()->email . " <br />";?>
<?php echo $_SESSION['email'] . "<br />";?>
<?php $email = App::Auth()->email;?>
<?php echo "\$email = " . $email . " <br /><br />";?>
<?php echo "<b>Country HERE</b><br />"; ?>
<?php echo $_SESSION['country'] . "<br /><br />";?>
<?php echo "<b>Last Login HERE</b><br />"; ?>
<?php echo $_SESSION['lastlogin'] . "<br /><br />";?>
<?php echo "<b>Membership Expire HERE</b><br />"; ?>
<?php echo $_SESSION['mem_expire'] . "<br /><br />";?>
<?php echo "<b>Last ip HERE</b><br />"; ?>
<?php echo $_SESSION['lastip'] . "<br /><br />";?>
<?php echo "<b>ACL HERE</b><br />"; ?>
<?php echo $_SESSION['acl'] . "<br /><br />";?>
<!-- NEXT -->
<?php echo "<hr />";?>
<?php echo "Session::cookieExists: "; ?>
<?php echo Session::cookieExists("MMPF_THEME", "dark") ? "dark" : "light" . "<br />";?>
<?php echo "<hr />";?>
<!-- NEXT -->
<?php echo ""; ?>
<?php include(FRONTBASE . "/footer.tpl.php"); ?>
<script type="text/javascript">
$(document).ready(function() {
$.Login({
url: "<?php echo FRONTVIEW;?>",
surl: "<?php echo SITEURL;?>"
});
});
</script>
gewa13 Author – Can you help me?
Please Respond!
How can I get this to work?
<?php
define("_VALID_PHP", true);
define("_WOJO", true);
require_once("../init.php");
// // if (App::Auth()->is_User()): endif;
// // I Don't want to CALL ABOVE "App::Auth()->is_User()"
?>
App::Auth()->is_User() is used to verify if logged in user is userlevel. Not sure what exactly you asking here
The QUESTION:
How do I trigger $_sessions to Display without AGAIN Calling: if (App::Auth()->is_User()): endif; in this Script
It’s very clear – Source code above
I have replied to your email.
I tried to add a. separate login page with your instructions
//Custom Routes add here $router‐>get(’/login’, function () use ($tpl) { $tpl‐>template = ‘front/login.tpl.php’; $tpl‐>title = “Login Page”; });
however I am getting the error like this”Parse error: syntax error, unexpected token ”=” in /Users/umutozturk/Sites/member/index.php on line 166”
Appreciate if you can help
I tried to add a. separate login page with your instructions
//Custom Routes add here $router‐>get(’/login’, function () use ($tpl) { $tpl‐>template = ‘front/login.tpl.php’; $tpl‐>title = “Login Page”; });
however I am getting the error like this”Parse error: syntax error, unexpected token ”=” in /Users/umutozturk/Sites/member/index.php on line 166”
Appreciate if you can help
Send me your index.php file and I’ll have a look. Use goggle drive or dropbox to upload
Please email me from my profile page.
what framework you use?
Its my own MVC framework similar to codeigniter, just lot more simplified
$_SESSIONS Question
I created a PHP page that I placed in the SAME Directory as MMP. How do I get the $_SESSION to Display without the use of: if (App::Auth()->is_User()) : endif;?
SURE, This works but cause a Error in script:
define("_WOJO", false);
require_once("init.php");
if (App::Auth()->is_User()) : endif;
- How can I get Session to work without the use of: if (App::Auth()->is_User()) : endif;?
- Why is this Script making it SO HARD FOR SESSIONS?
- How do I correct this?
Thanks
You can just print $_SESSION variable, it has nothing to do with the script, just basic php.
SORRY, When I place it OUTSIDE the MMP Directory.
This is not working?
Please advise?
<?php
if (!defined("_WOJO")) {
die('Direct access to this location is not allowed.');
}
define("_VALID_PHP", true);
define("_WOJO", true);
require_once("../init.php");
?>
<?php if (!Membership::is_valid([2,3,4,5,6,7,8,9])) : ?>
<h1>Wait, Your Membership isn't valid.</h1>
<?php echo "Your Membership is (" . (!Membership::is_valid([3,4])) . ") <br /><br /><hr />";?>
<?php else: ?>
<h1>YES, You have a valid membership!</h1>
<?php echo "Your Membership is (" . $_SESSION['membership_id'] . ") <br /><br /><hr />";?>
<?php endif; ?>
<?php if (!App::Auth()->is_User()):?>
Sorry, no access, you must be logged in.. Sessions Gone!<br /><br />
<?php else:?>
Because you ARE LOGGED IN: Sessions are READY!<br /><br />
<?php endif;?>
|
<! |
<!- Active Inactive Pending Banned ->
<?php $_SESSION[‘userid’] = Auth::$userdata->id; ?>
<?php echo $_SESSION[‘userid’] ?>
<!- >
<?php echo “ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -
”; ?>
<?php // echo “AVATAR: ” . App::Auth()->avatar . ”
”;?>
<?php $AVATAR = App::Auth()->avatar;?>
<?php echo ”\$AVATAR = ” . $AVATAR . ”
”;?>
<?php echo $_SESSION[‘avatar’] . “
”;?>
<?php // echo “AVATAR PATH: ” . UPLOADURL . ”/avatars/
”;?>
<?php $AVATAR_PATH = UPLOADURL . ”/avatars/
”;?>
<?php echo ”\$AVATAR_PATH = ” . $AVATAR_PATH . ”
”;?>
<?php // echo “AVATAR FULL PATH: ” . UPLOADURL . ”/avatars/” . App::Auth()->avatar .”
”;?>
<?php $AVATAR_FULL_PATH = UPLOADURL . ”/avatars/” . App::Auth()->avatar;?>
<?php echo ”\$AVATAR_FULL_PATH = ” . $AVATAR_FULL_PATH . ”
”;?>
<!- >
<?php echo “ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -
”; ?>
<?php // echo “Membership: ” . (!Membership::is_valid([3,4])) . ”
”;?>
<?php $Membership = (!Membership::is_valid([3,4]));?>
<?php echo ”\$Membership = ” . $Membership . ”
”;?>
<!- Staff Editor Member ->
<?php // echo “Membership_TYPE: ” . App::Auth()->usertype . ”
”;?>
<?php echo $_SESSION[‘type’] . “
”;?>
<?php $Membership_TYPE = App::Auth()->usertype;?>
<?php echo ”\$Membership_TYPE = ” . $Membership_TYPE . ”
”;?>
<?php // echo “Membership_TYPE: ” . App::Auth()->type . ”
”;?>
<?php echo $_SESSION[‘membership_id’] . “
”;?>
<?php $Membership_ID = App::Auth()->membership_id;?>
<?php echo ”\$Membership_ID = ” . $Membership_ID . ”
”;?>
<?php // echo “User Level: ” . App::Auth()->userlevel . ”
”;?>
<?php echo $_SESSION[‘userlevel’] . “
”;?>
<?php $USERLEVEL = App::Auth()->userlevel;?>
<?php echo ”\$USERLEVEL = ” . $USERLEVEL . ”
”;?>
<?php // echo “ACTIVE: ” . App::Auth()->active . ”
”;?>
<?php $ACTIVE = App::Auth()->active;?>
<?php echo ”\$ACTIVE = ” . $ACTIVE . ”
”;?>
<?php // echo “LOGGED IN: ” . App::Auth()->is_User . ”
”;?>
<?php $LOGGED_IN = App::Auth()->is_User();?>
<?php echo ”\$LOGGED_IN = ” . $LOGGED_IN . ”
”;?>
<?php // echo “USER ID: ” . App::Auth()->uid . ”
”;?>
<?php echo $_SESSION[‘userid’] . “
”;?>
<?php $USERID = App::Auth()->uid;?>
<?php echo ”\$USERID = ” . $USERID . ”
”;?>
<?php // echo “FISRT NAME: ” . App::Auth()->fname . ”
”;?>
<?php echo $_SESSION[‘fname’] . “
”;?>
<?php $fname = App::Auth()->fname;?>
<?php echo ”\$fname = ” . $fname . ”
”;?>
<?php // echo “LAST NAME: ” . App::Auth()->lname . ”
”;?>
<?php echo $_SESSION[‘lname’] . “
”;?>
<?php $lname = App::Auth()->lname;?>
<?php echo ”\$lname = ” . $lname . ”
”;?>
<?php // echo “USERNAME: ” . App::Auth()->username . ”
”;?>
<?php echo $_SESSION[‘MMP_username’] . “
”;?>
<?php $username = App::Auth()->username;?>
<?php echo ”\$username = ” . $username . ”
”;?>
<?php // echo “NAME: ” . App::Auth()->name . ”
”;?>
<?php echo $_SESSION[‘fname’] . ’ ’ . $_SESSION[‘lname’] . “
”;?>
<?php $name = App::Auth()->name;?>
<?php echo ”\$name = ” . $name . ”
”;?>
<?php // echo “EMAIL: ” . App::Auth()->email . ”
”;?>
<?php echo $_SESSION[‘email’] . “
”;?>
<?php $email = App::Auth()->email;?>
<?php echo ”\$email = ” . $email . ”
”;?>
<?php echo “Country HERE
”; ?>
<?php echo $_SESSION[‘country’] . “
”;?>
<?php echo “Last Login HERE
”; ?>
<?php echo $_SESSION[‘lastlogin’] . “
”;?>
<?php echo “Membership Expire HERE
”; ?>
<?php echo $_SESSION[‘mem_expire’] . “
”;?>
<?php echo “Last ip HERE
”; ?>
<?php echo $_SESSION[‘lastip’] . “
”;?>
<?php echo “ACL HERE
”; ?>
<?php echo $_SESSION[‘acl’] . “
”;?>
<?php echo “\$_SESSION
”; ?>
<?php echo $_SESSION . “
”;?>
<?php // echo “\$date
”;?>
<?php // $data = $membership->getPaymentByUserId($_SESSION[‘id’])?>
<?php // echo $data[‘date’]. “
”;?>
<?php // echo $db->pre($user);?>
<?php echo “\$user->username
”; ?>
<?php echo $user->username . “
”; ?>
<!- >
<?php echo “ ”;?>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -
<?php echo “Session::cookieExists: ”; ?>
<?php echo Session::cookieExists(“MMPF_THEME”, “dark”) ? “dark” : “light” . “
”;?>
<?php echo “ ”;?>
<!- >
<?php echo ””; ?>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -
<?php include(FRONTBASE . ”/footer.tpl.php”); ?>
<script type=”text/javascript”> $(document).ready(function() { $.Login({ url: ”<?php echo FRONTVIEW;?>”, surl: ”<?php echo SITEURL;?>” }); }); </script>
Make sure that path to init.php file is correct. Also you have bunch of your own variables declared in that file, so you most likely have an error. Enable Debug console in /lib/config.ini.php and set DEBUG to true. Also make sure your php errors are enabled as well.
Hi gewa, I installed mmp older version on /m and the latest version by u on /md, Folder. However, both mmp is pointed to the same mysql.
Now the older version /m folder mmp can routed to /md by default.
Can I have two version of mmp on the same server ? But different folder.
Martinwo
You can but you need two different databases
i will try it out
Hi Gewa13, I have email u queries on a specific issue. Do let me know when you have time.
martinwo
Reply sent
The username is a random string from the system. I need the user to add their own username. Where can I find this to change it?
In a previous posting I read: “You can modify in /lib/Auth.class.php
look for function register()”.
That function isn’t found in that file.
sorry, function Registration() is located in /lib/front.class.php, line 113. You can remove ”$username = Utility::randomString();”, and add your own user validation and verification
I placed this in that same directory trying to read / get (call variables)
Variables Don’t Display…..
public_html/MMP <<<---- Where I installed MMP public_html/MMP/Page_Builder_page.php <<-- code below in same Dir.
QUESTION: Why can’t I (call variables)?
What am I missing, thanks
<?php
/**
* Chat Time
*
* @package Membership Manager Pro
* @author wojoscripts.com
* @copyright 2021
* @version Id: Chat Time.php, v4.0 2021-10-19 14:43:46 gewa Exp $
*/
define("_WOJO", true);
include('init.php');
$router = new Router();
$tpl = App::View(BASEPATH . 'view/');
$core = App::Core();
?>
<?php if (Membership::is_valid([2])): ?>
<h1>User has valid membership, you can display your protected content here</h1>.
<?php else: ?>
<h1>Hello, User membership is't not valid. Show your custom error message here</h1>
<?php endif; ?>
<?php echo App::Auth()->username; ?>
<?php // $usermail= getValue("email", "users", "id = " . (int)$user_id);?>
<?php echo $useremail ?>
<?php echo $membershipstatus; echo App::Auth()->fname; echo App::Auth()->uid; ?>
<?php // $db->pre($user);?>
<?php echo $this->data->fname;?>
<?php echo $this->data->lname;?>
<?php echo $this->data->email;?>
<img src="<?php echo UPLOADURL;?>/avatars/<?php echo (App::Auth()->avatar) ? App::Auth()->avatar : " blank.png="" />" alt="" class="avatar">
<?php echo App::Auth()->username;?>
<?php echo App::Auth()->name;?>
As long as you include “include(‘init.php’);” within any page you can use <?php echo App::Auth()->name;?>. You should also enable php errors and debug console in /lib/config.ini.php and set DEBUG to true. Few of the functions listed in your example dont exist within MMP
QUESTION:
I created a Membership but it’s not showing no button/link for payments, why?
How do I correct?
I want to also call variables, How should I call say, ID, USERNAME, EMAIL?
Thanks
See my reply above.