The GBAtemp Sidebar

Ace

GBATemp's Patrick Bateman
OP
Member
Joined
Apr 8, 2009
Messages
1,034
Trophies
0
Age
29
Location
Manhattan
Website
goo.gl
XP
538
Country
I realized today that many Tempers probably don't have GBAtemp as their homepage. So I threw together a simple (and as small as possible) sidebar website, that can open all subforums in a new tab, and the Shoutbox (100 posts plus limitation). It's made exclusively for GBAtemp, and I'm by no means going to take credit for it (I used Mobile GBAtemp as a template, even
biggrin.gif
). Sadly, because of the limitations imposed by Google Chrome, it will only work for FireFox users.

It's very easy to set this up and get it running:

See this silhouette of our Temp Mascot? He's so ace that you're dragging him onto the Bookmarks Toolbar.
HOLD IT! Not quite done yet.
See that it says GBAtemp Sidebar there, now?
Go ahead and right click it, slide down to Properties, and check the box that says "Load this bookmark in the sidebar"
Hit Save


Keep classy, tempers,

Ace Faith


Versions:

---------------------
Version 1:
Latest version mirror #1 (Thank you, iFish!): Broken
Changes:

Mazor's Überawesome version: Dead link
---------------------
7/02/11: Original version written.
8/02/11: Mazor's version added to post. It includes latest posts, updated in realtime (I think...)
9/02/11: Mazor's version updated. Chrome extension (coming up in a bit, I hope tomorrow?), Ask GBAtemp/EOF/News/Blogs realtime feed added, general clean-up.

Other Browsers?
---------------------
For Opera:
Cuelhu said:
Just open the link in a new tab and grab the tab to the panel (side) bar.
For Konqueror: QUOTE(monkat @ Feb 9 2011, 06:16 PM) Just drag + drop the icon onto the sidebar.
 

Ace

GBATemp's Patrick Bateman
OP
Member
Joined
Apr 8, 2009
Messages
1,034
Trophies
0
Age
29
Location
Manhattan
Website
goo.gl
XP
538
Country
pyrmon24 said:
Dude, that is fucking awesome.
But if you do a self-updating latest posts toolbar, I will literally flood my keyboard with drool.
Quite difficult, as the entire thing is written up in HTML, and in about 7 lines less code than the Forum Index of the mobile GBAtemp site. The entire point is to have an athletically fast sidebar. But the admins/supervisors/coders for this site are more than welcome to pick it up and improve it. The point so far is to make it distanced from the official GBAtemp services.
 

Invisible Man

Member
Newcomer
Joined
Oct 31, 2010
Messages
17
Trophies
0
XP
33
Country
United States
Just some information which might be useful for anyone who wants to expand on Ace Faith's idea...

GBAtemp Latest Posts
Example URL: http://www.gbatemp.net/index.php?act=last10&show=0

Parameter: show
0: Posts
1: News
2: Blogs
3: EOF

---------------------------

GBAtemp News RSS Feeds
Example URL: http://www.gbatemp.net/rss.php?show=00100 (info)

Parameter: show = ?????
1st ?: GBAtemp and Scene News
2nd ?: GBA Releases
3rd ?: NDS Releases
4th ?: Wii Releases
5th ?: Homebrew News

---------------------------

Shoutbox
I don't have enough posts

---------------------------

Ask GBAtemp Search
Example URL: http://ask.gbatemp.net/ajax-search-questions.php?q=NDS

Parameter: q
The search term

---------------------------

FileTrip Search
Example URL: http://www.filetrip.net/autocomplete.php?string=NDS

Parameter: string
The search term

---------------------------

FileTrip RSS Feeds
Example URL: http://www.filetrip.net/rss.php?feed=file_new (info)

Parameter: feed
file_new: Most recently added files
file_updated: Most recently updated files
top_downloaded: Most downloaded files
top_rank: Highest rated files

---------------------------

GBAtemp Portal News
Example URL: http://www.gbatemp.net/index.php?act=home&...lectedNewsTab=1

