Module: User Thank/Flame
Posted by J. David Smith
|
Re: Module: User Thank/Flame June 18, 2008 01:33PM |
Admin Registered: 23 years ago Posts: 9,240 |
|
Re: Module: User Thank/Flame June 18, 2008 01:43PM |
Registered: 22 years ago Posts: 174 |
I like compact and not so loaded templated and customization (isnt that why all we love phorum?) so I would let the forum owner to customize forums skin.
Personally, I would put only the general reputation number in the post read (not overloading the page) and in the user profile I would put the complete data (flames, thanks, total number)
Also, I think the flame/thank thread feature would be fantastic as would be so useful for users to see the most thanked threads in a separate page (usually the best threads of the forum)
Thank you!
Personally, I would put only the general reputation number in the post read (not overloading the page) and in the user profile I would put the complete data (flames, thanks, total number)
Also, I think the flame/thank thread feature would be fantastic as would be so useful for users to see the most thanked threads in a separate page (usually the best threads of the forum)
Thank you!
|
Re: Module: User Thank/Flame June 18, 2008 01:48PM |
Registered: 18 years ago Posts: 49 |
Ok, I can provide minimal template files for the threads as well. That won't be hard. I will get started on the thread thank/flames.
I think I am going to skip directly t/fing the thread, and instead total the amount of t/fs in the thread.
Getting the amount of times a message has been t/fed was ridiculously easy because of the way I wrote it. Thank God for small fortunes.
Just FYI I am on vacation right now and enjoying myself immensly working on this.
Edited 1 time(s). Last edit at 06/18/2008 01:48PM by freereign.
I think I am going to skip directly t/fing the thread, and instead total the amount of t/fs in the thread.
Getting the amount of times a message has been t/fed was ridiculously easy because of the way I wrote it. Thank God for small fortunes.
Just FYI I am on vacation right now and enjoying myself immensly working on this.
Edited 1 time(s). Last edit at 06/18/2008 01:48PM by freereign.
|
Re: Module: User Thank/Flame June 18, 2008 03:02PM |
Registered: 18 years ago Posts: 49 |
|
Re: Module: User Thank/Flame June 18, 2008 03:33PM |
Admin Registered: 22 years ago Posts: 8,532 |
Does this documentation help?
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: User Thank/Flame June 19, 2008 09:26AM |
Registered: 18 years ago Posts: 49 |
|
Re: Module: User Thank/Flame June 19, 2008 10:10AM |
Admin Registered: 22 years ago Posts: 8,532 |
There is only the search functions that are in the db layer (phorum_db_search). I don't know what you want to search for, but a lot of custom search queries will not be possible. Searching is a heavy operation and needs good tuning and careful coding to make it fast. That's why there is no generic this-one-can-search-whatever-you-like function.
There is somewhat like a free form search implementation in the admin interface for pruning messages (using something called "meta queries" in the db layer), but that one is not speed targeted.
You can only have one addon function. The addon function will have to differentiate the displaying of different pages based on the query parameters.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
There is somewhat like a free form search implementation in the admin interface for pruning messages (using something called "meta queries" in the db layer), but that one is not speed targeted.
You can only have one addon function. The addon function will have to differentiate the displaying of different pages based on the query parameters.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: User Thank/Flame June 19, 2008 10:34AM |
Registered: 19 years ago Posts: 1,301 |
Quote
Maurice Makaay
You can only have one addon function. The addon function will have to differentiate the displaying of different pages based on the query parameters.
This is explained very well within the addon.php file but not in the online docs. Perhaps the commented help in the file should be added to the online developer manual docs?
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
|
Re: Module: User Thank/Flame June 19, 2008 10:36AM |
Admin Registered: 22 years ago Posts: 8,532 |
Yes, that is so true. The same goes for a lot of other documentation. Some parts of creating_mods.txt for example and the new Ajax framework that was added for easy implementation of ajax functions. Time,... time, ... time ;-)
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: User Thank/Flame June 19, 2008 10:36AM |
Registered: 18 years ago Posts: 49 |
Ahh, I found the answer to the addons in the addon.php function, as Azumandias said.
The phorum_db_search() function will not work for my needs. It searches for subject, message, author, or user_id. I need to search meta. Oh well, this can wait. My code needs some cleanup and optimization anyway. v0.6a is up (it displays each threads rating on the list.php page)
The phorum_db_search() function will not work for my needs. It searches for subject, message, author, or user_id. I need to search meta. Oh well, this can wait. My code needs some cleanup and optimization anyway. v0.6a is up (it displays each threads rating on the list.php page)
Sorry, only registered users may post in this forum.


