Skocz do zawartości
Hosting webh.pl - 20%

Select forums code

Rekomendowane odpowiedzi

Opublikowano

need help on this code , for some reason the select forums is not workin i want this code to select the forums where the mod to show and also what groups allow to view the mod , this last one works.

<if=" in_array( intval( $this->forum['id'] ), explode(',',$this->ipsclass->vars['ae_extend_forums'] && in_array( $this->ipsclass->member['mgroup'] , explode(',' ,$this->ipsclass->vars['ae_extend_groups']) )">

this will go in a template bit

Opublikowano
  • Autor

ryt it is a mod , so far i got everything workin but the select forums is not. heres the full code i got on the template bit.


Edytowane przez game

Opublikowano
  • Autor

yes the settings are made the mod is set and workin just that only part wont work the select forums. i've cheked also in settings for setting's key and seems fine ae_extend_forums and the Raw php code

if ( $save == 1)
{
if ( is_array($_POST['ae_extend_forums']) )
{
	$_POST['ae_extend_forums'] = implode(",",$_POST['ae_extend_forums']);
}
else
{
	$_POST['ae_extend_forums'] = "";
}

$key = 'ae_extend_forums';
}
if ( $show == 1 )
{
$key = 'ae_extend_forums[]';
}

Opublikowano
  • Autor

its one im just coding , i'm starting to code basic mods but sometimes i get stuck and ask for help :%-):

Opublikowano
  • Autor

So it will be like this ryt?

<if=" in_array( intval( $this->ipsclass->input['f'] ), explode(',',$this->ipsclass->vars['ae_extend_forums'] && in_array( $this->ipsclass->member['mgroup'] , explode(',' ,$this->ipsclass->vars['ae_extend_groups']) )">

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.