Parameter: selectedNewsTab
1: All News
2: Popular
3: Gaming
4: Homebrew
5: Videos

---------------------------

GBAtemp Portal News (single news item)
Example URL: http://www.gbatemp.net/index.php?aj=1&...s&id=277681

Parameter: tp
nws: News
gn: Gaming News
hbr: Homebrew News

Parameter: disp
hdr: Topic details (author, date, comments)
con: Topic content

---------------------------

GBAtemp Release List/Details
Example URL: http://gbatemp.net/index.php?act=ajax_rele...p;count=-277998

Paramater: type
0: All releases
1: DS releases
2: Wii releases
3: GBA releases
4: WiiWare Releases
5: Virtual Console Releases
1337: Display release details

Paramater: count
Number of items to show in list or thread ID if getting release details (ID must be prepended with a minus (-) symbol).

---------------------------

Information on Loading and Parseing XML/HTML files with JavaScript
http://www.w3schools.com/xml/xml_http.asp
http://www.w3schools.com/dom/default.asp

Would be cool if there was a good API which spat out an XML file with requested information instead of trying to extract the information from HTML files which don't have element id's in useful places all the time.
tongue.gif
 

Cloak519

Well-Known Member
Member
Joined
Oct 7, 2010
Messages
566
Trophies
0
Website
Visit site
XP
15
Country
This a brilliant idea! If I make any modifications, would you object to me posting them Ace Faith?
It would be nothing major, just me messing around mainly.
 

Mazor

Z80 master arch
Member
Joined
Feb 14, 2008
Messages
547
Trophies
0
Age
17
Website
Visit site
XP
255
Country
Objections or no objections, I made a few "modifications" after reading pyrmon24's post.

pyrmon24 said:
But if you do a self-updating latest posts toolbar, I will literally flood my keyboard with drool.

http://pcdb.info/scarlet/GBAtemp/LatestPosts.php

Here's a POC or something of this. It updates every few seconds.

Install the same way as described in OP.

If anyone can spice up the HTML a bit I'll update it and it would become pretty cool.

Edit: Typo.
 

Sterling

GBAtemp's Silver Hero
Member
Joined
Jan 22, 2009
Messages
4,023
Trophies
1
Age
33
Location
Texas
XP
1,110
Country
United States
>.< No Chrome?
frown.gif
I love Chrome, and I really don't want to switch. :/ I may have to make an exception in this case though.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
Argentum Vir said:
>.< No Chrome?
frown.gif
I love Chrome, and I really don't want to switch. :/ I may have to make an exception in this case though.
It'll work, just not in a side bar. You could probably make it work using iFrames or something similar. But it would only show in one tab, and be lost if you refreshed the tab or typed in the URL bar on that tab (clicking links on the main page would be OK). So all in all, fairly pointless TBH.
 

Ace

GBATemp's Patrick Bateman
OP
Member
Joined
Apr 8, 2009
Messages
1,034
Trophies
0
Age
29
Location
Manhattan
Website
goo.gl
XP
538
Country
CA519705950 said:
This a brilliant idea! If I make any modifications, would you object to me posting them Ace Faith?
It would be nothing major, just me messing around mainly.


QUOTE said:
...and I'm by no means going to take credit for it
Actually, I'm trying to get in touch with a friend who works with javascript, and has proper access to a good server. If I can convince him, he might be able to pitch a real bookmarklet to us.

Mazor said:
Objections or no objections, I made a few "modifications" after reading pyrmon24's post.

QUOTE(pyrmon24 @ Feb 8 2011, 02:24 AM)
But if you do a self-updating latest posts toolbar, I will literally flood my keyboard with drool.

http://pcdb.info/scarlet/GBAtemp/LatestPosts.php

Here's a POC or something of this. It updates every few seconds.

Install the same way as described in OP.

If anyone can spice up the HTML a bit I'll update it and it would become pretty cool.

Edit: Typo.

