Overclock.net › Forums › Benchmarks › Overclock.net HWBot Team › New HWBot Tags, and how to use them
New Posts  All Forums:Forum Nav:

New HWBot Tags, and how to use them

post #1 of 24
Thread Starter 
Hi all,

This afternoon we implemented HWBot's recently updated forum post scheme, so you can now once again have HWBot listings and rankings right here on OCN.

The process for getting this content is now dependent on BBCode tags. These tags are [hwbot], and are used just like any other BBCode (open tag, close tag).

Here are some quick examples to show you how these can be used.


[hwbot=overclock.net]team[/hwbot]


This tag will display information about Overclock.net, and will show general team stats.

Similarly, I could use the following code to show stats just about myself:

[hwbot=chipp]member[/hwbot]


If I'd like, I can add more parameters to the code to refine what I display. For example, to see our team CPU-Z ranking:

[hwbot=app=CPU-Z,team=overclock.net]memberranking[/hwbot]


I'm sure by now you get the basic idea. Far more detailed examples can be found here, in the HWBot forums:
http://hwbot.org/forum/showthread.php?p=61069#post61069

Thanks for supporting Overclock.net in your pursuit of performance. Enjoy these new toys.

Update with the most currant tags:
Quote:
Originally Posted by richba5tard View Post
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 =
(if you want custom css, uncomment // var _hwbcss = "http://hwbot.org/css/style.external.custom.ocforums.css"; and replace with own css)
Code:
<script type="text/javascript">

    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>
Example = [ hwbot=team=oc_forums,app=wprime_32m]submissionranking[/hwbot] (remove space in tag)
Use {option} = YES

When added, you can post the following tag in the forums:
[ hwbot=oc_forums]team[/ hwbot]
will =>


With custom css, the integration with your forum is seamless:


How to install tags on blog/html site
You can also use the new forumtag on your blog or website, if you directly use the javascript.

Replace {param} with team, member, membergoal, teamgoal, submission, etc.
Replace {option} with the parameters, eg "bench_tec_uk" or "app=wprime,cooling=air".
Code:
<script type="text/javascript">

    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>
Full set of supported tags:

Supported tags:

display member info:
[ hwbot=massman]member[/hwbot]
Renders as (removed space in [ hwbot]):


display team info:
[ hwbot=pure]team[/hwbot]
Renders as:


display submission ranking
[ hwbot=app=wprime 32m,cooling=Water Cooling,country=germany]submissionranking[/hwbot]
Renders as:


display member ranking
[ hwbot=app=CPU-Z,country=us,team=pure]memberranking[/hwbot]
Renders as:


display team ranking
[ hwbot=region=europe]teamranking[/hwbot]
Renders as:


display submission info:
[ hwbot=949325]submission[/hwbot]
Renders as:


display team objective (beat next best ranked team)
[ hwbot=pure]teamgoal[/hwbot]
Renders as:


display user objective (beat next best ranked user)
[ hwbot=gautam]membergoal[/hwbot]
Renders as:


team members tag
[ hwbot=bench_tec_uk]teammembers[/hwbot]
Renders as:


new submissions tag
[ hwbot=]newsubmissions[/hwbot]
or [ hwbot=team=oc_forums]newsubmissions[/hwbot]
Renders as:
Morpheus Mini
(7 items)
 
  
CPUMotherboardGraphicsRAM
i7-6700T SN970 GTX 960 Crucial CT102464BF160B 
Hard DriveOSAudio
Samsung 850 Evo M.2 Windows 10 Pro MOTU Audio Express 
  hide details  
Reply
Morpheus Mini
(7 items)
 
  
CPUMotherboardGraphicsRAM
i7-6700T SN970 GTX 960 Crucial CT102464BF160B 
Hard DriveOSAudio
Samsung 850 Evo M.2 Windows 10 Pro MOTU Audio Express 
  hide details  
Reply
post #2 of 24
Very cool!

    
CPUMotherboardGraphicsRAM
i7 990x/3930k/3770k/4770k GB x58a-OC/Asus RIVE/x79 gd65/z77 mpower/z77 MV... gtx480s/gtx580s/7970s/680s/Titan Hyper/PSC/BBSE/Hynix/Samsung 
Hard DriveOptical DriveCoolingOS
HDDs/SSDs DVD Air/water/phase/copper pot Windowz 
MonitorKeyboardPowerCase
samsung 2320 Razer Lycosa ax1200 carboard box 
Mouse
Trackball 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 990x/3930k/3770k/4770k GB x58a-OC/Asus RIVE/x79 gd65/z77 mpower/z77 MV... gtx480s/gtx580s/7970s/680s/Titan Hyper/PSC/BBSE/Hynix/Samsung 
Hard DriveOptical DriveCoolingOS
HDDs/SSDs DVD Air/water/phase/copper pot Windowz 
MonitorKeyboardPowerCase
samsung 2320 Razer Lycosa ax1200 carboard box 
Mouse
Trackball 
  hide details  
Reply
post #3 of 24
You were damn quick on that one Chipp

These are cool as well. [ hwbot=*username*]membergoal[/hwbot ]

or for team goal [ hwbot=*teamname*]teamgoal[/hwbot ]






Edited by el gappo - 6/21/10 at 11:02am
One gear, GO!
(14 items)
 
  
CPUMotherboardRAMHard Drive
FX8150 Crosshair V Formula G.Skill PIS 2200 cl7 Acard ans9010 raid 0+Corsair Force 3 
Cooling
OCN Marksman 
  hide details  
Reply
One gear, GO!
(14 items)
 
  
CPUMotherboardRAMHard Drive
FX8150 Crosshair V Formula G.Skill PIS 2200 cl7 Acard ans9010 raid 0+Corsair Force 3 
Cooling
OCN Marksman 
  hide details  
Reply
post #4 of 24
[ hwbot=overclock.net]teammembers[/hwbot]






[ hwbot=team=overclock.net]newsubmissions[/hwbot]




[ hwbot=team=overclock.net,app=3DMark Vantage - Performance]submissionranking[/hwbot]

    
CPUMotherboardGraphicsRAM
E8400, E8600, 980BE T2RS+, P5E3, TA890FXE 8800GTS's,GTX's,GS,Ultra's,9600GT Lots of D9's and some crap DDR3 
Hard DrivePowerCase
Seagate 250GB + 80GB WD for benching TT 875w, Corsair 650TX Custom bench station 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E8400, E8600, 980BE T2RS+, P5E3, TA890FXE 8800GTS's,GTX's,GS,Ultra's,9600GT Lots of D9's and some crap DDR3 
Hard DrivePowerCase
Seagate 250GB + 80GB WD for benching TT 875w, Corsair 650TX Custom bench station 
  hide details  
Reply
post #5 of 24
Thanks Chipp! Pretty cool......I've got to get back in the top 10! Then I'll link up...

Overclock.net members
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8600 4545Mhz*9 w/1.29V DFI DK P45 XFX 8800 GS D9GKX & D9GMH 
Hard DriveOptical DriveOSPower
2x Seagate 160 Perp. RD-1 2x Asus Vista Premium Corsair HX 620 
Case
Open Bench 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8600 4545Mhz*9 w/1.29V DFI DK P45 XFX 8800 GS D9GKX & D9GMH 
Hard DriveOptical DriveOSPower
2x Seagate 160 Perp. RD-1 2x Asus Vista Premium Corsair HX 620 
Case
Open Bench 
  hide details  
Reply
post #6 of 24
Awesome Chipp, thanks!
The HedgeHog
(15 items)
 
  
CPUMotherboardGraphicsRAM
3770K Z77-UP7 MSI GTX 680 Twin 4 Gig G.Skill Trident X 2600's and some Dom's Hypers 
Hard DriveCoolingOSMonitor
Yes, lots of them. LN2  The smallest one I can get! Samsung 2333 HD 23" 
PowerCaseMouseMouse Pad
Corisar 1200 AX=1.21 jigawatts Fractal Design/Dimastech G5 Rocketfish 
  hide details  
Reply
The HedgeHog
(15 items)
 
  
CPUMotherboardGraphicsRAM
3770K Z77-UP7 MSI GTX 680 Twin 4 Gig G.Skill Trident X 2600's and some Dom's Hypers 
Hard DriveCoolingOSMonitor
Yes, lots of them. LN2  The smallest one I can get! Samsung 2333 HD 23" 
PowerCaseMouseMouse Pad
Corisar 1200 AX=1.21 jigawatts Fractal Design/Dimastech G5 Rocketfish 
  hide details  
Reply
post #7 of 24
just seent it! .. 2x :thumbs: way up
post #8 of 24
Lots of new ones to play with

Quote:
Originally Posted by richba5tard View Post
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 =
(if you want custom css, uncomment // var _hwbcss = "http://hwbot.org/css/style.external.custom.ocforums.css"; and replace with own css)
Code:
<script type="text/javascript">

    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>
Example = [ hwbot=team=oc_forums,app=wprime_32m]submissionranking[/hwbot] (remove space in tag)
Use {option} = YES

When added, you can post the following tag in the forums:
[ hwbot=oc_forums]team[/ hwbot]
will =>


With custom css, the integration with your forum is seamless:


How to install tags on blog/html site
You can also use the new forumtag on your blog or website, if you directly use the javascript.

Replace {param} with team, member, membergoal, teamgoal, submission, etc.
Replace {option} with the parameters, eg "bench_tec_uk" or "app=wprime,cooling=air".
Code:
<script type="text/javascript">

    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>
Full set of supported tags:

Supported tags:

display member info:
[ hwbot=massman]member[/hwbot]
Renders as (removed space in [ hwbot]):


display team info:
[ hwbot=pure]team[/hwbot]
Renders as:


display submission ranking
[ hwbot=app=wprime 32m,cooling=Water Cooling,country=germany]submissionranking[/hwbot]
Renders as:


display member ranking
[ hwbot=app=CPU-Z,country=us,team=pure]memberranking[/hwbot]
Renders as:


display team ranking
[ hwbot=region=europe]teamranking[/hwbot]
Renders as:


display submission info:
[ hwbot=949325]submission[/hwbot]
Renders as:


display team objective (beat next best ranked team)
[ hwbot=pure]teamgoal[/hwbot]
Renders as:


display user objective (beat next best ranked user)
[ hwbot=gautam]membergoal[/hwbot]
Renders as:


team members tag
[ hwbot=bench_tec_uk]teammembers[/hwbot]
Renders as:


new submissions tag
[ hwbot=]newsubmissions[/hwbot]
or [ hwbot=team=oc_forums]newsubmissions[/hwbot]
Renders as:
One gear, GO!
(14 items)
 
  
CPUMotherboardRAMHard Drive
FX8150 Crosshair V Formula G.Skill PIS 2200 cl7 Acard ans9010 raid 0+Corsair Force 3 
Cooling
OCN Marksman 
  hide details  
Reply
One gear, GO!
(14 items)
 
  
CPUMotherboardRAMHard Drive
FX8150 Crosshair V Formula G.Skill PIS 2200 cl7 Acard ans9010 raid 0+Corsair Force 3 
Cooling
OCN Marksman 
  hide details  
Reply
post #9 of 24
The HedgeHog
(15 items)
 
  
CPUMotherboardGraphicsRAM
3770K Z77-UP7 MSI GTX 680 Twin 4 Gig G.Skill Trident X 2600's and some Dom's Hypers 
Hard DriveCoolingOSMonitor
Yes, lots of them. LN2  The smallest one I can get! Samsung 2333 HD 23" 
PowerCaseMouseMouse Pad
Corisar 1200 AX=1.21 jigawatts Fractal Design/Dimastech G5 Rocketfish 
  hide details  
Reply
The HedgeHog
(15 items)
 
  
CPUMotherboardGraphicsRAM
3770K Z77-UP7 MSI GTX 680 Twin 4 Gig G.Skill Trident X 2600's and some Dom's Hypers 
Hard DriveCoolingOSMonitor
Yes, lots of them. LN2  The smallest one I can get! Samsung 2333 HD 23" 
PowerCaseMouseMouse Pad
Corisar 1200 AX=1.21 jigawatts Fractal Design/Dimastech G5 Rocketfish 
  hide details  
Reply
post #10 of 24
Gappo, what's the command to make the scroll list longer?
    
CPUMotherboardGraphicsRAM
E8400, E8600, 980BE T2RS+, P5E3, TA890FXE 8800GTS's,GTX's,GS,Ultra's,9600GT Lots of D9's and some crap DDR3 
Hard DrivePowerCase
Seagate 250GB + 80GB WD for benching TT 875w, Corsair 650TX Custom bench station 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E8400, E8600, 980BE T2RS+, P5E3, TA890FXE 8800GTS's,GTX's,GS,Ultra's,9600GT Lots of D9's and some crap DDR3 
Hard DrivePowerCase
Seagate 250GB + 80GB WD for benching TT 875w, Corsair 650TX Custom bench station 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Overclock.net HWBot Team
Overclock.net › Forums › Benchmarks › Overclock.net HWBot Team › New HWBot Tags, and how to use them