1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug tosUrl in XenForo_ControllerPublic_Help::actionIndex

Discussion in 'Resolved Bug Reports' started by xf_phantom, Mar 30, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    It's not necessary to set the variable inside the indexAction AND the WRAPPER because it's already a global variable which is set inside the public dependencies getEffectiveContainerParams Method.

    'tosUrl' => XenForo_Dependencies_Public::getTosUrl()
    It's IMO even bad/causing problems, because my change of the variable on event container_public_params gets overwritten with this.

    I know i could change it via the acp options, but i need to change it via an addon.

    Edit: It's also happening inside of the XenForo_ControllerPublic_Register controller.

    Or is there another way to change it / or to remove it if necessary via an addon ?
  2. Mike

    Mike XenForo Developer Staff Member

    That's a container param - it's not a globally available parameter, so this is needed. You'll need to manipulate the controller response.
    Slavik likes this.

Share This Page