You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
Hi David.
I am still trying to figure out why I can't get the blog script to work using your gallery email verification bit. At this point, I have disabled the mod rewrites and have just the php url showing. Each time I click on the link to verify the email, it goes straight to the index.php page. (I assume the link is not found, which is why it brings me to the index.php page) If I click on it the second time, it brings me to the page that tells me the email address has been verify.
I studied the gallery script a bit more but still haven't find out why it is not working, but I noticed in this bit of code starting with $split = explode..., it does nothing if I try to change it. I believe this is why the page that suppose to load up is not loading up correctly. Can you tell me if that code is also associated somewhere else in the script?
// Comment..
case 'leave-comment':
case 'verify':
// Are we verifying e-mail address?..
if ($cmd=='verify') {
// Split the code var..
// Picture array var isn`t set initially, so set it..
// Set code var for processing..
$split = explode("-",$_GET['code']);
$_GET['picture'] = $split[0];
$code = $split[1];
// Is this a valid code..
if (get_comment_data('',$_GET['code'],true)) {
// Load comment data..
$com = get_comment_data('',$_GET['code']);
// Add email to allowed list..
if (!$MGA_COMMENTS->isEmailVerified($com->email)) {
// Add e-mail to database..
$MGA_COMMENTS->addEmailtoDatabase($com->email);
}
If working correctly, the page that suppose to load up is from this code.
// Only process if not already..
if (!$com->is_approved && !$com->is_active) {
// Update status of comment..
$MGA_COMMENTS->updateCommentStatus($com->id,($SETTINGS->approve ? '1' : '0'),($SETTINGS->approve ? '0' : '1'));
$ADD_MSG = str_replace(array('{name}','{email}'),array(cleanData($com->name),$com->email),($SETTINGS->approve ? $msg_comment16.$msg_comment17 : $msg_comment16.$msg_comment18));
Offline
Sorry Duc, this isn`t something I have time for at the moment, maybe in the new year?
Offline
OK.
Offline
I haven't forgotten about this. It has been so long since I looked at this and forgot what I needed to accomplished and what I have edited thus far. I will let you know when I get around and review what needs to be done. I have other projects to do at the moment.
Offline
I haven't forgotten about this. It has been so long since I looked at this and forgot what I needed to accomplished and what I have edited thus far. I will let you know when I get around and review what needs to be done. I have other projects to do at the moment.
No problem.
Offline
David,
I want to tackle this some more before calling in the heavy artillery. For the gallery system, can you point to me how is the script pulling up the page when someone clicks on the email verification link when they receive via email? It confirms the email verification within the page with this.
E-Mail Address Successfully Verified!
The e-mail address info@domain.com" has now been added to our list of approved addresses.Thanks for posting some comments name.
Your comments have been added and can be viewed on the page of the image you just left comments for.
When I click on my email verification link, it just brings me back to the blog page.
Offline
Just search for 'verification' in the main index.php file. Its a small block of code.
Then search for:
case 'verify':
Which is the block to parse the verification link.
Offline
I have been looking at those block of code and I can't find anything with with it. What could be the issue if after clicking on the verification link and instead of parsing this link 'domain.com/verify/code/.html', I get this 'domain.com/verify/code/index.php' instead?
mod rewrite rules in .htaccess? I checked and it looks good.
main index file
$MW_MAIL->addTag('{VERIFY_URL}',($SETTINGS->modR ? $SETTINGS->w_path.'/verify/'.$key.'/index.html' : $SETTINGS->w_path.'/index.php?cmd=verify&code='.$key));
.htaccess file
RewriteRule ^verify/(.*)/index.html$ index.php?cmd=verify&code=$1 [nc]
Offline
Without poking around the code its hard to know whats happening.
Offline
Yes, I know and my FTP is not working either.
Offline
Yes, I know and my FTP is not working either.
Yes, I could debug it for you if I could get in.
Any job finding out the ftp issue?
Offline
I have now changed a setting in my ftp config file and open port 20 just for the hell of it. I can still connect fine. Can you try on your end again?
Offline
Nothing for port 20. Doesn`t even connect.
Port 21 is again now giving me the successful connection message and its also saying its retrieving the directory listing. So, looks to be connecting ok on 21, but then it times out.
Is it worth trying SSH and public/private key pairs?
Offline
Are you connecting in passive mode by any chance? I just don't understand how I can connect and others cannot. This is driving me nuts.
Offline
Are you connecting in passive mode by any chance? I just don't understand how I can connect and others cannot. This is driving me nuts.
Yes, passive mode. None passive gives me an illegal port error. This is what I see in passive:

Domain removed for security. It gets this far and does nothing else.
Offline
After 15 seconds I see:

Offline
The time out error means the port ranges have not been open in router. It is although.
You also tried using filezilla to connect and it gave you the same error more or less? I tried using winscp and I can't even connect to my server.
Offline
Yes, filezilla gives me the same message. Retrives the directory listing, then hits a brick wall.
Offline
For the verify block where it starts with 'if $cmd==('verify')', is there another block of code associated with $cmd?
The blog script doesn't have such code starting with the 'if $cmd==' anywhere now that I added this myself. Whatever I change to this code has no affect to the script.
Offline