The following warnings occurred:
Warning [2] Undefined array key "sourceeditor" - Line: 718 - File: inc/plugins/rineditor.php PHP 8.3.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/rineditor.php 718 errorHandler->error_callback
/inc/plugins/rineditor.php 776 rineditor_inserter_quick
/inc/class_plugins.php 142 rineditor
/showthread.php 471 pluginSystem->run_hooks



effone   18-04-2019, 06:13 AM
#1
PM subjects in PM Tracking page is not hyperlinked and its a problem if you forget the content and want to check back.
So, here is a little jQuery magic to make all the PM titles clickable which will take you to the original PM in Sent Items folder.

Open template private_tracking and find the variable {$footer}. Add the following script just before that:
<script type="text/javascript">
  $(function(){
      $( "input[name*='readcheck']" ).each(function(){
          var link = rootpath + "/private.php?action=read&pmid=" + (parseInt($(this).attr('name').match(/\d+/)) + 1);
          $(this).parent('td').siblings('td:eq( 1 )').wrapInner('<a href=' + link + '>');
         
      });
  });
</script>

Save the template, BAM!

All of the PM subjects in tracking page is now clickable.
This post was last modified: 24-04-2019, 06:32 AM by effone.
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by MattyWjeisz of Curves UI.