![]() |
I just finished coding up the edit/del feature. You can customize the time to whatever you want (or disable it to prevent regular user editing). Mods/admins have the right to edit/delete all feedback.
I made all the necessary changes to the DB & code, there was a lot of re-write to support the editing & permissions and such, I'm not sure if I will consolidate it before this next release or not. (I try to write functions whenever feasable.) Sunday I'll probably code in the usergoup permission stuff, convert some new text to phrases, and write the upgrade/install scripts. If nobody reports any bugs to me on my forum then I'll release v1.10 on Monday morning. I think user based editing/deletion will really help out a lot and reduce those PMs from members saying "hey, I made a mistake rating this person..." ;) One thing I *might* change in the future is a soft/hard delete option, kinda like what you can do with threads. But I'm not really sure it's worth the effort... |
How do I make it where it only shows the Trader Rating (0) in postbit for certain forums?
I only want that to show in the For Sale sections of my forum. |
Well, depending on if you have only 1 FS section or multiple, there's a couple ways you can do it, but both require editing your postbit template and using some conditionals. Also someone asked about specific user groups so I'll include those too:
Here's some examples (note, this code will be included with 1.1.0): For specific member group (or sub-group): PHP Code:
PHP Code:
PHP Code:
PHP Code:
Hope that helps out... FYI, I'm still coding the upgrade script for 1.1.0. Should be up soon though. |
Okay, version 1.1.0 has been officially released. I tested out the upgrade and install scripts, however please post your upgrade/install results (good & bad) so I know if it is working or not. :)
There are some pretty big code & template changes in 1.1.0, be sure to backup your user_rate_trade table and 3 trating_xxx templates!!! (I can't stress this enough!) The update makes several changes to the DB table, and will overwrite the trating templates! I'll be posting updated screenshots in a few. Read the CHANGELOG.txt & README.txt file more more info. |
upgrade script worked beautifully
|
Works like a charm. Thanks again.
|
Worked Perfect on mine as well using a table prefix.
Great Job. |
I went ahead and re-added the code to make the link mandatory.
|
everything works like a charm ;)
just one question but where do i add this code? am i replacing the existing code on the postbit? im not to clear on that Code:
<if condition="in_array($thread[forumid],array(49,52,53,54,55))"> |
Right, so the part where you have <div>Trader Ratings....</div>
Put the <if...> before that row, and the </if> after that row in the postbit/postbit_legacy. |
All times are GMT. The time now is 04:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|