Jump to content
Prevail Web Management

All Activity

This stream auto-updates     

  1. Earlier
  2. Michael

    Centering Google Adsense Ad Banners

    A lot of use been looking for a way to center Google Adsense banners on your Invision Power Board websites. I found a easy way to center Google Adsense ad banners. This is not the best way but it does work and keeps all the code HTML5 and CCS3. Add this below code to your custom css. .adsbygoogle { margin: 0 auto; } Now some others on Invision Power Board suggested I change the line in the Google Adsense code. Look for in the Google Adsense code... style="display:block" Now replace it with... style="display:block;margin: 0 auto;" This way there is no CSS blocking the loading of your Google Adsense.
  3. This is a very good daemon to install for PHP scripts. Memcache is a program that caches the PHP script in memory so that each and every call for your PHP script don' have to be compiled each and every time. Memcached can be installed on cPanel servers but it's not exactly an easy task. You'll need to have SSH access to your server to install Memcached on your server. https://forums.cpanel.net/threads/installing-memcache-and-memcached-with-easyapache4.566261/ PHP 7.2 PECL Module Source: https://memcached.org/ mkdir /root/memcached-php72-pecl cd /root/memcached-php72-pecl /opt/cpanel/ea-php72/root/usr/bin/pecl download memcached tar -xvf memcached* cd memcached* /opt/cpanel/ea-php72/root/usr/bin/phpize ./configure --with-php-config=/opt/cpanel/ea-php72/root/usr/bin/php-config make && make install echo 'extension=memcached.so' >> /opt/cpanel/ea-php72/root/etc/php.d/memcached.ini mkdir /root/memcache-php72-pecl cd /root/memcache-php72-pecl wget https://github.com/websupport-sk/pecl-memcache/archive/NON_BLOCKING_IO_php7.zip unzip NON_BLOCKING_IO_php7.zip cd pecl-memcache-NON_BLOCKING_IO_php7 /opt/cpanel/ea-php72/root/usr/bin/phpize && ./configure --enable-memcache --with-php-config=/opt/cpanel/ea-php72/root/usr/bin/php-config && make cp modules/memcache.so /opt/cpanel/ea-php72/root/usr/lib64/php/modules/ echo 'extension=memcache.so' >/opt/cpanel/ea-php72/root/etc/php.d/memcache.ini IGBinary Module Source Files: https://github.com/igbinary/igbinary7 wget https://pecl.php.net/get/igbinary-1.2.1.tgz tar -vxzf igbinary-1.2.1.tgz cd igbinary-1.2.1 /opt/cpanel/ea-php56/root/usr/bin/phpize ./configure --with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config make && make install echo 'extension=igbinary.so' >> /opt/cpanel/ea-php56/root/etc/php.d/igbinary.ini Make sure to check for updated versions of Memcached and IGBinary modules before installing. There is another issue where Memcached will create false alarms of a suspicious process running under user. I've don't have exactly a good answer to this issue. https://forums.cpanel.net/threads/memcached-suspicious-process-running-under-user.624547/
  4. This is a simple script that list out the process on your server and how much memory is being use. Private + Shared = RAM used Program 4.0 KiB + 12.5 KiB = 16.5 KiB collectdmon 4.0 KiB + 17.5 KiB = 21.5 KiB acpid 0.0 KiB + 64.5 KiB = 64.5 KiB udevd (3) 36.0 KiB + 32.0 KiB = 68.0 KiB atd 4.0 KiB + 109.5 KiB = 113.5 KiB abrtd 24.0 KiB + 99.0 KiB = 123.0 KiB mingetty (6) 52.0 KiB + 93.5 KiB = 145.5 KiB pure-authd 124.0 KiB + 29.5 KiB = 153.5 KiB dbus-daemon 116.0 KiB + 47.0 KiB = 163.0 KiB anvil 132.0 KiB + 32.0 KiB = 164.0 KiB irqbalance 96.0 KiB + 101.0 KiB = 197.0 KiB pure-ftpd 4.0 KiB + 230.5 KiB = 234.5 KiB mysqld_safe 204.0 KiB + 48.0 KiB = 252.0 KiB log 208.0 KiB + 57.5 KiB = 265.5 KiB dovecot 80.0 KiB + 222.5 KiB = 302.5 KiB abrt-dump-oops 212.0 KiB + 96.0 KiB = 308.0 KiB ssl-params 360.0 KiB + 42.0 KiB = 402.0 KiB init 380.0 KiB + 55.5 KiB = 435.5 KiB ntpd 448.0 KiB + 30.5 KiB = 478.5 KiB crond 264.0 KiB + 245.5 KiB = 509.5 KiB exim 528.0 KiB + 115.5 KiB = 643.5 KiB cpanellogd - sl 688.0 KiB + 76.5 KiB = 764.5 KiB collectd 704.0 KiB + 81.5 KiB = 785.5 KiB nscd 740.0 KiB + 118.5 KiB = 858.5 KiB dnsadmin - dorm 840.0 KiB + 119.5 KiB = 959.5 KiB cpdavd - accept 768.0 KiB + 250.0 KiB = 1.0 MiB bash 1.0 MiB + 53.5 KiB = 1.1 MiB config 1.3 MiB + 327.5 KiB = 1.6 MiB sftp-server (2) 1.4 MiB + 492.0 KiB = 1.9 MiB pop3-login (2) 1.4 MiB + 493.0 KiB = 1.9 MiB imap-login (2) 1.9 MiB + 168.0 KiB = 2.1 MiB cPhulkd - proce 1.3 MiB + 827.0 KiB = 2.1 MiB auth (2) 2.3 MiB + 345.5 KiB = 2.6 MiB lmtp 3.2 MiB + 147.5 KiB = 3.3 MiB queueprocd - wa 4.3 MiB + 44.0 KiB = 4.4 MiB rsyslogd 3.1 MiB + 1.5 MiB = 4.6 MiB sshd (4) 4.8 MiB + 118.5 KiB = 4.9 MiB cpanel_php_fpm 6.3 MiB + 171.5 KiB = 6.5 MiB munin-node 9.3 MiB + 190.0 KiB = 9.5 MiB leechprotect 9.9 MiB + 86.0 KiB = 10.0 MiB named 15.6 MiB + 169.0 KiB = 15.8 MiB tailwatchd 20.3 MiB + 487.0 KiB = 20.7 MiB cpsrvd (SSL) - 27.3 MiB + 186.5 KiB = 27.5 MiB lfd - sleeping 16.2 MiB + 38.7 MiB = 54.9 MiB spamd child 16.0 MiB + 39.1 MiB = 55.1 MiB spamd 57.4 MiB + 13.2 MiB = 70.7 MiB httpd (6) 101.6 MiB + 7.1 MiB = 108.7 MiB php-fpm (7) 234.7 MiB + 49.5 KiB = 234.8 MiB memcached 530.3 MiB + 122.0 KiB = 530.4 MiB clamd 583.1 MiB + 277.0 KiB = 583.3 MiB mysqld --------------------------------- 1.7 GiB ================================= So in my same run above I can say there is 6 httpd process running at a cost of 70.7 MB of memory. Now do a bit of simple math 70.7 / 6 = 11.78 MB per each httpd process running. This is a handy tool for allocating memory for different processes. Like for Apache you can set up the maximum amount of workers but figuring out how much one process is using then dividing by the amount of RAM / memory you want to provide to that server. ps_mem.py
  5. Michael


    Here is a little Perl script that I found that is very helpful for setting up the MySQL server and getting diagnostic information of the MySQL server. This is a Perl Script so make sure you have Perl installed on your server. mysqltuner.pl Authors Web Site: https://github.com/major/MySQLTuner-perl >> MySQLTuner 1.7.7 - Major Hayden <major@mhtx.net> >> Bug reports, feature requests, and downloads at http://mysqltuner.com/ >> Run with '--help' for additional options and output filtering [--] Skipped version check for MySQLTuner script [OK] Currently running supported MySQL version 5.6.38 [OK] Operating on 64-bit architecture -------- Storage Engine Statistics ----------------------------------------------------------------- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA [--] Data in MyISAM tables: 186M (Tables: 277) [--] Data in InnoDB tables: 479M (Tables: 326) [OK] Total fragmented tables: 0 -------- Security Recommendations ------------------------------------------------------------------ [OK] There are no anonymous accounts for any database users [OK] All database users have passwords assigned [!!] There is no basic password file list! -------- CVE Security Recommendations -------------------------------------------------------------- [--] Skipped due to --cvefile option undefined -------- Performance Metrics ----------------------------------------------------------------------- [--] Up for: 4d 23h 54m 25s (11M q [27.105 qps], 413K conn, TX: 155G, RX: 5G) [--] Reads / Writes: 91% / 9% [--] Binary logging is disabled [--] Physical Memory : 3.7G [--] Max MySQL memory : 1.6G [--] Other process memory: 1.2G [--] Total buffers: 1.1G global + 1.0M per thread (500 max threads) [--] P_S Max memory usage: 0B [--] Galera GCache Max memory usage: 0B [OK] Maximum reached memory usage: 1.1G (30.07% of installed RAM) [OK] Maximum possible memory usage: 1.6G (41.88% of installed RAM) [OK] Overall possible memory usage with other process is compatible with memory available [OK] Slow queries: 0% (73/11M) [OK] Highest usage of available connections: 9% (48/500) [OK] Aborted connections: 0.01% (42/413801) [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines. [OK] Sorts requiring temporary tables: 0% (308 temp sorts / 2M sorts) [!!] Joins performed without indexes: 60142 [OK] Temporary tables created on disk: 18% (58K on disk / 322K total) [OK] Thread cache hit rate: 99% (48 created / 413K connections) [OK] Table cache hit rate: 99% (1K open / 1K opened) [OK] Open file limit used: 1% (863/65K) [OK] Table locks acquired immediately: 99% (16M immediate / 16M locks) -------- Performance schema ------------------------------------------------------------------------ [--] Performance schema is disabled. [--] Memory used by P_S: 0B [--] Sys schema isn't installed. -------- ThreadPool Metrics ------------------------------------------------------------------------ [--] ThreadPool stat is disabled. -------- MyISAM Metrics ---------------------------------------------------------------------------- [!!] Key buffer used: 77.9% (26M used / 33M cache) [OK] Key buffer size / total MyISAM indexes: 32.0M/75.0M [OK] Read Key buffer hit rate: 99.9% (17M cached / 18K reads) [!!] Write Key buffer hit rate: 54.7% (1M cached / 979K writes) -------- InnoDB Metrics ---------------------------------------------------------------------------- [--] InnoDB is enabled. [--] InnoDB Thread Concurrency: 0 [OK] InnoDB File per table is activated [OK] InnoDB buffer pool / data size: 1.0G/479.9M [OK] Ratio InnoDB log file size / InnoDB Buffer pool size: 128.0M * 2/1.0G should be equal 25% [OK] InnoDB buffer pool instances: 1 [--] InnoDB Buffer Pool Chunk Size not used or defined in your version [OK] InnoDB Read buffer efficiency: 100.00% (1138614913 hits/ 1138640180 total) [!!] InnoDB Write Log efficiency: 77.15% (2809966 hits/ 3642262 total) [OK] InnoDB log waits: 0.00% (0 waits / 832296 writes) -------- AriaDB Metrics ---------------------------------------------------------------------------- [--] AriaDB is disabled. -------- TokuDB Metrics ---------------------------------------------------------------------------- [--] TokuDB is disabled. -------- XtraDB Metrics ---------------------------------------------------------------------------- [--] XtraDB is disabled. -------- RocksDB Metrics --------------------------------------------------------------------------- [--] RocksDB is disabled. -------- Spider Metrics ---------------------------------------------------------------------------- [--] Spider is disabled. -------- Connect Metrics --------------------------------------------------------------------------- [--] Connect is disabled. -------- Galera Metrics ---------------------------------------------------------------------------- [--] Galera is disabled. -------- Replication Metrics ----------------------------------------------------------------------- [--] Galera Synchronous replication: NO [--] No replication slave(s) for this server. [--] This is a standalone server.
  6. Michael

    Installing and using atop

    atop Installing Installing on Ubuntu/Debian sudo apt-get install atop Installing on CentOS / Redhat yum install atop
  7. Michael

    Installing and using htop

    htop Installing Installing on Ubuntu/Debian sudo apt-get install htop Installing on CentOS / Redhat yum install htop Description Htop is a free (GPL) ncurses-based process viewer for Linux. It is similar to top, but allows you to scroll vertically and horizon‐ tally, so you can see all the processes running on the system, along with their full command lines, as well as viewing them as a process tree, selecting multiple processes and acting on them all at once. Tasks related to processes (killing, renicing) can be done without entering their PIDs. INTERACTIVE COMMANDS The following commands are supported while in htop: Arrows, PgUP, PgDn, Home, End Scroll the process list. Space Tag or untag a process. Commands that can operate on multiple processes, like "kill", will then apply over the list of tagged processes, instead of the currently highlighted one. U Untag all processes (remove all tags added with the Space key). s Trace process system calls: if strace(1) is installed, pressing this key will attach it to the currently selected process, presenting a live update of system calls issued by the process. l Display open files for a process: if lsof(1) is installed, pressing this key will display the list of file descriptors opened by the process. F1, h, ? Go to the help screen F2, S Go to the setup screen, where you can configure the meters dis‐ played at the top of the screen, set various display options, choose among color schemes, and select which columns are dis‐ played, in which order. F3, / Incrementally search the command lines of all the displayed pro‐ cesses. The currently selected (highlighted) command will update as you type. While in search mode, pressing F3 will cycle through matching occurrences. F4, \ Incremental process filtering: type in part of a process command line and only processes whose names match will be shown. To cancel filtering, enter the Filter option again and press Esc. F5, t Tree view: organize processes by parenthood, and layout the rela‐ tions between them as a tree. Toggling the key will switch between tree and your previously selected sort view. Selecting a sort view will exit tree view. F6 On sorted view, select a field for sorting, also accessible through < and >. The current sort field is indicated by a high‐ light in the header. On tree view, expand or collapse the current subtree. A "+" indicator in the tree node indicates that it is collapsed. F7, ] Increase the selected process's priority (subtract from 'nice' value). This can only be done by the superuser. F8, [ Decrease the selected process's priority (add to 'nice' value) F9, k "Kill" process: sends a signal which is selected in a menu, to one or a group of processes. If processes were tagged, sends the sig‐ nal to all tagged processes. If none is tagged, sends to the cur‐ rently selected process. F10, q Quit I Invert the sort order: if sort order is increasing, switch to decreasing, and vice-versa. +, - When in tree view mode, expand or collapse subtree. When a subtree is collapsed a "+" sign shows to the left of the process name. a (on multiprocessor machines) Set CPU affinity: mark which CPUs a process is allowed to use. u Show only processes owned by a specified user. M Sort by memory usage (top compatibility key). P Sort by processor usage (top compatibility key). T Sort by time (top compatibility key). F "Follow" process: if the sort order causes the currently selected process to move in the list, make the selection bar follow it. This is useful for monitoring a process: this way, you can keep a process always visible on screen. When a movement key is used, "follow" loses effect. K Hide kernel threads: prevent the threads belonging the kernel to be displayed in the process list. (This is a toggle key.) H Hide user threads: on systems that represent them differently than ordinary processes (such as recent NPTL-based systems), this can hide threads from userspace processes in the process list. (This is a toggle key.) p Show full paths to running programs, where applicable. (This is a toggle key.) Ctrl-L Refresh: redraw screen and recalculate values. Numbers PID search: type in process ID and the selection highlight will be moved to it.
  8. Tractor Farm and Family support web site for farmers and rancher families. http://forum.tractorfarmandfamily.com Message Forum Only
  9. Rip Rook


    Smarty Resource - Support web site for Smarty Tuners for Dodge Cummins Trucks https://smartyresource.net Message Forum, Content Management System and Online Store Location: Portland, Oregon Status: Under Construction / Modification
  10. Idaho Diesel Truck Community http://idahoturbodiesels.com Message Forum Only
  11. Mopar1973Man


    National Dodge Cummins web site. https://mopar1973man.com Message Forum, Content Management System, and Online Store
  12. Michael

    Free SSL Certificate

    There are solutions to getting SSL certificates for free. SSL For Free is pretty straightforward site. SSL For Free will provide you an SSL certificate for 90 days. Yes, it comes at a price of re-installing SSL certificates every 90 days. Installing a cPanel hosting is fairly easy as well. One you've verified your domain of your site using SSL For Free files, FTP, or DNS then you'll be provided a chance to use your own CSR string or not. After the certificate is created you just need to copy and paste the data into the 3 boxes on your hosting. https://www.sslforfree.com/
  13. Michael

    Web Site Backups

    Linux is a very powerful OS system. If you the user are on a Linux PC as well as working with a Linux Web Server there is a very easy solution for web backups. This easy solution if BASH script running program called "rsync". Rsync is a powerful backup / synchroniser program. This can work between local Linux PC and Linux server. #!/bin/bash rsync -rtpogxvcsz --progress --delete --log-file=/var/log/backup.log -e ssh {username}@{domain name}:{path to web site} {path on local machine} Now there is a few things you need to set up. First you need to check with your hosting to see if SSH is possible. Like on iPage Shared Hosting this is not an option. GoDaddy.com does supply SSH ability. Check and see if SSH is available for your hosting. Now we need a local PC with Linux capable of login into the SSH on your server without using username or passwords. SSH keys provide a more secure way of logging into a server with SSH than using a password alone. Generating a key pair provides you with two long string of characters: a public and a private key. You can place the public key on any server, and then unlock it by connecting to it with a client that already has the private key. When the two match up, the system unlocks without the need for a password.
  14. Michael

    Google Keywords

    Does Google use keyword meta tag? In a simple answer is No. So filling in the keyword meta tag isn't going to gain you anything for Google.
  15. Michael

    Google Description Maximum Characters

    Meta descriptions can be up to 160 characters long. Meta descriptions should be written in a way to promote users to click on your content to read more or purchase products. Be aware as of September 2009 Google no longer uses meta descriptions in it ranking. This being said it up to you to write a 160 character description that will promote users to want to click and see more content of that page. There are a few things to remember for meta descriptions... Don't use double quotation marks. Search engines will cut off any content after the first quotation mark. Sometimes it's OK not to write a description. If the page requires many keywords to be found it might be best to let the search engine scrap the page on it own and create its own meta description. Sometimes search engine will not use your meta description. If the search engine doesn't think the description is fitting it will scrap it own description together for the page. My point to the fact you need to redo you own description of the page.
  16. Michael

    Google Title Maximum Characters

    Optimal Title Length Optimal Title Length should be kept to below 60 characters. This is actually based on a 600-pixel container that Google uses for displaying the title. So if your title has wide characters like W's you'll use up a lot of space quickly. <title>Google Title Maximum Characters</title> Page titles are important because several things use that information. Search engines, browsers, and social media. Don't over do your keywords and stuff a title with reoccurring keywords. Best to use each keyword once in a natural phrase or title. Try and place you most important keyword near the beginning of the title if possible. Why won't Google use my Title? There are a few reasons like over stuff title with reoccurring keywords, the title doesn't match the content. If this is occurring then you might want to rewrite your title using proper keywords and focus the title on the content. Good way to look at the title keywords is use a keyword counter and see what words are strong in the page. If keywords you want are not strong you might want to rebuild your page using the keywords you desire. So running the keyword tool on my own page you see that Google, title are both strong.
  17. Michael

    Add a login to your admin folder

    All PHP script programs have an administrator page. To make the admin folder rock solid and prevent someone from accessing from a non-standard point you can lock the admin folder and force all users to have to log in into the folder as well as the software. This can typically be done on hosting control panel. Typically all hosting providers have some form of folder locking. Use a username that would be universal for all the staff and not to use your personal username. Now the password you need to read my article about passwords. So now if anyone attempts to use any file or folder below this point the user will be forced to log in to access even the folder or file. From a PHP aspect, this prevents hackers from attempting to find a file without login and accessing the software. My example above is a fictitious folder, username, and password.
  18. Michael


    Everything internet wise has log in's and passwords. Today's cyber crimes has not let up at all and continue to get stronger. The days of simple passwords are over. First off for any site administrator they should have a very secure password and should be in excess of 16 characters. Personally myself I use 32 to 64 character passwords for a purpose. Being that most hackers are going for a brute force idea typically use a dictionary tactic. So the software brute forces the password using common words from a dictionary file. How do we keep the security up on your site or your accounts? Pretty darn simple. The reason for the long passwords is most common words are under 16 characters typically. But the longest english word is 45 characters long. Here is an another program that will give you an idea of the strength of your password. Cracking Password Time - https://www.grc.com/haystack.htm This site will grade your current password. Password Strength - http://www.passwordmeter.com/ Keepassx - https://www.keepassx.org/ This simple little program is a password database that encrypts all your passwords in a database. The software will create as long of a password as you want and use the characters you select. I highly suggest using all the characters you can including special symbols. This below is a good example of a secure password for a login on a web site. Are you mobile device user? There is a solution on the Android side that allows you to use your Keepassx database directly. Keepassdroid - https://play.google.com/store/apps/details?id=com.android.keepass&hl=en Now you can copy your encrypted database of passwords to your mobile device and still be able to use all your long passwords. The this Android app will work directly with Keepassx files without any conversion required. NEVER - Give out your passwords to anyone. Always have that person create their own account. If you do have to give out your password for service tech or to Prevail Web Management I highly suggest you change password soon after as a security precaution. NEVER - Reuse the same password again in any other web site or login. Reusing any password is a bad idea and huge security risk being that if a hacker figures out your password in one site they can follow you from site to site and reuse you found password to gain access to banking, social media, etc. ALWAYS - Use long 32 to 64 character passwords on your hosting accounts and root access to the server. Suggested for anything that involves privacy or money handling (banking). ALWAYS - Use different passwords for every login. This makes it impossible for hacker to follow you and gain access to other sites.
  19. Michael

    Linking to a new page

    Linking to a new page Now you need to head over to the AdminCP and under the System (gear icon) you need "Menu Manager". Now we are going to link our "My Page" on the navbar for other members to access. You are going to hit the "Add Item" button. The new tab is created. Now you going to select "Page" up top. Page - Select your HTML page you want to display. For my example I selected mypage.htm. Title - Do you want to use the page title or do you want to give a short name. This you have to be careful with. Long page titles will pull the menu apart and display weird. So typically I would use "I will enter a different short 1 or 2 words name. This is not exactly an SEO problem being the page title will still be shown. Just the shorter link name is to keep the layout from breaking. Permission - This is selectable. You can use the default permissions given to the page or you can customize the link to only be displayed to particular people. Be careful if you use the custom method it can end up hiding the link from others or displaying to the wrong people so be sure to test it out and be sure it displayed to the correct groups. So when you finished click "Save Menu Item" button. Your new link is created. Now you may click and drag that new link anywhere in the tree. Once you've placed your link where you want to you can hit the "Publish This Menu" button and it will save your menu and the links. Then it will be published to the live site. You may return and edit this as much as you wish.
  20. Michael

    Placing single HTML page

    Placing single HTML page To place your new HTML file on a page you new to do a few things. Go to your AdminCP and select the Page Icon (double page icon) then pages in the next panel. Now click on "Magic Wand Icon" or Open Page Builder. Now you should see the page builder screen. The left hand panel has all the modules or widgets you can place on the screen as a drag and drop function. Being we are creating a static HTML page we will open the page by clicking on the "Pages". Then we are going to click and drag the module WYSIWYG Editor to the center box. Now you should have the WYSIWYG Editor in the center block. This is the main body block of the site. Top block is the header and the bottom block is the footer. The right hand block is the side bar block. Any of the modules can be clicked and dragged into any module. They are stackable as well. You may use as many of the modules as you wish and stack as many as you wish in each frame. The little round "X" icon in the corner will remove any module you wish. Beware any page content will be destroyed permanently. Dynamic modules don't have anything to say but your WYSIWYG editor will be deleted and all contents deleted as well. Be careful. Now you would click the "Edit" button. This should pop-up a new window with the WYSIWYG editor and now you can type your content for the HTML page. Now for my example, this with be just a "This is my first web page." As for adding pictures. This is a drag and drop function to the box below your text box. The file automatically uploads to the site and give an option to add it to your page. Suggestion... Do not link to other web sites or use Photobucket type accounts. This gives you little control over the files a user may change or delete a photo and end up with a missing photo or change photo that is not desired. Any file can be uploaded typically and added to the page. Files uploaded to the site can be reused several times without uploading again just click the grey "Insert other media" button and you'll see the previous files you uploaded. Advanced Users: If the permission for HTML coding is turned on for your group there should be a "Source" button on the editor. You can type raw HTML code at this point. Then switch back to see what it looks like. Be sure to not use any HTML4 coding this may cause issues and layout problems. This software is designed with HTML5 and CSS3 in mind so using out of date coding might create security or layout issues in the future. W3 Schools is really good about pointing out if the code is HTML5 compliant or not. HTML5 Reference - https://www.w3schools.com/html/html5_intro.asp CSS3 Reference - https://www.w3schools.com/css/css3_intro.asp Once you are done with editing your page hit "Save" button. You should be looking at the frame again. Then in the lower left corner is "Finished Editing" button which will drop you out of the Page Builder and be looking at you newly created page. To return to the "Page Builder" there is a gray tab with an arrow to the right. This will re-open the page builder to allow to edit your page again as seen in the picture below.
  21. Michael

    Creating a single HTML file

    Creating a single page You need to go to the AdminCP, pages icon (double page icon), then select Pages. Now you'll need to click the "Add Page" button on the upper right. The next popup screen it will ask if you want "Page Builder" or "Manual HTML". For most people that I work with 99% of them should be using the Page Builder option. This will let you do everything as a drag and drop layout. Manual HTML I highly suggest you bone up on your HTML5 coding. HTML4 coding will cause site problems and security issues if your coding is poor or you attempt to use HTML4 code. Now we get to layout the information about the page. Page Name - This you have to put on your SEO hat. This will be the "Page Title" that Google will be seeing. So make sure that the page title is using good keyword relevant to the page you're creating. You can always change this later if need be. Page Filename - This will be the filename stored virtually on your site. This is just a simple filename but the requirement is that the extension has to be htm or html. For example: mypage.htm or mypage.html is valid. Page Folder - If you have a folder created for your files then you can select it. If you are just creating a few pages then no folder is required. If you're going to have a lot of pages you might want to organize into folders. Theme - Typically you will just use a default theme unless you want a special theme for a page color and style wise. Then you would select the theme to use it here for this page. Template - One column, Two column, or three column pages can be produced. This will create a template for you to drag your modules onto creating your page. Typically most people will use a single column. When you're done make sure to hit the "Save" button at the bottom. Title & Meta Tags. This is where you need your SEO hat on. Make sure all information provided here is actually in your page content. If you looking for keywords you can use a keyword counter and pull the strongest keywords from your page. Make sure your title includes your strongest keywords as well. You might find out you need to edit your page content to bring the keywords count up you need. Page Title - Google typically displays the first 50-60 characters of a title tag. Keywords - Google and other search engines no longer consider the keywords meta tag, but they are smart enough to figure out what keywords and phrases have been used in the pages content, title and meta description. Disregard the keywords meta tag altogether and focus on your titles, descriptions, and on page content. Meta Description - Meta descriptions can be any length, but search engines generally truncate snippets longer than 160 characters. It is best to keep meta descriptions long enough that they're sufficiently descriptive but shorter than that 160-character limit. Menu Tab. You may produce a menu tab at this point. Typically I don't suggest this because you have limited ability editing the menu here. It's best to do it with the menu manager and getting the layout right the first time. I'm not saying this is wrong just not as easy from here. Please visit my other article about Linking to a new page and it explained better. So you may skip this tab. Now set your permissions for your new page. Any groups that are check marked will be able to see your page. In my example, I'm going to display mypage.htm to everyone including non-registered members. After you hit "Save" your page is created.
  1. Load more activity