Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Add custom metadata to forum topics for sorting purposes

@cnorris23

Participant

Looks okay. I would change:

`foreach ($postcat as $value)`
to
`foreach ((array)$postcat as $value)`
just in case something happens and $postcat isn’t an array.

Have you tried r-a-y’s suggestion for using the `bb_get_postmeta()` and `bb_update_postmeta()` functions rather than a direct query?

Skip to toolbar