Wicher's phpBB2 Mods Forum Index Wicher's phpBB2 Mods
On this board you will find all phpBB2 mods that i have created over the years. Most mods are on this board installed. Before asking for support, be sure to have your board updated to the latest phpBB2 version.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Simple db_update generatorSimple db_update generator   Advanced db_update generatorAdvanced db_update generator 
 This board is protected by Phpbbantispam 

PostOptions

 
Board Alert Board Message
There are in this topic 208 posts to view if you are logged in.

You can log in or register via the login / registerlink here or in the header.
Back to top  Login here and be redirected to this TopicLogin here and be redirected to this Topic RegisterRegister
Reply to topic    Wicher's phpBB2 Mods Forum Index -> Wicher's phpBB Mods Was this Topic Helpful?  
Points for this topic: 4
Topic gradiation: 
View previous topic :: View next topic  
Author PostOptions
Wicher
Site Admin


Joined: 16 Dec 2005
Posts: 1144
User's local time:
2017 Sep 26 - 5:08 PM
Country IP         : Netherlands
Country of choice: Netherlands


Was This Post Helpful?

 
Users postingpoints:
57
Posts points:
2
Post gradiation:
PostPosted: Thu Apr 05, 2007 1:07 pm    Post subject: Reply with quote

Code:
  1. #################################################################
  2. ## MOD Title: PostOptions
  3. ## MOD Author: Wicher < N/A > (N/A) http://www.wichersmods.nl
  4. ## MOD Description:  This mod replaces the IP button at every posting with
  5. ##                   an optionbutton with several links to do things by moderators for that post like:
  6. ##                   viewing poster IP's,
  7. ##                   banning the poster,
  8. ##                   banning the posters IP,
  9. ##                   banning the posters email,
  10. ##                   UN-banning all
  11. ##                   Censoring messages.
  12. ##                   deleting the poster,
  13. ##                   removing all posters posts per topic,
  14. ##                   removing all posters posts board wide,
  15. ##                   deleting the poster and removing all posters posts board wide,
  16. ##                   moving posts to trashforum,
  17. ##                   moving posts from trashforum back to original topic,
  18. ##                   moving topic to trashforum,
  19. ##                   moving topic from trashforum back to original forum,
  20. ##                   Reporting posts/poster to admin
  21. ##                   Clicking on the button opens a little screen with the links
  22. ##                   without closing the viewtopic screen.
  23. ##                   You are able to set several of the actions trough the ACP
  24. ##                   
  25. ## MOD Version: 1.1.8
  26. ##
  27. ## Installation Level: easy
  28. ## Installation Time:  45 minutes
  29. ##
  30. ## Files To Edit:    common.php
  31. ##                   modcp.php
  32. ##                   posting.php
  33. ##                   viewtopic.php
  34. ##                   admin/index.php
  35. ##                   admin/pagestart.php
  36. ##                   includes/constants.php
  37. ##                   includes/functions_post.php
  38. ##                   includes/page_header.php
  39. ##                   includes/prune.php
  40. ##                   includes/topic_review.php
  41. ##                   templates/subSilver/modcp_body.tpl
  42. ##                   templates/subSilver/overall_header.tpl
  43. ##                   templates/subSilver/subSilver.cfg
  44. ##                   templates/subSilver/subSilver.css
  45. ##                   templates/subSilver/viewtopic_body.tpl
  46. ##
  47. ## Included Files: posts_options_userban.php
  48. ##                 posts_options_userdel.php
  49. ##                 posts_options_reports.php
  50. ##                 admin/admin_reports.php
  51. ##                 includes/post_options_functions.php
  52. ##                 includes/posts_options_include.php
  53. ##                 templates/subSilver/report_body.tpl
  54. ##                 templates/subSilver/preview.css
  55. ##                 templates/subSilver/preview.js
  56. ##                 templates/subSilver/bbcodetextarea.js
  57. ##                 templates/subSilver/admin/reports_body.tpl
  58. ##                 templates/subSilver/images/lang_english/icon_options.gif
  59. ##                 templates/subSilver/images/lang_english/icon_report.gif
  60. ##                 templates/subSilver/images/lang_english/censored.gif
  61. ##                 templates/subSilver/images/report.gif
  62. ##                 templates/subSilver/images/reportstatus_red.gif
  63. ##                 templates/subSilver/images/reportstatus_orange.gif
  64. ##                 templates/subSilver/images/reportstatus_blue.gif
  65. ##                 templates/subSilver/images/mess_no.gif
  66. ##                 templates/subSilver/images/mess_yes.gif
  67. ##                 templates/subSilver/images/celpic1small.gif
  68. ##
  69. ## License:      http://opensource.org/licenses/gpl-license.php GNU General Public License v2
  70. ##
  71. ##############################################################
  72. ## For security purposes, please check: http://www.phpbb.com/mods/
  73. ## for the latest version of this MOD. Although MODs are checked
  74. ## before being allowed in the MODs Database there is no guarantee
  75. ## that there are no security problems within the MOD. No support
  76. ## will be given for MODs not found within the MODs Database which
  77. ## can be found at http://www.phpbb.com/mods/
  78. ##############################################################
  79. ## Author Notes:   
  80. ##         This mod has been tested on phpbb 2.0.22
  81. ##         Example board http://www.wichersmods.nl/TestphpBB
  82. ##         Original idea came from Alphacarbon
  83. ##         Thanks to Brf for helping with some code.
  84. ##
  85. ##         For being able to use the trashforum option, you need to
  86. ##         setup such a forum and go to the ACP/General Config and put the
  87. ##         trashforum ID in there.
  88. ##
  89. ##############################################################
  90. ## MOD History:
  91. ##
  92. ##   2008-02-10 Version 1.1.8
  93. ##    Fixed bug in viewtopic.php
  94. ##   2008-02-07 Version 1.1.7
  95. ##    Fixed some new issues in 2 included files
  96. ##   2008-02-06 Version 1.1.6
  97. ##    Fixed showing users email in urls.
  98. ##   2007-07-07 Version 1.1.5
  99. ##    Fixed some aproval issues.
  100. ##    Added one new post option
  101. ##   2007-07-07 Version 1.1.4
  102. ##    Fixed bug with <br />'s in viewtopic.php.
  103. ##   2007-06-13 Version 1.1.3
  104. ##    Fixed broken javascript when using a browser like FF.
  105. ##    Changed modmess form name because some reply mods out there had the same form name.
  106. ##   2007-06-12 Version 1.1.2
  107. ##    Fixed some bugs thanks to femu.
  108. ##    Added bbcode buttons to modmessbox.
  109. ##   2007-06-12 Version 1.1.1
  110. ##    Now modmessbox implemented in template system.
  111. ##    Added attachmentMOD addon (see contrib folder)
  112. ##   2007-06-11 Version 1.1.0
  113. ##    Added censoring subjects and signatures.
  114. ##    Added choosing from defined censors when adding a mod message.
  115. ##   2007-06-10 Version 1.0.9
  116. ##    Additional mod message now goes two lines below the original message.
  117. ##   2007-06-08 Version 1.0.8
  118. ##    'New reports link'. in header did not go directly to the admin/reports page
  119. ##     when there was no admin session,
  120. ##    Fixed some security issues
  121. ##    Reorganized some bbcode things.
  122. ##   2007-06-07 Version 1.0.7
  123. ##    Took out a few bugs.
  124. ##    Added some more functionality
  125. ##   2007-06-05 Version 1.0.6
  126. ##    New reports link in header now goes directly to the reports page in acp.
  127. ##    Moderators now can add there own message to a post
  128. ##    Fixed viewing censored posts when replying to a topic.
  129. ##   2007-06-02 Version 1.0.5
  130. ##    Gave postoptions config its own table, predefined censored can now be 3000 characters long.
  131. ##   2007-05-31 Version 1.0.4
  132. ##    Added multiple censor messages.
  133. ##   2007-05-30 Version 1.0.3
  134. ##    Fix in posts_options_reports.php.
  135. ##   2007-05-29 Version 1.0.2
  136. ##    Some Fixes.
  137. ##   2007-05-28 Version 1.0.1
  138. ##    Added sid's to reportsystem
  139. ##    Removed quote button for censored posts
  140. ##    Some Fixes.
  141. ##   2007-04-26 Version 1.0.0
  142. ##    Stable release.
  143. ##   2007-04-23 Version 0.1.2
  144. ##    Fix in viewtopic.php.
  145. ##    Fix in viewtopic_body.tpl.
  146. ##   2007-04-22 Version 0.1.1
  147. ##    Fix in viewtopic.php.
  148. ##    Config on separate page
  149. ##   2007-04-21 Version 0.1.0
  150. ##    Different handeling of the censored post message, now possible to use bbcode.
  151. ##   2007-04-20 Version 0.0.9
  152. ##    Added no posting when a post has been censored for a certain timeframe.
  153. ##     Timeframe can be set in ACP.
  154. ##    A view other fixes
  155. ##   2007-04-19 Version 0.0.8
  156. ##    Several changes.
  157. ##    Added moving posts back to original topic from trashforum
  158. ##   2007-04-17 Version 0.0.7
  159. ##    Added pagination in reports admin.
  160. ##    Added admin choice whether to let reg users use the report system
  161. ##    plus several other changes. enjoy.
  162. ##   2007-04-13 Version 0.0.6
  163. ##    Several changes.
  164. ##    Added Post/poster report system
  165. ##   2007-04-12 Version 0.0.5
  166. ##    Several changes.
  167. ##    Added confirmation for deleting users
  168. ##   2007-04-10 Version 0.0.4
  169. ##    Changed a few things, most important change (bug) is that mods cannot delete admins anymore.
  170. ##   2007-04-10 Version 0.0.3
  171. ##    Took bug out viewtopic.php
  172. ##    Added more ACP settings
  173. ##    Added security stuff
  174. ##   2007-04-04 Version 0.0.2
  175. ##    Added moving posts to trashforum
  176. ##    Added ACP Settings
  177. ##   2007-04-04 Version 0.0.1
  178. ##    First [dev] release
  179. ##   2007-03-01 Version 0.0.0
  180. ##    Started thinking on how to do things
  181. ##
  182. ##############################################################
  183. ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
  184. ##############################################################


