SA-MP Forums Archive
[Tool/Web/Other] Dynamic signatures. [MySQL / INI] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] Dynamic signatures. [MySQL / INI] (/showthread.php?tid=482365)



Dynamic signatures. [MySQL / INI] - Djole1337 - 20.12.2013

Dynamic Signatures with INI support!
ABOUT:
I know there are a few similiar very poorly scripted projects so I decided to make my own. It supports MySQL and INI.
How it looks like?
http://puu.sh/5SVcW.jpg

You can also include it in your forum signature
Код:
\[img\]http://your.domain.tld/signature.php?name=somename[/img]
I will also add rewrite rules for apache/lighttpd if you want.

PREREQUISITES:
MySQL server / PDO extension.

SOURCE CODE:
https://github.com/Djole1337/SA-MP-Signatures

INSTALLATION:
Edit config/configuration.php

CHANGELOG:
--


Re: Dynamic signatures. [MySQL / INI] - FailerZ - 20.12.2013

Nice thanks


Re: Dynamic signatures. [MySQL / INI] - Patrick - 20.12.2013

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
Dynamic Signatures with INI support!
ABOUT:
I know there are a few similiar very poorly scripted projects so I decided to make my own. It supports MySQL and INI.
How it looks like?
http://puu.sh/5SVcW.jpg

You can also include it in your forum signature
Код:
[/img]http://your.domain.tld/signature.php=name?somename[/img]
I will also add rewrite rules for apache/lighttpd if you want.

PREREQUISITES:
MySQL server / PDO extension.

SOURCE CODE:
https://github.com/Djole1337/SA-MP-Signatures

INSTALLATION:
Edit config/configuration.php

CHANGELOG:
--
Nice, but I have a question, if you're using Y_INI on a hosted host, for example volt-host, how can you configure its location? also if you have given credits Nordoz(You took some snippets out of it )


Re: Dynamic signatures. [MySQL / INI] - Djole1337 - 20.12.2013

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
Nice, but I have a question, if you're using Y_INI on a hosted host, for example volt-host, how can you configure its location?
You can't, it has to be hosted on the same machine.

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
also if you have given credits Nordoz(You took some snippets out of it )
Also I never took any snippet from Nordoz's code, some parts *might* look similiar as we both use imagettftext() and imagecolorallocate() PHP function.


Re: Dynamic signatures. [MySQL / INI] - KingHual - 20.12.2013

About time I saw a release where PDO is used, good job!


Re: Dynamic signatures. [MySQL / INI] - nickdodd25 - 21.12.2013

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
You can't, it has to be hosted on the same machine.
Actually im pretty sure it is possible to access files on remote machines as long as you have ftp access and i have yet to see a host where you don't lol.

Код:
fopen("ftp://user:password@example.com/scriptfiles/users/testuser.txt", "r");
http://www.php.net/manual/en/function.fopen.php

Not sure if it would work properly but its worth a try.


Re: Dynamic signatures. [MySQL / INI] - FoxGaming - 21.12.2013

Very good, tnx.


Re: Dynamic signatures. [MySQL / INI] - gtakillerIV - 21.12.2013

I was working on something like this before.

You can use file_get_contents to get the data inside the user's ini file over FTP.

PHP код:
$sFile file_get_contents("ftp://username:password@serverip/{$aGlobalConfig["settings"]["ini_loc"]}/{$_GET["name"]}.ini"); 
Though you might have to change some of your code.


Re: Dynamic signatures. [MySQL / INI] - Djole1337 - 21.12.2013

Yes, It's actually possible.


Re: Dynamic signatures. [MySQL / INI] - GameR16 - 30.12.2013

Good Job !
Tank You !


Re: Dynamic signatures. [MySQL / INI] - AmirSlaYeR - 26.11.2014

How to use for sql systems ?


Re: Dynamic signatures. [MySQL / INI] - ProKillerpa - 29.11.2014

Thansk Boy!

Rep+


Re: Dynamic signatures. [MySQL / INI] - CoR3 - 03.03.2015

Hey!!, link doesnґt work!


Re: Dynamic signatures. [MySQL / INI] - Dayvison_ - 03.03.2015

Link not found. Reupload pliz


Re: Dynamic signatures. [MySQL / INI] - Abagail - 03.03.2015

This tutorial is outdated. It's from 2 years ago, the creator probably renamed, or deleted their github account. There are newer dynamic signature tutorials out there, so just search.


Re: Dynamic signatures. [MySQL / INI] - awsomedude - 03.03.2015

Here is the link: https://github.com/Mortalis/SA-MP-Signatures