HWBOT Integrated forum/website rankings
Back in 2005 HWBOT started as a service which scanned forum submissions and posted an up to date ranking in the first post of the forum topic. It made the bot popular but due to high maintenance cost, and a lot of poorly scanned submissions, we decided to drop support late 2009.
Now they are back, but in a different form. You still need to make submissions on hwbot.org, but we now offer a handful of tags to be able to show up to date rankings on your local forum.
We provide guidelines how to install this on vbulletin, but it can be installed on any forum, blog or website.
Example
When the hwbot tag is installed on vbulletin, you can post the following tag in the forums:
[hwbot=oc_forums]team[/hwbot]
will render:
Forums which already implement this feature:
- OCForums
- Overclock.net
- BenchTec UK
- … and many more
How to install tags on vbulletin
If you want to try it as a vbulletin tag, go to the admin panel en choose "add new bb code".
BB Code Tag Name = hwbot
Replacement =
var _hwbtarget = ‘hwb_’ + Math.round((Math.random() * 100000));
document.write("<div id=’"+ _hwbtarget +"’><img src=’http://hwbot.org/img/loader.gif’ alt=’loading’/> Loading…</div>");
// uncomment for custom css
// var _hwbcss = "http://hwbot.org/css/style.external.custom.ocforums.css";
var _hwb = _hwb || [];
_hwb.push(['type={param}']);
_hwb.push(['params={option}']);
_hwb.push([_hwbtarget]);
(function() {
var hwbex = document.createElement(’script’); hwbex.type = ‘text/javascript’; hwbex.async = true;
hwbex.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’) + ‘hwbot.org/js/exf2.js’;
var s = document.getElementById(_hwbtarget); s.parentNode.insertBefore(hwbex, s);
})();
</script>
If you want custom css, uncomment // var _hwbcss = "http://hwbot.org/css/style.external.custom.ocforums.css"; and replace with own css.
Example = [hwbot=team=oc_forums,app=wprime_32m]submissionranking[/hwbot] (remove space in tag)
Use {option} = YES
With custom css, the integration with your forum is seamless:
How to install tags on blog/html site
You can use the new tags on your blog or website, if you directly use the javascript. For blogs, you need to be sure the blog engine allows use of javascript.
Copy and paste the following code:
var _hwbtarget = ‘hwb_’ + Math.round((Math.random() * 100000));
document.write("<div id=’"+ _hwbtarget +"’><img src=’http://hwbot.org/img/loader.gif’ alt=’loading’/> Loading…</div>");
// uncomment for custom css
// var _hwbcss = "http://hwbot.org/css/style.external.custom.ocforums.css";
var _hwb = _hwb || [];
_hwb.push(['type={param}']);
_hwb.push(['params={option}']);
_hwb.push([_hwbtarget]);
(function() {
var hwbex = document.createElement(’script’); hwbex.type = ‘text/javascript’; hwbex.async = true;
hwbex.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’) + ‘hwbot.org/js/exf2.js’;
var s = document.getElementById(_hwbtarget); s.parentNode.insertBefore(hwbex, s);
})();
</script>
Replace {param} with team, member, membergoal, teamgoal, submission, etc. Available tags are below.
Replace {option} with the parameters, eg "bench_tec_uk" or "app=wprime,cooling=air". Parameters are below.
Layout customization:
The HWBOT script will produce XHTML which can be formatted with css. If you want to override the default css, you need to add a “_hwbcss” variable in the script which points to a custom css file.
The default css file is "http://hwbot.org/css/style.external.css". If you want to customize it, copy this file, make the adjustments and put it on your own host. If you don’t have a host, we can host it for you.
Example:
var _hwbcss = "http://hwbot.org/css/style.external.custom.ocforums.css";
Full set of supported tags:
display member info:
Tag: member
Options: member name
[hwbot=massman]member[/hwbot]
Renders as (removed space in [hwbot]):
display team info:
Tag: team
Options: team name
[hwbot=oc_forums]team[/hwbot]
Renders as:
display submission ranking
Tag: submissionranking
Options: app=benchmark name, cooling= cooling type, country = country name, region = ussr,europe,…, team=team name
[hwbot=app=wprime 32m,cooling=Water Cooling,country=germany]submissionranking[/hwbot]
Renders as:
display member ranking
Tag: memberranking
Options: app=benchmark name, country=country name, region=region name, team=team name
[hwbot=app=CPU-Z,country=us,team=pure]memberranking[/hwbot]
Renders as:
display team ranking
Tag: teamranking
Options: country=country name, region=region name
[hwbot=region=europe]teamranking[/hwbot]
Renders as:
display submission info:
Tag: submission
Options: submission id
[hwbot=949325]submission[/hwbot]
Renders as:
display team objective (beat next best ranked team)
[hwbot=pure]teamgoal[/hwbot]
Tag: teamgoal
Options: team name
Renders as:
display user objective (beat next best ranked user)
Tag: membergoal
Options: member name
[hwbot=gautam]membergoal[/hwbot]
Renders as:
team members tag
Tag: teammembers
Options: team name
[hwbot=bench_tec_uk]teammembers[/hwbot]
Renders as:
new submissions tag
Tag: newsubmissions
Options: none
[hwbot=]newsubmissions[/hwbot]
or [hwbot=team=oc_forums]newsubmissions[/hwbot]
Renders as:














