• [MOD] - Comments notify foreach user in details by email 3 0 5 1
Currently:  

Author Topic: [MOD] - Comments notify foreach user in details by email  (Read 146883 times)

0 Members and 1 Guest are viewing this topic.

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Comments notify foreach user in details by email
« Reply #15 on: August 27, 2007, 05:06:39 PM »
hallo!
thank you for your help!!
but the same error.. cannot see the detail_page

first thing: in the version 1.7. the comment_message called comment_text. i replace it on my funktions.php

second: in my detail.php i tried this:
add this:
Code: [Select]
get_user_table_field("cn.", "comment_notify_status") .at the end of this:
Code: [Select]
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email")."
than i replace this:
Code: [Select]
  FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)with:
Code: [Select]
FROM ("  . IMAGES_TABLE . " i, " . CATEGORIES_TABLE . " c, " . COMMENTS_NOTIFY_TABLE . " cn)
and now.. i get an email if a comment is posted.
but: after posting comment i get a blank detail_page.
i'm sure i forget something...  :cry:


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #16 on: August 27, 2007, 05:17:40 PM »
Quote
get_user_table_field("cn.", "comment_notify_status") .

No ! - incorrect. No work with get_user_table_field for this field and no 1 told to do this.

Quote
than i replace this:

FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)

with:

FROM ("  . IMAGES_TABLE . " i, " . CATEGORIES_TABLE . " c, " . COMMENTS_NOTIFY_TABLE . " cn)

Did no replace complete paragraph. Please follow instruction good.

Quote
and now.. i get an email if a comment is posted.

But can see details.html ? No forward to index.html after fix ? You post comment so no redirect to home no more ? If so, good. Just need follow instruction good.

Quote
first thing: in the version 1.7

First post say - v1.7.4 test (2nd time I say).
« Last Edit: August 27, 2007, 05:28:15 PM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Comments notify foreach user in details by email
« Reply #17 on: August 27, 2007, 05:54:03 PM »
hi,
Quote
But can see details.html ? No forward to index.html after fix ? You post comment so no redirect to home no more ? If so, good. Just need follow instruction good.
no, only a blank white detail page...

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #18 on: August 27, 2007, 06:23:13 PM »
Ok so follow right instruction and report bak.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Comments notify foreach user in details by email
« Reply #19 on: August 27, 2007, 06:33:29 PM »
Quote
First post say - v1.7.4 test (2nd time I say).
yes i know.. but i want to insert this very good mod in my 4images version.
update to 1.7.4 is a hard work for me, because if have too many mods, addons and codes in my folders.

repaort back:
Quote
but the same error.. cannot see the detail_page
i follow your instruction and i get the same error...
not at all thank you very much for your help! i don't forget this. I'm allways glad that here are users like you!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #20 on: August 27, 2007, 06:54:52 PM »
Quote
yes i know.. but i want to insert this very good mod in my 4images version.
update to 1.7.4 is a hard work for me, because if have too many mods, addons and codes in my folders.

If so, this MOD no for you. I test on 4images v1.74 test before post in forum. Thank for posting.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #21 on: August 27, 2007, 07:17:30 PM »
I tried !

same thing

its redirect me to the home.html again

so i cant see the details :(

im not having any errors its just redirect me whenever i click on the image to see it details and the comments if it has ! :S

i dont wanna bother ui alot thunder

is there any field i have to added in my database !
English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #22 on: August 27, 2007, 07:28:01 PM »
Quote
is there any field i have to added in my database !

No field to add. All in function I build. Go phpmyadmin and see if have: table_prefix_comments_notify (table_prefix = your table prefix you have). If so, is something in (browse page) ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #23 on: August 27, 2007, 07:47:37 PM »
okay i will check now ! and sure might be from the broswer i use also   !

can u check ur code plz !

coz i found that sometime a ' << is missing

like here

Code: [Select]
define('COMMENTS_TABLE, $table_prefix.'comments');
also } missed !

thought maybe of a hurry u missed something

:D even so , u did a good MOD even it not working with me ! hope it works with others well
English Please :@

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #24 on: August 27, 2007, 08:03:13 PM »
i check my site with firefox and explorer

also let other users to use diff broswers to check the site all same ! it redirect em all to the home.html but the welcome msg goes to them to thier email ! :S


i re-checked the code again ! seems good and i did excatly as u said !

now im ganna try to check the codes itself !

sorry for being noisy :Pp
English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #25 on: August 27, 2007, 09:27:40 PM »
Quote
thought maybe of a hurry u missed something

1st post - last quote ... I no miss something ...

Quote
it redirect em all to the home.html but the welcome msg goes to them to thier email ! :S

Again, I use redirect function. Is NOT in v1.7 but start in v1.73.

Quote
Also let other users to use diff broswers to check the site all same !

Nothing to do with others. To do with 4images version  :!:
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #26 on: August 27, 2007, 09:59:23 PM »
strange !

im using 1.7.4 :S

here the version i use

www.alwasmy.net

down on the footer !

is there a possible to took the redirect !! at least i can see the details to see how does the page look like with the buttons
English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #27 on: August 27, 2007, 10:14:39 PM »
http://www.alwasmy.net/pix/details.php?image_id=460&l=english

1- I go - it work. No test account - no can see.
2 - Gallery is no english, how can help ?
3 - Why wait for more post if use v1.74 when could say 1st time ? Strange, yes. :?
4 - Still no result for this topic - question I ask:

http://www.4homepages.de/forum/index.php?topic=18522.msg99449#msg99449

5 - Please answer question.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #28 on: August 28, 2007, 12:24:58 PM »
Sorry thunder !

i gave u my site to see that version  :S sorry again

i didnt mean to check the site with ur MOD ! coz i disable ur MOD coz my user cannot see the image details !

in fact, i have a test account and how can you test ur mod on my site and im disabling ur MOD ! (1)

(2) yes i do agree its hard  to help coz im not using english lang or france !


(3) i thought u were answering me and not giving question  ? again sorry !

A- still didint check the code * the qoute*
B- Yes it use the redirect coz im using 1.7.4
C-i meant i asked some of my site users to test the site  ( when i added ur mod ) with different browsers such as  firefox and explorer and the result was same no one can see the image details !


if you like to check mysite with test account i can send it to ur pm :)
but we have to deside the time that u can enter so i can  upload ur MOD again to mysite  :) otherwise users will get ungry or create a diff folder for u  :) not big deal

sorry again thunder  ^_^ im tryin to help you to get my problem  ... as i said i will try aftr one hr again
English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] - Comments notify foreach user in details by email
« Reply #29 on: August 28, 2007, 12:34:53 PM »
Quote
i didnt mean to check the site with ur MOD ! coz i disable ur MOD coz my user cannot see the image details !

in fact, i have a test account and how can you test ur mod on my site and im disabling ur MOD ! (1)

Then what want me see if disable ? What good post URL if disable ?

Quote
(3) i thought u were answering me and not giving question  ? again sorry !

Is just what I do - ask question for why redirect.  8O

Quote
A- still didint check the code * the qoute*

Quote
C-i meant i asked some of my site users to test the site  ( when i added ur mod ) with different browsers such as  firefox and explorer and the result was same no one can see the image details !

Only with this text, I get. :roll:

Quote
if you like to check mysite with test account i can send it to ur pm

Send me FTP info + 4images account info in PM. I check. Other MOD install in details.php file ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?