Search Forums
Forums
Kiwitrees on Twitter
    Tags

    place, block, click, 3.2.3, defacto, living, feedback, latest version, ckeditor, husband, bug, lists individuals families, not married, batch update, shared note, add missing death, mobile, Favourites, tools, zend, address, .po, blocks, hover, advent, pdf, descendant, ADDR, birth, styles, icons, admin, BURI, translate, pages, ID facts, cousin tab, F.A.B., 2.0.2, request, translation, 1939 Register, notes, fact, events of close relatives, individual resource, future, abbreviate, survey, edit, dead, clippings cart, login, installation, spam, IE11, date, library, themes, .mo

    Tagged: , ,

    Topic:   Userdefined button!  

    This topic contains 4 replies, has 2 voices, and was last updated by  jacoline 2 years, 4 months ago.

    Viewing 5 posts - 1 through 5 (of 5 total)
    • Author
      Posts
    • #4613

      jacoline
      Participant

      432 posts

      I am trying to make the life easier.
      Im using pages for Inquiries and I really do have alot of pages which also contains other stuff than Inquiries. So I made a button at the bottom to directly go to edit that excact page. And I noticed if I do that – a visitor get access to edit ๐Ÿ™

      I have enclosed the html I made! How do I avoid visitor access to edit pages?

      You can see it here: http://www.jaconelli.dk/webtrees/module.php?mod=pages_userdefined_inquiries&mod_action=show&pages_id=115

      (please let me know when you have looked at this so I can remove the button again)

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      Attachments:
      #4616
      kiwi
      kiwi
      Keymaster

      1547 posts

      Sorry, but that is not possible. You will need to use the link in the main menu (Add ons) for “Edit pages”, and you must be logged in first for that to appear.

      To use kiwitrees functions you must be able to enter PHP code, not html, and that would be a ridiculous security risk for these pages.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #4617

      jacoline
      Participant

      432 posts

      You do not understand – it is possible for visitors to do this by the html button. Use the link and scroll down – hit the button in right corner – please do not delete – but try to edit access to members

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #4618
      kiwi
      kiwi
      Keymaster

      1547 posts

      I thought I understood, but perhaps it is simpler than I thought. Change mod_action=admin_edit to mod_action=show in the button link?

      (By the way, in the next release that risk is removed. Clicking on a link including mod_action=admin_edit will fail if not logged in and allowed access to the page)

      Nigel
      My personal kiwitrees site is www.our-families.info
      #4619

      jacoline
      Participant

      432 posts

      Super – now I will not worry about this ๐Ÿ™‚

      I remove the button and figure out something else to make my life easier ๐Ÿ™‚

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

    Viewing 5 posts - 1 through 5 (of 5 total)

    You must be logged in to reply to this topic.