You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 63 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Best Picture Gallery For Nuke [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Poll :: Which Gallery Module Do You use?

Coppermine
35%
 35%  [ 14 ]
My eGallery
23%
 23%  [ 9 ]
Gallery
30%
 30%  [ 12 ]
Other
10%
 10%  [ 4 ]
Total Votes : 39


Author Message
georgiaguy
Sergeant
Sergeant


Joined: Jun 13, 2003
Posts: 98


PostPosted: Wed Jun 25, 2003 7:18 am Reply with quoteBack to top

here ya go.
open add_comment.php. after the lines reading:
Code:
if (!strcmp($submit, "Save")) {
        if ($commenter_name && $comment_text) {
                $comment_text = removeTags($comment_text);
                $commenter_name = removeTags($commenter_name);
                $IPNumber = $HTTP_SERVER_VARS['REMOTE_ADDR'];
                $gallery->album->addComment($index, stripslashes($comment_text), $IPNumber, $commenter_name);
                $gallery->album->save();
                dismissAndReload();

add the following:
Code:
                mail("your@email.address", "Gallery comment added",
                "Added by: ".$commenter_name .
                "\nComment: " .
                $comment_text . "\nIP Address: " .
                $IPNumber .
                "\nPhoto Index: ".$gallery->album->getPhotoId($index)."\n".
                "Root Album Name: ".$gallery->album->getRootAlbumName()."\n".
                "Album Title: ".$gallery->album->fields['title'],"From: bogus@email.address");


with each comment added, you'll get an email like this:
Code:
Added by: billybob
Comment: nice pix
IP Address: 130.207.xxx.xxx
Photo Index: P3070223
Root Album Name: hopeandsugar
Album Title: March 2003
Find all posts by georgiaguyView user's profileSend private message
snarfies3
Nuke Soldier
Nuke Soldier


Joined: May 24, 2003
Posts: 22


PostPosted: Wed Jun 25, 2003 2:34 pm Reply with quoteBack to top

Oh, nice, thanks! Now if I can ever get my friggin' site back online... grr.
Find all posts by snarfies3View user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.271 Seconds - 328 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::