Allows any single person store owner to be-able to list and sell unlimited items of theirs from there own website without having to pay for listing fees or final sales fees. We’ve also made it very simple so that customers can purchase any item instantly without registering or signing up for an…
With today’s technology you can pretty much find a Website Script or Application for almost anything that exist But is using a Pre-built Script always the best way to go?
My personal opinion is that it’s best if only the programmer of the script knows the code. I personally like to build my own Website Scripts and Functions regardless of if it’s a small plugin or a full website. Whenever you tend to use a Script that millions of other people are using that gives lots of people time to play with find and create security threats within the code. I like building my own stuff because then no one else knows exactly how the code is processed within the script.
Just because i am weird and was curious I did a small test myself by installing and putting a few scripts out on the web for awhile to see what happens, I’ve installed a Wordpress Blog, a qlWebDS Web Directory Script and then i built my own Classified Website which had a fully featured admin panel and allowed users to register and list classified ads for free.
After putting the 3 websites out on the web and without updating the script versions within around 4 months my site using Wordpress was hacked. After about 9 Months the site using qlWebDS was very highly spammed but never got hacked. The Classified Script i build was on the web for 12 months and tended to not receive any spam or get hacked.
It seems that the majority of hackers and scammer’s usually move on if they realize there not familiar with what there looking at.
1st. Create a folder named /externalprinter/ and upload it to any Domain.
2nd. Paste the code below into a index.php file and Upload it to the folder above.
Code to Add on Your Domain:
<?php
ini_set('max_execution_time', '0');
ini_set('memory_limit', '512M');$title = "$_GET[title]";
$title = str_replace("\\", "","$title");
$title = str_replace(" "," ","$title”);
$title = str_replace(" "," ","$title”);
$title = trim("$title");
$description = "$_GET[main]";
$description = str_replace("\\", "","$description");
$description = str_replace(" "," ","$description");
$description = str_replace(" "," ","$description");
$description = trim("$description");
echo "<p>$title</p>";
echo "<p>$description</p>";
?>
3rd. Inside your Tumblr Theme you can Place the Code I provided below to anywhere you would like the print button to show up, it will only show on the actual listing page it’s self and not on any other pages.
Code to Add on Tumblr: Be sure to Change it to match your domain
{block:PostSummary}<a href="http://www.example.com/externalprinter/?title={title}&main={body}" rel="external nofollow" style='font-size:15px;'>Print</a>{/block:PostSummary}
↓
THAT’S IT, Your Finished
↓
Why did i think of and come up with this?
I looked all over and couldn’t find any options for Printing Tumblr Text Post with just a white background so others don’t need to print the background, graphics etc.
I though to myself this would be a pretty good feature if you want to print recipes or something like that, so i decided to come up a small alternative that could work.
Advanced Users and Additional Notes:
If your an advanced user you could also add Noindex Meta Tags to the Page and Or Block the index.php file via Robots.txt, I added the rel=’nofollow’ tag so that search engines won’t follow the printer button link since it keeps the HTML attached and wouldn’t be a good link to have indexed in search results.
This can be a great option for most since I have attempted to increase the max execution time and memory limit, Although If the blog post exceeds your Server Limit and your server doesn’t allow you to change permissions via a script you may have to increase your max execution time and memory limit via the php.ini file inside Apache.
One other thing to take into consideration is if you know how you can strip or replace other unwanted characters from the content once you Grab it using the PHP Get Function, like i said this option can work for most people but if your blog listings have a bunch of crazy and weird characters it may not always function as intended, it works best for basic text post like recipes etc…

