Тёмный
CogniVis AI
CogniVis AI
CogniVis AI
Подписаться
Hi 👋 We’re David & Michael, long-time friends, AI enthusiasts, and founders of MDBootstrap, a globally recognized UI Kit startup that's been empowering developers for over 9 years.

After years of success in IT consulting and digital design, we’ve expanded our passion for coding into the exciting world of artificial intelligence. On this channel, we simplify AI through tutorials designed for developers and curious beginners alike.

Join us as we explore the future of AI and share insights to help you leverage its power in your own projects.

Stay curious, keep learning, and continue innovating!

PS: join our FB group for a community of like-minded nerds
facebook.com/groups/682245759188413/
AI vs. Developers | The Daily Coder #5
3:41
10 месяцев назад
Комментарии
@HarshSharma-vm3nm
@HarshSharma-vm3nm 12 дней назад
Google collab URL is not working
@Mdbootstrap
@Mdbootstrap 9 дней назад
Now it should be working: colab.research.google.com/drive/1NUEzilW72sW3kRPYDCSvOzGmpM-2om2x?usp=sharing
@jonchun2080
@jonchun2080 13 дней назад
Link to Colab is broken
@Mdbootstrap
@Mdbootstrap 9 дней назад
Now it should be working: colab.research.google.com/drive/1NUEzilW72sW3kRPYDCSvOzGmpM-2om2x?usp=sharing
@psyferinc.3573
@psyferinc.3573 15 дней назад
cookieeees
@talentedparty8027
@talentedparty8027 20 дней назад
"Can this be used in RU-vid CMS as well?"
@filipkapusta1296
@filipkapusta1296 21 день назад
Awesome tips! I hope more on AI is coming
@alvinruff
@alvinruff 21 день назад
Miss you guys been a long time
@ShariSoucie-l1q
@ShariSoucie-l1q Месяц назад
Jamel Alley
@jayakumarchilakalapudi
@jayakumarchilakalapudi Месяц назад
clear and concise video. Thank you so much brother!
@pakgeotravels
@pakgeotravels Месяц назад
I have an issue with the file .mdb
@gabrielsantos-nd5wb
@gabrielsantos-nd5wb Месяц назад
👏👏👏👏
@jairocapua2956
@jairocapua2956 Месяц назад
really great help! thanks!
@Mdbootstrap
@Mdbootstrap Месяц назад
Keep Coding :)
@shuvrodebroy2813
@shuvrodebroy2813 Месяц назад
In this tutorial I thought you will set image upload option for post. Hope you will give videos on it! Thanks
@AceOrS
@AceOrS 2 месяца назад
thanks sir.
@jalalbadshah1
@jalalbadshah1 2 месяца назад
Great work!
@Mdbootstrap
@Mdbootstrap 2 месяца назад
Happy to hear that, Keep Coding :)
@ismailufadal1549
@ismailufadal1549 2 месяца назад
Hi, Great tutorial. Where can I download full tutorial with all bits and pieces. I would like to practice. Thank you
@KaiBuskirk
@KaiBuskirk 2 месяца назад
Danke! Will try my best! (New Sub)!
@Mdbootstrap
@Mdbootstrap 2 месяца назад
Keep Coding :)
@punished-burnt-ash
@punished-burnt-ash 2 месяца назад
Wondering what's the dependencies for this project, most Saas hosting services won't let users the access to the server's terminal, so most of the modern packages are not useful if you don't directly hire from AWS. Is MySQL and PhP enough to follow along? Also nevertheless thanks a lot for the series. It's weird that there's not much CMS tutorials.
@Mdbootstrap
@Mdbootstrap 2 месяца назад
Hi! Sorry for the delay - we had a very very busy week. IF you're still interested in the dependencies I can ask the author (Social Media dude here :) ) Also: It is very weird - the lack of CMS tutorials. Maybe because there are quite many out-of-the-box (though not very customizable sadly) solutions. Warm regards & Keep Coding :)
@basiccomponents
@basiccomponents 2 месяца назад
Thank you!
@matelu75
@matelu75 2 месяца назад
thank you very much, awesome tutorial, awesome channel, keep it up guys!!!
@Mdbootstrap
@Mdbootstrap 2 месяца назад
Thank you for your kind words :) Keep Coding!
@dhrubavideos
@dhrubavideos 3 месяца назад
perfect timewaste
@vishvark244
@vishvark244 3 месяца назад
can you tutorial the desktop layout in this video please
@theweirdcubinguy
@theweirdcubinguy 3 месяца назад
I just searched up my name and found this lol
@Mdbootstrap
@Mdbootstrap 3 месяца назад
So now you have to learn emmet to be Emmett with emmet skills ;)
@matioz9125
@matioz9125 4 месяца назад
Ok
@srfahim23
@srfahim23 4 месяца назад
got well 🎉🎉
@Mdbootstrap
@Mdbootstrap 4 месяца назад
Keep Coding :)
@claudiotorres9138
@claudiotorres9138 4 месяца назад
man i need help with MDBAngular, is there any community? documentation is vague
@Mdbootstrap
@Mdbootstrap 4 месяца назад
Hello, Thank you for reaching out. For every question of technical nature, in order to get the most detailed answer as soon as possible I have to redirect you to our support platform. You can ask your question here: mdbootstrap.com/support/cat/angular Keep Coding :)
@ClaudioRowe
@ClaudioRowe 4 месяца назад
do the classes count to MDBAngular too? I'm back hahah. I'm implementing it, i passed to another stuff on the same page, but i finally ended coming back to do what i was doing, i succesfully made it appear, and i want to fully use the capabilities of MDB. How can i wrap the modal so i make it pointy and not rounded? I use the class rounded-0 for some cards but them won't work on this. Looked in the API doc and it says this: // Variables for modal free // .modal --#{$prefix}modal-border-width: #{$modal-content-border-width}; --#{$prefix}modal-border-radius: #{$modal-content-border-radius}; What does it mean by --#{$prefix} ?
@alirezar7920
@alirezar7920 4 месяца назад
1)which grid system is better and easier bootstrap or css:grid? 2) can we use bootstrap only for the grid system and the rest of the website styling to be done by vanila css?
@Mdbootstrap
@Mdbootstrap 4 месяца назад
1) Bootstrap is easier, but CSS has some easier modern features like grid-template-areas, auto-placement, and fractional units. 2) Yes, you can absolutely use Bootstrap solely for its grid system and handle the rest of the styling with vanilla CSS. This approach allows you to take advantage of the simplicity and responsiveness of Bootstrap's grid while maintaining complete control over the design and styling with your custom CSS. Here’s how you can do it: Include Bootstrap CSS: Add the Bootstrap CSS file to your project, either by linking to the CDN or downloading it. Use Bootstrap Grid Classes: Utilize Bootstrap’s grid classes in your HTML to define the layout. Custom Styling with Vanilla CSS: Create a separate CSS file for your custom styles and include it after Bootstrap’s CSS. This way, your styles can override any Bootstrap styles if necessary. Write Your CSS: In your custom CSS file, you can write any styles you need for your project. Keep Coding :)
@alirezar7920
@alirezar7920 4 месяца назад
@@Mdbootstrap thanks for the response🙏
@Mdbootstrap
@Mdbootstrap 4 месяца назад
@@alirezar7920 No problem, happy to help :)
4 месяца назад
Now that there is a powerful and easy NATIVE grid system in CSS it's really totally unnecessary to use a rather limited layer on top of that. You are missing a lot of the functionality that makes CSS grid great, like named grid areas, overlapping cells and all that stuff. There is a lot more possible with the native tools that can be replicated with some utility classes. And you will never learn how to use e.g. CSS variables to write reusable and easy to adapt But the biggest unavoidable problem with all these extra systems (and tailwind et al.) is that they will be obsolete eventually, because everyone is using this other [hot new thing]™ now, that you then have to learn. I got burned a number of times and decided to ditch all these css libraries and grid systems in favor of the native grid. And it's really great! I use only my own CSS, no third party stuff that brings it's own quirks to work around.
@HOUSIENable
@HOUSIENable 4 месяца назад
Thank you ..
@Mdbootstrap
@Mdbootstrap 4 месяца назад
Happy to help :) Keep Coding!
@UserThird-le3cj
@UserThird-le3cj 4 месяца назад
js file for footer not working, there are 4 files in js
@basiccomponents
@basiccomponents 2 месяца назад
I have the same issue, I see mdb.es.min.js mdb.es.min.js.map mdb.umd.min.js mdb.umd.min.js.map
@chefernandez563
@chefernandez563 2 месяца назад
did u find a solution?
@basiccomponents
@basiccomponents 2 месяца назад
@@chefernandez563 no unfortunately, and I don't have anough skills to find it myself, I hope someone creates an updated version of this video soon
@chefernandez563
@chefernandez563 2 месяца назад
@basiccomponents it solved for me but I have no idea what I did it just worked at some point
@jeannineklein8157
@jeannineklein8157 4 месяца назад
Great tips Thanks!
@Mdbootstrap
@Mdbootstrap 4 месяца назад
Happy to help :) Keep Coding!
@lancewilliamcatal6870
@lancewilliamcatal6870 4 месяца назад
When your app does not work HAHAHA "We want to..." 27:38
@ajaykryadav
@ajaykryadav 4 месяца назад
this is too good. thanks
@Mdbootstrap
@Mdbootstrap 4 месяца назад
Happy to help. Keep Coding :)
@silvanusowolabi9910
@silvanusowolabi9910 4 месяца назад
how do you populate the data with real data
@Mdbootstrap
@Mdbootstrap 4 месяца назад
Hi! Identify the Data Source: Determine where your data is coming from, such as Google Analytics, Search Console, or a local database. You'll often require APIs or database connections. Fetch Data Programmatically: Use programming languages (JavaScript or backend languages like Python) to query the data source. For example, in JavaScript, you might use fetch to call an API or a backend service: For an API: fetch('api.example.com/data').then(response => response.json()).then(data => ... For a backend service, connect it to your local or cloud database. Parse the Data: Ensure the data is in a usable format (JSON is popular). Parse the data to extract relevant fields. Update Your Chart/Component: Replace the static placeholder data in your components (charts, maps, tables) with the fetched data. Example in a chart: chartInstance.data = { labels: data.labels, datasets: data.datasets }; chartInstance.update(); For tables: dynamically generate rows from the parsed data. Data Binding: Ensure data binding in your framework (e.g., React, Vue.js, or Angular) dynamically updates the DOM. Integrate Real-Time Data (Optional): If your data changes frequently, consider WebSockets or scheduled polling to keep your dashboard updated. Secure the Data Fetching: If sensitive data is involved, implement authentication or secure API keys. Use backend services when necessary to manage data fetching securely. Keep Coding :)
@amahleinnocent
@amahleinnocent 5 месяцев назад
Thank you for this tutorial. Now I have an idea on how to create simple games
@Mdbootstrap
@Mdbootstrap 5 месяцев назад
A great to spend time, rainy day or not :) Keep Coding!
@LryuzakiLN
@LryuzakiLN 5 месяцев назад
Says <style/> doesn't work and codes entire thing with using it😢
@Mdbootstrap
@Mdbootstrap 5 месяцев назад
When creating HTML emails, the <style> tag is indeed used for including CSS styles within the email's HTML code. However, some email clients have limited support for CSS, especially in the <style> tag. To ensure compatibility across different email clients, it's common practice to use inline CSS styles instead of relying solely on <style> tags. Did you use inline like this: <p style="color: red;">This is a red paragraph.</p> I hope it helps. Keep Coding :)
@Shmevin
@Shmevin 5 месяцев назад
wow thank you for getting straight to the point.
@Mdbootstrap
@Mdbootstrap 5 месяцев назад
Happy to help :) Keep Coding!
@CurtisGrant
@CurtisGrant 5 месяцев назад
Do you have an updated version that works with googles latest changes?
@Mdbootstrap
@Mdbootstrap 5 месяцев назад
Hi Curtis, how are you doing? Unfortunately we did not have time yet for an updated version. There's a lot going on at the moments with launching Data Den and changes to MDBootstrap and TW Elements. It's all hands on deck in these projects. Will have it in mind though :) Keep Coding :)
@venvilph6799
@venvilph6799 5 месяцев назад
Thanks, but what if I want to add an image on a post, how can I do it?
@Mdbootstrap
@Mdbootstrap 5 месяцев назад
I hope this help. I am not sure which part is a problem on your side, so here is a longer and more detail explanation: Update the Database: Add a column in your posts table to store image file names. You can do this with the SQL command: ALTER TABLE posts ADD COLUMN image VARCHAR(255) NULL;. Modify the CMS Form: Include an image upload field in your post form. Make sure your form tag includes enctype="multipart/form-data" for handling file uploads. Here's a snippet: html <form action="post_add.php" method="post" enctype="multipart/form-data"> <!-- Existing fields --> <label for="postImage">Post Image:</label> <input type="file" id="postImage" name="postImage"> <button type="submit">Submit</button> </form> Handle Image Upload in PHP: In your script for adding or editing posts (e.g., post_add.php), add logic to handle the uploaded file. Check if the file is set, validate it, and move it to your desired directory. Here's a basic approach: php if (isset($_FILES['postImage']) && $_FILES['postImage']['error'] == 0) { $allowed = ['jpg', 'jpeg', 'png', 'gif']; // Allowed file types $fileName = $_FILES['postImage']['name']; $fileTmp = $_FILES['postImage']['tmp_name']; $fileExt = strtolower(end(explode('.', $fileName))); $uploadPath = 'uploads/' . basename($fileName); if (in_array($fileExt, $allowed)) { if (!file_exists('uploads')) { mkdir('uploads', 0777, true); } if (move_uploaded_file($fileTmp, $uploadPath)) { // Image uploaded, now save $uploadPath with your post in the database } else { // Handle upload error } } else { // Handle invalid file extension } } Display the Image: When showing the post, include the image using the path stored in the database. For example: php if (!empty($post['image'])) { echo '<img src="' . htmlspecialchars($post['image']) . '" alt="Post Image">'; } Remember to handle security carefully, especially validating uploaded files to prevent security issues. Hope that helps! Keep Coding :)
@dinukachamod9038
@dinukachamod9038 5 месяцев назад
best ❤
@Mdbootstrap
@Mdbootstrap 5 месяцев назад
Happy to hear that! Thank You! Keep Coding :)
@KirstyMarks
@KirstyMarks 6 месяцев назад
This no longer works with GA 4 and outdated code. Should be updated.
@JacquiStrom
@JacquiStrom 6 месяцев назад
I would love to see how you would connect this CMS to a website, thereby creating/enabling a blog page with the ability for the website owner to add new content.
@user-rp8jf8kn8b
@user-rp8jf8kn8b 6 месяцев назад
thank you so much
@YC-yk4pc
@YC-yk4pc 6 месяцев назад
it's really hlepful. thank you so much
@TheLightningRick
@TheLightningRick 6 месяцев назад
I keep getting this error message Error Login failed: Unauthorized
@tedspens
@tedspens 6 месяцев назад
Everybody wants to learn Node.js and the respective JavaScript frameworks like React and NextJS and Svelte... and they're still trying to figure out how to connect to the database. Andy why? Because it might make their website a tiny bit faster. Meanwhile, PHP novices are able to crank out perfectly functional websites that attract visitors and thus, sales or promos or popularity points or whatever is their ultimate goal. If all you want is a simple website with content and basic interaction, PHP and MySQL fit the bill perfectly. Thanks for putting together this series. i look forward to leaning more and becoming more proficient in good ol', dependable, PHP.
@TheLightningRick
@TheLightningRick 6 месяцев назад
I think can all agree that with building this that we all just want to die(); 🤣🤣
@Mdbootstrap
@Mdbootstrap 6 месяцев назад
😂😂😂
@TheLightningRick
@TheLightningRick 6 месяцев назад
@@Mdbootstrap I need some help the secure(); function isn't working properly I have it set like this. function secure() { if (!isset($_SESSION['id'])) { set_message('Please Login First to View this Page'); header('Location: /cms'); die(); } } but whenever I log in it doesn't allow me to reach the dashboard without sending me back to main screen with the message "Please Login First to View this Page" I do not know what to do because everything works perfectly when I do not add the secure(); function to dashboard.php and I always put the secure(); on the 6th line of the dashboard.php like this <?php include ('includes/config.php'); include ('includes/database.php'); include ('includes/functions.php'); secure(); include ('includes/header.php'); ?> just like that do you know what I may be doing wrong?
@TheLightningRick
@TheLightningRick 6 месяцев назад
@@Mdbootstrap nevermind I figured it out I changed function secure() { if (!isset($_SESSION['id'])) { set_message('Please Login First to View this Page'); header('Location: /cms'); die(); } } to this right here and it worked function secure() { if (!isset($_SESSION['email'])) { set_message('Please Login First to View this Page'); header('Location: /cms'); die(); } } now my page is secured I'm super happy
@Mdbootstrap
@Mdbootstrap 6 месяцев назад
@@TheLightningRick Session Start: Make sure you have called session_start(); at the beginning of your PHP script before any output is sent to the browser. This should be done in each PHP file where you intend to use or set session variables. If you haven't started the session, the $_SESSION['id'] will not be recognized across different pages. Your config.php, database.php, or functions.php might be a good place to include session_start();, ensuring it executes before anything else. Session Variables: Double-check the logic where you set $_SESSION['id']. Make sure this is happening as expected when a user logs in. You should ensure that this part of your code is being executed and that the $_SESSION['id'] is correctly set upon successful login. Cookies and Browser Issues: Sometimes session issues can be related to cookies not being set correctly in the browser. Ensure your browser accepts cookies, and try clearing your browser's cookies and cache. Also, try using a different browser or a private/incognito window to see if the problem persists. File Includes: Make sure that the order and presence of includes do not affect session management. Although it doesn't seem like the issue comes from here, it's always good to double-check that includes/config.php, includes/database.php, and includes/functions.php don't have output before session_start() or conflicting session management logic. Session Path or Configuration Issues: Check your PHP server settings and ensure that the session save path is writable and not causing issues. Sometimes session data can fail to save due to permission issues on the server. Debugging: You can add debugging information before the redirect to see what’s going on. For instance, you could add var_dump($_SESSION); die(); before the header('Location: /cms'); line in your secure() function. This will show you what's currently in the session and might help you identify why $_SESSION['id'] isn't set as expected. Path and Redirection: Ensure that the path you are redirecting to ('/cms') is correct and accessible. If there's a misconfiguration in your directory structure or .htaccess file, it might be causing unexpected behavior. In your dashboard.php, before calling secure(), there shouldn't be any problem but ensure that session_start(); is being called appropriately before this. If session_start(); is in one of your included files, make sure it's getting executed before secure();. If none of these steps resolve the issue, consider reviewing the login logic to ensure $_SESSION['id'] is being set correctly upon a successful login, and there are no other conditional redirects that might be interfering. Give us a message how it went, I hope it helps :)
@TheLightningRick
@TheLightningRick 6 месяцев назад
@@Mdbootstrap well I did $_SESSION[‘email’] and it worked perfectly with the secure function also I finished the series today and successfully built a fully functioning CMS so thank you so much your videos really helped me a ton