Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

notification of new posts

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic
Author Message
jaredg16

Wizard
Wizard


Joined: Feb 22, 2006
Posts: 76
Location: Baton Rouge, LA

PostPosted: Fri Mar 31, 2006 8:42 pm    Post subject: notification of new posts Reply with quote

How can I (as the admin of the phpBB forum module of my PHP-nuke site) be notified via email any time there is a new message posted in the forum?
Back to top
Hidden View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
AdBot
   Post subject: notification of new posts  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Mon Apr 03, 2006 7:10 am    Post subject: Re: notification of new posts Reply with quote

i've actually got a phpBB MOD installed that emails me w/ every post. i'll see if i can dig is up for ya.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Mon Apr 03, 2006 7:45 am    Post subject: Re: notification of new posts Reply with quote

this is what i used:
http://netclectic.com/forums/viewtopic.php?t=225

i'd post my code here, but i've heavily modified the MOD Smile
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
jaredg16

Wizard
Wizard


Joined: Feb 22, 2006
Posts: 76
Location: Baton Rouge, LA

PostPosted: Tue Apr 04, 2006 4:11 pm    Post subject: Re: notification of new posts Reply with quote

I installed it according to the directions, and when a user submits a topic to the forum, the following message appears on the page:
Quote: › Warning: netclectic_post_notify(modules/Forums/includes/emailer.php): failed to open stream: No such file or directory in /home/nseconne/public_html/portal/modules/Forums/mods/netclectic/functions_post_notification.php on line 64

Warning: netclectic_post_notify(): Failed opening 'modules/Forums/includes/emailer.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/nseconne/public_html/portal/modules/Forums/mods/netclectic/functions_post_notification.php on line 64

Fatal error: Cannot instantiate non-existent class: emailer in /home/nseconne/public_html/portal/modules/Forums/mods/netclectic/functions_post_notification.php on line 65


It seems to be a problem with the emailer part of the mod but I can't seem to find the exact problem.

J

(P.S. -- Any further thought on that proposition I IM'ed you?) Cool
Back to top
Hidden View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Apr 05, 2006 6:34 am    Post subject: Re: notification of new posts Reply with quote

emailer.php is in the <nuke_root>/includes/....some code tweaking will be needed.

Re: the other customizations - I'd love to, but i don't have the time to devote to it right now, sorry Sad
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
jaredg16

Wizard
Wizard


Joined: Feb 22, 2006
Posts: 76
Location: Baton Rouge, LA

PostPosted: Wed Apr 05, 2006 2:00 pm    Post subject: Re: notification of new posts Reply with quote

k... I changed the below code in functions_post_notification.php as follows:
Quote: › // replacing include_once($phpbb_root_path . 'includes/emailer.'.$phpEx); with below:
include_once('http://www.nseconnection.net/portal/includes/emailer.'.$phpEx);
$emailer = new emailer($board_config['smtp_delivery']);


I am not getting the emailer errors anymore, but I'm still getting:
Quote: › Fatal error: Cannot instantiate non-existent class: emailer in /home/nseconne/public_html/portal/modules/Forums/mods/netclectic/functions_post_notification.php on line 66

line 66 is this line: $emailer = new emailer($board_config['smtp_delivery']);

what do I change here?

RE: the other customizations. I can completely understand that you are quite busy with many other things. I thank you for all of the help you are giving me on other things. Is there anyone you'd suggest whom you think could - and would possibly be will to - do that site customization with me?

Thanks!

J
Back to top
Hidden View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Mon Apr 10, 2006 6:43 am    Post subject: Re: notification of new posts Reply with quote

use:
PHP: › <?php include_once('/home/nseconne/public_html/portal/includes/emailer.'.$phpEx); ?>

_________________
Back to top
Offline View user's profile Send private message Visit poster's website
jaredg16

Wizard
Wizard


Joined: Feb 22, 2006
Posts: 76
Location: Baton Rouge, LA

PostPosted: Tue Apr 11, 2006 1:01 pm    Post subject: Re: notification of new posts Reply with quote

Awesome Dari... works better. On the email that is sent out to the moderators, it shows something similar to this:
Quote: › Hello,

The following message has been posted in Favorite Experiences While on Exchange?...

Author : jaredgranier
URL : http://NSEconnection.net/portal/modules ... p\?p=44#44
Subject : what the hell is going on?
Message :
What's up with this test? Did this work?

--------------------------------
--
Thanks,

NSEconnection.net Admin

So I'm now getting the email letting me know of posts on the forum, however when I try to click on the link (like the one above), I get the message "You can't access this file directly..."

I assume this is simply because the forum is a block of PHP-nuke right? Any fix?

J
Back to top
Hidden View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue Apr 11, 2006 2:49 pm    Post subject: Re: notification of new posts Reply with quote

yeah, you'll have to tweak the url in the emailer file.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia