eLeMenT
Would you like to react to this message? Create an account in a few clicks or log in to continue.

forum help needed

+2
Avallac'h
vega
6 posters

Go down

forum help needed Empty forum help needed

Post by vega Tue May 27 2014, 17:11

Some of you might have seen the server section in the navigation bar of the forum and noticed it looks like shit xD I've been messing around with it but i dont know any html so its pretty much all from tutorials and trying to add lines i tried myself but it didn't turn out good... Razz This brings me to a question to any people out there that know html and css: Can you please help me make a complete new design?

Some of the stuff in there right now doesn't need to be in there anymore like the sponsors cause that deal never really got finished sadly. Other things still need to be added like all the maps we have (this takes so long and is boring but i wouldn't mind doing it if i get help on the other stuff) and i still would love to display the speedcap records in there to but that will need a php (i think) script to transfer the data in the server.db of the server to a html page and forumotion doesn't support that. I do got note of websites that host php stuff for free so maybe that can be used? The code i got from somebody (Disco) is this:

Code:
<body class="page_bg">
Hello, today is
<?php
function agev_nex_get_all_stat()
{
    $done = array();
    $pattern = '/\\\\(\w+)\/captimerecord\/(\w+)\\\\(.*)/';
    $handle = @fopen("https://dl.dropboxusercontent.com/s/2mbdhpt5m3fw3z1/server.db?token_hash=AAEp7B0Xqi5aK4Wgx7VvK2pUb3NYH-CIupstpJ1iagwdag&dl=1", "r");
    if($handle)
    {
        while (($buffer = fgets($handle, 8192)) !== false)
            if(preg_match($pattern, $buffer, $matches) === 1)
                $done[$matches[1]][$matches[2]] = urldecode($matches[3]);
        if(!feof($handle))
            $done = false;
        fclose($handle);
    }
    return $done;
}

print_r(agev_nex_get_all_stat());
?>.
</body>

Not sure what it does or how i need to use it because we never got to that :/

Thanks in advance for the people willing to help!

vega
vega
vega
Admin
Admin


https://element-nex.forumotion.com/

Back to top Go down

forum help needed Empty Re: forum help needed

Post by Avallac'h Tue May 27 2014, 17:20

I am sorry vega, i don't know how to help you. I don't know anything in pregammation yet. Btw i guess that S&co could help you (when i descussed with him i thought that he knows some things in html) but good luck to contact him xD ! If i can help you another thing that i can do tell me vega Wink

Avallac'h
Avallac'h
Avallac'h
eLeMenT Friend
eLeMenT Friend


Back to top Go down

forum help needed Empty Re: forum help needed

Post by vega Tue May 27 2014, 17:22

Avallac'h wrote:but good luck to contact him xD !

That is rather easy Wink

vega
vega
vega
Admin
Admin


https://element-nex.forumotion.com/

Back to top Go down

forum help needed Empty Re: forum help needed

Post by doctor_x Tue May 27 2014, 17:43

nope this stuff is out of my reach, i got as far as making some pages with joomla Smile

doctor_x
doctor_x
eLeMenT Friend
eLeMenT Friend


Back to top Go down

forum help needed Empty Re: forum help needed

Post by Schocksal Tue May 27 2014, 19:15

this code search in this dropbox-database all entries with "captimerecord" and writes out a list of the fasted cap records. If you have more specific questions pls ask Wink
I don't know much of this codes but my father can tell me lot of this stuff Cool

Schocki Smile
Schocksal
Schocksal
Spammer
Spammer


Back to top Go down

forum help needed Empty Re: forum help needed

Post by vega Tue May 27 2014, 20:39

So i have to make sure the file gets updated in the dropbox? Or is it possible to change it so it searches in a certain folder destination?

vega
vega
vega
Admin
Admin


https://element-nex.forumotion.com/

Back to top Go down

forum help needed Empty Re: forum help needed

Post by neXus Tue May 27 2014, 20:42

make sure the file gets updated. if it can open the .db file just fine, updating it is the only thing to be done
neXus
neXus
Member
Member


Back to top Go down

forum help needed Empty Re: forum help needed

Post by Schocksal Tue May 27 2014, 21:15

Yeah you can open also a local file on the same computer where the server is running. Then you have to write instead this dropbox stuff the correct local path.

Schocki Very Happy
Schocksal
Schocksal
Spammer
Spammer


Back to top Go down

forum help needed Empty Re: forum help needed

Post by vega Tue May 27 2014, 23:45

So it doesn't matter where i put the file itself? and how do i get it to write it on the forum (which only knows html & css)?

vega
vega
vega
Admin
Admin


https://element-nex.forumotion.com/

Back to top Go down

forum help needed Empty Re: forum help needed

Post by unic_sorin Fri May 30 2014, 17:40

i can help you, conntact me at sorin.botirla@gmail.com or on facebook: Sorin Botirla
unic_sorin
unic_sorin


Back to top Go down

forum help needed Empty Re: forum help needed

Post by vega Sun Jun 01 2014, 23:05

SOLVED
vega
vega
Admin
Admin


https://element-nex.forumotion.com/

Back to top Go down

forum help needed Empty Re: forum help needed

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum