Multimedia

Author Topic: Spice up the front page...  (Read 22183 times)

0 Members and 1 Guest are viewing this topic.

Offline sheepdog

  • Site Admin
  • Administrator
  • O.G. Member
  • *****
  • Posts: 29622
    • View Profile
Spice up the front page...
« 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.

Offline Mike Reimer(derangedbiker)

  • O.G. Member
  • ******
  • Posts: 14200
    • View Profile
Spice up the front page...
« Reply #1 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

mphelps

  • Guest
Spice up the front page...
« Reply #2 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...

Offline lttldvlrdr6six6

  • Sr. Member
  • ****
  • Posts: 2058
    • View Profile
    • http://
Spice up the front page...
« Reply #3 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
As Much as I Love Autumn, Im Giving Myself To Ashes.

Offline freebirdrider27

  • Sr. Member
  • ****
  • Posts: 4507
    • View Profile
    • http://www.justinfaso.com
Spice up the front page...
« Reply #4 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

Offline sheepdog

  • Site Admin
  • Administrator
  • O.G. Member
  • *****
  • Posts: 29622
    • View Profile
Spice up the front page...
« Reply #5 on: March 17, 2005, 07:42:08 PM »
Just so people know, I FOUND the ones sent in last time as well.

Offline Ryan.m

  • Sr. Member
  • ****
  • Posts: 3152
    • View Profile
Spice up the front page...
« Reply #6 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.

Offline sheepdog

  • Site Admin
  • Administrator
  • O.G. Member
  • *****
  • Posts: 29622
    • View Profile
Spice up the front page...
« Reply #7 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.

mac15

  • Guest
Spice up the front page...
« Reply #8 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

Offline freebirdrider27

  • Sr. Member
  • ****
  • Posts: 4507
    • View Profile
    • http://www.justinfaso.com
Spice up the front page...
« Reply #9 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??

Offline CARBON

  • Sr. Member
  • ****
  • Posts: 1335
    • View Profile
    • http://members.shaw.ca/carbonfibre/
Spice up the front page...
« Reply #10 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.
« Last Edit: March 19, 2005, 04:02:23 PM by CARBON »

Offline sheepdog

  • Site Admin
  • Administrator
  • O.G. Member
  • *****
  • Posts: 29622
    • View Profile
Spice up the front page...
« Reply #11 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.

Offline sheepdog

  • Site Admin
  • Administrator
  • O.G. Member
  • *****
  • Posts: 29622
    • View Profile
Spice up the front page...
« Reply #12 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.

Offline sheepdog

  • Site Admin
  • Administrator
  • O.G. Member
  • *****
  • Posts: 29622
    • View Profile
Spice up the front page...
« Reply #13 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).

Offline CARBON

  • Sr. Member
  • ****
  • Posts: 1335
    • View Profile
    • http://members.shaw.ca/carbonfibre/
Spice up the front page...
« Reply #14 on: March 19, 2005, 10:09:51 PM »
No problem.

Bikeguide.org - Bike maintenance for BMX'ers

Spice up the front page...
« Reply #14 on: March 19, 2005, 10:09:51 PM »

 

-->

Tell them " Sheepdog sent you", for a little something special

Click this image for a little something special