Saturday 29 August 2015

Turn off error reporting

error_reporting(0);
//write this on top of the page

http://www.w3schools.com/php/func_error_reporting.asp

change color when u select TEXT

/* Mozilla based browsers */
::-moz-selection {
background-color: #FFA;
color: #000;
}

/* Works in Safari */
::selection {
background-color: #FFA;
color: #000;
}


http://css-tricks.com/overriding-the-default-text-selection-color-with-css/

decimal number settings

$total_of_product = $order_info['total'];
echo $total_db = number_format($total_of_product, 2, '.', '');

how to add FONT in wordpress

------------insert in style.css
@font-face {
font-family: 'MuseoSlab';
src: url('http://localhost:81/wordpress/fonts/Museo_Slab_500_2-webfont.eot');
src: url('http://localhost:81/wordpress/fonts/Museo_Slab_500_2-webfont.eot?#iefix') format('embedded-opentype'),
url('http://localhost:81/wordpress/fonts/Museo_Slab_500_2-webfont.woff') format('woff'),
url('http://localhost:81/wordpress/fonts/Museo_Slab_500_2-webfont.ttf') format('truetype'),
url('http://localhost:81/wordpress/fonts/Museo_Slab_500_2-webfont.svg#MuseoSlab') format('svg');
font-weight: normal;
font-style: normal;
}


http://www.fontspring.com/support/installing_webfonts/how-do-i-use-the-webfonts

download WORDPRESS paid themes in free OF COST

search in Google

free download nulled evolution theme for wordpress

--nulled is compulsory

--evolution is theme name

Other words are static


https://www.google.co.in/search?q=evolution+theame+for+wordpress&ie=utf-8&oe=utf-8&gws_rd=cr&ei=VKW8VO6SEsmj8AX5lIDQCw#q=free+download+nulled+evolution+theme+for+wordpress

Add various color in various pages WORDPRESS

--> Add this code in custom.js

function scan() {
var images = ['#fdc300','#d1d82f','#ffe47f','#73d1cc','#85c9f0'];
var inumber = Math.floor((Math.random()* images.length)+1);

var random_image = images[inumber-1];

//Do whatever you want with random_image
//alert( random_image ); //Shows the random image
$('#main-area').css('background-color', random_image);
}
$(document).ready( scan() );


http://akaapoint.fi/

install nulled phpfox from web (install in localhost)

http://www.my.foxsearch.in/phpfox-v3-7-7-build-2/

Run your site from http://localhost:81/Social_Web/DG-pf372/upload/ <---


Steps for install in localhost
1) check --> install folder <-- in DG-pf372\upload\..........
2) http://localhost:81/Social_Web/DG-pf372/upload/install/
3) Steps same as wordpress theme
4) go to path --> DG-pf372\upload\include\setting
Rename server.sett.php.new into server.sett.php & security.sett.php.new into security.sett.php
5) Continue other steps...
6) After completing all steps go to login page and login with email address and pwd which you given here...
7) RENAME -->install folder<-- path is DG-pf372\upload\include\setting\........

--> Enable chat module in phpfox
1) Go to http://localhost:81/Social_Web/DG-pf372/upload/index.php?do=/admincp/module/
2) Login with username and password, which you used in installation time....
3) Go to Admin CP --> Extension --> Manage Modules --> Search ""Im ""--> manage settings and First option """Set to True to enable the Instant Messenger to be part of the site wide footer bar."""Select True ---> Submit

CKeditor ++ for Wordpress

How to set height property for SPAN tag

-->display:inline-block<--


#contentbox {

display: inline-block;
    
border: 2px solid #e3e3e3;
    border-radius: 7px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
    height: 28px;
    margin-bottom: 6px;
    min-height: 37px;
    text-align: left;
    width: 458px;
}

Change theme in phpfox

Change theme in phpfox
1) Extensions --> Manage Theme
2) Right click on Default --> Manage Styles --> Make green button in Default section (on Right side)(Green=Active)

Offline Creadit Card details for testing

Credit Card Number : 4111111111111111 ( 4 and 1 in 15 times)
CVV : 123
Valid Through : select any month and year
Firstname : Terry
Lastname : C

check string from URL in php

$url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];


if (false !== strpos($url,'access_denied')) {
header('Location: http://prodygies.com/');
}

yiichat extension video for PHPYII framework