mambot bot_joomleague_search for Team & Players (searchbot)

Questions about specific modules and mambots
jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Tue Jun 10, 2008 3:33 pm

Hello everybody again.

I'm working with the joomleague component and when I try to search information of a player or a team at my joomla website, the results are null.
Now when searching the correct place to post the bot I've found the bot_joomleague_player (yes, you can think that where I was looking  :-[ ), but the work is already completed, so I think is a good idea to post it......

So, I've been working on a searchbot for the joomleague component.
The attachment containts the version 1.0.0 of this bot.

If anybody thinks that it's usefull, the unique thing to do is install it from the admin/mambot/instalations and configure it.

The configuration take care of three parts:
1. Search players/or not (default yes)
2. Search teams/or not (default yes)
3. Search/or not from the selected project if the user has instaled the mod_joomleague_navigation_menu. If it does not exists, the bot makes a global search. (default no)

The searchs are made against the following fields:
  Player (firstname, lastname, info)
  Team  (name, short_name, middle_name, description, info)

If anybody want to see an example, visit the web:
  torneoindra.webcindario.com

And try to search any team or player  :rolleyes:

Thats all.
Enjoy.
Best Regards.

[gelöscht durch Administrator]

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby julienV » Tue Jun 10, 2008 7:31 pm

great bot !

do you mind if we add it to the svn ?
We could add you as a developper so you can maintain it too.
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Wed Jun 11, 2008 7:19 am

Hello julienV.

Thank you very much for your comment.  :D

This is a great notice for me, it means that is a "small great job", of course if you like it, you can add it to the svn, and if I change into developer it will be a very good notice too.

Thank you again for the post and of course for all the job at joomleague component.

Best Regards.

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby julienV » Wed Jun 11, 2008 11:37 am

please register on joomlacode, and request to join joomleague project then :)
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

varfjell
.
Posts: 37
Joined: Sun Mar 25, 2007 3:12 pm
Location: Norway
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby varfjell » Wed Jun 11, 2008 12:17 pm

There is a player's search bot available already from www.yourlife.de but this may be better because teams are included. It would be nice if the bot also included all Joomleague content such as match reports, stats etc.

Keep up the good work  :)
Last edited by varfjell on Wed Jun 11, 2008 7:47 pm, edited 1 time in total.

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Wed Jun 11, 2008 1:15 pm

Registration at joomlacode is already done, and the request to the joomleague project completed (result of the action is Succesfully added).
But now I don't know who to see if the project is added or if I have to do anything more.

The searchs at content will be a good idea.

Thank you very much.
Best regards.

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby julienV » Wed Jun 11, 2008 6:37 pm

read the dev forum ;)
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot) New Version

Postby jepeto » Wed Jul 02, 2008 12:56 pm

Hello everybody again.

Here we are with a new small update of the searchbot  (bot_joomleague_search_1.0.2.zip), like varfjell requires the new boot includes the search at events statistics and going in the same way that the others searches if the joomelague menu is present, the search is executed only in the active project.

You can see an example (as always  :cool: ) here
  http://torneoindra.webcindario.com
Looking for the key (gol) or for a name (i.e.: mariano)

I'm looking for the content, in order to achieve the other require, but I'm not sure the correct place, I'm thinking on the match's descriptions and I don't know if exists another general content.... ^-^

So, thats all for the moment.
Enjoy.
Best regards.


[gelöscht durch Administrator]

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Wed Jul 02, 2008 5:09 pm

Thank you jackhobojangles.

Yes my first idea is to link into a new window, but know I think that It will be a good idea if it's configurable by the user, don't you think so???  :rolleyes:

So I will look for it in the next version. 

Thank you again.
Best regards.

purple1

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby purple1 » Thu Jul 17, 2008 5:24 pm

Thanks 4 that Mambot :)

but only one Problem... when you have 2 or more projects with the same Teams (e.g. Saison 07/08 and 08/09) the mambot find every Player and every Team for every Project and his find Teams and Players from unpublished Project too.

How can i fix these, so that the mambot find the same Teams or Plyers only one Time and only when the Project is published?

Sorry 4 my Bad english... I hope you understand my Problem....

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Fri Jul 18, 2008 1:05 pm

Hello purple1

You are right, the bot is searching unpublished proyects  :-[

Here you have a new version of the bot. I hope this will solve the problem.  If not, please tell me.
I will add it the SVN too, but first I have to learn how to update...  ^-^

The new version also contains the possibility of choose the navigation browser kind (same or new window).

Thanks a lot for use it.
Enjoy.
Best Regards.

[gelöscht durch Administrator]

purple1

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby purple1 » Sat Jul 19, 2008 6:42 am

Very Nice
Thanks 4 this fix. It works! :D

Now the last Problem ;)

