Bikeguide.org - Bike maintenance for BMX'ers

Others => News => Topic started by: sheepdog on March 10, 2005, 01:03:21 AM

Title: Spice up the front page...
Post by: sheepdog on March 10, 2005, 01:03:21 AM
Well I had a bunch of new pics for the front page, unfortunately, my email program ate them..

I need new fresh ones..

If you want to put your name, and where it was taken, etc, you can stick it in the picture with a photo editor.  Try and keep it clean looking though. if it looks like crap, I will not use it. Drawings are cool as well.

Also, try and keep it bike related.
Title: Spice up the front page...
Post by: Mike Reimer(derangedbiker) on March 10, 2005, 09:36:11 AM
the drawing from this thread should go on

http://www.bikeguide.org/forums/showthread.php?t=35234&highlight=bmx+2005

....the search works alot better, or mabye its the computer im on and mine just sucks
Title: Spice up the front page...
Post by: mphelps on March 10, 2005, 05:30:20 PM
i cant remember who did it but someone drew a bike that he was going to build up... that was drawn perfect.. u could tell what tires he had on in from the treds...
Title: Spice up the front page...
Post by: lttldvlrdr6six6 on March 10, 2005, 09:02:35 PM
I sent some pictures sheep, if you use them that would be sweet.  There from JJMassar@gmail.com
Title: Spice up the front page...
Post by: freebirdrider27 on March 17, 2005, 04:50:12 PM
i sent some too.. i believe i sent them under x4130x@gmail.com or flat180@adelphia.net... thanks sheep
Title: Spice up the front page...
Post by: sheepdog on March 17, 2005, 07:42:08 PM
Just so people know, I FOUND the ones sent in last time as well.
Title: Spice up the front page...
Post by: Ryan.m on March 17, 2005, 09:30:08 PM
I sent mine first time I read this thread. I haven't seen them up but whatever, it's probobly not a priority.
Title: Spice up the front page...
Post by: sheepdog on March 17, 2005, 11:53:04 PM
Quote from: Ryan.m
I sent mine first time I read this thread. I haven't seen them up but whatever, it's probobly not a priority.


I have not added them, it takes some work, so I am waiting for a good group to do.
Title: Spice up the front page...
Post by: mac15 on March 18, 2005, 12:04:04 AM
Sheep how about fixing the urls so they don't force the links to open in new pages. For example the forums link is

Code: [Select]
<a href=&quot;http://bikeguide.org/forums/&quot;>forums</a>

instead use

Code: [Select]
forums
Title: Spice up the front page...
Post by: freebirdrider27 on March 18, 2005, 12:04:25 AM
Quote from: sheepdog
I have not added them, it takes some work, so I am waiting for a good group to do.


so that means the ones we sent you arnt going up??
Title: Spice up the front page...
Post by: CARBON on March 19, 2005, 04:01:06 PM
Code: [Select]


<?

$content = &quot;<div align=\&quot;center\&quot;>&quot;;
$content .= &quot;<img src=\&quot;&quot;;

## Change this line. Change YourPhotoDirectory/ to whatever folder your pics are in.
$content .= getRandomImage('YourPhotoDirectory/');

$content .= &quot;\&quot;><br />&quot;;
$content .= &quot;</div>&quot;;

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

if (is_dir($dir)) {  

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

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

clearstatcache();

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

srand ((double) microtime() * 1000000);
$key = rand (0,sizeof($images)-1);

return $dir . $images[$key];

} else {

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

}
}

echo &quot;$content&quot;;

?>



Hey Sheep. Just paste this in and then upload all the photos into a folder on the server. Then just point it at the right folder. The script will count the photos in the folder and then will just randomly show one of them when the page is loaded.
Title: Spice up the front page...
Post by: sheepdog on March 19, 2005, 04:34:34 PM
Quote from: freebirdrider27
so that means the ones we sent you arnt going up??


Yes, they will.
Just means I have more.
Title: Spice up the front page...
Post by: sheepdog on March 19, 2005, 04:41:05 PM
Quote from: mac15
Sheep how about fixing the urls so they don't force the links to open in new pages. For example the forums link is

Code: [Select]
<a href=&quot;http://bikeguide.org/forums/&quot;>forums</a>

instead use

Code: [Select]
forums



I doesn't open in a new window, and your coding is wrong.
A target reference dictates if it opens in a new window, NOT using the full url.

Code: [Select]
Target=_blank(or similar code) will open a  new window.

All you did was shorten the URL. Not sure why yours is opening in a new window, but it shouldn't.


The shortcuts on the links page was causing some issues but I fixed that yesterday.
Title: Spice up the front page...
Post by: sheepdog on March 19, 2005, 04:58:32 PM
Quote from: CARBON

Hey Sheep. Just paste this in and then upload all the photos into a folder on the server. Then just point it at the right folder. The script will count the photos in the folder and then will just randomly show one of them when the page is loaded.



Very cool thanks!

Its up.


So are all the pics I have on hand.*

*as soon as they finish uploading (they are uploadinga s I write this).
Title: Spice up the front page...
Post by: CARBON on March 19, 2005, 10:09:51 PM
No problem.
Title: Spice up the front page...
Post by: StevieB on March 26, 2005, 11:52:40 PM
i should get a pic of the crazy bike store. bike parts and shit were laying all over. looked like a city dump
Title: Spice up the front page...
Post by: lttldvlrdr6six6 on March 27, 2005, 06:49:14 PM
Sheep, did you get mine on there? I havent seen them at all yet........
Title: Spice up the front page...
Post by: lildudenthecrnr on July 19, 2006, 12:15:14 AM
Are you no longer accepting images? I thought your e-mail was listed on here.
Title: Spice up the front page...
Post by: sheepdog on July 19, 2006, 04:19:41 PM
Quote from: lildudenthecrnr
Are you no longer accepting images? I thought your e-mail was listed on here.

Yep, send them in.
Title: Spice up the front page...
Post by: Phillip Frentsworth on July 19, 2006, 09:31:24 PM
Put up that picture of me being all hot and intense. It's not bmx related but it might help get the vaginas back in here.
Title: Spice up the front page...
Post by: DETHRIDER on July 20, 2006, 10:41:47 AM
Quote from: sheepdog
Yep, send them in.

send them to where?
Title: Spice up the front page...
Post by: sheepdog on July 20, 2006, 12:45:37 PM
Quote from: deathbmxer
send them to where?

My name @bikeguide.org

I would prefer not to post it as it gets plenty of spam already.
Title: Spice up the front page...
Post by: Skullzaflare on July 26, 2006, 03:10:37 PM
I HATE SPAM al the damn viagra emails i get lol, sending a drawing
Title: hello.
Post by: chdieawoy on January 13, 2009, 04:50:26 PM
Hi, I am new here. I view all posts. Good disscussion here.-----------------------------------------------------------------------------------------------------------------------------Specialize in nugget jewelry (http://www.towholesalejewelry.com/to/66.html), Wedding anniversary gifts (http://www.towholesalejewelry.com/to/67.html), A wide variety of handmade fashion products (http://www.towholesalejewelry.com/to/68.html)