Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: who to Change Tags splitter ?


howtogeek
Member

@howtogeek

You can find this function in bb-includes/functions.php

function bb_add_topic_tags( $topic_id, $tags ) {
global $bbdb;

$tags = trim( $tags );
$words = explode(',', $tags);

if ( !is_array( $words ) )
return false;

$tag_ids = array();
foreach ( $words as $tag )
if ( $_tag = bb_add_topic_tag( $topic_id, $tag ) )
$tag_ids[] = $_tag;
return $tag_ids;
}

The explode() function is where the logic is happening… you’ll have to test to see if it screws up anything else, cause I’ve not tried it.

Skip to toolbar