|
-
Jan 24th, 2002, 11:16 AM
#1
Thread Starter
Fanatic Member
How to put a picture in your signature
I cant find a place to do that...
Any help?
Seahag
-
Jan 24th, 2002, 11:18 AM
#2
Member
-
Jan 24th, 2002, 11:24 AM
#3
Thread Starter
Fanatic Member
Ahh .. so you need a web site.
thanks..
Or maybe web space..?? like excite?(breifcase?)
That is all
Seahag
-
Jan 24th, 2002, 11:25 AM
#4
Member
You can use my thread that I created for this very purpose: http://www.vbforums.com/showthread.php?s=&postid=664783
Just use the URL of the attachment in the [img] tag.
-
Jan 24th, 2002, 11:42 AM
#5
Thread Starter
Fanatic Member
clever!
-
Jan 24th, 2002, 11:52 AM
#6
also go to
http://www.lyricscircle.com/tools/rndpic.asp?setup=1
i made it this morning so i can have a set of random images in my sig
-
Jan 24th, 2002, 01:29 PM
#7
PowerPoster
oi simon stealing my idea from months back
-
Jan 24th, 2002, 01:31 PM
#8
Monday Morning Lunatic
But he's irretrievably wrecked the idea by using ASP
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 24th, 2002, 01:32 PM
#9
PowerPoster
yeah, mine used rock-on Perl
-
Jan 24th, 2002, 01:35 PM
#10
Thread Starter
Fanatic Member
How does yours work then?
-
Jan 24th, 2002, 02:08 PM
#11
PowerPoster
- Put the URL of each picture into an array (nessecary because I have the images on a completely different server)
- generate a random no between 1 and the size of the array
- redirect caller to the image url listed in that element.
-
Jan 24th, 2002, 02:11 PM
#12
PowerPoster
PHP Code:
#!/usr/bin/perl -T
# pick random image from dir and display it
use CGI qw(:standard);
$site = param('site');
$basedir = "http://domain.com/dir_with_images_in/";
@files = ("pic.gif","pic2.jpg","pic3.gif");
# Options
$uselog = 0; # 1 = YES; 0 = NO
$logfile = "/home/domain/www/Pics_Log.dat";
$accessdate = gmtime(time);
srand(time ^ $$);
$num = rand(@files); # Pick a Random Number
# Print Out Header With Random Filename and Base Directory
print "Location: $basedir$files[$num]\n\n";
# Log Image
if ($uselog eq '1') {
open (LOG, ">>$logfile");
print LOG "$files[$num]";
print LOG ',';
print LOG "$ENV{'REMOTE_ADDR'},$ENV{'HTTP_USER_AGENT'},${accessdate},${site}\n";
# ,$ENV{'HTTP_REFERER'}
close (LOG);
}
-
Jan 24th, 2002, 02:11 PM
#13
Thread Starter
Fanatic Member
Thats what i figured,..
But i don't understand.. chenko`s link..
Would i view source.. and then cut and paste to my
signature?
-
Jan 24th, 2002, 02:12 PM
#14
Member
-
Jan 24th, 2002, 02:13 PM
#15
Thread Starter
Fanatic Member
Ok.. scripting..
YOu can then script right in the signature?
-
Jan 24th, 2002, 02:15 PM
#16
PowerPoster
Originally posted by SeaHag
Ok.. scripting..
YOu can then script right in the signature?
You just put this in your sig

Probably best if you follow filburt's link.
-
Jan 24th, 2002, 02:19 PM
#17
Thread Starter
Fanatic Member
No worries..
You dont learn anything if you take shortcuts..
I`ll get get something together...
-
Jan 24th, 2002, 04:07 PM
#18
Thread Starter
Fanatic Member
Hello
I used chenko`s script thiggy..
What am i doing wrong..?
I think the path is valid
-
Jan 24th, 2002, 04:08 PM
#19
Thread Starter
Fanatic Member
-
Jan 24th, 2002, 04:09 PM
#20
Monday Morning Lunatic
Now that's a face to be proud of when you see it in the bathroom mirror in the morning
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 24th, 2002, 04:11 PM
#21
Thread Starter
Fanatic Member
It seems to work sometimes..
Maybe 1 path is bad..
BRB
-
Jan 24th, 2002, 08:58 PM
#22
chris, i like mine as it means i dont have to arse about with cgi script, and i can change it easily, and more than one can be used
SeaHag, the images are hosted where ever you put the link to for the images 
it only gives HTML code out, you need to take the "<img src="" and replace that for [img] and "">" for [/img]
-
Jan 24th, 2002, 09:05 PM
#23
PowerPoster
Originally posted by chenko
chris, i like mine as it means i dont have to arse about with cgi script, and i can change it easily, and more than one can be used
Just messin' with ya 
I would do mine in PHP but it works as it is in Perl so I can't be arsed to spend more time on it
-
Jan 24th, 2002, 09:09 PM
#24
Originally posted by chrisjk
Just messin' with ya 
I would do mine in PHP but it works as it is in Perl so I can't be arsed to spend more time on it
yea, i wouldnt have cared anyways
-
Jan 24th, 2002, 09:13 PM
#25
PowerPoster
-
Jan 25th, 2002, 02:21 AM
#26
Hyperactive Member
Originally posted by parksie
But he's irretrievably wrecked the idea by using ASP
So I guess...you never see my signature ??
NEWS Updated Every 4 hours !
[ what's used : WIN2k, IIS 5, ASP, VBSCRIPT ]

Click to read the news
Just because too many n00bs use ASP doesn't mean ASP is fit for nothing. Even a small pin can be a threatening weapon in the hands of the mighty !!!
ASP was made with intention that even inexperienced users should have a head start. A clever user knows how to build a mountain out of mole hill!!!
So, it's my humble opinion that u shouldn't be calling something lame just because it doesn't suit u.
-
Jan 25th, 2002, 03:24 AM
#27
-
Jan 25th, 2002, 07:10 AM
#28
Thread Starter
Fanatic Member
chenko.. cool I got your script to work..
But it was spuratic.. didn't post sometimes.. and it didnt
grab 1 of the three pic i specified..
NO offence pls..just FYI... (maybe i did something wrong)
Cool idea..
-
Jan 25th, 2002, 08:19 AM
#29
didnt post sometimes? what you mean?
and its "random" so its possible that you wont see an certain image for ages
post the link it returns...?
you can also do the link yourself

first set the amount of images... ?max=2
then add &id1= &id2= for each image you have
simple
-
Jan 25th, 2002, 08:45 AM
#30
Thread Starter
Fanatic Member
3 things I noticed..
1. it worked
2. sometimes when i looked at a post.. you would get that space where a pic should be.. but you get a little box with an x through it.. no pic
3.Out of the Three pics i specified in the string.. only two would be randomized..
Does that help?
Seahag
-
Jan 25th, 2002, 08:52 AM
#31
Thread Starter
Fanatic Member
BTW
I am using your link. maybe i shouldn't be..
-
Jan 25th, 2002, 09:14 AM
#32
1) 
2) well that means one ofyour image paths are wrong iwould guess
3) well the third one is the one in "2)" which isnt valid
post the link that you are using and the image paths
-
Jan 25th, 2002, 09:28 AM
#33
Thread Starter
Fanatic Member
Last edited by SeaHag; Jan 25th, 2002 at 09:33 AM.
-
Jan 25th, 2002, 09:31 AM
#34
Thread Starter
Fanatic Member
maybe its my free web space giving me grief..
Its spuratic..
Sorry for the accusation..
-
Jan 25th, 2002, 10:17 AM
#35
yea it sames like your webspace is farked
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|