Forum Settings
Forums

Tutorial: Generating scripted-signatures (Version 2)

New
Pages (9) « First ... « 6 7 [8] 9 »
Sep 6, 2009 3:44 PM

Offline
Jun 2007
1755
L4RGE works, but it takes longer to load imo.

?_? || Mo <3: squrrriles kidnapped her let's eat theree nuts || ♪♫♪
Sep 7, 2009 3:50 PM

Offline
Oct 2007
3811
I have a problem when I'm adding the foreground image.

I have the code for the foreground image:


I have no idea what's going on, but it's not working for me.

My hosting site if it helps.
Sep 7, 2009 4:03 PM

Offline
Jun 2007
1755
Temptation said:
I have a problem when I'm adding the foreground image.

I have the code for the foreground image:


I have no idea what's going on, but it's not working for me.

My hosting site if it helps.

Did you make that big white rectangular space transparent? If you didn't, it probably covered up your updates.

And I think it should be:

?_? || Mo <3: squrrriles kidnapped her let's eat theree nuts || ♪♫♪
Sep 7, 2009 4:05 PM

Offline
Aug 2006
400
Temptation said:
I have a problem when I'm adding the foreground image.

I have the code for the foreground image:


I have no idea what's going on, but it's not working for me.

My hosting site if it helps.


Everything work like it should, prussia11.png get applied over prussia10.png.
I just can't figure why you want to add prussia11 over prussia10?
.
Sep 7, 2009 4:24 PM

Offline
Oct 2007
3811
Ah, I see.

I did it vice versa as well, but the updates won't show.
Sep 7, 2009 4:29 PM

Offline
Aug 2006
400
The updates are hidden under prussia11 because you use solid white for the rectangular shape.
.
Sep 7, 2009 4:31 PM

Offline
Jun 2007
1755
Temptation said:
Ah, I see.

I did it vice versa as well, but the updates won't show.

I see the updates now.

Yojiro said:
The updates are hidden under prussia11 because you use solid white for the rectangular shape.

That's what I thought, I saved prussia11.png and opened it up in GIMP, and it was white not transparent.

?_? || Mo <3: squrrriles kidnapped her let's eat theree nuts || ♪♫♪
Sep 7, 2009 4:34 PM

Offline
Oct 2007
3811
Ok, thanks. I'll fix the white to transperancy.
Sep 8, 2009 4:01 PM

Offline
May 2009
429
Is there any way to make it so that the text which appears on the updates comes out from a central point rather than going away to the right from the point?

Basically, i want the text to center itself on one point, irrelevant of how long the text is.

If that makes no sense, it can be demonstrated by going into word, on a new document, centering the text and then typing.

If that still makes no sense: gah. It's tough for me to explain.
Sep 8, 2009 4:20 PM

Offline
Aug 2009
403
Nitre said:
Is there any way to make it so that the text which appears on the updates comes out from a central point rather than going away to the right from the point?

Basically, i want the text to center itself on one point, irrelevant of how long the text is.

If that makes no sense, it can be demonstrated by going into word, on a new document, centering the text and then typing.

If that still makes no sense: gah. It's tough for me to explain.

Centering the text would be impossible with the current set up of the script.

There might be a way, but it would require recoding, the only way that I can think of is for the script to count how many characters there are and add z values for each character to the x coordinate. This would be a lengthy script. I could try to code it if you really want, but I am sure saka could do a better job.
Sep 8, 2009 4:43 PM

Offline
May 2009
429
mushwars said:

Centering the text would be impossible with the current set up of the script.

There might be a way, but it would require recoding, the only way that I can think of is for the script to count how many characters there are and add z values for each character to the x coordinate. This would be a lengthy script. I could try to code it if you really want, but I am sure saka could do a better job.


If it's at that level of complexity, then there's no need, unless a lot of people want it (which i doubt).
Sep 8, 2009 5:14 PM

Offline
May 2008
4052
Actually you would use imagettfbox() to get the measurements of how many pixels it would take to display the text in that font, size, and location. Then you can calculate the width, divide by 2 and offset your text by that amount. If you look around the comments on the php manual you can probably find code snippets for this.

Talon/Niroko's script already supports centering text (among other advanced effects) so you might consider switching scripts.
http://myanimelist.net/forum/?topicid=32704

