View Single Post
  #16 (permalink)  
Old 08-10-2008, 05:21 AM
longcountdown's Avatar
longcountdown longcountdown is offline
Pligg Donor
 
Join Date: Nov 2007
Location: Japan
Posts: 75
Thanks: 25
Thanked 18 Times in 11 Posts
Quote:
Originally Posted by davemackey View Post
Does anyone know if it is still possible to run the old Private Messaging module which utilized Lightbox or if the functionality was actually disabled with 9.9.0?
David.
Good question. I was using the old module without problems in .9.8.2, but it wasn't part of the .9.9.5 download. I disabled and removed "Simple Private Messaging", copied the old Private Messaging module into the modules folder and installed it.

I then replaced the line in user.php (.9.9.5)..
Code:
$output .= '<td><a href="' . my_pligg_base . '/module.php?module=simple_messaging&view=compose&return=' . urlencode($_SERVER['REQUEST_URI']) .'&to=' .$myfriend->user_login . '"><img src='.my_pligg_base.'/templates/'.$the_template.'/images/user_message.png border=0></a></td>';
with the line from user.php in 9.8.2 (edited to use $output instead of echo):
Code:
$output .= '<td><a href="#view_message" rel="view_message~!~view=small_msg_compose~!~login=' .$myfriend->user_login . '" class="lbOn"><img src='.my_pligg_base.'/templates/'.$the_template.'/images/user_message.png border=0></a></td>';
... and it doesn't work. Actually, Lightbox opens with the message "Loading... please wait..." but hangs there.
Reply With Quote