| Author |
Message |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
It's true, it could open some doors. Perhaps we should start playing with cutenews.ru to make it skinnable or themable to match our sites somehow. Might be too large of a feat to actually try though.. hm
but if there was just a way to <?php include("privatemessaging.php"); ?> and it should display like show_news.php that would be asdjfk;alsfdj 
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Fri Mar 28, 2008 2:58 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
StarBucks
Joined: 29 Mar 2008 Posts: 2
|
|
|
|
I Get:
Fatal error: Call to undefined function: add_filter() in /home/www/sthost.freehostia.com/news/plugins/private-messaging.php on line 12
And i havent Edited any of the Script.
|
|
| Sun Mar 30, 2008 6:36 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
It seems you try to run the plugin by going directly to plugins/private-messaging.php. That's not working.
You have to run the plugin via the admin panel.
|
|
| Wed Apr 02, 2008 5:39 pm |
|
 |
acateoN
Joined: 12 Feb 2008 Posts: 47
|
|
|
|
 |  | It's true, it could open some doors. Perhaps we should start playing with cutenews.ru to make it skinnable or themable to match our sites somehow. Might be too large of a feat to actually try though.. hm
but if there was just a way to <?php include("privatemessaging.php"); ?> and it should display like show_news.php that would be asdjfk;alsfdj  |
Yeah, that would be really nice..
Isn't it posible to include just the "personal settings" part of the admin interface?
_________________ www.xpl.se - Runs under CNR |
|
| Sat Apr 19, 2008 1:59 am |
|
 |
Disharmony
Joined: 05 Jun 2008 Posts: 45
|
|
|
|
Is there a way you could put a (1) or something like that on the main page so they would know if there's a new PM?
|
|
| Tue Jul 01, 2008 9:27 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Try to add <?=count_unread_messages(); ?> to inc/mod/main.mdu.
|
|
| Fri Jul 04, 2008 1:34 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
|
|
and on what line do we need to put <?=count_unread_messages(); ?>
|
|
| Sun Jul 06, 2008 4:58 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Where ever you want to show the count...
|
|
| Thu Jul 10, 2008 6:27 pm |
|
 |
ryuzaki

Joined: 16 Aug 2008 Posts: 11 Location: New York |
|
Just an Error |
|
Great add-on, I'm really loving the customization you can do with this web application. I really like it and I'm thoroughly impressed with the amount of passion you guys have for this. I was hoping maybe you guys could help me out, for some apparent reason I keep getting this error in my admin panel:
 |  | txtSQL Warning: Table "pm_inbox" doesn't exist in /home1/theninja/public_html/news/index.php on line 42 |
|
|
| Sat Aug 16, 2008 9:02 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
|
|
Hey FI-DD, is it also possible to display a (1) in the loginbox when you have a new message?!
Loginbox.php starting at line 113:
echo 'Logged in as <b>'.($username ? $username : (cookie ? $_COOKIE['login_username'] : $_SESSION['login_username'])).'</b>.<br />
<a href="ctru/?mod=personal" target="_blank">Change profile</a><br />
<a href="ctru/?mod=addnews" target="_blank">News Submit</a><br />
<a href ="" target="_blank">Inbox (1)</a><br />
<a href="'.$PHP_SELF.'?act=logout">Log out.</a><br />';
|
|
| Wed Aug 20, 2008 4:40 pm |
|
 |
ryuzaki

Joined: 16 Aug 2008 Posts: 11 Location: New York |
|
|
|
 |  | Try to add <?=count_unread_messages(); ?> to inc/mod/main.mdu. |
I think that should answer your question Partyism.
And I was wondering if you could help me with mine though. I'm not sure why I'm getting that bug.
|
|
| Wed Aug 20, 2008 5:56 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
|
|
 |  | Try to add <?=count_unread_messages(); ?> to inc/mod/main.mdu. |
incorrect, i want it in the loginbox.php ryuzaki
|
|
| Wed Aug 20, 2008 7:14 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Then put it into loginbox.php instead of main.mdu.
|
|
| Sat Aug 23, 2008 9:59 am |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
|
|
but this is not possible
 |  | <?
}
else{
echo '<b>'.($username ? $username : (cookie ? $_COOKIE['login_username'] : $_SESSION['login_username'])).'</b>.<br />
<a href="artikelen/?mod=personal" target="_blank">Profiel wijzigen</a><br />
<a href="artikelen/?mod=addnews" target="_blank">Nieuws Submit</a><br />
Inbox (<a href="artikelen/index.php?mod=options&action=pm" target="_blank"><?=count_unread_messages(); ?></a>)<br />
<a href="'.$PHP_SELF.'?act=logout">Log uit.</a><br />';
}
echo $error;
}
?> |
you cannot enter php in a link while in php
Last edited by Partyism on Sun Aug 24, 2008 3:24 pm; edited 1 time in total |
|
| Sun Aug 24, 2008 1:30 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
Re: Just an Error |
|
 |  | Great add-on, I'm really loving the customization you can do with this web application. I really like it and I'm thoroughly impressed with the amount of passion you guys have for this. I was hoping maybe you guys could help me out, for some apparent reason I keep getting this error in my admin panel:
 |  | txtSQL Warning: Table "pm_inbox" doesn't exist in /home1/theninja/public_html/news/index.php on line 42 |
|
maybe you start using mysql?!
|
|
| Sun Aug 24, 2008 3:02 pm |
|
 |
|