Oh well nevermind! It's the thought that counts!

Poll: Sound like a cool idea? This poll is closed. |
|||
Yes | 8 | 88.89% | |
No | 1 | 11.11% | |
Total | 9 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Min's Rep Indication Suggestion
|
Oh well nevermind! It's the thought that counts!
![]() (October 18, 2017 at 9:27 pm)Tiberius Wrote:(October 18, 2017 at 6:21 pm)Rev. Rye Wrote: You don't think you could make it so you put a small icon by a user's name if you've given them a rep? I don't know code, but I would think it could be fairly easy. I don't know what rep plugin you are using, but fetching them with a single query should be quite possible. Also depending on how many reps someone has given, stashing those unique user ids in their session beforehand might also be an option,and you can then just cross reference and control the button display during render. Quote:To know yet to think that one does not know is best; Not to know yet to think that one knows will lead to difficulty. Join me on atheistforums Slack ![]() ![]() (October 19, 2017 at 9:38 am)Aoi Magi Wrote:(October 18, 2017 at 9:27 pm)Tiberius Wrote: The problem is getting the data. The reputations are stored in a separate table in the database. It might be possible to have a single query that gets the info I need but if not, I would have to do a single query for each post which is too much overhead. It's not a plugin, this is a default feature. The issue is whether I can extract all the user IDs for posts on the page in advance, I believe MyBB fetches that data but then iterates over it to get each individual post. The problem is that if that happens, I'd be looking at 10 extra queries per page. If someone has the forum set to 50 posts per page, that's potentially 50 extra queries. |
« Next Oldest | Next Newest »
|