Welcome to Gaia! ::

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! ^-^
xmaster
User Image - Blocked by "Display Image" Settings. Click to show.
wtf it dont moov i have 2 refresh and they going oute of order this place is gay
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?
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
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...

Quick Reply

Submit
Manage Your Items
Other Stuff
Get Items
Get Gaia Cash
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff