HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Mail issue and question about commenting

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#97506 (In Topic #19313)
Avatar

Fan in action

Hope I'm posting this in the right forum.

I've been trying to fix an annoying issue with my installment of OCPortal.
Whenever someone tries to send me a message through the contact form, there is no sender email, thus making it impossible for me to reply. In the contact form, my own email is always there by default, and the text says 'Optional', even though I've checked the box that says that an email must be typed. Obviously, if  my email is there by default for everyone, that solves that, but why does it show up? My visitors need to be unable to send me a message unless they type it in, so the box needs to be empty.

I tried sending a message after removing the email and will still go through.
Though, I get this error every time (regardless of input): NOTICE [8] mail() [function.mail.php]: Policy restriction in effect. The fifth parameter is disabled on this system in sources/mail.php on line 696
 

My provider does support both POP3 and SMTP, and I've also tried Hotmail's SMPT port (since I'm using Hotmail)

So yeah. I get the error message, but I still recieve the message. When a guest sends me a message there is no email to reply to, it just says Guest in the sender address.


Another question:

Is there any way I can make the commenting system look a little less... cluttered and more 'clean'? When I reply to someone, I have to quote what they wrote, and it looks so wonky. I'd really like it if it could look more like the way you comment on Facebook.
I have the forum installed. I'm guessing the commenting system is tied with the forum. In that case, can I uninstall the forum without having to redo the whole website? Or can I do something about the commenting system so that it's separate from the forum? I'm not really using the forum, so I can do without it.

Any help is greatly appreciated, and I hope I explained it properly :)
Back to the top
 
Posted
Rating:
#97507
Avatar

Whenever someone tries to send me a message through the contact form, there is no sender email, thus making it impossible for me to reply

This is probably just a misunderstanding. Try clicking reply in your email client, I think you'll find the reply address is correct.

The sender of the email is the server. The reply to address is what you think of as the sender. Email clients tend to show the sender in the inbox and don't show that there's a different reply address.

It's done like this because many anti-spam systems block outbound emails if they don't have an accurate sender in place, and the sender really is the ocPortal site.

In the contact form, my own email is always there by default, and the text says 'Optional', even though I've checked the box that says that an email must be typed.

ocPortal will grab a default from the currently logged in member's account. Guests will have to type it though. I suspect if you try as a guest you'll see it defaults to blank.

I get this error every time (regardless of input)

Try disabling the "Pass website e-mail address to 'sendmail'" option. I think this is something your web host has added in, I couldn't find where it comes from on Google.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97513
Avatar

Fan in action

Thank you for replying, Chris :)


When I try to reply to the email, my own email address shows up in both sender and receiver:

To: mdiduro@hotmail.com
Subject: Phoenix Delights: Bryllup og navngivning
From: mdiduro@hotmail.com
Date: Sat, 1 Jun 2013 03:32:32 -0700

The Pass Email option has always been disabled.

So I am at a bit of a loss here.
Back to the top
 
Posted
Rating:
#97514
Avatar

Hi,

I just registered on your site. If you make me an admin, I will see if I can find out what's going on.

I believe I can work around the "NOTICE [8] mail()" issue easily enough. But I want to look more closely how the contact form is set up and if perhaps the server is altering how mails are sent somehow.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97515
Avatar

Fan in action

Hi again, Chris :)

Did you register at www.phoenixdelights.dk ?
'Cause I don't see you there.
Back to the top
 
Posted
Rating:
#97516
Avatar

I'd post a hotfix for the "NOTICE [8] mail()"  issue, but I can see you're on an old version, so I don't want to risk something that may not be compatible with that.

The mail fix is in sources/mail.php. Change:

Code

if (ini_get('safe_mode')=='1')
to:

Code

if ((str_replace(array('on','true','yes'),array('1','1','1'),strtolower(ini_get('safe_mode')))=='1') || ($additional==''))


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Robbie GoacherLiked by LeonessLiked by kenno)  
Rating:
#97517
Avatar

Lol, I guess I registered at the wrong site. It was a different domain, but an ocPortal site with the same name.

I will re-register at this one.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Leoness)  
Rating:
#97518
Avatar

Actually, the admin user you gave me before works.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97519
Avatar

Fan in action

xD

... I was going to say "Old version? I just updated to the newest one today."

Alright. Go ahead :)

While you're poking around, could I possibly persuade you to take a look at how my polls are set up? For some reason they seem to lock up after one or two votes, and I can't figure out why. I've tried voting with a test account from a different IP and it still appears locked for voting. 
Back to the top
 
Posted
Rating:
#97520
Avatar

While you're poking around, could I possibly persuade you to take a look at how my polls are set up? For some reason they seem to lock up after one or two votes, and I can't figure out why. I've tried voting with a test account from a different IP and it still appears locked for voting.

Different member AND different IP? Both are enforced as unique.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97521
Avatar

I will try and apply the mail.php fix myself now I have access. Didn't expect you to reply here so quick :). So please bear with me…


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97522
Avatar

Fan in action

Chris Graham said

While you're poking around, could I possibly persuade you to take a look at how my polls are set up? For some reason they seem to lock up after one or two votes, and I can't figure out why. I've tried voting with a test account from a different IP and it still appears locked for voting.

Different member AND different IP? Both are enforced as unique.

Yeah, I just don't understand it. I was wondering why I always only got a couple of votes in (I change my poll once a month), and I logged into my test account from school, and noticed that the poll was locked, even though I never voted on it with that account.
I asked one of my regular visitors if they could cast a vote, but they said it was locked and they never voted.

Back to the top
 
Posted
Rating:
#97523
Avatar

Btw, regarding your commenting system question - please could you post that in a separate topic. I probably won't be able to reply myself, but I don't want it to get lost in this topic.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97524
Avatar

Fan in action

Chris Graham said

I will try and apply the mail.php fix myself now I have access. Didn't expect you to reply here so quick . So please bear with me…
Patience is my middle name, Chris… especially when it comes to people who are as helpful as you. So take all the time you need. I'm just super grateful :)


Chris Graham said

Btw, regarding your commenting system question - please could you post that in a separate topic. I probably won't be able to reply myself, but I don't want it to get lost in this topic.

Where would be the proper place to post it? I will see that it happens.
Back to the top
 
Posted
Rating:
#97525
Avatar

Leoness said

Chris Graham said

While you're poking around, could I possibly persuade you to take a look at how my polls are set up? For some reason they seem to lock up after one or two votes, and I can't figure out why. I've tried voting with a test account from a different IP and it still appears locked for voting.

Different member AND different IP? Both are enforced as unique.

Yeah, I just don't understand it. I was wondering why I always only got a couple of votes in (I change my poll once a month), and I logged into my test account from school, and noticed that the poll was locked, even though I never voted on it with that account.
I asked one of my regular visitors if they could cast a vote, but they said it was locked and they never voted.



Right, so if a school is involved, it probably is because the school shares an IP and someone else voted there. Even if you're logged in, it still enforces the one-vote-per-IP restriction. And if you're on another IP, it still enforces the one-vote-per-member restriction. i.e. two restrictions running at once.

We have an unofficial option to turn off the IP restriction for logged in members, which I've just enabled. I typed this into OcCLE:

Code

:set_value('poll_no_member_ip_restrict','1');


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97526
Avatar

Where would be the proper place to post it? I will see that it happens

Deploying is fine. No staff here ever really think "is this posted in the right place", just what feels about right to you.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97527
Avatar

Ok, so I applied that mail fix. I sent three test contact messages, with a note to forward them back to me. Could you do that so I can check over how they got sent?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97528
Avatar

In fact, I think I've fixed it now. You probably only got two test messages.

I think PHP was showing an error only if the from email was specified, which is a bit weird as the error has nothing to do with that (a small bug in PHP probably). However, now I fixed the error, when the from address is put in by the user, you should receive the email, and the reply-to should be accurate for it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97529
Avatar

Fan in action

I'm not sure how to forward them, as they only show up in Audit. But I successfully managed to send a message through the contact form on my info page, without error message.
Back to the top
 
Posted
Rating:
#97530
Avatar

Hmm, okay. I'm not sure what's up there, but I'll assume this is all now working unless you tell me otherwise ;).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Expand