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 

Permissions In Forum Management

 
Board Alert Board Message
There are in this topic 9 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: 1
Topic gradiation: 
View previous topic :: View next topic  
Author Permissions In Forum Management
Wicher
Site Admin


Joined: 16 Dec 2005
Posts: 1144
User's local time:
2024 Mar 28 - 10:13 PM
Country IP         : Netherlands
Country of choice: Netherlands


Was This Post Helpful?

 
Users postingpoints:
58
Posts points:
0
Post gradiation:
PostPosted: Thu Aug 17, 2006 8:19 pm    Post subject: Reply with quote

Code:
  1. ##############################################################
  2. ## MOD Title: permissions_in_forum_management
  3. ## MOD Author: Wicher < N/A > (Wicher) http://www.wichersmods.nl.modforum
  4. ## MOD Description: Creates a link "Permissions" in ACP/Forum Admin/Management after each forum.
  5. ## MOD Version: 1.0.0
  6. ##
  7. ## Installation Level: (Easy)
  8. ## Installation Time: 10 Minutes
  9. ## Files To Edit: admin/admin_forums.php,
  10. ##      templates/subSilver/admin/forum_admin_body.tpl,
  11. ## Included Files: (N/A)
  12. ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
  13. ##############################################################
  14. ## For security purposes, please check: http://www.phpbb.com/mods/
  15. ## for the latest version of this MOD. Although MODs are checked
  16. ## before being allowed in the MODs Database there is no guarantee
  17. ## that there are no security problems within the MOD. No support
  18. ## will be given for MODs not found within the MODs Database which
  19. ## can be found at http://www.phpbb.com/mods/
  20. ##############################################################
  21. ## Author Notes: (N/A)
  22. ##
  23. ##############################################################
  24. ## MOD History:
  25. ##
  26. ##   2006-08-17 - Version 1.0.0
  27. ##      - One time release
  28. ##
  29. ##############################################################
  30. ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
  31. ##############################################################
  32. #
  33. #-----[ OPEN ]------------------------------------------
  34. #
  35. admin/admin_forums.php
  36. #
  37. #-----[ FIND ]------------------------------------------
  38. #
  39.    'L_RESYNC' => $lang['Resync'])
  40. #
  41. #-----[ BEFORE, ADD ]------------------------------------------
  42. #
  43.    'L_FORUMPERMISSION' => $lang['Permissions'],
  44. #
  45. #-----[ FIND ]------------------------------------------
  46. #
  47.                'U_FORUM_RESYNC' => append_sid("admin_forums.$phpEx?mode=forum_sync&amp;" . POST_FORUM_URL . "=$forum_id"))
  48. #
  49. #-----[ BEFORE, ADD ]------------------------------------------
  50. #
  51.                'U_FORUMPERMISSION' => append_sid("admin_forumauth.$phpEx?" .POST_FORUM_URL .  "=$forum_id"),
  52. #
  53. #-----[ OPEN ]------------------------------------------
  54. #
  55. templates/subSilver/admin/forum_admin_body.tpl
  56. #
  57. #-----[ FIND ]------------------------------------------
  58. #
  59.       <th class="thHead" colspan="7">{L_FORUM_TITLE}</th>
  60. #
  61. #-----[ IN-LINE FIND ]------------------------------------------
  62. #
  63. colspan="7"
  64. #
  65. #-----[ IN-LINE REPLACE WITH ]------------------------------------------
  66. #
  67. colspan="8"
  68. #
  69. #-----[ FIND ]------------------------------------------
  70. #
  71.       <td class="catRight" align="center" valign="middle"><span class="gen">&nbsp;</span></td>
  72. #
  73. #-----[ BEFORE, ADD ]------------------------------------------
  74. #
  75.       <td class="cat" align="center" valign="middle"><span class="gen">&nbsp;</span></td>
  76. #
  77. #-----[ FIND ]------------------------------------------
  78. #
  79.       <td class="row2" align="center" valign="middle"><span class="gen"><a href="{catrow.forumrow.U_FORUM_RESYNC}">{L_RESYNC}</a></span></td>
  80. #
  81. #-----[ BEFORE, ADD ]------------------------------------------
  82. #
  83.       <td class="row2" align="center" valign="middle"><span class="gen"><a href="{catrow.forumrow.U_FORUMPERMISSION}">{L_FORUMPERMISSION}</a></span></td>
  84. #
  85. #-----[ FIND ]------------------------------------------
  86. #
  87.       <td colspan="7" class="row2"><input class="post" type="text" name="{catrow.S_ADD_FORUM_NAME}" /> <input type="submit" class="liteoption"  name="{catrow.S_ADD_FORUM_SUBMIT}" value="{L_CREATE_FORUM}" /></td>
  88. #
  89. #-----[ IN-LINE FIND ]------------------------------------------
  90. #
  91. colspan="7"
  92. #
  93. #-----[ IN-LINE REPLACE WITH ]------------------------------------------
  94. #
  95. colspan="8"
  96. #
  97. #-----[ FIND ]------------------------------------------
  98. #
  99.       <td colspan="7" height="1" class="spaceRow"><img src="../templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
  100. #
  101. #-----[ IN-LINE FIND ]------------------------------------------
  102. #
  103. colspan="7"
  104. #
  105. #-----[ IN-LINE REPLACE WITH ]------------------------------------------
  106. #
  107. colspan="8"
  108. #
  109. #-----[ FIND ]------------------------------------------
  110. #
  111.       <td colspan="7" class="catBottom"><input class="post" type="text" name="categoryname" /> <input type="submit" class="liteoption"  name="addcategory" value="{L_CREATE_CATEGORY}" /></td>
  112. #
  113. #-----[ IN-LINE FIND ]------------------------------------------
  114. #
  115. colspan="7"
  116. #
  117. #-----[ IN-LINE REPLACE WITH ]------------------------------------------
  118. #
  119. colspan="8"
  120. #
  121. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
  122. #
  123. # EoM


For those who have simple subforums installed there is one more edit to do:
Code:
  1. #
  2. #-----[ OPEN ]------------------------------------------
  3. #
  4. admin/admin_forums.php
  5. #
  6. #-----[ FIND ]------------------------------------------
  7. #
  8.                      'U_FORUM_RESYNC' => append_sid("admin_forums.$phpEx?mode=forum_sync&amp;" . POST_FORUM_URL . "=$forum_id2"))
  9. #
  10. #-----[ BEFORE, ADD ]------------------------------------------
  11. #
  12.                      'U_FORUMPERMISSION' => append_sid("admin_forumauth.$phpEx?" .POST_FORUM_URL .  "=$forum_id2"),
  13. #
  14. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
  15. #
  16. # EoM

_________________

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


Last edited by Wicher on Mon Jan 26, 2009 2:00 pm; edited 1 time 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 Permissions In Forum Management 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: 1
Topic gradiation: 
Page 1 of 1

 
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)