Thread: New Posting Features - LAM - Dispute Resolution
View Single Post
  #48  
Old 05-01-2011, 12:07 PM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've updated the product. This latest update fixes/adds...

Quote:
Originally Posted by mawby View Post
The admin option still appears for all forums but if it's selected on a forum that doesn't have disputes turned on the user will get a friendly error message instead of an SQL error. When I get a bit more time I'll try and stop the menu option appearing at all when in a non-disputes forum.
Done. If you look at the instructions on the first post about editing the SHOWTHREAD template you'll see there are more lines to add now. For anyone upgrading simply do the following...

Code:
Find...
<li><label><input type="radio" name="do" value="LAM_DisputeResolution" tabindex="10" /> {vb:rawphrase LAM_DisputeResolution_Title}&hellip;</label></li>

Replace with...
<vb:if condition="$vboptions['LAM_DisputeResolution_GlobalEnable'] || in_array($threadinfo['forumid'], array($vboptions['LAM_DisputeResolution_DisputeForumIDs']))">
<li><label><input type="radio" name="do" value="LAM_DisputeResolution" tabindex="10" /> {vb:rawphrase LAM_DisputeResolution_Title}&hellip;</label></li>
</vb:if>
Quote:
Originally Posted by morrow View Post
1. I'd like to be able to enable this in any forum however, when enabling in a forum, you MUST enter user names otherwise it won't allow you to post. I'd like to simply add the usernames but only if I want to add them. The way it's currently set up, one has to ideally create a new forum.
Quote:
Originally Posted by reddyink View Post
1) When a user is posting a thread, they will have option of selecting "Disputed Thread" Yes or No.

If No is selected, it becomes a general thread where everyone can use it. If Yes is selected only listed users can use the thread.
(or if no usersnames are entered, it becomes a public thread (all the forum permissions apply)
Done. There is a new "Optional Disputes" setting that will skip the "You must enter the usernames of those you are disputing." test when enabled.

Quote:
Originally Posted by morrow View Post
2. The ability to simply enable this in all forums and/or by forum ID's rather than having to go into each forum and ticking the button would of course be a great option.
Done. You can now specify the forums this is enabled for as a comma separated list on the products settings page, and there is also a "Globally Enabled" option too.





On my to-do list when I next get a spare couple of hours...

Quote:
Originally Posted by morrow View Post
3. Now this one would really be cool... How about an option whereas you can input the users you DON'T want to see your new thread... For instance... UserA creates a new thread and doesn't want USER C, USER T and/or USERY to be able to read it and/or reply to it. However, ALL other users can do what the rules apply to.
I think this is out of scope of this product... however, I agree the product does lend itself well to such an idea so I will release a separate product based on the code of this one that can be used to ban a user from a thread. Being a separate product will allow me to add features that I'd find useful on my site like auto banning people on ignore lists and adding a quick ban from thread option to the postbit. I'll let you know when this is ready.

Quote:
Originally Posted by reddyink View Post
2) User has an option to enter User Group name and/or Social Group name. In that case, all the members of social group will be able to reply to the thread.
Would this be an additional field or replace the usernames list? (For example, would you want to be able to ban user x OR users in group Y, or ban user X AND anyone in user group Y)

Quote:
Originally Posted by rammieone View Post
Just some way of templete edits or other that can be set with options to enter info
So you simply want it to collect additional information and display it at the top of the thread? Or would this information be collected at post level instead of thread level? Either way this might also be out of scope of this product but I could release something to do the job as a separate product.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01188 seconds
  • Memory Usage 1,788KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete