CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Wordpress implementation won't let me view CiviMail permalink URL
Pages: [1]

Author Topic: Wordpress implementation won't let me view CiviMail permalink URL  (Read 575 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Wordpress implementation won't let me view CiviMail permalink URL
October 05, 2012, 06:21:05 am
Running CiviCRM 4.1.3 on Wordpress 3.4.1, and I'd like to allow mailing recipients to view the mailing online. Civi inserts the token as http://www.example.com/?page=CiviCRM&q=civicrm/mailing/view&reset=1&id=34

This looks to be a decent URL, but when I click on it I get "You don't have permission to execute this URL".

Is this a bug that's been fixed since 4.1.3, a limitation of the Wordpress implementation, and perhaps fixed in a later version of Civi and/or Wordpress, or is it due to a problem with my install?

Any pointers welcome.

Thanks
Graham
Graham Mitchell
http://mc3.coop

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Wordpress implementation won't let me view CiviMail permalink URL
October 05, 2012, 08:05:40 am

dont think its been fixed

took a quick look at the code and seems like it should work.

would be great if you can investigate the permissioning code that civi runs thru at:

CRM/Mailing/Page/View.php, function checkPermission

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Wordpress implementation won't let me view CiviMail permalink URL
October 05, 2012, 08:12:23 am
Thanks Lobo

I did spot this issue after I posted: http://issues.civicrm.org/jira/browse/CRM-10334

which suggests that it has been fixed in 4.2.x ?
Graham Mitchell
http://mc3.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Wordpress implementation won't let me view CiviMail permalink URL

This forum was archived on 2017-11-26.