I am a banana.
Sep 8, 2009 8:04 PM

Offline
Aug 2009
403
saka said:
Actually you would use imagettfbox() to get the measurements of how many pixels it would take to display the text in that font, size, and location. Then you can calculate the width, divide by 2 and offset your text by that amount. If you look around the comments on the php manual you can probably find code snippets for this.

Talon/Niroko's script already supports centering text (among other advanced effects) so you might consider switching scripts.
http://myanimelist.net/forum/?topicid=32704

wow, that's a lot easier than mine, and more accurate ^^
Sep 8, 2009 8:50 PM

Offline
Mar 2009
817
saka said:
Actually you would use imagettfbox() to get the measurements of how many pixels it would take to display the text in that font, size, and location. Then you can calculate the width, divide by 2 and offset your text by that amount. If you look around the comments on the php manual you can probably find code snippets for this.

Talon/Niroko's script already supports centering text (among other advanced effects) so you might consider switching scripts.
http://myanimelist.net/forum/?topicid=32704


I did this the other day manually ><, It looked something like:

(start position + (Max width - (fontwidth) x strlen(title) /2)

Had I known about imagettfbbox(), it would have been alot easier.
perspectiveSep 9, 2009 10:37 AM
Sep 10, 2009 6:48 AM

Offline
Aug 2009
8
hi i just want to ask if anyone can make generating scripting signatures tutorial becuase its really confusing

ive read this thread like 15 times but its so confusing. i understand tutorial more with screenshot >.< lol

if any professional is going to make a tutorial pleae let me know thanks alot
maya_chan18Sep 10, 2009 7:08 AM
Sep 10, 2009 9:40 AM

Offline
Jul 2008
97
maya_chan18 said:
hi i just want to ask if anyone can make generating scripting signatures tutorial becuase its really confusing

ive read this thread like 15 times but its so confusing. i understand tutorial more with screenshot >.< lol

if any professional is going to make a tutorial pleae let me know thanks alot

fact is that you can only screenshot text when your making a scripted signature, since scripts are only text.
Sep 10, 2009 1:42 PM

Offline
Aug 2009
8
Niroko said:
maya_chan18 said:
hi i just want to ask if anyone can make generating scripting signatures tutorial becuase its really confusing

ive read this thread like 15 times but its so confusing. i understand tutorial more with screenshot >.< lol

if any professional is going to make a tutorial pleae let me know thanks alot

fact is that you can only screenshot text when your making a scripted signature, since scripts are only text.


lol yh i no dat but i understand wat im doing more if ders screenshots and a guide on what to do and where to do it

lol im sorry if im not makin sense >.<
Sep 10, 2009 1:57 PM

Offline
Feb 2008
6186
Well, basically there can't be any Screenshots taken. You download the script used in that tutorial, open it in Notepad or Word, click Ctrl + F, and then search the lines which should be re- made, according to the tutorial.

It's not Graphic work, so there can be Screenshot.
.
Sep 10, 2009 2:44 PM

Offline
Aug 2009
8
SabakuNoGaara said:
Well, basically there can't be any Screenshots taken. You download the script used in that tutorial, open it in Notepad or Word, click Ctrl + F, and then search the lines which should be re- made, according to the tutorial.

It's not Graphic work, so there can be Screenshot.


lol k fanks ^^
Sep 14, 2009 3:33 AM

Offline
Mar 2008
1626
Got a problem. Almost everything here seems just fine, but for some reason, some of the titles got the "..." added to the next line of the text. Even when I completely disable that "cutting titles" function :/ It's been bothering me for some time already, but it wasn't looking so bad with my last sig :/
Sep 14, 2009 9:29 AM

Offline
May 2008
4052
@viesiu: are you sure you disabled it properly? sometimes removing things actually causes more problems... and ehrgeiz's code has a couple known bugs.

you can try posting your code for settings.php and image_output.php to pastebin so we can see, or try switching to Talon/Niroko's script or my minimal sig script which are more stable.

I am a banana.
Sep 14, 2009 10:18 AM

Offline
Mar 2008
1626
Don't worry, I already figured it out :) And I rather won't change the script, since I'm a total noob in php and I'm happy I made this one work properly :P

Heh, I ended up using your script :P Had some kind of problems in the beginning with font. Apparently the name was too long (complicated??), but it worked perfectly after simple renaming it :P
viesiuSep 14, 2009 1:20 PM
Sep 15, 2009 6:41 PM

Offline
May 2008
1873
I'm having a problem with apostrophe signs. It just shows me an &apos; (refer to my sig).
Is it because of the font I'm using (I doubt) or because of my web host (I doubt it too) or entirely something else? By the way, I'm using this script.
Sep 15, 2009 7:22 PM

Offline
May 2008
4052
it's because the apostrophe is a special character in xml (which rss feeds are) and ehrgeiz's script doesn't decode them apparently. It's difficult to fix the way it's structured.... better to just switch scripts... ~.~

I am a banana.
Sep 15, 2009 7:24 PM

Offline
May 2008
1873
saka said:
it's because the apostrophe is a special character in xml (which rss feeds are) and ehrgeiz's script doesn't decode them apparently. It's difficult to fix the way it's structured.... better to just switch scripts... ~.~


I see. Thanks. I'll do what I can from here then, with the noobish scripting skills I have. Lol.
Sep 15, 2009 7:27 PM

Offline
May 2008
4052
in my minimal script I just fix it this way:
// now we have to sanitize the information we saved to the buffer (no newlines/tabs and replace xml entities)
$buffer = strtr($buffer, array("n" => '', "r" => '', "t" => '', '&lt;' => '<', '&gt;'=>'>', '&amp;' => '&', '&quot;' => '"', '&apos;'=>"'") );

(there are only five special entities in xml, but sometimes there can by html entities also.... but ignor that for mal feeds)

...but in ehrgeiz's, the rss data is read into an array line by line... so you'd have to loop through them all and run that on each line I guess....

other scripts that use xml_parse() -- one of the buitlin xml parsers for php -- will automatically fix the entities for you... but they are mostly overkill for this anyway.

I am a banana.
Sep 15, 2009 7:36 PM

Offline
May 2008
1873
saka said:
in my minimal script I just fix it this way:
// now we have to sanitize the information we saved to the buffer (no newlines/tabs and replace xml entities)
$buffer = strtr($buffer, array("n" => '', "r" => '', "t" => '', '&lt;' => '<', '&gt;'=>'>', '&amp;' => '&', '&quot;' => '"', '&apos;'=>"'") );

(there are only five special entities in xml, but sometimes there can by html entities also.... but ignor that for mal feeds)

...but in ehrgeiz's, the rss data is read into an array line by line... so you'd have to loop through them all and run that on each line I guess....

other scripts that use xml_parse() -- one of the buitlin xml parsers for php -- will automatically fix the entities for you... but they are mostly overkill for this anyway.


I'll try this! Thanks very much!
Sep 24, 2009 12:23 AM

Offline
Jul 2009
1023
Umm... Can someone please help? I don't know how to do the chmods thing.
Sep 24, 2009 4:36 AM

Offline
Aug 2009
403
Log into filezilla with the username and password provided.

Find the file/folder that you need to chmod.

Right click and hit file permissions.

Down where it says "numeric value" Type the chmod that you are supposed to set it to. (i.e. 777)

Hit ok, and you are done.
Sep 27, 2009 9:21 PM

Offline
Sep 2009
303
(Never scripted before, don't have any experience at all. >_>)

Whenever I try updating my chmod I always get "Connection timed out."
Someone help.

This is what it's giving me.
HenteSep 27, 2009 9:27 PM

Sep 27, 2009 9:51 PM

Offline
May 2008
4052
Are you using FileZilla? ...I've had great success with it, and it is better at maintaining the ftp connection without much interaction from the user than most clients. You may need to set your client to use 'passive' FTP if you're using a different client.

I am a banana.
Sep 27, 2009 10:20 PM

Offline
Sep 2009
303
Yep, using Filezilla.

Sep 27, 2009 10:44 PM

Offline
May 2008
4052
i think you probably have a firewall of some sort, since it looks like the control channel (port 21) is getting through, but not any of the data messages (port 20).

I am a banana.
Oct 5, 2009 3:03 PM

Offline
Nov 2008
103
I've asked this question a LOOOOOOOOONG time ago, but I still don't know the answer.

How do I get this script to display Re-watching properly?
Oct 5, 2009 3:09 PM

Offline
Aug 2009
403
Joe4evr said:
I've asked this question a LOOOOOOOOONG time ago, but I still don't know the answer.

How do I get this script to display Re-watching properly?

The sig creator in this tutorial cannot do that. I reccomend using saka's minimal script. I will get the link if you need it, but you can get it by going up to the top and searching signature scripters club. then look in the discussion board.

Saka's script is my favorite and is responsible for my current sig. Good luck and have fun.
Oct 5, 2009 3:50 PM

Offline
Nov 2008
103
mushwars said:
The sig creator in this tutorial cannot do that. I reccomend using saka's minimal script. I will get the link if you need it, but you can get it by going up to the top and searching signature scripters club. then look in the discussion board.

Saka's script is my favorite and is responsible for my current sig. Good luck and have fun.
Hmm... that's kinda disappointing. I hate to part with this script because I got it all customized and everything.

Or is it possible to put all those customizations in saka's script? If so, I just need to know what part goes where, and I can replace this sig with that one.
Oct 5, 2009 4:19 PM

Offline
May 2008
4052
you can customize any script with enough effort.... my script is minimal but not necessarily the easiest. My script has at least all the features of this one though, and things it doesn't have like alignment. You should catch onto mine quickly if you're used to shiteiru/ehrgeiz's script.

if you need glow effects and borders/glow, you'll need to include Niroko's functions from here and understand how to call them. Otherwise if you don't like digging in the code basics much, stick to Talon/Niroko's script which has glow built in already. It's not necessarily easier than mine either, though, just laid out differently.

I am a banana.
Oct 5, 2009 11:59 PM

Offline
Nov 2008
103
Actually, I only use a border (around the text). I just need to know if your script can make a border and error message and if so, where they are, and where the re-watching is placed.

There was also for a random image, but I already got that one.
Oct 15, 2009 5:41 AM

Offline
Apr 2007
220
saka said:
and ehrgeiz's code has a couple known bugs.


I was wondering what the known bugs are in that script
Cause i am using this script but everthing is working fine
.......
Oct 15, 2009 1:25 PM

Offline
Jun 2007
1755
Android17 said:
saka said:
and ehrgeiz's code has a couple known bugs.


I was wondering what the known bugs are in that script
Cause i am using this script but everthing is working fine
Rewatching is messed up IIRC.

?_? || Mo <3: squrrriles kidnapped her let's eat theree nuts || ♪♫♪
Oct 16, 2009 3:58 AM

Offline
Apr 2007
220
I see but i thought there were more bugs.
Re-watching is one function that i don't use
.......
Dec 25, 2009 6:24 PM
Offline
Aug 2009
11
okay... I'm in a pinch... I'm done with almost everything... I have an image, I have edited the codes for image_output.php and settings.php (not sig.php), I have set the chmod for the folder containing them to 777, and I have set the chmod for all the files to 755...

Whenever I use http://helpoemer07.0fees.net/signature/sig.php inside a bbcode or even at the address bar, an image error occurs (a small broken image picture)... when I try to use http://helpoemer07.0fees.net/signature/image_output.php , my original image displays but without the list that I wanted to display...

What could I have done wrong?? (I have not edited the sig.php in any way aside the chmod)...

Is it because of my host (0fees) ??

I'm in dire need of your help... thanks... ^_^

~ and oh... just in case... I'll place the codes...

image_output.php


settings.php


sig.php
Dec 26, 2009 12:35 AM

Offline
May 2008
4052
I just made an account with 0fees to test, but it has allow_url_fopen off in its PHP configuration. It means the script cannot open a url like a file and therefore this script won't work.

There is a bit of hope though because they do allow cURL which you can use as an alternative, but the script would have to be heavily modified. I highly encourage you to switch to another script anyway since ehrgeiz's has some ongoing bugs that have not been fixed and is generally impossible to modify sections of it....

Talon's script will work on your host, or you can try my minimal one which is closer to ehrgeiz's but a lot lighter... though mine also needs one extra function to switch to cURL support. Let me know if you're interested and I can send it to you with the modification. I know it's a bit confusing, but there's lots of people who will help you out.

I am a banana.
Dec 26, 2009 2:11 PM
Offline
Aug 2009
11
saka said:
I just made an account with 0fees to test, but it has allow_url_fopen off in its PHP configuration. It means the script cannot open a url like a file and therefore this script won't work.

There is a bit of hope though because they do allow cURL which you can use as an alternative, but the script would have to be heavily modified. I highly encourage you to switch to another script anyway since ehrgeiz's has some ongoing bugs that have not been fixed and is generally impossible to modify sections of it....

Talon's script will work on your host, or you can try my minimal one which is closer to ehrgeiz's but a lot lighter... though mine also needs one extra function to switch to cURL support. Let me know if you're interested and I can send it to you with the modification. I know it's a bit confusing, but there's lots of people who will help you out.

thanks... at least now I know it was my host that was troubling me... anyways, I'm interested in you're code... I've checked Talon's script and it is quite confusing, especially 'coz I'm used to ehrgeiz's step-by-step procedures... so I'm going to try yours out... thanks... ^_^

edit: tried using Talon's script and I was able to finish mine... but I think it's too big... need to edit it asap... what's the recommended sig size here?? also, I want to remove the "watching -" and " episodes" text in my description... how can I do it?? and I want to know what's the cronjob thing?? is it something that would allow me to use .png instead of .php in my signatures?? if it is, I'm interested in learning how to use one... thanks... ^_^
helpoemer07Dec 26, 2009 4:04 PM
Dec 26, 2009 7:34 PM

Offline
Jan 2009
1127
@helpoemer: Max sig height is approx 140px

I'm trying to add php script to my new sig here, but it seems i am unable to connect through filezilla. Do 000webhost accounts need to be admin-verified before we can use em? Otherwise i'll try troubleshooting the problem
Dec 26, 2009 9:13 PM

Offline
May 2008
4052
@helpoemer07: glad you got it working, and yeah it's 600x140px... might want to put it in a [spoiler] til you fix it since some people are pretty sensitive to big sigs here. ;)

@PresSiT: during an admin review you can't execute php, but they don't initiate one until you upload some php that matches one of their red flag patterns for possible misuse (sigs usually set them off the first time because they use curl or otherwise access remote urls for the RSS feed.... prolly other stuff too). They usually don't last longer than twelve hours, and are infrequent. Usually you get flagged after a large upload, and you'll get redirected to a page that specifically says the site is being audited.... so you'd know if you are.

I am a banana.
Dec 26, 2009 9:37 PM

Offline
Jan 2009
1127
I just signed up for an account, so there's a sign saying:
System administrator will review your details and activate your account in 24 hours.

Troubleshooting??
Dec 26, 2009 10:28 PM

Offline
May 2008
4052
the password is failing because you have the wrong domain... you're trying to login to 000webhost's main server, but you need to use your domain instead -- this should be your subdomain.... for example mine is saka.site90.com

I am a banana.
Dec 26, 2009 11:54 PM

Offline
Jan 2009
1127
thanks. I'll try it out tomorrow
Dec 27, 2009 1:42 AM
Offline
Aug 2009
11
I still haven't resolved my problem with the "watching" and "episodes" thing... any help please?? thanks... ^_^
Pages (9) « First ... « 6 7 [8] 9 »

More topics from this board

» Share Your YouTube Channel/Videos! ( 1 2 3 4 5 ... Last Page )

nin-tendo - Dec 16, 2022

596 by nin-tendo »»
5 hours ago

» I made a webcomic about a silly wabit and kat with aliens doing weeds

blockisaac - May 1

5 by pholcidae »»
Today, 12:18 AM

» MY ANIMATED SHORT FILM

DiscloSalilokui - Oct 9

2 by DiscloSalilokui »»
Oct 12, 5:58 PM

» Four Ages! ( 1 2 )

Robert_SS_Gordon - Feb 21

52 by Retro8bit »»
Oct 11, 5:07 PM

» 【 ART THREAD 】Let's share our art! ‪‪❤︎‬ ( 1 2 3 4 5 )

mewmewforever - Aug 30, 2024

216 by Retro8bit »»
Oct 11, 5:06 PM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login