reference site
Thursday, 5 December 2013
Change the version of a wordpress javascript file
Search for wp_enqueue_script and change the version number in the argument.
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
Using at and crontab
http://www.cyberciti.biz/tips/howto-shutdown-linux-box-automatically.html
List of all users and groups
To view all users:
cat /etc/passwd | cut -d: -f1
To view all groups:
cat /etc/group |cut -d: -f1
Saturday, 30 November 2013
Low-level PHP Mail Script
How to send an email with PHP without using the built-in mail() function
http://www.stringcat.com/company_blog/2012/10/13/complete-php-low-level-mailer-script-with-to-replyto-cc-bcc-and-attachments/
Tuesday, 26 November 2013
Buddypress Message Auto-complete, inclusion of Non-friends
You have to edit the file wp-content/plugins/buddypress/bp-messages/bp-messages-loader.php
on line 92
change
$this->autocomplete_all = defined( 'BP_MESSAGES_AUTOCOMPLETE_ALL');
to
$this->autocomplete_all = define( 'BP_MESSAGES_AUTOCOMPLETE_ALL','true' );
Thursday, 21 November 2013
The buddypress bp global object
http://codex.buddypress.org/developer/the-bp-global/
Increasing the php file upload size limit
The default file upload size limit specified in php.ini is 2MB and the post size limit is 8MB. You can increase both to 25MB by modifying the appropriate lines to this:
upload_max_filesize = 25M
post_max_size = 25M
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)