## Description: This MOD will add a link to the viewtopic ## overview. Clicking this link will enable users ## to add the current topic to their bookmarks. ## Users that cannot use the favorites Javascript ## code, can right-click the link and choose ## 'Add To Favorites'. ## ## Cool thing is that clicking on the bookmark ## will take the user to the last unread post ## in the topic. ## ## Installation Level: Easy ## Installation Time: 5 Minutes ## Files To Edit: 3 ## Included Files: none ######################################################## ## ## Installation Notes: ## ## Follow the steps below. ######################################################## # #-----[ FIND IN templates/subSilver/viewtopic_body.tpl ]--------------------------- # {S_WATCH_TOPIC}
# #-----[ ADD AFTER ]------------------------------ # {L_TOPIC_BOOKMARK}
# #-----[ SAVE & CLOSE viewtopic_body.tpl ]------------------------------ # # #-----[ FIND IN viewtopic.php ]------------------------------ # "S_WATCH_TOPIC" => $s_watching_topic, # #-----[ ADD AFTER ]------------------------------ # "U_TOPIC_BOOKMARK" => 'http://' . $board_config['server_name'] . ( ($board_config['server_port'] != '80') ? ':' . $board_config['server_port'] : '' ) . $board_config['script_path'] . "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest", "L_TOPIC_BOOKMARK" => $lang['Topic_bookmark'], # #-----[ SAVE & CLOSE viewtopic.php ]------------------------------ # # #-----[ FIND IN language/lang_english/lang_main.php ]------------------------- # $lang['You_are_watching'] = "You are now watching this topic"; # #-----[ ADD AFTER ]------------------------------ # $lang['Topic_bookmark'] = "Add this topic to your bookmarks"; # #-----[ SAVE & CLOSE lang_main.php ]------------------------------ # # #-----[ DONE ]------------------------------ # ?>