I am actually working on a Phpbb forum for members of an online game I play.
I am trying to make custom BBcode tags to access things in my game with no success!
Here is the thing ...
In this game, there are players and tribes (groups of players).
I am unable to link to the player/tribe pages directly with a url using the names because the database and pages for them are linked by numbers.
each player/tribe name corresponds to a database entry number and you can only use numbers in the URL.
please note the id=3833804
In trying to work a way around this, here is what I can think of ...
I have found a page that will bring up a player info screen I can use!
All I do is edit the last variable (searchstring=)with the player name!
Same with the tribe info screen.
I just edit the same variable in this one as well
Here is the problem ...
Hopefull there is an option using a script in the URL . . .
If you go to either of these pages, you will see it has found the requested info ..
To GO to the info, you need to click the link with the name of what you searched for.
I need to make a URL with scripting in it to not only GO to this url listed above
but hopefully click the link on the page FOR the player/tribe I searched for!!
I dont know the coding but here is my thoughts . . .
The player name variable used in the link itself might be the key I would think.
If you can make the script search the page for a link with the same variable and click that then that solves the problem!
ie: Player name searched for was "Powrpak" so have the script look for a link named "Powrpak" on the page loaded and click it!
Any help with this would be GREATLY appreciated!!
You can test it using the following variables:
Players: Powrpak / DrgonWhere / Missfit69
Tribes: EKC 3 / PLG / EKC3-1
If they all work then we have a solution!!