Support Forum
I would tentatively say, and this really is very tentative, that yes it could be done. I would need to spend time trying ti out to see how it might work.
But - and it is a most important but - it would probably be horrendously slow. Items like 'quantity of votes' are calculated when needed - they are not stored anywhere. So for each topic you would have to join in new data to the sql query and then calculate results one topic at a time. That is nasty and expensive.
YELLOW
SWORDFISH
|
If you are really interested in doing it as a custom plugin, please let us know and we can work up a quote... might could even offer multiple ways to sort your forum based on user actions... but as Andy says, would have to research...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
If you are really interested in doing it as a custom plugin, please let us know and we can work up a quote... might could even offer multiple ways to sort your forum based on user actions... but as Andy says, would have to research...
Yes would be nice to have a plugin for it!
However i need a fast solution through hooks or code changing for now if is it possible since i need to create a "feedback system" understanding which is the most voted topics for that specific forum.
I need an help.
Thank you all.
we can point in the right direction, but its a detailed customization beyond what we can do in the support forum...
so assuming you mean topic view (list of forum posts), then you can look at sp-topic-view-class.php...
you will need to filter the db query via the hook 'sph_topicview_query' and adjust it as you desire...
then you 'may' need to filter the results and adjust if required by your db query changes... those would be 'sph_topicview_topic_record' and 'sph_topicview_post_records' and 'sph_topicview_combined_data'.... though cannot say for sure without your db query changes...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)