When posting Drupal content that creates a topic in phpBB and that particular forum supports topic icons, it appears that the first topic icon in the list is used. It might be nice if this could be configured, or not to use a topic icon at all in this case.

Comments

LadyAnna’s picture

I'd like to see this as well, or if that can't be done rather have it use none as default

alexp999’s picture

Status: Active » Fixed

I wanted to do something about this, as although you can turn topic icons off for the forum, it still shows the icon in searches. Anywho, altho I don't know a massive amount about how this awesome module works. I think I have found a fix.

[OPEN]
phpbbforum.module

[FIND] - two instances (I believe one is creating post with node and the other is creating it after.)
$data['icon_id'] = 1;

[REPLACE WITH]
$data['icon_id'] = 0;

You can substitute the number for whatever topic icon you want to use, 0 sets it to none. Be aware this will set the topic icon for all cross posted posts. Afaik the number is related to the order at which they appear in the posting editor on phpbb.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.