MyBB Community Forums

Full Version: MyLeagues 1.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi FilipK.

THanks So Much for the Plugin, its very cool the Fantasy Sports

My Questions:

Install the Plugin on the new version 1.8.4

the plugin file [inc/plugins folder], Must changing the compatibility 16* to 18* 

 "compatibility"    => "16*" | changing the 16* to 18*

Now the Plugin can Install in the ACP of MyBB.



When Install the Plugin Go in the ACP of MyBB: 
Can Create a League, Teams, Match… 

Can see the Pic:

http://postimg.org/image/4ouj56kkd/

[Image: MyBB-leagues.png]

But in the page of MyLeague… OnLine Page  http://leagues.we11.net/myleagues.php not work!

-You do not have permission to access this page? ... Can Check the Link Up...

How Can Fix the Setting of page?

Sorry i am new in the MyBB Plugins Development, try to Learn with this Plugin to can Development another Plugin

Thanks In Advance for the Support!

Gracias por el soporte!
hello
i am using this plugin also
you cant acess that page as the pic you posted above you have a tab named "links"
going there you will be able to see all the links related to your setup leagues
ie: www.yourforumurl.com/myleagues.php?action=teams&lid=1
the "1" is the league id so you can run multiple leagues in it
and this link will show you the teams for that league/id
Thanks subzr1  for the Info!
I was Cheking the comment and try in the ACP MyLeague with the  ?action=teams&lid=1 
But still not working the page:  "You do not have permission to access this page." 
Can test in that link: http://leagues.we11.net/myleagues.php?ac...eams&lid=1

Any suggestions?  Lightbulb … are welcome to test in that board!  Cool

Thanks in Advance!

Saludos Desde Colombia

Note:
Searching in the Community found that info:
http://community.mybb.com/thread-144163-...pid1058152

You need to create Leagues, Teams and Matches and Still Hide.


Change That 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();    
} 


to that 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();    
// } 




Now Can see the Page, Example Test Board Forum Plugin:
http://leagues.we11.net/myleagues.php?ac...king&lid=2

http://leagues.we11.net/myleagues.php?ac...eams&lid=2

I will continue studying that Plugin, now want to se The Scores Matches… 

- Not Found a panel admin to admin the Scores Matches…  Lightbulb Angel 
 
Thanks For the Info!

Smile
to edit the score of matches u must go and "edit league"
inside u will see the teams and set them up to schedule the match
after u can isert the scores in same place
Pages: 1 2