Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
LOL & Dota badges
Go to page
Previous
1
,
2
Freakz Forum Index
->
Trash Bin
->
Trash
->
Discussions/Help
Author
Message
8091
aste
[#marinar]
Status: Offline
(since 09-08-2019 12:06)
Joined: 23 Aug 2006
Posts: 11227
,
Topics: 159
Location:
Romania
Reputation:
1564.6
Votes
: 228
Posted: 01-09-2014, 17:58:16
| Translate post to:
... (
Click for more languages
)
Ow! Raster te-a lovit trenul si ai scos o idee buna ! :o
PROW
0
0
Back to top
D a n g e R
[AimeR]
Status: Offline
(since 21-01-2024 10:36)
Joined: 28 Nov 2012
Posts: 5292
,
Topics: 577
Location:
Maramures
Reputation:
787.6
Votes
: 607
Posted: 01-09-2014, 21:02:59
| Translate post to:
... (
Click for more languages
)
Cred ca daca creeaza cineva acele iconite,Shocker o sa le adauge,dar daca nu are iconite,nu are ce adauga.
Si la propunerea cu iconite pentru skype,youtube,etc,la fel a zis,sa creeze cineva iconitele,ca el le adauga.
Casuta vocala:
DangeR
0
0
Back to top
Wipe
[Banned user]
Status: Offline
(since 08-06-2022 20:34)
Joined: 05 Jul 2012
Posts: 12606
,
Topics: 645
Location:
Cluj-Napoca
Reputation:
21726.8
Votes
: 431
Posted: 01-09-2014, 21:11:39
| Translate post to:
... (
Click for more languages
)
Se pot folosi aceleasi icons care sunt si pe TS.
Don't touch this
0
0
Back to top
Ravenous
[Retired E5150]
Status: Offline
(since 28-12-2023 12:30)
Joined: 01 Jan 2012
Posts: 10472
,
Topics: 307
Location:
Bucharest
Reputation:
1863.9
Votes
: 234
Posted: 02-09-2014, 04:34:17
| Translate post to:
... (
Click for more languages
)
Se face, insa cum alegi regiunea? Cel mai simplu si mai bine e sa puneti voi link-ul direct, de genul
http://*.op.gg/summoner/userName=*
si
http://www.dotabuff.com/players/*
, unde
*
e wildcard, altfel, mi se pare munca inutila, sa se enumere regiunile pentru joc si sa selectati din lista, apoi sa se inlocuiasca in link in functie de ce regiune ati ales bla bla, cel mai bine puneti voi direct link si bafta.
https://www.freakz.ro/imagini/ico/games/dota2.png
https://www.freakz.ro/imagini/ico/games/lol.png
@@ Shocker
I AM NO LONGER A GAMEMASTER, PLEASE SEE
SERVER STAFF
0
0
Back to top
Raster
[ACNA]
Status: Offline
(since 02-09-2016 09:51)
Joined: 24 Feb 2011
Posts: 5377
,
Topics: 210
Location:
In my mind palace
Reputation:
765.4
Votes
: 81
Posted: 03-09-2014, 11:25:07
| Translate post to:
... (
Click for more languages
)
Un <select> cu <option> si ai rezolvat, nu e greu de facut, il fac eu daca vrei, si-apoi genereaza linkul in functie de valoarea trimisa de formular.
Problema cu link direct e ca ajungi sa pui orice link acolo si ca sa nu se intample asta tot trebuie sa faca o verificare sa vada daca e bun linkul, pana la urma tot acolo se ajunge.
LE:
Code:
<select name="X">
<option value="eune.">EUNE</option>
<option value="euw.">EUW</option>
<option value="na.">NA</option>
<option value="ru.">Russia</option>
<option value="tr.">Turkey</option>
<option value="oce.">Oceania</option>
<option value="">Korea</option>
<option value="br.">Brazil</option>
<option value="las.">LAS</option>
<option value="lan.">LAN</option>
</select>
Now, la value gasesti subdomeniul pentru fiecare optiune, fiecare valoare are un punct dupa pentru ca la Korea e link direct (deci trebuie sa fie o valoare goala, ex cum arata un link de Korea:
http://www.op.gg/summoner/userName=raster
) si e mai simplu (dupa parerea mea) sa generezi linkurile in php in felul urmator:
Code:
$profile_url = "http://" . $_POST['X'] . "op.gg/summoner/userName=" . $_POST['Y'];
decat sa pui un if si sa faci o exceptie in cazul in care e selectat Korea.
Pana la urma, cred ca nici nu e nevoie chiar de toate regiunile, dar in acelasi timp nici nu strica absolut nimic daca sunt puse acolo.
воронья
0
0
Back to top
Ravenous
[Retired E5150]
Status: Offline
(since 28-12-2023 12:30)
Joined: 01 Jan 2012
Posts: 10472
,
Topics: 307
Location:
Bucharest
Reputation:
1863.9
Votes
: 234
Posted: 14-09-2014, 23:19:47
| Translate post to:
... (
Click for more languages
)
^apar regiuni noi/ modificari la site maybe, nu are rost, iar la Dota 2 habar nu am cum e chestia cu regiunile, am vazut ca in link e doar profile ID (
http://www.dotabuff.com/players/111773156
), nimic altceva, iar pe ala nu il obtii decat cautand string-ul pe site-ul lor, iar ID-ul ala e unic, nu exista acelasi ID pe alta regiune. Tot cu direct link ar fi cel mai okay.
I AM NO LONGER A GAMEMASTER, PLEASE SEE
SERVER STAFF
0
0
Back to top
Raster
[ACNA]
Status: Offline
(since 02-09-2016 09:51)
Joined: 24 Feb 2011
Posts: 5377
,
Topics: 210
Location:
In my mind palace
Reputation:
765.4
Votes
: 81
Posted: 16-09-2014, 00:40:07
| Translate post to:
... (
Click for more languages
)
N-ar fi, complici lucrurile simple, but do whatever.
Nici nu tre sa adaugi vreo regiune noua (desi dureaza 10secunde) si din toate alea o sa fie folosite 3 maxim, avand in vedere ce persoane salasluiesc pe forumul asta.
воронья
0
0
Back to top
Shocker
[
Freakz owner
]
Status: Offline
(since 08-02-2020 12:17)
Joined: Momentul zero
Posts: 33986
,
Topics: 1350
Location:
localhost
Reputation:
6485.6
Votes
: 829
Posted: 22-10-2014, 13:06:59
| Translate post to:
... (
Click for more languages
)
Ravenous wrote:
Se face, insa cum alegi regiunea? Cel mai simplu si mai bine e sa puneti voi link-ul direct, de genul
http://*.op.gg/summoner/userName=*
si
http://www.dotabuff.com/players/*
, unde
*
e wildcard, altfel, mi se pare munca inutila, sa se enumere regiunile pentru joc si sa selectati din lista, apoi sa se inlocuiasca in link in functie de ce regiune ati ales bla bla, cel mai bine puneti voi direct link si bafta.
https://www.freakz.ro/imagini/ico/games/dota2.png
https://www.freakz.ro/imagini/ico/games/lol.png
@@ Shocker
Am facut asa
FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
Shocker
, 22 October 2014 11:07
Freakz Forum Index
->
Trash Bin
->
Trash
->
Discussions/Help
Go to page
Previous
1
,
2
The time now is 05-04-2025, 03:56:41
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details
This message appears only once, so
like us now until it's too late ! :D
x
You don't have any alerts