Welcome to Gaia! :: *ALMOST* Every Random Sig Method Known To Gaia! | Forum

Register FaceBook Login Login

 

 
GST

Welcome to Gaia's forums, where millions of members gather to discuss random stuff, make new friends,
complain about life, argue about nothing, laugh at dumb pictures, discuss serious issues and/or curse like sailors.

Lurking is creepy. Quit skulking in the shadows and join the conversation!

Register to reply

Advertisement
Share:  
forum:92, topic:4400804
< 1 2 ... 6 7 8 9 10 11 12 13 ... 23 24 25 > >>
Great tutorial! Thanks for all the info!

(I haven't been in Q/F too much lately. I hope this helps cut down all the rando-siggy threads.)
 
     
 
Heya RAMZA...pretty good thread you've got here. It's a great idea, it's filled with useful information, and I think it should be stickied.

A question, though...

I recently signed up with BFN development in the hopes of using it to create a random journal header here on gaia in my journal. First off, that should work, right? Or am I confused?

If it IS supposed to work like that...

I copied the html and pasted it into my journal header field...and when returning to my journal, all that was there was the html text. No pictures. Yes, I did remove the img src thing and the quotation marks...I tried everything. I also tried using a tinyurl to see if it would work. Nothing. Just the html text.

Please, let me know what I'm doing wrong, or if I'm just plain wrong in the first place.
     
swedishsk8ter
Heya RAMZA...pretty good thread you've got here. It's a great idea, it's filled with useful information, and I think it should be stickied.

A question, though...

I recently signed up with BFN development in the hopes of using it to create a random journal header here on gaia in my journal. First off, that should work, right? Or am I confused?

If it IS supposed to work like that...

I copied the html and pasted it into my journal header field...and when returning to my journal, all that was there was the html text. No pictures. Yes, I did remove the img src thing and the quotation marks...I tried everything. I also tried using a tinyurl to see if it would work. Nothing. Just the html text.

Please, let me know what I'm doing wrong, or if I'm just plain wrong in the first place.
It had me confused for hours when I tried it xd

The reason why the HTML wont avtually mark up is because the script url doesnt have a ."file name" at the end...

All you have to do is run the script url through www.tinyurl.com and them use that short url like a regular one with the journal code

It should look something like this:

<img src="http://tinyurl.com/*****" alt="[:journal-title:]">
 
     
 
Thank you RAMZA! Everything worked out ok! heart

But I must say...the randomness of the pictures is rather off...*sweatdrop* Mebbe it's just me...

Anyways! Thanks again for your help! ^^
     
swedishsk8ter
Thank you RAMZA! Everything worked out ok! heart

But I must say...the randomness of the pictures is rather off...*sweatdrop* Mebbe it's just me...

Anyways! Thanks again for your help! ^^

Yeah, the random script doesnt seem to work very well on your side... but you have to remember that even though you're seeing one image, everyone else is seeing a totally different image 3nodding
 
     
 
R A M Z A
swedishsk8ter
Thank you RAMZA! Everything worked out ok! heart

But I must say...the randomness of the pictures is rather off...*sweatdrop* Mebbe it's just me...

Anyways! Thanks again for your help! ^^

Yeah, the random script doesnt seem to work very well on your side... but you have to remember that even though you're seeing one image, everyone else is seeing a totally different image 3nodding


Yup...everyone said that they see a different image every time. Thank you so much! ^-^
     
http://www.bfndevelopment.com/cgi-bin/home/Members/RandomImage/RandomImage.cgi?User=12208&ID=2341&Code=nUom7c
 
     
 
xmaster
http://www.bfndevelopment.com/cgi-bin/home/Members/RandomImage/RandomImage.cgi?User=12208&ID=2341&Code=nUom7c
wtf it dont moov i have 2 refresh and they going oute of order this place is gay
     
<3 Leewolfia is My Gaian Wife ^-^

http://tinyurl.com/ycmf3j
Love my little Angel forever
Out of order?

what the hell? Does the word "RANDOM" not make sense here?
 
     
 
Merrr...did bfn go haywire or something? Am I the only one having problems with the random pic thing? It's been about two days since it decided it didn't like me all that much... xp

Anyone else having issues?
     
~I finally got my Staff of the Angels!!!~
Mya Moonlight wins epically at being an awesome friend. ;D <3

[Ye Olden Graphics Shoppeh]
swedishsk8ter
Merrr...did bfn go haywire or something? Am I the only one having problems with the random pic thing? It's been about two days since it decided it didn't like me all that much... xp

Anyone else having issues?
Yeah.. right now, they're moving some things around... From what I've read, the admins of the site are moving the servers to a new holding locker and adding some new hardware...

It should be working now though whee
 
     
 
uh i thought i would share this, but i have a diff way from doing that. Its almost like your favorite one but a little different.

&lt;?php


$file = getRandomImage('./')

header('Content-Type: image/.gif')
header('Pragma: no-cache')
header('Expires: 0')
readfile($file)

function getRandomImage($dir,$type='random')
{
global $errors;

if (is_dir($dir)) {

$fd = opendir($dir)
$images = array()

while (($part = @readdir($fd)) == true) {

clearstatcache()

if ( eregi("(gif|jpg|png|jpeg)$",$part) ) {
$images[] = $part;
}
}

// adding this in case you want to return the image array
if ($type == 'all') { return $images; }

// Be sure to call srand() once per script
srand ((double) microtime() * 1000000)
$key = rand (0,sizeof($images)-1)

return $dir . $images[$key]

} else {
$errors[] = $dir.' is not a directory';
return false;
}
}

?&gt;


picked it up a long time ago in the C&T don't have to change anything. All the pic just have to be in the same directory.

Enjoy.

P.S. if you already have this sorry sweatdrop
     
Thanks, Laforge! whee heart

I cant tell yet, but I think that one isnt on the front page...

I'll check into it later to make sure.. right now, I'm going to add some "enhancements" to the front page xd


And for anyone using BFN.. I'm sorry gonk

They're really trying to get their servers steady... from what I hear their new host netapp has been screwing them over in services...
 
     
 
Black fire isnt working for me anymore. sweatdrop
     
http://snipurl.com/23cvd
http://snipurl.com/23cvq
http://snipurl.com/bejfo
: et 85 : pl 59 : gb 17 : bb 8 :
plysch
Black fire isnt working for me anymore. sweatdrop
Yeah, I know sweatdrop

I have a notice on the front page about it...

It's a fiarly new site... It's still got a lot of bugs to work out and right now, they've moved to a new host and they're having problems with certain things...
 
     
http://r.undev.org/?r=3482
ಠ_ಠ
< 1 2 ... 6 7 8 9 10 11 12 13 ... 23 24 25 > >>

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

We will be phasing out support for your browser soon.

Please upgrade to one of these more modern browsers.