View Full Version : Optimized and brightened Icons... download
NgtCrwlr
Sun 18th Jun '00, 3:03pm
I just finished brightening up and size optimizing most of the default vbulletin icons. We only use a couple icons that are not in the default install... blue default thead folder and a flaming hot thread folder. If you have a high traffic BBS and or think the default icons are too dull. Here ya go... download the .zip file and use them all or just the ones you like better.
Updated link: 02/22/04
http://www.makeitsimple.com/downloads/vBs_optimized_images.zip
For some reason I cannot type v b b s without spaces, vB auto converts it to vBs. Correct the above file name to v b b s_optimized_images.zip without spaces. This explains why I have been seeing 404 errors in my log files for the above file . It appears that vBulletin is auto changing text.. bug?
/images:
default - 36.0KB
optimized - 25.6KB ---> 28% size reduction
/images/icons:
default - 3.89KB
optimized - 1.95KB ---> 49.8% size reduction
/images/smilies:
default - 3.99KB
optimized - 2.44KB ---> 38.8% size reduction
Compare the brightness of these icons to yours:
note 02/22/04: example no longer applies... many vB version changes since original post. The download is the 06-19-2000 vB icons.
Larry "NgtCrwlr" Mingus
http://www.makeitsimple.com/
Shaman
Mon 19th Jun '00, 12:47am
The images worked great, and cut download times enough to be worthwhile, too.
mmoncur
Thu 22nd Jun '00, 2:10am
Thanks! I like these images much better, and the optimization can't hurt.
eva2000
Sat 24th Jun '00, 6:44pm
cool i haven't seen your smilies yet - but do you know where there's a site with these to look and download ?
I just purchased vbulletin 2 days ago and my current list is at
http://www.animeboards.net/forums/index.php?action=showsmilies
NgtCrwlr
Fri 30th Jun '00, 11:02pm
Originally posted by eva2000
i haven't seen your smilies yet - but do you know where there's a site with these to look and download ?
Not sure I understand... in the first post there is a link to download the .zip file, and a link to our site where you can see them in action. ;)
mmoncur and Shaman, glad you have found them useful.
Larry
- suffering sever vB obsession
TWTCommish
Fri 14th Jul '00, 8:50pm
Are the ones listed at http://www.animeboards.net/forums/index.php?action=showsmilies available for public use? They look awesome! :)
Freddie Bingham
Fri 14th Jul '00, 9:40pm
You can take any of mine as I have taken them from other places. Just make sure to download them and not link to them. They have all been size optimized at http://www.spinwave.com
http://www.hedgehogwheels.com/forums/index.php?action=showsmilies
-freddie
[Edited by rangersfan on 07-14-2000 at 08:41 PM]
NgtCrwlr
Sat 15th Jul '00, 1:36am
Whoa, I can see I need to keep an eye on the new smilies. I had no idea that there were that many available.
On a side note... Rangersfan, can you point me to where I can find the contest hack you are using, or is this something you did on your own? If so are you willing to share? I've been wanting to do some contests but haven't had the time to work out the admin side of things. What you have looks like it's perfect for what I need. oohhhh I hope so. :D
Freddie Bingham
Sat 15th Jul '00, 2:44am
Oh that hack is something I did myself. Let me see if I can give you what you need to use it :)
Freddie Bingham
Sat 15th Jul '00, 2:57am
btw I don't know php, I just hack at it with my SQL and C++ knowledge..
Ok this is the "stats.php" file which lists the most posts from date1 to date2. I seperate out my posts since obviously I don't want to win so I put myself (freddie) down at the bottom.
stats.php (or contest.php)
<?php require("global.php"); ?>
<html>
<head>
<!-- put any include Styles in here
This is mine:
<?php require '/usr/local/zeus/web_roots/main/www.hedgehogwheels.com/style.html';
?>
-->
<title>Hedgehog Wheels Post Contest</title>
</head>
<body>
<?php
<!-- Date to Start counting Posts -->
<!-- Year-Month-Day -->
$date1 = "UNIX_TIMESTAMP(\"2000-07-08\")";
<!-- Date to Stop Counting Posts -->
$date2 = "UNIX_TIMESTAMP(\"2000-08-08\")";
<!-- Change 'admin' to the admin's name, he is not in the contest -->
$users = $DB_site->query(
"SELECT post.userid, count(post.userid) as count, user.username from " .
"post, user WHERE post.dateline >= $date1 and post.dateline <= $date2 " .
"and post.userid = user.userid and user.username <> 'admin' group ".
"by post.userid order by count DESC");
<!-- Change 'admin' to the admin's name -->
$admin = $DB_site->query(
"SELECT post.userid, count(post.userid) as count, user.username from " .
"post, user WHERE post.dateline >= $date1 and post.dateline <= $date2 " .
"and post.userid = user.userid and user.username = 'admin' group ".
"by post.userid order by count DESC");
<!-- Put your header in here
This is mine
include("/usr/local/zeus/web_roots/main/www.hedgehogwheels.com/menu.html") ?>
-->
<p><a href="./"><img border="0" src="images/bbtitle.gif" width="420" height="85"></a></p>
<p align="center"><b><font face="verdana,arial,helvetica" size="2">The User who
posts the most on-topic posts from July 8th, 2000 to Aug 8th 2000 will receive a
free Hedgehog wheel. International winners must pay their own s/h costs.</font></b></p>
<div align="center">
<table border="1" cellpadding="4" cellspacing="4">
<tr>
<td bgcolor="#9900CC"><b><font face="verdana,arial,helvetica" color="#FFFFFF" size="3">User</font></b></td>
<td bgcolor="#9900CC"><b><font face="verdana,arial,helvetica" size="3"><font
color="#FFFFFF">Posts
from July 8th to Aug 8th</font></font></b></td>
</tr>
<tr>
<td>
<FONT face="verdana,arial,helvetica" size="2">
<br>
<?php
while ($user = $DB_site->fetch_array($users))
{
$username = $user["username"];
echo ("$username<br>");
}
echo ("<br>");
while ($user = $DB_site->fetch_array($admin))
{
$username = $user["username"];
echo ("$username<br>");
}
?>
<br>
</font>
</td>
<td align="center">
<FONT face="verdana,arial,helvetica" size="2">
<br>
<?php
$DB_site->data_seek(0,$users);
while ($user = $DB_site->fetch_array($users))
{
$count = $user["count"];
echo ("$count<br>");
}
echo ("<br>");
$DB_site->data_seek(0,$admin);
while ($user = $DB_site->fetch_array($admin))
{
$count = $user["count"];
echo ("$count<br>");
}
?>
<br>
</font>
</td>
</tr>
</table>
</div>
<p> </p>
<!-- Put any Footer info in here
This Is Mine
<?php
include ("/usr/local/zeus/web_roots/main/www.hedgehogwheels.com/menu.html");
include("/usr/local/zeus/web_roots/main/www.hedgehogwheels.com/meter.html");
?>
-->
</body>
</html>
This code goes in global.php right before
eval("\$fivelinks = \"".gettemplate("fivelinks")."\";");
What this does is make the Current Top Poster available in the Fivelinks Template.
$date1 = "UNIX_TIMESTAMP(\"2000-07-08\")";
$date2 = "UNIX_TIMESTAMP(\"2000-08-08\")";
$pusers = $DB_site->query(
"SELECT post.userid, count(post.userid) as count, user.username from " .
"post, user WHERE post.dateline >= $date1 and post.dateline <= $date2 " .
"and post.userid = user.userid and user.username <> 'freddie' group ".
"by post.userid order by count DESC");
$puser = $DB_site->fetch_array($pusers);
$pusername = $puser["username"];
$pusercount = $puser["count"];
$puser is the top poster and $pusercount is the number of posts. Put those two variables in fivelinks and format it as you wish and you will see the current leader (through the dates you specified) on every page at the top. Make sure to again change 'admin' to the admin's name unless you want the admin to possibly be in the lead and in that case you take that part out all of the code above. Also change the dates to match what you put in the stats.php file. You also make a link in the fivelinks template to 'stats.php' so users can open it and see the current list of posters for the time period.
There ya go and remember I did this only for myself so it is rough but works for me. I hope you can make it work for you.
[Edited by rangersfan on 07-15-2000 at 02:06 AM]
NgtCrwlr
Sat 15th Jul '00, 3:25am
Thank you... Thank you, Rangersfan.
I too am learning PHP/SQL, I have a bit of Perl knowledge but in no way consider myself a programmer. I do pretty good at taking code examples and making them work for my needs. I *will* get this to work no sweat.
I can't say thanks enough... you made my night. :) I'll give you a toot when I get it working.
Cheers!
-Larry
eva2000
Sat 15th Jul '00, 7:25am
Originally posted by TWTCommish
Are the ones listed at http://www.animeboards.net/forums/index.php?action=showsmilies available for public use? They look awesome! :)
thanks for the compliments... you can use use them if you want... i took them from various sites which deal in smilies... :D
i just added alot more related to my site theme - anime :D
Bane
Thu 24th Aug '00, 9:58am
Why do I get a parse error on the dates? What do I have to change? I get the error on the line
$date1="UNIX_TIMESTAMP(\"2000-07-08\")";
PaintballDude
Sat 28th Apr '01, 10:37pm
Where do ya'll get your smilies from? I'm looking all over the net for them and cant find em...
Susan
Sat 28th Apr '01, 11:42pm
wow...resurecting an 8 month old thread to ask a somewhat related question? Okay http://www.mysmilies.com
vBulletin® v3.8.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.