Go Back   Pligg Forum > Pligg Help > Pligg Tutorials
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-2008, 02:18 AM
AnAlienHolakres3's Avatar
AnAlienHolakres3 AnAlienHolakres3 is offline
Send a message via ICQ to AnAlienHolakres3
Pligg Developer
 
Join Date: Jul 2007
Location: Prague
Posts: 117
Downloads: 24
Uploads: 1
Thanks: 7
Thanked 111 Times in 40 Posts
Simple Messaging in Pligg v 9.8 and lower

As you have noticed, file structure in Pligg version 9.9 was changed. Private messaging module was for many people (including me) buggy and especially in Internet Explorer often useless. Thanx to Ash there is another option - Simple messaging module. If you try to install this module on older version of Pligg ( < 0.98) it will fail. You will have to do some modifications if you want to get it working.

Step 1:
Disable current private messaging system. This can be done by modules management in your admin panel.

Step 2:

Download Pligg v 9.9 and copy simple messaging folder from modules folder to your older Pligg version modules folder.

Step 3:
Open inbox.tpl and inbox_link_in_menu.tpl from simple messaging templates folder. In both files change config_load file to {config_load file="/libs/lang.conf"}

Step 4:
Install this module with module management.

Step 5:
Open user.php in your main folder and find
PHP Code:
'<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>' 
Replace this code with:
PHP Code:
'<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>' 
Thats all. Hope it helps someone:)
__________________
=Everything that has a beginnig has an end=
=Nevere stop fighting=

Site: http://www.vselink.org
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
is pligg appropriate for grouphug.us gjeffrey General Help 3 01-15-2007 09:56 PM
Pligg IIS install (basics) ButtNutt Installation and Upgrade Help 0 07-15-2006 04:23 PM
Page titles & breadcrumbs AshDigg Core Development 11 06-30-2006 06:35 PM


LinkBacks Enabled by vBSEO 3.0.0