Skip to content

Instantly share code, notes, and snippets.

View ntwb's full-sized avatar
🏠
Working from home

Stephen Edgar ntwb

🏠
Working from home
View GitHub Profile
@ntwb
ntwb / ntwb_bbpress_topic_reply_wp_search_results.php
Created September 26, 2014 07:13
bbPress - Include Topics and Replies in WordPress Search Results
<?php
/*
Plugin Name: bbPress - Include Topics and Replies in WordPress Search Results
Plugin URI: https://gist.github.com/ntwb/7363a1de1184d459f0c3
Description: bbPress - Include Topics and Replies in WordPress Search Results
Version: 0.1
Author: Stephen Edgar - Netweb
Author URI: http://netweb.com.au
*/
<?php
/**
* Implementation of Wotlab Burning Board v4.x Forum Converter.
*
* @since bbPress (r5104)
* @link Codex Docs http://codex.bbpress.org/import-forums/burningboard
*/
class wbb4 extends BBP_Converter_Base {
@ntwb
ntwb / ntwb_bbpress_custom_kses_allowed_tags.php
Last active December 28, 2023 10:38
bbPress - Custom KSES Allowed Tags
<?php
/*
Plugin Name: bbPress - Custom KSES Allowed Tags
Plugin URI: https://gist.github.com/ntwb/7797990
Description: bbPress - Custom KSES Allowed Tags
Version: 0.2
Author: Stephen Edgar - Netweb
Author URI: http://netweb.com.au
*/
@ntwb
ntwb / ntwb_remove_protected_private_titles.php
Created January 28, 2014 04:38
bbPress - Custom Remove 'Protected:' and 'Private:' title prefixes
<?php
/*
Plugin Name: bbPress - Custom Remove 'Protected:' and 'Private:' title prefixes
Plugin URI: https://gist.github.com/ntwb/8662354
Description: bbPress - Custom Remove 'Protected:' and 'Private:' title prefixes
Version: 0.1
Author: Stephen Edgar - Netweb
Author URI: http://netweb.com.au
*/
@ntwb
ntwb / NewBB.php
Last active August 2, 2021 18:49
NewBB bbPress Import Script - Forked from phpBB.php
<?php
/**
* bbPress NewBB 4.x Converter
*
* @package bbPress
* @subpackage Converters
*/
/**
@ntwb
ntwb / post_to_slack.php
Created October 21, 2015 00:39 — forked from AaronRutley/post_to_slack.php
post_to_slack.php
<?php
/**
* Post a message to Slack from WordPress
*
* @param string $message the message to be sent to Slack
* @param string $channel the #channel to send the message to (or @user for a DM)
* @param string $username the username for this bot eg : WordPress bot
* @param string $icon_emoji the icon emoji name for this bot eg :monkey:
*
@ntwb
ntwb / ntwb_bbp_bp_pm.php
Created March 31, 2014 07:54
bbPress - Add BuddyPress Private Message link after author reply details
<?php
/*
Plugin Name: bbPress - Add BuddyPress Private Message link after author reply details
Plugin URI: https://gist.github.com/ntwb/9887310
Description: bbPress - Add BuddyPress Private Message link after author reply details
Version: 0.1
Author: Stephen Edgar - Netweb
Author URI: http://netweb.com.au
*/
@ntwb
ntwb / ExpressionEngine.php
Last active June 29, 2019 11:13 — forked from RickeyMessick/gist:780b857970a4bb72a79f
bbPress- Expression Engine Importer
<?php
/**
* ExpressionEngine converter base impoprter template for bbPress
*
* @since bbPress (rXXXX)
* @link Codex Docs http://codex.bbpress.org/import-forums/expression-engine
*/
class ExpressionEngine extends BBP_Converter_Base {
@ntwb
ntwb / bbpress.scss
Last active September 30, 2018 10:41 — forked from cdils/bbpress.scss
This is quick, sassified version of the default bbPress stylesheet. I did not sassify the media queries at this point (I intend to re-work those as mobile-first for my project). Also note that I kept the original stylesheet organization. There's repition of some selectors that could be avoidded if the current organization was disregarded. :) As …
/**
* bbPress specific CSS
*
* @package bbPress
* @subpackage Theme
*/
/* =bbPress Style
-------------------------------------------------------------- */
@ntwb
ntwb / ntwb_bbpress_custom_role_names.php
Created December 8, 2013 22:58
bbPress - Custom Role Names
<?php
/*
Plugin Name: bbPress - Custom Role Names
Plugin URI: https://gist.github.com/ntwb/7864894
Description: bbPress - bbPress - Custom Role Names
Version: 0.1
Author: Stephen Edgar - Netweb
Author URI: http://netweb.com.au
*/