Skip to content

Instantly share code, notes, and snippets.

View billh93's full-sized avatar
🎯
Focusing

Bill Hinostroza billh93

🎯
Focusing
View GitHub Profile
@KaineLabs
KaineLabs / yzc_disable_links_on_comments.php
Created March 26, 2020 04:47
Disable Links On Comments
@KaineLabs
KaineLabs / yzc_limit_wall_upload_by_member_type.php
Created July 9, 2019 02:08
Limit Wall upload By Member Type.
<?php
/**
* Limit Wall upload By Member Type.
*/
function yzc_limit_wall_upload_by_member_type() {
if ( current_user_can( 'administrator' ) ) {
return true;
}
@KaineLabs
KaineLabs / yzc_set_profile_page_as_homepage.php
Last active July 22, 2020 03:08
Set Logged-in User Profile as Home Page
<?php
/**
* Set Logged-in User Profile as Home Page
*/
function yzc_set_profile_page_as_homepage() {
if ( is_user_logged_in() && is_front_page() ) {
global $bp;
wp_redirect( $bp->loggedin_user->domain );
exit;
@KaineLabs
KaineLabs / yzc_mark_users_as_online.php
Created June 4, 2019 05:41
Mark Specific Users as Online Always
<?php
/**
* Mark Specific Users as Online Always In The User Profile Page.
*/
function yzc_mark_users_as_online( $is_online, $user_id ) {
// List of Always Online Users.
$online_users_ids = array( 1, 2, 3 );
@KaineLabs
KaineLabs / yzc_open_profile_page_in_new_tab.php
Created February 19, 2019 22:59
Open Profile Page In A New Tab.
<?php
/**
* Open Profile Page In A New Tab.
*/
function yzc_open_profile_page_in_new_tab() {
if ( ! bp_is_user() ) {
return;
}
@jhaddix
jhaddix / all.txt
Last active May 19, 2024 14:35
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