In this age few people have.
THE END
Rant of the Aeg
(8 posts) (4 voices)-
Posted 1 year ago #
-
Best. Topic. Ever.
Posted 8 months ago # -
In this age few people have:
(a) A sense of peanut brittle
(b) A sense of decorated napkins
THE ENDPosted 8 months ago # -
In this age few people have:
(a) A life
(b) A sense of why the heck you get out of bed every morningPosted 7 months ago # -
In this age few people have:
(a) A tail
(b) 6 arms
THE ENDPosted 7 months ago # -
I feel that there is a need for this topic to be re-opened.
In this age few people have:
(a) A fish taped to the back of their neck
(b) A website that says getAllStatuses(); $renderer = get_active_status_renderer(); echo '* '; for ($i=0; $i < count($statuses); $i++) { $image = $renderer->renderStatus($statuses[$i]); $tooltip = $renderer->renderStatusTooltip($statuses[$i]); $exists = file_exists(dirname(__FILE__).'/icon-sets/'.$icon_set_name.'/'.$image); if (isset($image) && strlen($image) > 0 && isset($tooltip) && strlen($tooltip) > 0 && $exists) { echo ' '.$tooltip.'
'; } } echo ''; } function topic_icons_css() { echo "\n"; } function topic_icons_label( $label ) { global $topic; if (bb_is_front() || bb_is_forum() || bb_is_view() || bb_is_tag()) { $icon_set_name = topic_icons_get_active_icon_set(); $icon_set_url = ICON_SET_URL_BASE . $icon_set_name; $status = get_active_status_interpreter()->getStatus(bb_get_location(), $topic); $renderer = get_active_status_renderer(); $image = $renderer->renderStatus($status); $tooltip = $renderer->renderStatusTooltip($status); $exists = file_exists(dirname(__FILE__).'/icon-sets/'.$icon_set_name.'/'.$image); if (!$exists) { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), ICON_SET_URL_BASE.'/empty.png', ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } else if (strlen($tooltip) > 0) { return sprintf(__('
%s%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $tooltip, $label); } else { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } } return $label; } function topic_icons_init( ) { remove_filter('bb_topic_labels', 'bb_closed_label', 10); remove_filter('bb_topic_labels', 'bb_sticky_label', 20); add_filter('bb_topic_labels', 'topic_icons_label', 11); add_action('bb_head', 'topic_icons_css'); add_action('bb_admin_menu_generator', 'topic_icons_admin_page_add'); add_action('bb_admin-header.php', 'topic_icons_admin_page_process'); topic_icons_register_status_interpreter('default', new DefaultStatusInterpreter(BUSY_THRESHOLD)); topic_icons_register_status_renderer('default', new DefaultStatusRenderer()); } topic_icons_init(); ?> at the top of it
THE ENDPosted 5 months ago # -
B, where'd that code come from?
Posted 4 months ago # -
It was at the top of this website.
Posted 2 months ago #
Reply
This topic is old. It has been automatically closed to new replies.
You must log in to post.