When you have 2 or more Projects with the same Teams published (like Saisonarchive 07/08 and 08/09) The Bot will find the Teams in all Project.
the result will look very funny when you published Archive over 2-5years.

Can you add a query that will only search at the Saison(s) or the Projects chosen in mambotparameters?

how do you think about a option to search Clubs instead of teams ?

thanks a lot 4 this Searchbot
Last edited by purple1 on Sat Jul 19, 2008 10:15 am, edited 1 time in total.

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Mon Jul 21, 2008 8:59 am

Hello purple1.

I need some time to work on your request and on jackhobojangles request too. I hope to give you a solution in the next version.

jackhobojangles request:
have not had the time to your try latest version, but to make only latest available order by season and league ordering and limit it to one... if someone has setup joomleague in the right way it would work as wanted... else... well


About the Clubs, It could be possible to add a new query in order to search clubs or make it configurable on mambot parameters. I will think about it

Thank you very much.
Best regards.

othonas
.
Posts: 46
Joined: Wed Apr 02, 2008 12:12 pm

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby othonas » Mon Jul 21, 2008 10:30 am

Hello jepeto and thanks for the searchbot.
Is it possible to add the referees in the search ?
Thanks

purple1

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby purple1 » Mon Jul 21, 2008 11:22 am

wow jepeto,
thanks 4 the answer, this sounds very nice :)

And don't be in such a hurry!

Best regards

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Wed Jul 23, 2008 1:08 pm

Hello othonas.

I think that it is possible but I have to check if the search can be added to the matches search or we need another entry.

I think  it´s possible for the next version.

Thank you very much. Enjoy.
Best regards.

othonas
.
Posts: 46
Joined: Wed Apr 02, 2008 12:12 pm

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby othonas » Wed Aug 06, 2008 3:04 pm

Do your best  :)
Thanks

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team/Clubs&Players&Event&Match (searchbot)

Postby jepeto » Wed Aug 20, 2008 11:32 am

Hello again.

I have been working on a new version of the searchbot. I have tried to meet all requests but I not sure if I have achieve the goal for all of them  :-\

So the 1.0.5 version is in this way:

The search is carried out in fields:
  Player  (firstname, lastname, info)
  Team    (name,short_name,middle_name,description,info)
                or
  Clubs  (name,address,zipcode,location,president,manager)
  Events  (firstname,lastname,short_name,eventyp.name)
  Matches (local,visitor,refeer lastname/firstname,playground,summary)

I have think that is better not to search Teams and clubs at the same time, and the referees are included at match search, I don`t know how to make a frontend link to a referee  :bash:

Also there is an order in each search, in all of them the "newest" are the project_id DESC and the "oldest" are the project_id ASC, the rest of the cases are dependent on the search type (events, clubs, ...). For an example see php code and search or modify calls concerning to botUpdateOrdering if you want to change something....

As always, you can see an example at:
http://torneoindra.webcindario.com

I hope you enjoy this new version.  :biggrin:
Best Regards.


[gelöscht durch Administrator]

purple1

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby purple1 » Wed Aug 20, 2008 7:23 pm

Very Nice :)
Thank you...

i find the first Bug:
263

Code: Select all

tl.project_id ,'&tid=',tl.id

change to :

Code: Select all

tl.project_id ,'&tid=',tl.team_id

otherwise in the url it returns the ttid instead of the tid

I will test more, when i have more time :)

othonas
.
Posts: 46
Joined: Wed Apr 02, 2008 12:12 pm

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby othonas » Wed Aug 20, 2008 8:44 pm

the link to the referee as is in the referee extension by julien is
index.php?option=com_joomleague&func=showprojectreferees&p=
for the current project and
index.php?option=com_joomleague&func=showseasonreferees&p=
for the season
if it helps

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: mambot bot_joomleague_search for Team/Clubs&Players&Event&Match (searchbot)

Postby johncage » Wed Aug 20, 2008 8:55 pm

jepeto wrote:
Also there is an order in each search, in all of them the "newest" are the project_id DESC and the "oldest" are the project_id ASC, the rest of the cases are dependent on the search type (events, clubs, ...). For an example see php code and search or modify calls concerning to botUpdateOrdering if you want to change something....

As always, you can see an example at:
http://torneoindra.webcindario.com

I hope you enjoy this new version.  :biggrin:
Best Regards.



hello jepeto.

maybe trying to use joining season's and league's tables instead of project_id is a better way to make an ordering... there are fields 'ordering' for that purpose so webmasters can decide what comes first and nobody will come up to tell you "i imported first season of any kind of sport and now the league anno 1492  is found before actual season..."

;)
Look, you've got it all wrong! You don't NEED to follow ME, You don't NEED to follow ANYBODY! You've got to think for your selves! You're ALL individuals!
So keep a clear head and always carry a lightbulb.

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Thu Aug 21, 2008 7:48 am

Hello everybody.

First of all, thank you very much for testing and use the bot  :thx:  and sorry for the bugs  :oops:

Then, Trying to answer all the questions:

purple1: Yes such a big mistake, the team_id should be used, sorry and very thanks.

othonas: Of course it helps, thank you very much. And if it necessary for all the people I will include the referees search in the bot, but It's necessary to have this extension installed, and for the 0.92 is not automatically  included and I'm not sure if the 0.93 has.

johncage: Yes, I was thinking that is not a good solution the ordering by project_id but I didn`t have any idea for make another solution, so now, you give me the correct solution for this goal, thank you very much, I will change it for the next version.

