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 

Journal or Support Forums

 
Board Alert Board Message
There are in this topic 11 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 Journal or Support Forums
Wicher
Site Admin


Joined: 16 Dec 2005
Posts: 1144
User's local time:
2017 Sep 24 - 10:17 PM
Country IP         : Netherlands
Country of choice: Netherlands


Was This Post Helpful?

 
Users postingpoints:
57
Posts points:
0
Post gradiation:
PostPosted: Wed Nov 15, 2006 1:39 pm    Post subject: Reply with quote

Code:
  1. MOD Description:
  2. Admin can choose wether to make a forum a Journal Forum or a Support Forum or leave it as normal.
  3. Journal: Users can only start one topic and cannot reply in others.
  4. Support: Users can start multiple topics but cannot reply in others.
  5. Mod and Admin are ofcourse able to edit, delete or reply in all topics.
  6. If a user has created a Journal a link to the journal will show in his profile.



Download Journal_SupportForums1.1.2.zip

Code:
  1. #################################################################
  2. ## MOD Title: Journal or Support Forums
  3. ## MOD Author: Wicher < N/A > (N/A) http://www.wichersmods.nl
  4. ## MOD Description: Admin can choose wether to make a forum a Journal Forum or a Support Forum
  5. ##                  or leave it as normal.
  6. ##                  Journal: Users can only start one topic and cannot reply in others.
  7. ##                  Support: Users can start multiple topics but cannot reply in others.
  8. ##                  Mod and Admin are ofcourse able to edit, delete or reply in all topics.
  9. ## 
  10. ## MOD Version: 1.1.2
  11. ##
  12. ## Installation Level:  easy
  13. ## Installation Time:  15 minutes
  14. ##
  15. ## Files To Edit:    - modcp.php
  16. ##                   - posting.php
  17. ##                   - admin/admin_forums.php
  18. ##                   - includes/functions_post.php
  19. ##                   - includes/usercp_viewprofile.php
  20. ##                   - language/lang_english/lang_main.php
  21. ##                   - templates/subSilver/admin/forum_edit_body.tpl
  22. ##                   - templates/subSilver/profile_view_body.tpl
  23. ##
  24. ## Included Files: N/A
  25. ##
  26. ## License:      http://opensource.org/licenses/gpl-license.php GNU General Public License v2
  27. ##
  28. ##############################################################
  29. ## For security purposes, please check: http://www.phpbb.com/mods/
  30. ## for the latest version of this MOD. Although MODs are checked
  31. ## before being allowed in the MODs Database there is no guarantee
  32. ## that there are no security problems within the MOD. No support
  33. ## will be given for MODs not found within the MODs Database which
  34. ## can be found at http://www.phpbb.com/mods/
  35. ##############################################################
  36. ## Author Notes:   
  37. ##         This mod has been tested on phpbb 2.0.21
  38. ##
  39. ##############################################################
  40. ## MOD History:
  41. ##
  42. ##   2006-11-22 - Version 1.1.2
  43. ##    - fixed bug in usercp_viewprofile.php
  44. ##    - added JoSf_db_install.php
  45. ##   2006-11-19 - Version 1.1.1
  46. ##    - added auth for mods
  47. ##   2006-11-15 - Version 1.1.0
  48. ##    - Added link in view_profile
  49. ##   2006-11-15 - Version 1.0.0
  50. ##   
  51. ##############################################################
  52. ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
  53. ##############################################################
  54. #
  55. #-----[ SQL ]------------------------------------------
  56. # if you dont know how to do this action, feel free to use JoSf_db_install.php instead. Upload it to the root of your phpbb and execute it from your browser.
  57. ALTER TABLE `phpbb_forums` ADD COLUMN `js_forum` tinyint(2) NULL DEFAULT 0;
  58. ALTER TABLE `phpbb_users` ADD COLUMN `user_journal` int(10) NULL DEFAULT 0;
  59. #
  60. #-----[ OPEN ]------------------------------------------
  61. #
  62. modcp.php
  63. #
  64. #-----[ FIND ]------------------------------------------
  65. #
  66.          $sql = "DELETE
  67.             FROM " . TOPICS_WATCH_TABLE . "
  68.             WHERE topic_id IN ($topic_id_sql)";
  69.          if ( !$db->sql_query($sql, END_TRANSACTION) )
  70.          {
  71.             message_die(GENERAL_ERROR, 'Could not delete watched post list', '', __LINE__, __FILE__, $sql);
  72.          }
  73. #
  74. #-----[ AFTER, ADD ]------------------------------------------
  75. #
  76.          $sql = "UPDATE " . USERS_TABLE . " SET
  77.                user_journal = 0
  78.                WHERE user_journal IN ($topic_id_sql)";
  79.          if (!$db->sql_query($sql))
  80.          {
  81.             message_die(GENERAL_ERROR, 'Error updating user_journal', '', __LINE__, __FILE__, $sql);
  82.          }
  83. #
  84. #-----[ OPEN ]------------------------------------------
  85. #
  86. posting.php
  87. #
  88. #-----[ FIND ]------------------------------------------
  89. #
  90.    case 'newtopic':
  91.       if ( empty($forum_id) )
  92.       {
  93.          message_die(GENERAL_MESSAGE, $lang['Forum_not_exist']);
  94.       }
  95. #
  96. #-----[ AFTER, ADD ]------------------------------------------
  97. #
  98.       // Journal or Support Forums by Wicher
  99.       $sql = "SELECT js_forum FROM " . FORUMS_TABLE . "
  100.          WHERE forum_id = $forum_id";
  101.       if ( !($result = $db->sql_query($sql)) )
  102.       {
  103.          message_die(GENERAL_ERROR, 'Could not obtain important info for this forum', '', __LINE__, __FILE__, $sql);
  104.       }
  105.       $jsf_status = $db->sql_fetchrow($result);
  106.       $js_status = $jsf_status['js_forum'];
  107.       if ($js_status == 1)
  108.       {
  109.          $sql = "SELECT topic_poster
  110.          FROM " . TOPICS_TABLE . "
  111.          WHERE forum_id = " . $forum_id;
  112.          if ( !($result = $db->sql_query($sql)) )
  113.          {
  114.             message_die(GENERAL_ERROR, 'Could not obtain info for this topic', '', __LINE__, __FILE__, $sql);
  115.          }
  116.          if ( $row = $db->sql_fetchrow($result) )
  117.          {
  118.             unset ($check_uid);
  119.             do
  120.             {
  121.                if ($row['topic_poster'] == $userdata['user_id'])
  122.                {
  123.                   $check_uid = 1;
  124.                }
  125.             }
  126.             while ( $row = $db->sql_fetchrow($result) );
  127.          }
  128.          $is_auth = auth(AUTH_ALL, $forum_id, $userdata, $post_info);
  129.          if (($check_uid == 1) && (!$is_auth['auth_mod']) && ($userdata['user_level'] != ADMIN))
  130.          {
  131.             $redirect_page = "viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id&amp;sid=" . $userdata['session_id'];
  132.             $message = sprintf($lang['Click_return_forum'], '<a href="' . $redirect_page . '">', '</a>');
  133.             message_die(GENERAL_MESSAGE, $lang['allready_opened'].'<br /><br />'.$message);
  134.          }
  135.       }
  136.       // end Journal or Support Forums by Wicher
  137. #
  138. #-----[ FIND ]------------------------------------------
  139. #
  140.       $sql = "SELECT *
  141.          FROM " . FORUMS_TABLE . "
  142.          WHERE forum_id = $forum_id";
  143.       break;
  144.    case 'reply':
  145. #
  146. #-----[ AFTER, ADD ]------------------------------------------
  147. #
  148.       // Journal or Support Forums by Wicher
  149.       if ( empty( $topic_id) )
  150.       {
  151.          message_die(GENERAL_MESSAGE, $lang['No_topic_id']);
  152.       }
  153.       $sql = "SELECT topic_poster, forum_id
  154.       FROM " . TOPICS_TABLE . "
  155.       WHERE topic_id = " . $topic_id;
  156.       if ( !($result = $db->sql_query($sql)) )
  157.       {
  158.          message_die(GENERAL_ERROR, 'Could not obtain info for this topic', '', __LINE__, __FILE__, $sql);
  159.       }
  160.       if ( $row = $db->sql_fetchrow($result) )
  161.       {
  162.          $check_uid = $row['topic_poster'];
  163.          $jsf_id = $row['forum_id'];
  164.       }
  165.       $sql = "SELECT js_forum FROM " . FORUMS_TABLE . "
  166.          WHERE forum_id = $jsf_id";
  167.       if ( !($result = $db->sql_query($sql)) )
  168.       {
  169.          message_die(GENERAL_ERROR, 'Could not obtain important info for this forum', '', __LINE__, __FILE__, $sql);
  170.       }
  171.       $jsf_status = $db->sql_fetchrow($result);
  172.       $js_status = $jsf_status['js_forum'];
  173.       $is_auth = auth(AUTH_ALL, $jsf_id, $userdata, $post_info);
  174.       if (($js_status != 0) && (!$is_auth['auth_mod']) && ($userdata['user_level'] != ADMIN))
  175.       {
  176.          if ($check_uid != $userdata['user_id'])
  177.          {
  178.             $redirect_page = "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;sid=" . $userdata['session_id'];
  179.             $message = sprintf($lang['Click_return_topic'], '<a href="' . $redirect_page . '">', '</a>');
  180.             if ($js_status == 2){message_die(GENERAL_MESSAGE, $lang['cannot_write_sf'].'<br /><br />'.$message);}
  181.             if ($js_status == 1){message_die(GENERAL_MESSAGE, $lang['cannot_write_jf'].'<br /><br />'.$message);}
  182.          }
  183.       }
  184.       // end Journal or Support Forums by Wicher
  185. #
  186. #-----[ FIND ]------------------------------------------
  187. #
  188.    case 'quote':
  189.    case 'editpost':
  190. #
  191. #-----[ AFTER, ADD ]------------------------------------------
  192. #
  193.       // Journal or Support Forums by Wicher
  194.       if ( empty($post_id) )
  195.       {
  196.          message_die(GENERAL_MESSAGE, $lang['No_post_id']);
  197.       }
  198.       $sql = "SELECT poster_id, forum_id, topic_id
  199.       FROM " . POSTS_TABLE . "
  200.       WHERE post_id = " . $post_id;
  201.       if ( !($result = $db->sql_query($sql)) )
  202.       {
  203.          message_die(GENERAL_ERROR, 'Could not obtain info for this post', '', __LINE__, __FILE__, $sql);
  204.       }
  205.       if ( $row = $db->sql_fetchrow($result) )
  206.       {
  207.          $check_uid = $row['poster_id'];
  208.          $jsf_id = $row['forum_id'];
  209.          $topic_id = $row['topic_id'];
  210.       }
  211.       $sql = "SELECT js_forum FROM " . FORUMS_TABLE . "
  212.          WHERE forum_id = $jsf_id";
  213.       if ( !($result = $db->sql_query($sql)) )
  214.       {
  215.          message_die(GENERAL_ERROR, 'Could not obtain important info for this forum', '', __LINE__, __FILE__, $sql);
  216.       }
  217.       $jsf_status = $db->sql_fetchrow($result);
  218.       $js_status = $jsf_status['js_forum'];
  219.       $is_auth = auth(AUTH_ALL, $jsf_id, $userdata, $post_info);
  220.       if (($js_status != 0) && (!$is_auth['auth_mod']) && ($userdata['user_level'] != ADMIN))
  221.       {
  222.          if ($check_uid != $userdata['user_id'])
  223.          {
  224.             $redirect_page = "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;sid=" . $userdata['session_id'];
  225.             $message = sprintf($lang['Click_return_topic'], '<a href="' . $redirect_page . '">', '</a>');
  226.             if ($js_status == 2){message_die(GENERAL_MESSAGE, $lang['cannot_write_sf'].'<br /><br />'.$message);}
  227.             if ($js_status == 1){message_die(GENERAL_MESSAGE, $lang['cannot_write_jf'].'<br /><br />'.$message);}
  228.          }
  229.       }
  230.       // end Journal or Support Forums by Wicher
  231. #
  232. #-----[ FIND ]------------------------------------------
  233. #
  234.             submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);
  235. #
  236. #-----[ IN-LINE FIND ]------------------------------------------
  237. #
  238. , $poll_length
  239. #
  240. #-----[ IN-LINE AFTER, ADD ]------------------------------------------
  241. #
  242. , $js_status
  243. #
  244. #-----[ OPEN ]------------------------------------------
  245. #
  246. admin/admin_forums.php
  247. #
  248. #-----[ FIND ]------------------------------------------
  249. #
  250.          $template->set_filenames(array(
  251.             "body" => "admin/forum_edit_body.tpl")
  252.          );
  253.          $s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode .'" /><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" />';
  254. #
  255. #-----[ BEFORE, ADD ]------------------------------------------
  256. #
  257.          // Journal or Support Forums by Wicher
  258.          $js_status_value = intval($row['js_forum']);
  259.          if ($js_status_value == 2)
  260.          {
  261.             $js_status =   '<option value="2" selected>'.$lang['Support'].'</option>';
  262.             $js_status .=   '<option value="1">'.$lang['Journal'].'</option>';
  263.             $js_status .= '<option value="0">'.$lang['None'].'</option>';
  264.          }
  265.          else if ($js_status_value == 1)
  266.          {
  267.             $js_status =   '<option value="2">'.$lang['Support'].'</option>';
  268.             $js_status .=   '<option value="1" selected>'.$lang['Journal'].'</option>';
  269.             $js_status .= '<option value="0">'.$lang['None'].'</option>';
  270.          }
  271.          else
  272.          {
  273.             $js_status =   '<option value="2">'.$lang['Support'].'</option>';
  274.             $js_status .=   '<option value="1">'.$lang['Journal'].'</option>';
  275.             $js_status .= '<option value="0" selected>'.$lang['None'].'</option>';
  276.          }
  277.          // End Journal or Support Forums by Wicher
  278. #
  279. #-----[ FIND ]------------------------------------------
  280. #
  281.             'S_STATUS_LIST' => $statuslist,
  282. #
  283. #-----[ AFTER, ADD ]------------------------------------------
  284. #
  285.             // Journal or Support Forums by Wicher
  286.             'S_JSF_STATUS_LIST' => $js_status,
  287.             // End Journal or Support Forums by Wicher
  288. #
  289. #-----[ FIND ]------------------------------------------
  290. #
  291.             'L_FORUM_STATUS' => $lang['Forum_status'],
  292. #
  293. #-----[ AFTER, ADD ]------------------------------------------
  294. #
  295.             // Journal or Support Forums by Wicher
  296.             'I_WICHERMOD' => $images['folder_hot'],
  297.             'U_LWF' => 'http://www.wichersmods.nl',
  298.             'L_WICHERMOD' => $lang['mymod'],
  299.             'L_JSF_ENABLED' => $lang['jsf_enabled'],
  300.             // End Journal or Support Forums by Wicher
  301. #
  302. #-----[ FIND ]------------------------------------------
  303. #
  304.          $sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
  305. #
  306. #-----[ IN-LINE FIND ]------------------------------------------
  307. #
  308. , forum_status
  309. #
  310. #-----[ IN-LINE AFTER, ADD ]------------------------------------------
  311. #
  312. , js_forum
  313. #
  314. #-----[ FIND ]------------------------------------------
  315. #
  316.             VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
  317. #
  318. #-----[ IN-LINE FIND ]------------------------------------------
  319. #
  320. , " . intval($HTTP_POST_VARS['forumstatus']) . "
  321. #
  322. #-----[ IN-LINE AFTER, ADD ]------------------------------------------
  323. #
  324. , " . intval($HTTP_POST_VARS['jsfstatus']) . "
  325. #
  326. #-----[ FIND ]------------------------------------------
  327. #
  328.             SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
  329. #
  330. #-----[ IN-LINE FIND ]------------------------------------------
  331. #
  332. , forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . "
  333. #
  334. #-----[ IN-LINE AFTER, ADD ]------------------------------------------
  335. #
  336. , js_forum = " . intval($HTTP_POST_VARS['jsfstatus']) . "
  337. #
  338. #-----[ OPEN ]------------------------------------------
  339. #
  340. includes/functions_post.php
  341. #
  342. #-----[ FIND ]------------------------------------------
  343. #
  344. function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, $post_username, $post_subject, $post_message, $poll_title, &$poll_options, &$poll_length)
  345. #
  346. #-----[ IN-LINE FIND ]------------------------------------------
  347. #
  348. , &$poll_length
  349. #
  350. #-----[ IN-LINE AFTER, ADD ]------------------------------------------
  351. #
  352. , $js_status
  353. #
  354. #-----[ FIND ]------------------------------------------
  355. #
  356.       if ($mode == 'newtopic')
  357.       {
  358.          $topic_id = $db->sql_nextid();
  359. #
  360. #-----[ AFTER, ADD ]------------------------------------------
  361. #
  362.          if ($js_status == 1)
  363.          {
  364.             $sql = "UPDATE " . USERS_TABLE . " SET
  365.                   user_journal = $topic_id
  366.                   WHERE user_id = ".$userdata['user_id'];
  367.             if (!$db->sql_query($sql))
  368.             {
  369.                message_die(GENERAL_ERROR, 'Error updating user_journal', '', __LINE__, __FILE__, $sql);
  370.             }
  371.          }
  372. #
  373. #-----[ FIND ]------------------------------------------
  374. #
  375.             $sql = "DELETE FROM " . TOPICS_WATCH_TABLE . "
  376.                WHERE topic_id = $topic_id";
  377.             if (!$db->sql_query($sql))
  378.             {
  379.                message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql);
  380.             }
  381. #
  382. #-----[ AFTER, ADD ]------------------------------------------
  383. #
  384.             $sql = "UPDATE " . USERS_TABLE . " SET
  385.                   user_journal = 0
  386.                   WHERE user_journal = $topic_id";
  387.             if (!$db->sql_query($sql))
  388.             {
  389.                message_die(GENERAL_ERROR, 'Error updating user_journal', '', __LINE__, __FILE__, $sql);
  390.             }
  391. #
  392. #-----[ OPEN ]------------------------------------------
  393. #
  394. includes/usercp_viewprofile.php
  395. #
  396. #-----[ FIND ]------------------------------------------
  397. #
  398.    $u_search_author = urlencode(str_replace(array('&amp;', ''', '&quot;', '&lt;', '&gt;'), array('&', "'", '"', '<', '>'), $profiledata['username']));
  399. }
  400. #
  401. #-----[ AFTER, ADD ]------------------------------------------
  402. #
  403. if ($profiledata['user_journal'] != 0)
  404. {
  405.    $template->assign_block_vars('switch_journal', array());
  406.    $sql = "SELECT topic_title FROM " . TOPICS_TABLE . "
  407.          WHERE topic_id = " . $profiledata['user_journal'];
  408.    if ( !($result = $db->sql_query($sql)) )
  409.    {
  410.       message_die(GENERAL_ERROR, 'Error getting user_journal', '', __LINE__, __FILE__, $sql);
  411.    }
  412.    $row = $db->sql_fetchrow($result);
  413.    $journal_name = $row['topic_title'];
  414.    $journal_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $profiledata['user_journal']);
  415. }
  416. else
  417. {
  418.    $journal_name = '';
  419.    $journal_url = '';
  420. }
  421. #
  422. #-----[ FIND ]------------------------------------------
  423. #
  424.    'L_INTERESTS' => $lang['Interests'],
  425. #
  426. #-----[ AFTER, ADD ]------------------------------------------
  427. #
  428.    'L_JOURNAL' => $lang['Journal'],
  429.    'L_JOURNAL_NAME' => $journal_name,
  430. #
  431. #-----[ FIND ]------------------------------------------
  432. #
  433.    'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . $u_search_author),
  434. #
  435. #-----[ AFTER, ADD ]------------------------------------------
  436. #
  437.    'U_JOURNAL' => $journal_url,
  438. #
  439. #-----[ OPEN ]------------------------------------------
  440. #
  441. language/lang_english/lang_main.php
  442. #
  443. #-----[ FIND ]------------------------------------------
  444. #
  445. ?>
  446. #
  447. #-----[ BEFORE, ADD ]------------------------------------------
  448. #
  449. // Journal or Support Forums by Wicher
  450. $lang['jsf_enabled'] = 'Make this a Personal Topics Forum or a Support Forum<br /><b>Journal</b>: Users can only start one topic and cannot reply in others.<br /><b>Support</b>: Users can start multiple topics but cannot reply in others.';
  451. $lang['allready_opened'] = 'You already opened a topic in this forum, you cannot open another one here.<br />Use your existing topic to write whatever you want.';
  452. $lang['cannot_write_sf'] = 'As this is a support forum,<br />you are (in this forum) not allowed to write in the topic that belongs to someone else.<br />If you want support on anything from this board please open a (new) topic of your own.';
  453. $lang['cannot_write_jf'] = 'You are (in this forum) not allowed to write in the topic that belongs to someone else.<br />As this is a Journal forum, every topic is a personal topic.<br />Look up your own topic or start one four yourself.<br />If you want to start a completly new Journal please ask the Board Administrator or Moderater of this forum to delete this your existing topic or delete all posts one by one yourself.';
  454. $lang['Support'] = 'Support';
  455. $lang['Journal'] = 'Journal';
  456. $lang['mymod'] = 'One of Wicher\'s Mods'; // Never ever change this
  457. // End Journal or Support Forums by Wicher
  458. #
  459. #-----[ OPEN ]------------------------------------------
  460. #
  461. templates/subSilver/admin/forum_edit_body.tpl
  462. #
  463. #-----[ FIND ]------------------------------------------
  464. #
  465.    <tr>
  466.      <td class="row1">{L_FORUM_STATUS}</td>
  467.      <td class="row2"><select name="forumstatus">{S_STATUS_LIST}</select></td>
  468.    </tr>
  469. #
  470. #-----[ AFTER, ADD ]------------------------------------------
  471. #
  472.    <!-- Journal or Support Forums by Wicher -->
  473.    <tr>
  474.      <td class="row1"><a href="{U_LWF}" target="_blank"><img src="../{I_WICHERMOD}" alt="{L_WICHERMOD}" title="{L_WICHERMOD}" border="0"></a>&nbsp;{L_JSF_ENABLED}</td>
  475.      <td class="row2"><select name="jsfstatus">{S_JSF_STATUS_LIST}</select></td>
  476.    </tr> 
  477.    <!-- End Journal or Support Forums by Wicher -->
  478. #
  479. #-----[ OPEN ]------------------------------------------
  480. #
  481. templates/subSilver/profile_view_body.tpl
  482. #
  483. #-----[ FIND ]------------------------------------------
  484. #
  485.       <tr>
  486.         <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_TOTAL_POSTS}:&nbsp;</span></td>
  487.         <td valign="top"><b><span class="gen">{POSTS}</span></b><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br /><span class="genmed"><a href="{U_SEARCH_USER}" class="genmed">{L_SEARCH_USER_POSTS}</a></span></td>
  488.       </tr>
  489. #
  490. #-----[ AFTER, ADD ]------------------------------------------
  491. #
  492.       <!-- BEGIN switch_journal -->
  493.       <tr>
  494.         <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOURNAL}:&nbsp;</span></td>
  495.         <td width="100%"><b><span class="gen"><a href="{U_JOURNAL}">{L_JOURNAL_NAME}</a></span></b></td>
  496.       </tr>
  497.       <!-- END switch_journal -->
  498. #
  499. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
  500. #
  501. # EoM

_________________

Wicher's phpBB2 Mods | Wicher's phpBB3 Mods | Statistics Mod 4.x.x
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 Journal or Support Forums 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)