2012-11-28, 11:53 AM
Hi,
I'm new here and new to plugin devel too.
I've tried to search the docs and the forum but could not find any hint, so I'm asking directly.
I'm the admin of a forum where I've added a custom field using XThread (it's just a field that allows us moderators to tag each thread with "tags" and then hopefully build a "tag cloud" and search on them.
The objective: find a way to search the forum for messages tagged with a given tag. This function should be reachable by the users using the default search form (search.php) and also through a direct HTTP request to the appropriate URL (search.php?parametersHere)
I was thinking about extending search.php with a plugin, I've found there are many hooks in there I could use, but I cannot understand what is their purpose.
Is there a way to alter the fields shown to the user? Is there a way to alter the SQL being executed to find the results?
Hope someone can help me, thanks in advance!
PS: sorry, English is not my mother tongue...
I'm new here and new to plugin devel too.
I've tried to search the docs and the forum but could not find any hint, so I'm asking directly.
I'm the admin of a forum where I've added a custom field using XThread (it's just a field that allows us moderators to tag each thread with "tags" and then hopefully build a "tag cloud" and search on them.
The objective: find a way to search the forum for messages tagged with a given tag. This function should be reachable by the users using the default search form (search.php) and also through a direct HTTP request to the appropriate URL (search.php?parametersHere)
I was thinking about extending search.php with a plugin, I've found there are many hooks in there I could use, but I cannot understand what is their purpose.
Is there a way to alter the fields shown to the user? Is there a way to alter the SQL being executed to find the results?
Hope someone can help me, thanks in advance!
PS: sorry, English is not my mother tongue...