Thank you all for the comments.
Best regards.

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby farzad123 » Tue Sep 16, 2008 8:26 pm

dear jepeto tanx for this bot  :thx:

but i have a bug with this . when i search a player it find that player but when i click on search result it shows "no data" for player in player description page ...
and with team it shows another team ...

i use joomleague 0.93 and joomla 1.0.13

what is wrong ?  :confused:
Last edited by farzad123 on Tue Sep 16, 2008 8:28 pm, edited 1 time in total.
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Thu Oct 09, 2008 7:48 pm

Hello farzad123

Thank you very much for the bug, I have checked it and in some cases the bot works brong, I have to check this cases because I´m not sure the reason.  :D

I will change it for the next version. Sorry for the mistake and for the delay in reply.

Best Regards

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Fri Oct 10, 2008 6:28 pm

Hello everybody again.

Here we have a new version of the bot (1.0.6). This version includes the recent bugs founded (of course solved or I hope so  :whistling:).
And a new modification of the ordering. As proposed by Johncage, I have used the ordering of the seasons and leagues for the searches. There is a new option in the configuration.
Option 1. Order by League.
Option 2. Order by Seasons.

I hope you enjoy this new version and I hope that does not have many more failures.  :oops:

Best Regards

[gelöscht durch Administrator]

User avatar
farzad123
.
Posts: 171
Joined: Thu Nov 29, 2007 9:18 pm

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby farzad123 » Sun Oct 12, 2008 8:53 pm

this version is the best :thx:
Joomla version : 1.5.26
Joomleague version: 1.6.0.9826ddb

User avatar
Kurt
Donator
Donator
Posts: 932
Joined: Mon Mar 19, 2007 7:40 pm
Location: Germany
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby Kurt » Sat Dec 06, 2008 11:11 am

jepeto wrote:Here we have a new version of the bot (1.0.6). This version includes the recent bugs founded (of course solved or I hope so  :whistling:).


Nice bot ;-)

But I have 3 problems with it.

1. The bot, which is listed on the download-page of JoomLeague is an older release (1.0.2??). Maybe this could be fixed and v1.0.6 could be added to the downloadarea of JoomLeague.

2. If I click to the result of the searchlist Joomla tells me thta I'm not allowed to see the result and schould first Login to Joomla. Is this correct or what may I have done wrong???

3. It would be nice if a future release of this bot would also search the Team-Staff data and not only the players.

Thanx, Bye
http://fc-bergheim 2000.de
http://2010.fc-bergheim-2000.de
Joomla 1.0.14 & 1.5.15 - JL 0.93b / 1.5.05a

jepeto
.
Posts: 21
Joined: Sat May 24, 2008 7:17 pm
Contact:

Re: mambot bot_joomleague_search for Team & Players (searchbot)

Postby jepeto » Fri Dec 12, 2008 12:06 am

Hello K.N.

First of all, thanks for using the bot.

I think the first point is solved, I have added the new version to the download area:
http://www.joomleague.de/forum/tpmod.html;dl=cat136;tpstart=10
I´m not sure if this is correct...  :gelb:

For the second point I will need more information (Player, Team, Clubs, Events or  Matches link), because I have tested again the new version, and I can´t reproduce the error, I think that I have seen the problem, but some versions before, I hope....

For the third point, I will check your suggestion, and if It is possible, I will include it in a new version.

Thanks.
Best Regards.


Return to “Modules & Bots”

Who is online

Users browsing this forum: No registered users and 1 guest

cron