Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rezolvat Problema cu pluginul My League
#1
Am făcut liga, am adăugat echipele iar când vreau să intru de exemplu la Table sau Schedule nu pot.. îmi arată

Code:
1
2
3
4
5
6
7
8
9
You do not have permission to access this page. This could be because of one of the following reasons:

    Your account has either been suspended or you have been banned from accessing this resource.
    You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.
    Your account may still be awaiting activation or moderation. (Resend Activation Code)
    You have accessed this page directly rather than using appropriate forms or link.


You are currently logged in with the username: 'Alaska' 


Care este problema? Am nevoie urgent ca acest plugin să meargă

#2
1.Verifica sa fie activata modificarea. E o setare din Admin CP.
2.Daca si acum apare eroarea atunci verifica ca ai o liga creata si niste meciuri. Pagina cu echipele merge?
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#3
Da, singura pagină care funcţionează este cea cu echipele.
#4
Nu ai adaugat meciuri. Adauga cel putin un meci si apoi va mere!
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#5
Am adăugat şi meci şi puncte. Aceaşi poveste..

[Image: ioos5e.png]
#6
1.Intra in fisierul myleagues.php din directorul root si sterge blocul :

PHP Code:
if($mybb->settings['myleagues'] == 0) { // Checks if it's activated.
	error_no_permission();	
}

2.Daca nu merge dupa ce faci pasul 1 atunci comenteaza urmatoarea linie error_no_permission(); care apare in fisier.
Prin comentare va trebui sa pui \\ in fata. Adica in loc de :

PHP Code:
error_no_permission(); 

sa pui :

PHP Code:
\\error_no_permission(); 

Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#7
linia 229?
#8
Sunt doar doua linii de tipul error_no_permission. Prima face parte din acel bloc de if prezentat la pasul 1, iar a doua din blocul de la pasul 2.
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#9
Primul pas nu e funcţional Big Grin
Pasul 2 la fel Sad

Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in /home/cgp/public_html/forum/myleagues.php on line 29
#10
Atunci scoate si asta :

PHP Code:
if(empty($league) || ($league['public'] == "no" && $mybb->user['ismoderator'] !== 1) || ($number_of_matches == 0 && $mybb->input['action'] !== "teams") || ($number_of_teams == 0 && $mybb->input['action'] == "teams")) {
	error_no_permission();	
}

de tot din fisier.

Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.


Forum Jump:


Users browsing this thread: 1 Guest(s)