Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. Computers in an Office are usually behind the same router ip, so in that case: Go to the Admin Section of Google Analytics Select the Filters Tab Select New Filter Select ‘Create new Filter’ Name your filter, place the router IP address and save. In case of a dynamic router ip usually your ISP only changes the last two ip4 blocks so you can enter an ip range for them. If the computers are behind different routers or otherwise connected to the internet then: Simply edit the hosts file and bypass the DNS server. On Linux: Path to the hosts file => /etc/hosts Open a terminal window and type: sudo nano /etc/hosts (you can substitute any other text editor) enter your password On Windows: first go to file options and set: 1.show hidden folders and files 2.Unhide extensions for known file types 3.Unhide protected operating system files 4.In case the hosts file is owned by the system, in properties you have to open the security tab and edit owner ship to the computer user. Path to the hosts file: On windows => %systemroot%\system32\drivers\etc\ If windows was installed in it's default location then that would be: C:\Windows\System32\Drivers\Etc\Hosts Easiest way is to open with notepad. Example of how you could edit your hosts file: # My filters 127.0.0.1 www.google-analytics.com 127.0.0.1 google-analytics.com 127.0.0.1 ssl.google-analytics.com The hosts file has no file extension so When finished editing save as all files and put hosts between quotes: "hosts" Or save as hosts.txt go back to it's location and remove the .txt Don't forget to revert back the 4 windows settings above. Done. Another good use of the hosts file is to block unwanted video advertisements in your browser as they eat up your monthly surfing limit (usually 1 or 2 Gb) when you are mobile with an internet dongle and sim card. (or your montly data limit on your smartphone) For smartphones go here: (also usable for pc's) https://tools.google.com/dlpage/gaoptout or here https://adblockplus.org/en/android https://addons.mozilla.org/mk/android/addon/no-google-analytics/
  2. pwired

    Bunker as a Service

    : When the shit hits the fan Solar storms or emp attacks http://www.cyberbunker.com/web/index.php http://www.cyberbunker.com/web/gallery3.php Holland has one in the city Goes. http://www.computerworld.com/article/2606378/new-data-center-protects-against-solar-storms-and-nuclear-emps.html
  3. Philipp, imho you nailed it.
  4. Opinions are divided clearly. It looks that those who want to see processwire more beginners friendly also ask for templates. Maybe this would work if the client makes his own website but not if the client hires somebody to make the website for him. Maybe some basic templates with pre 3 or 4 column layout and basic top nav side bar would speed up things a little. For cheap budget I photoshop a layout and send it as pdf to the client.
  5. Always a pleasure to read your posts, never miss one of them.
  6. pwired

    Random thought

    I hope it will stay sparkling vividly forever.
  7. Believe it or not but this is the only php that you have to know (already discussed before) to make websites with processwire: 1. href="<?php echo $config->urls->templates?>styles/your_css_style.css" /> 2. src="<?php echo $config->urls->templates?>scripts/your_java_script.js"> 3. <?php echo $page->your_field; ?> 4. foreach echo "html and code"; All the rest is your own html and css to make it as beautiful or interesting as you want. So it's actually 4 php things a beginner has to know and there isn't much to learn here just follow a simple format, that is all. From there you can simply grow into php as far as your website really needs more php.
  8. Just another thread about the same topic https://processwire.com/talk/topic/7168-thoughts-after-2-years-of-marriage/#entry68929
  9. http://processthemes.com +1 Very nice design
  10. It is nothing new actually. I used modx evo for a couple of years and on the modx forum the same beginners/designers <=> coders song was played over and over again. Same song - different cms'es
  11. The only thing I am concerned about, is this repeated pressure on processwire to make it more user friendly for non coders. I really - really hope the pw core with it´s template/field/backend will stay untouched. The use of processwire is not based or focused on CMF at all. Processwire can be used as a cms / a cmf / and even as a cme, (thanks to the core) which is a content management engine (thanks to Joss). We should find a way to learn beginners to focus on how widely processwire can be used.
  12. The real problem here is that for some people processwire looks very unfamiliar to them in the beginning and never get out of that state of mind. A blind beginners spot so to speak not letting them see how easy processwire really is. It happened to me so I know what I am talking about. The only solution is to go through the tutorials and work them out, or experiment on your own e.g. find free picture slide shows out there and try to implement them in processwire, for one example. Thing is once you get out of that beginners state of mind blind spot, you can not understand why you haven't seen the concept of processwire in the beginning. Sounds familiar ? Happens with many other things in life, right ? If you have enough html/css skills you can already use processwire. With processwire you can directly use your html/css experience in any way you have learned it in the past. A blank slate and tons of options. But this is exactly why processwire is chosen over other cms'es !! Many other cms'es let you only grow with what is possible with a certain cms, limitation ! I tried many other cms'es before and all of them had a wall I was going to hit sooner or later. Talking about frustration. One cms had this right but something else not. All the cms'es I tried had something right and something wrong. There seemed to be no cms having only the goods of all the other cms'es. This is only a matter of time in the beginning. Setup a location (folder) and save there all your snippets of html, css, php, js, etc. that you find scattered in the forum and on the internet. Many people work with a snippet folder for re-usable html, css, php, js, etc. And the more you use them, the less you fall back on them because this is an automatic learning process. Let's see, how much php code does a beginner really need to know (already discussed before) to make websites with processwire: 1. href="<?php echo $config->urls->templates?>styles/your_css_style.css" /> 2. src="<?php echo $config->urls->templates?>scripts/your_java_script.js"> 3. <?php echo $page->your_field; ?> 4. foreach echo "html and code"; So it's actually 4 things a beginner has to know and there isn't much to learn here just follow a simple format, that is all. From there you can simply grow into php as far as your website really needs it.
  13. Sweet Jesus - nice new avatar and creative site front.
  14. Yes - thanks lostkobrakai for helping me out here. I attached the php script, maybe it will be usefull for somebody. It works fast and error free, even on restricted shared hosting. backup_mysql.php
  15. Thanks diogo but not fully follow, sorry. Do you mean import the two backups in the same database but with different table prefix ? Edit: I think I got it. Import and then export with the same used way and then compare.
  16. Thanks adrian - yes that will be a good idea to count and compare create table, insert into, etc. etc. I can make, lets say 10 different backups, see if everything is ok and then safely use the php backup script. It is part of learning my self php and part of using autoit to make my own automated scheduled backups.
  17. Hi I have found a php script that makes a backup of a mysql database. Simply upload or save the php script on the server, open an url to the php file and download the backup.sql. Gives me my own control to make database backups. So far so good. I made a second sql backup of the same database simply through the CPanel of the Hoster using phpmyadmin. Thing is when I open this second backup.sql file in wordpad and compare it with the first backup sql file made with the php script, it looks very different. Also both of the backups differ in size. Of course I could setup a test server and try both sql backups and see if the website works the same. My question is, is there another way to compare two sql backups to check if they have the same number of tables, create table, insert into, etc. ?
  18. Thanks NooseLadder, your link made me find at least the sourcecode (which is opensource) I know a guy who is a c++ and ios app coder. Maybe he can compile it into the app and if Apple has no surprisingly restrictions I can install it on an iPad.
  19. I could find Telegram for Android and Windows and downloaded respectively the apk and exe. But can not find a download for the app for an iPad. Don´t want to go through iTunes party or app store registration. Anyone knows a direct download location ?
  20. Remember that part in the matrix movie where Morpheus explained to Neo that the machine world has turned humans into batteries to power them ? That was science fiction then, but think about it, how far is our work, social life, who we are, where we are and what we do already powering "machine worlds" like google and apple ? Duck duck go is at least a project of the people, by the people and for the people.
  21. Learned some good api code today, saved in my snippet folder.
  22. pwired

    PW logo

    Do you mean the name logo processwire or the p logo with the circled wire around it ?
  23. Can not find Nico´s bundled blog https://processwire.com/talk/topic/899-bundleblog/#entry7621 download link seems to be dead and disappeared also on github.
  24. Yes brilliant indeed, I am applying this in Ryan´s blog profile.
×
×
  • Create New...