Posted on: 09/26/05 08:29am
By: romantaran
I've just uploaded simple
private messages add-on for Geeklog.
I'm the beginner at PHP programming and this module is my first completed script, but it seems to work and I use it at my site.
Privmessages module
Posted on: 09/27/05 06:34am
By: Robin
In the php block code you left hardcoded url
$result = "There are no incoming messages.<br><a href=\"http://ubrus.ru/privmessages/\">Create</a>";
Privmessages module
Posted on: 09/27/05 07:02am
By: romantaran
Yes. It must be replaced with:
$result = 'There are no incoming messages.<br><a href="' . $_CONF['site_url'] . '/privmessages/">Create</a>';
and further
$result .= 'Sum total messages: <b>' . $nrows . '</b>. <br><a href="' . $_CONF['site_url'] . '/privmessages/">View</a>';
Privmessages module
Posted on: 09/27/05 07:48am
By: bieffe
hi,
i have no problem to install this plugin but, the problem occurs when i make a first PM to another uid. Once I logout, i cant login back to my website because there are an error. So i look at my error log & find solution to settle this problem.
in ur phpblock_privmessages coding, need to tweak a bit.
change this:
$sql = "SELECT * FROM privmessages WHERE to_uid = $uid";
to:
$sql = "SELECT * FROM privmessages WHERE to_uid='$uid'";
AND change this:
$sql = "SELECT * FROM privmessages WHERE to_uid = $uid AND status = 1";
to:
$sql = "SELECT * FROM privmessages WHERE to_uid='$uid' AND status = 1";
after that, all problem gone.
Privmessages module
Posted on: 09/27/05 01:44pm
By: romantaran
In english.php I have overlooked to translate some lines:
pmsm1 => 'The message is sent',
pmsm2 => 'The message is sent. Email notification is sent',
pmsm3 => 'The message is sent. Email notification is not sent because of an error',
Privmessages module
Posted on: 09/28/05 11:55pm
By: vadertech
leaving the hardcoded url to your site is gonna cause alot of problems for people that download it. Shouldn't this be replaced with a new plugin version?
Also what if someone doesn't have the forum installed. Should the images be included with the plugin?
I got an error for including language folder when I tried to install. After I got it to work, I get an sql error when I log out.
Privmessages module
Posted on: 09/29/05 07:02am
By: romantaran
If someone has no forum plugin, the primary way is to replace img paths with corresponding words in language file. I decided, that there is no sense to include in plugin the same pictures.
The language folder must be in public_html/privmessages directory.
What sql error do you have?
Privmessages module
Posted on: 09/30/05 02:32am
By: romantaran
Privmessages module
Posted on: 09/30/05 09:28am
By: Anonymous (guest)
I see no PM system in your site. Can someone post a screenshot of this thing so I'd see if it's worth it?
Or at least give a little description above "it sends private messages".
Thanks!
Privmessages module
Posted on: 10/01/05 12:56am
By: romantaran
I use it in another site. Try it, it's free! But it's just "sends private messages", nothing more . Well, it sends email notifications. And what would you want to get?
here[*2] is the screenshot
Privmessages module
Posted on: 10/04/05 01:09pm
By: kemal
i think this block not show to anonymous user..
And must place in User Functions...
Privmessages module
Posted on: 10/04/05 03:19pm
By: romantaran
You can make it invisible for anonimous users in menu Admins only / Blocks. Uncheck the box "Anonimous R" in Privmessages block.