Search
Forums
Topic Information
ForumSupport for kiwitrees
Authorjacoline
Last activity3 years, 9 months ago
StatusClosed
Replies4
Voices2
Participantsjacoline, kiwi
Actions
Tags

3.2.3, pdf, 500, role edit, white screen, marriage, road map, divorce, 1939 Register, My Page, spam, person, REFN, source, library, Advanced search, blank, zoom, progress, GEDCOM, duplicates, menu, follow, tree, 3.3.3, shared note, dead, tab, type, login, CHR, formatting, performance, prefix, event, re-order, language, fancy image bar, latest, login failure, simpl_research, Extra menus, internal messaging, mobile, click, set link, administration pages, kiwitrees, 3.3.5, cousin tab, descendant, last change date, block, danish, events of close relatives, places, search, index, DIV, webtrees 1.4.4.1

Kiwitrees on Twitter

    Tagged: , ,

    Topic:   Userdefined button!  

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

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

      471 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

      1708 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
      Avatar
      jacoline
      Participant

      471 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

      1708 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
      Avatar
      jacoline
      Participant

      471 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)

    The topic ‘Userdefined button!’ is closed to new replies.