Integrating Google Recaptcha to Webid – Auction Script

Webid do not have built in support for new google Recaptcha . If use enable Recaptcha of webid your registration form may not work. To resolve this follow below steps.   Step 1 : Register for google Recaptcha https://www.google.com/recaptcha/admin Enter google username and Password   Once you register google will provide a site key , please make a note of it. Step 2 : Open the file themes/modern/global_header.tpl     .. If you are using different theme use concerned folder. Add This line exactly before the >/head> tag <script src=’https://www.google.com/recaptcha/api.js’></script> Step 3 : Open themes/modern/register.tpl   and replace below code   Replace below code block after replacing the site key <div class=”form-group col-lg-12″> <div class=”capchabox”>{CAPCHA}</div> </div> <!– CAPCHA CODE –> <div class=”form-group col-lg-12″> <div class=”g-recaptcha” data-sitekey=”SITE KEY HERE”></div> </div>     Now login to webid panel and disable captcha setting to now as below.   Now you open the home page in webid admin panel and click on clear cache as below Now open the registration page you will see the new Google recapcha version 2 as follows    

» Read more

Enable Right Click – Copy in protected web pages

Problem : Some websites use javascripts to block mouse right click so that you will not be able to copy text or images from the site. Solution: If you are using google chrome , add the extension called Allow Copy. Features of Allow Copy: Allow Copy will re-enable select, copy, paste and right click in any webpage using any copy protection. Just click on extension icon to enable it on any page!    

» Read more

WYSIWYG For Bootstrap ASP.Net MVC with Image Upload Feature

One of the common issue face is adding rich text editor with image upload option in bootstrap project which uses MVC , C# ASP.net I have spent a lot of time to customize TinyMCE editor, however I could not succeed completely. I have found summernote a very lite weight editor for Bootstrap. Step 1 : Create a default MVC ASP.NET project in Visual Studio 2013 Step 2 : Download summernote from http://summernote.org/ Step 3 : Copy the downloaded folder content to Scripts folder as shown Step 4 : Edit View –> Shared -> Layout.cshtml Move jquery bundle to top of the page Step 5: Create a Model , name as News.cs   using System.Web.Mvc; namespace WYSWYG.Models { public class News { public string Title { get; set; } [AllowHtml] public string Content { get; set; } } } Step6 Create a Controller NewsController.cs using System.Web.Mvc; using WYSWYG.Models; namespace WYSWYG.Controllers { public class NewsController : Controller { public ActionResult Index() { News newscontent = new News(); return View(); } [HttpPost] public ActionResult Index(News model) { return View(“NewsDisplay”, model); } } } Step 7 : Create a View and Name it as Index.cshtml under The View Folder News @model WYSWYG.Models.News @{ ViewBag.Title = […]

» Read more

XENSERVER – Free Open Source Virtualization Platform

XenServer is the leading open source virtualization platform, powered by the Xen Project hypervisor and the XAPI toolstack. It is used in the world’s largest clouds and enterprises. XENSERVER FEATURES XenServer is an enterprise-class, cloud-proven, virtualization platform that delivers all of the critical features needed for any server and datacenter virtualization implementation.  The following list summarizes some of the key capabilities of XenServer, and a complete technical FAQ can be found on the Citrix support web site. CORE PLATFORM XenServer is based on the Xen Project™ hypervisor.  The Xen Project hypervisor is a bare metal virtualization platform used by XenServer to deliver near native application performance for x86 workloads in an Intel and AMD environment. MANAGEMENT CAPABILITIES MULTI-SERVER MANAGEMENT XenCenter provides all the virtual machine management, monitoring and general administration, and general administration functions in a single interface. Administrators can easily manage hundreds of virtual machines from a centralized, highly available management console that installs on any Windows® desktop. The resilient distributed management architecture in XenServer distributes server management data across the servers in a resource pool to ensure that there is no single point of management failure. ROLE BASED ADMINISTRATION Role-based administration improves security and enables delegated access, control, and usage of XenServer […]

» Read more

Endian – Free Open Source Unified Threat Managemet (UTM) Solution for Home

