• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[PHP] Character Signature - v4

Thanks alot. got it :D luv ur releases man. and keep it up, sorry again about what i said b4. u know i didn't know u at that time so well xD.

good luck man ^.^
 
How it looks in characters.php before searching:

my.php
 
just asking about one more thing. is there a way that make the player choose instead of random backgrounds and if that is hard. is there a way to let the random images just 2 not 0,1,2,3 that what i understood they are the first four images but i got only 2 so i want just to be random of the 2 images only


Sorry for double post but i donno why we can't edit our posts



Yours:

Lion
 
The random function scans the signatures folder for .png extensions and randomizes it after the total of PNG files found. It's not very hard to let them choose, but I'm lazy atm and you could just refresh the page until you get the one you want. ; )
 
just asking about one more thing. is there a way that make the player choose instead of random backgrounds and if that is hard. is there a way to let the random images just 2 not 0,1,2,3 that what i understood they are the first four images but i got only 2 so i want just to be random of the 2 images only


Sorry for double post but i donno why we can't edit our posts






Yours:

Lion


Just erase from array in signature.php in this part:

PHP:
'backgrounds' => array ( 'signatures/blue' , 'signatures/red' , 'signatures/green' ),

to:

PHP:
'backgrounds' => array ( 'signatures/blue', 'signatures/green' ),

or whatever u whant
 
about refreshing it's not that hard it's ok but no i don think it count the files in the signature.php. cuz somethimes it gets images that don have background leads to a white background appears and a sentence "The requested image not exsits" so not sure :S
 
Please show me the line that pitufo suggested you to modify and a screenshot of your signatures folder, thank you. : )
 
hmm, it works just fine, but for people with a position, like tutor etc. It only show their Name, Sex, Residence(but doesn't say where), Position & Last Login.

However for everyone without a position it works as intended
 
It was intended to hide few options (such as vocation etc) when someone with a status higher than 2 uses it. It's rather useless to show a gamemasters vocation. However it may be bugged as I didn't really test it after that update, I'll check it out though. Thank you.
 
Back
Top