To see the mod, click at the place where normally is the IP button located (on top of every posting).
Let me know what you think of it, and if there should be more options in it.

Feel free to test it on a testboard of your own and share your feedback with us here.

Demo ACP/General config screen:


Demo PostOptionsBox Admin and mod all permissions:


Demo PostOptionsBox Admin and mod limited permissions:


Demo PostOptionsBox options when banned and in trashforum:


Demo PostOptionsBox options when user is a guest:


Demo Report Screen:


Demo Admin Report Screen:


[1.1.8 BETA] Download: PostOptions1.1.8.zip

________________________________________________________
Image for Censored posts, contributed by Mork vom Ork


________________________________________________________
Image for Censored posts, contributed by Lugsciath
After downloading it, rename it to censored.gif


________________________________________________________
Arabic language submitted by abouhayan
lang_arabic.zip

_________________

Wicher's phpBB2 Mods | Wicher's phpBB3 Mods | Statistics Mod 4.x.x


Last edited by Wicher on Sat Jul 19, 2008 1:39 pm; edited 29 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Post new topic    Reply to topic    Wicher's phpBB2 Mods Forum Index -> Wicher's phpBB Mods
Author PostOptions Replies
Display posts from previous:   
Post new topic   Reply to topic    Wicher's phpBB2 Mods Forum Index -> Wicher's phpBB Mods All times are GMT

Was this Topic Helpful?  
Points for this topic: 4
Topic gradiation: 
Page 14 of 14

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

This board is protected by Phpbbantispam
Powered by phpBB © 2001, 2005 phpBB Group

Googlepage: GooglePullerPage
IP Country Flag 2.9.4 © 2005, 2007 - 3Di (aka 3D)