Endian Firewall Community (EFW) is a turn-key Linux based security software product designed for home that can transform any unused hardware appliance into a full-featured Unified Threat Management (UTM) solution. Endian Community is designed to make security simple and help protect home networks by using the power of Open Source. Highlights: Free to use for home (unsupported) Over 1.7 million downloads Bare-metal install for most X86 hardware Mail and Web Security EFW Community provides you with basic email and web security services (powered by leading open source applications) to protect your home network. Secure remote access The Endian Community VPN solution allows you to easily connect and protect your home data from anywhere in the world. Live Network Monitoring and Reporting Live Network monitoring and reporting allows you to visualize and monitor traffic on your network in real-time. Event Management Email notifications (only) for basic predefined system events are available in the Community version of Endian. Download Endian Firewall from here : http://www.endian.com/community/download/ Few Screenshots of Endian Firewall

» Read more

FreeNas – Open Source Storage Operating System – Free

FreeNAS is an operating system that can be installed on virtually any hardware platform to share data over a network. FreeNAS is the simplest way to create a centralized and easily accessible place for your data. Use FreeNAS with ZFS to protect, store, backup, all of your data. FreeNAS is used everywhere, for the home, small business, and the enterprise. Freenas uses enterprise ready ZFS file system. What is ZFS? ZFS is an enterprise-ready open source file system, RAID controller, and volume manager with unprecedented flexibility and an uncompromising commitment to data integrity. It eliminates most, if not all of the shortcomings found in legacy file systems and hardware RAID devices. Once you go ZFS, you will never want to go back. Features of FreeNas File Sharing File sharing is what FreeNAS does best. Every major operating system is supported with SMB/CIFS (Windows file shares), NFS (Unix file shares) and AFP (Apple File Shares) as well as FTP, iSCSI (block sharing), WebDAV and other methods of sharing data over the network are available. iSCSI also supports VMware VAAI, Microsoft ODX and Microsoft Windows Server 2008 and 2012 R2 Clustering. Most operating systems, including Windows, Mac OS X, many Linux distributions, and […]

» Read more

Multi Language Site Creation Using MVC C# , ASP.NET Using Visual Studio 2013 – Kannada / Arabic / English

Scenario : You want to create an web application which supports multi language. Your site may contain models , form labels, hyper links which needs to be in the required language. We can also have a language switcher. Solution : Use Resource .resx xml file. Tools Required : Visual Studio 2013 Features: Extend as many number of Languages you want Form can be created with different language labels Link labels can be changed language switch option Easily editable Resource Files Create New Project Select Web ==> Asp.net MVC4 Web Application ==> Project Name :: Haneef Select Internet Application Right Click Project Name ==> Add New Folder ==> Name it as Resources Right Click Resources Folder which we created ==> Add New Item Select General Tab from left Hand Side  and Select Resources File from Right Side Name the new file as  LangText.Resx Now Enter the string Name and Value as shown below, Click Access Modifier as Public, Then Click Save All as shown Now Right Click LangText.Resx ==> Copy Paste to Same Folder Now Rename the Pasted File as LangText.Ar.Resx Now Edit the Content of Resx file to include Arabic Translations and Save. Now Again make a copy for Kannada […]

» Read more

Running Image Service from PHP

Scenario : Imagine that you want to run an image service and your clients will use these images in their static site developments. The moment you change these in the server it automatically reflect in the client designs. This is a POC design and can be used in KIOSKS, Web designs etc. Basically wherever you need the dynamic image you will use image src as a php destination. <img src=”http://servername.com/image.php” /> Whenever the server receives the request it will serves the image whichever is assigned to that. Concept: <?php header(“Content-type: text/xml”); $txt=”http://www.haneefputtur/xyx/138778535913.jpg”; $image=imagecreatefromjpeg($txt); imagejpeg($image); imagedestroy($image); ?> If you wish to make it dynamic then store the image data in a mysql database. Then select the image randomly or by sending query parameter so that you will get dynamic images.   Hereis the sample codes to get and display data from mysql database   <?php $servername = “localhost”; $username = “xxxxxxx”; $password = “xxxx”; $dbname = “haneee_2015”;   // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die(“Connection failed: ” . $conn->connect_error); }   $sql = “SELECT img_name FROM hanee_2015.tbl_banners WHERE active=1 AND img_name LIKE ‘%.jpg%’ LIMIT “.$_GET[“img”].”, 1;”; $result = $conn->query($sql);     […]

» Read more
1 2 3 32