Reputation Activity
-
sash_oo7 reacted to fisicx in Best Practices to design About us page?It's simple: you just write about you and your brand. Couple of paragraphs and a picture of the team and it's job done.
-
sash_oo7 reacted to fisicx in Help identifying this Photoshop effect / plugin?!Wasn't difficult to find:
https://creativecloud.adobe.com/discover/article/transform-photos-into-watercolors-with-a-free-photoshop-action
And there are loads of online converters you can test.
-
It's rare because it doesn't work.
For a website to work on all devices in all configurations you can't fix the position of everything.
-
sash_oo7 reacted to rbrtsmith in Error using Joi valuidation with node expressYou are also better off testing servers using a tool like Insomnia or postman rather than a HTML file then you can narrow down where your problem is.
Going off the Joi docs `validate()` isn't a function that's directly attached to the module. You need to create a schema and then validate against that see the first example here https://joi.dev/api/?v=17.4.0
const schema = Joi.object({ username: Joi.string() .alphanum() .min(3) .max(30) .required(), }) schema.validate({ username: 'abc' }); // -> { value: { username: 'abc' } } schema.validate({}); // -> { value: {}, error: '"username" is required' } I personally prefer using Zod for validation https://www.npmjs.com/package/zod
-
sash_oo7 reacted to Jack in Error using Joi valuidation with node expressMake sure the version of Joi is the same as the one used in the tutorial.
-
sash_oo7 reacted to Jack in localhost:3000 shows nothingYou haven't provided a hostname. If you look at the HTTP examples on the Node site you'll spot the error.
https://nodejs.org/en/docs/guides/getting-started-guide
I probably wouldn't stick with using the HTTP module for too long. Something like https://expressjs.com gives you more out of the box with a nicer API.
-
sash_oo7 reacted to fisicx in I m looking for help!Don’t use wix
-
sash_oo7 got a reaction from jdoepro in Whats the best way to check large css file for parts breaking up the css?w3c css validator
https://jigsaw.w3.org/css-validator/
you can paste your css directly or can paste css link there and fix the errors one by one that show up there
-
sash_oo7 reacted to fisicx in Help With Footer PleaseDivi is worse than elementor.
If you want to learn Wordpress (as you were advised on the other forum), don’t use a page builder.
Learn how to use blocks. Use the 2020 theme as your base.
If you want to customise your footer set up a child theme.
-
You have two search elements called .js-search-trigger (an icon on desktop and an icon on mobile), document.querySelector only targets the first element. If you want to target multiple elements use document.querySelectorAll instead https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll.
-
You normally import any files from a subdirectory into your main Sass file and watch the main file, then any changes in your other files will automatically cause the main file to update.
https://sass-lang.com/documentation/at-rules/use
Since you have installed Sass globally you can change into whichever directory your main file is served from before running the Sass command.
cd programming/sass/scss sass main.scss --watch More on using CD and LS here - http://linuxcommand.org/lc3_lts0020.php
Just a quick note on your directory naming too, I would stick to either a sass or scss directory but not both, since they essentially are the same thing.
-
sash_oo7 reacted to Jack in Why wordpress cf7 plugin textarea 100% doesn't work?Just to be aware, your stylesheet will never cache if you add a timestamp like that and it's beneficial for performance to fetch from the cache instead of having to make a new request. What you probably want is for the file to be updated based on the modified date.
https://www.php.net/manual/en/function.filemtime.php
-
sash_oo7 reacted to Jack in Why wordpress cf7 plugin textarea 100% doesn't work?It's not CF7, the CSS just needs to be amended and the cols should be ignored.
.wpcf7-form-control-wrap { display: block; }
-
sash_oo7 reacted to Jack in Why wordpress cf7 plugin textarea 100% doesn't work?It should do, you're wrapping the form elements in a span which needs to be display block if you want it to work like that.
-
If one is causing the other to error they must be sharing something like a database. You definitely need to check the cause because sharing a DB will cause a significant amounts of errors and downtime, even if it doesn't happen initially.
-
sash_oo7 reacted to BrowserBugs in Forum signup form shows blank on submitThere's a few validation points I would suggest.
PHP filter_var() - There's a host of validation options including FILTER_SANITIZE_STRING and FILTER_VALIDATE_EMAIL.
Username - You might need to check if it's already in use? You could run a SELECT COUNT to see if the username is already in the db?
-
sash_oo7 reacted to Jack in Forum signup form shows blank on submitI appreciate you're putting the work in and doing tutorials, but to be honest the code they're giving you isn't a good standard. You run the risk of learning bad habits and non industry standards, both of those have the potential to set you back even further. If you want to write PHP you would be better off practising the language fundamentals and using something like https://laracasts.com/skills/php which is basically the go to place for learning modern PHP and the Laravel framework.
-
sash_oo7 reacted to BrowserBugs in Forum signup form shows blank on submitHey mate, quite a few worrying bits but possibly at a glance you're using mysql_real_escape_string on the insert when the connection is mysqli. Mysql was depreciated in PHP5, removed in PHP7, so what PHP version are you running?
-
sash_oo7 reacted to rbrtsmith in Jquery font size changer not working on wampI'd use a button for this, anchors should only really be used if they are going to update the URL in someway. You might also want to store the users preference in a cookie or localStorage so it persists across subsequent visits and while navigating your website.
-
sash_oo7 reacted to fisicx in is there login for c panel ?Cpanel is how you manage your hosting service. The login for this will provided by your host.
You will also have a login to the site where you registered the domain name. This may not be the same business as your hosting.
You login in to your wordpress dashboard using the admin email you set up. This is independant of your registrar and cpanel.
They all have different roles and purposes. You could in theory have the same login credentials for each but that wouldn't be very secure.
-
sash_oo7 got a reaction from fisicx in is there login for c panel ?1)wordpress.com is a free blog plat form where you can create wordpress website with a subdomain..no need to buy any domain name.It has admin login and password
2)if you have a domain name and have bought a hosting from a hosting provider..you can download wordpress from wordpress.org and install wordpress there.. and can start your own wordpress site with own domain name.Wordpress comes with seperate admin with username password that you set up at the time of installing wordpress on the hosting server
3)cpanel is the admin area with username/password which the hosting provider provides you.You can install different content managment system like wordpress ,joomla,modx there
i hope you can make out the difference between these 3
-
sash_oo7 reacted to fisicx in tables at 100% going crazy!Don't use table for layouts.
However...
What's the website?
-
sash_oo7 reacted to Jack in Registration works but somehow login not workingIt could be a number of things, but at a glance you seem to be inserting data into a table called "users2" and doing the user lookup on a table called "users".
-
sash_oo7 reacted to fisicx in CSS not working anymoreIt’s because it’s a local cache and depends on your browser settings.
You will often find the same with JS files.
Refreshing your browser is standard practice for developers.
-
sash_oo7 got a reaction from fisicx in How to create a link/button in dreamweaver?yes install wamp server
https://www.youtube.com/watch?v=MsMaiHqkKkQ
start it properly
then put your html and php files in correct folder..then check if the hyperlinks work or not