This is AMAZING! But the default hyperlink color gives some glare, but that can easily be fixed.
In fact, keeping with the color scheme of GBAtemp, the best color to use would be (in hex): #EA792E
 

Sterling

GBAtemp's Silver Hero
Member
Joined
Jan 22, 2009
Messages
4,023
Trophies
1
Age
33
Location
Texas
XP
1,110
Country
United States
SifJar said:
Argentum Vir said:
>.< No Chrome?
frown.gif
I love Chrome, and I really don't want to switch. :/ I may have to make an exception in this case though.
It'll work, just not in a side bar. You could probably make it work using iFrames or something similar. But it would only show in one tab, and be lost if you refreshed the tab or typed in the URL bar on that tab (clicking links on the main page would be OK). So all in all, fairly pointless TBH.
Eh, if someone releases a proper chrome one, I would not only love them forever, but would... [Censored]. Ah, well, it isn't as though I couldn't wait. The idea is out there, if someone feels like doing it, then it will happen. :/ As for the initial idea, not only one of the most awesome posts ever, but the quickest sticky from a normal user.
tongue.gif
 

Ace

GBATemp's Patrick Bateman
OP
Member
Joined
Apr 8, 2009
Messages
1,034
Trophies
0
Age
29
Location
Manhattan
Website
goo.gl
XP
538
Country
Argentum Vir said:
Eh, if someone releases a proper chrome one, I would not only love them forever, but would... [Censored]. Ah, well, it isn't as though I couldn't wait. The idea is out there, if someone feels like doing it, then it will happen. :/ As for the initial idea, not only one of the most awesome posts ever, but the quickest sticky from a normal user.
tongue.gif
Trust me, I'm pretty surprised as well. Mad props to TrolleyDave for that!
As much as I also wished the sidebar would work for Chrome, it's Google's fault to not include a sidebar for bookmarks, IMO. I'd suggest just using Firefox for your Temp needs for now, and then we'll see what happens
smile.gif
 

Mazor

Z80 master arch
Member
Joined
Feb 14, 2008
Messages
547
Trophies
0
Age
17
Website
Visit site
XP
255
Country
Ace Faith said:
This is AMAZING!
Well thanks, but it's just a minor extension of your own great idea.

QUOTE(Ace Faith @ Feb 8 2011, 09:42 PM) But the default hyperlink color gives some glare, but that can easily be fixed.
In fact, keeping with the color scheme of GBAtemp, the best color to use would be (in hex): #EA792E
Updated it with this color and changed the line formatting a bit so it looks better.

Open to more suggestions/prettier html code.
 

Ace

GBATemp's Patrick Bateman
OP
Member
Joined
Apr 8, 2009
Messages
1,034
Trophies
0
Age
29
Location
Manhattan
Website
goo.gl
XP
538
Country
Mazor said:
it's just a minor extension of your own great idea.
Updated it with this color and changed the line formatting a bit so it looks better.
Open to more suggestions/prettier html code.
To be fair, I don't know how far I'll be able to extend this, even :S
I'm hoping the community can build on top of it, see how far it extends xD
I only know (barely) how to write HTML. You obviously have more experience and resources here than me, using PHP
biggrin.gif

Hell, I was using PasteHTML for my hosting
biggrin.gif

Best case scenario, we get a great multi-browser sidebar.
Oh, and I realized I forgot a few important links for this:
-GBATemp's Picture Upload service
-Ask GBAtemp
-FileTrip
-IRC
I think a LOT of Temper's could have good use of these. Could you (pretty, pretty pretty,) please add them?
 

KingAsix

ByJustAsix
Member
Joined
Jun 25, 2008
Messages
1,684
Trophies
1
Age
32
Location
ICS
Website
www.byjustasix.com
XP
2,410
Country
United States
....I love you

ACE FAITH SIDEBAR FTW!!!

EDIT-Why hasn't this made front page news cause I probably wouldn't have known about this if I wasn't about to post in this section (which I normally don't do)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: yawn