![]() |
[Share] 7Signs Status page
I just found this on my old files so I spent 10 minutes adapting it for retail c4 official. Just put your SQL IP, user and PASS (By the way i Recommend that you use a limited user that only has SELECT rights on the needed tables)
I think everything is correct, if you do not agree then please just say it and we'll discuss it here. Any improvement done to this will be great, I'm sure about it. Original SSQ status page made by KIRALEX. version changes: 1.1 -Converted to C4 Official 1.1a -fixed dusk/dawn inversion -Set max score for contributing seal stones to 500 (in preparation to taking into account festival of darkness scores). 1.2 -New way to do things, why use long queries when you can modify a stored procedure so that it does the job for you? -Now points are showed correctly, the total being 1000, 500 for seal stones and 500 for festival. 1.3 -Fastest and less complicated way to do things. Thanks Fidow for your fixes! 1.4 -The day of the event was messed up! Now fixed! 1.5 -Fixed image links (you could have done it yourself and posted the fix here ¬¬) 1.6 -Fixed image and day for leechz0rs Вложения из исходного сообщения (сами файлы в копии отсутствуют): SSQ_v.1.6.rar — 424893 байт |
thxx i test :D
|
Thanks for the share, I have an the old version which I was going to adapt but you beat me to it and saved me some time.
Thanks Rexx |
Looks fine to me. I gave it a quick overview in Dreamweaver. Thanks for the share.
|
Ty.. to make it work 100% i had to <? $day_event = str_replace("-","",$day_event); ?>
|
Mmh I think this status page fails as it only shows points given by seal stones turned to the priests... I think official status page gives 500pts to seal stones and 500 to festival, I'll try to implement it later.
|
it doesent work In C1-C4 ModdeD? :(
|
I'm afraid not... :s
I reshared a seven signs status panel made for c1-c4 moded here (last page) EDIT: I made an error and inverted dawn and dusk, will fix it ASAP |
Version 1.2! I think we can say that now this ssq status page is 100% correct :)
|
I have an easier way... store procedure lin_GetSSQStatus return all the values you need directly...
Code:
DEFINE("SSQ","USE lin2world EXEC lin_GetSSQStatus");Code:
<script language="JavaScript" type="text/javascript">$maxPointWidth i set it to 150 like original script. |
Thanks for your fixes and for opening my eyes on using directly the stored procedure.
As I don't use the original script, I just adapted your suggestion to the php version. |
There is a catch though:
If Dusk or Dawn wins the festival on every category, it doesnt matter how much seal stones does the other side donate, the festival overrides the seal contribution (so, if you win all festival categories, you win 7 signs, no matter what). I think this is the Official setup for SSQ (or so i've read on some pages, im not sure). Ill fix this on my side, perhaps you should do it. On another note: I was just importing the SSQ Page from C1.4 to C4 Retail, and now i find you here posting an already done job. Kudos to you man, good job! Oso |
Sorry guys, did not notice things were messed up. They should be fine now.
Please if you find any bugs... tell me, or fix them yourself and report them here. |
It shows me Tuesday, but today is Wednesday :)
Had to add 1 day, but not sure it will work at the end of the week. $day = $day_event+1; |
Something a lot usefull ^^
Ty =) |
not working
|
What do you mean not working?
|
SSQ_v.1.4.rar not work for me
|
Quote:
|
hahahahahaa
nop http://peru.sytes.net:8000/ssq/status.php image don´t work :S and status not´s correct http://peru.sytes.net:8000/ss/ its correct |
Quote:
@Kepler001: podrias pasarme el link del status que funciona correctamente? Gracias. |
images fixed, about the other problem you'll have to fix it yourself...
I'm not gonna share nor fix anything else in public, tired of people that don't even take the time to make a simple fix and share it ^^ |
|
fixed, I think.
|
|
| All times are GMT. The time now is 14:46. |