Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   General Discussions (http://forums.winamp.com/forumdisplay.php?f=1)
-   -   the wa forums FORUMBAR extension (http://forums.winamp.com/showthread.php?t=81979)

mc^^^^ 25th March 2002 09:00

the wa forums FORUMBAR extension
 
hi all, i have made an extension for the forums that i call the 'winamp forumbar', it is designed to make jumping around the forums quicker and easier as there are many links all in the one small header frame. i think it still has much potential that i have not yet included. i want to eventually have buttons for like 'up to threads forum' and 'next/previous thread'

tell me what you think.

http://www.winampforums.tk
(easy adress)

binary hero 25th March 2002 09:21

it's all cluttered, but i'm at college with 800x600 res. I'll try it at home (1600x1200)

mc^^^^ 25th March 2002 09:31

as said on the main page:

The Forumbar is recommended that you have a res of 1024x768 or higher.

randman 25th March 2002 11:46

I would have some reservations about logging into the Winamp Forums through a third-party site. Can you address my concerns about security? If these concerns are unfounded, would you explain why? Thanks. :)

Rocker 25th March 2002 11:56

good for members....a bit of a pain for moderators...

my opinion....nice idea...well done:up:

mc^^^^ 25th March 2002 12:12

i see your concerns but can tell you this: logins right now are done as included pages in the site. no usernames, passwords, or information goes through me, it goes directly through the winamp forums vBullitin site.

w.a.r.: 'bit of a pain for moderators' why, how?


what else should i add to it?

ujay 25th March 2002 14:18

Using 1152 x 864 and the menu boxes etc. on the top line are still crunched up. Have you made allowance for larger text sizes ?

Nice idea.

UJ

mc^^^^ 25th March 2002 14:35

im afraid that anything above normal text sizes will not work as its aim is to be tiny and larger text pushes it all around. i may work on it later but im afraid there is not alot i can do.

mc^^^^ 25th March 2002 14:51

ok i just updated it and it now has room for advertising space (spread the word :) ) i will advertise for dirt cheap.

i also added a "log in" section, this is directly on my page and is not an included page. if you have concerns about it being hacked by me or someone else DONT USE IT, but i garantee i have no idea how, nor do i want to know. i pretty much copied the code direct from the forums site and you can look at it for yourself if you want.

PabUK 25th March 2002 16:43

Its a good idea, though I would not really find any use in it as I rarely start new topics and don't get/send any PMs anyway.

apollos 25th March 2002 18:18

I like it alot and i suppose you wouldnt need to move around to get to your pm's! I prefer the current way though!
sorry!
:igor:

mc^^^^ 26th March 2002 09:06

should i continue this? i dont think i will work on it much more if only 2 people are going to use it

cmisker 26th March 2002 09:48

You should be able to make quicklinks to whatever threads you use a lot or something... Store them with cookies. Make it more.. configurable!

mc^^^^ 26th March 2002 10:03

thatd be a good idea but i have NO idea how to do that, is it really that hard?

cmisker 26th March 2002 10:11

No, it is really simple... I used to have a whole webpage, based on cookies and stuff, go to www.chris.misker.nl to check it out. It's pretty cool but I don't update it anymore.

I guess I could find out *again* how to do cookies and stuff and tell you... :) If you want...

cmisker 26th March 2002 10:31

Alright. To set a cookie:

code:
var today = new Date();
var expire = new Date();
expire.setTime(today.getTime() + 1000*60*60*24*365);

function setCookie(what, how) {
document.cookie = what + "=" + how + "; expires=" + expire.toGMTString();
}



To read the cookie userTaal:

code:
userTaal = document.cookie.split("userTaal=")[1].split(";")[0];


Cookies are stored like this:
userTaal=english; age=15; sex=female
You can always do an
code:
alert(document.cookie);

To see what the document looks like. Then use the .split function to split the cookie. Pretty simple. :)
(You can type:
code:
javascript:alert(document.cookie)

in the addressbar now, without the space between java and script, to see the cookies stored by the Forums)


mc^^^^ 26th March 2002 12:55

well, that was a confusing ride! anyway ill maybe look up some tutorials later.

i made this banner:
http://members.iinet.net.au/~dyka/Wi...Bar/banner.jpg
pleae advertise it whever to help me get this thing going :)

mc^^^^ 26th March 2002 13:21

hey does anyone want to help me with a 'customise forumbar' page that basicly is a form and you enter things like your name and tick what you want on the main page and it makes a cookie and then reads the cookie to display what you want on the main page???

cmisker 26th March 2002 14:38

I guess I can help you a bit with the cookies.

Gonzotek 26th March 2002 14:54

You may want to have a looksie at these two links:

http://msdn.microsoft.com/library/de...s/explorer.asp

http://msdn.microsoft.com/library/de...evelopment.asp

The first is for making explorer bars (like the search bar or links bar) and the second is for active channel development, which never really caught on, but might be useful.

I think this kind of thing makes a lot of sense as an explorerbar.

I'd like to request that advertising be left out of things. Beleive me, you won't get enough money from it to buy a 6-pack, even if all the regular winamp users were using it, the way advertising rates are today.

-=Gonzotek=-

cmisker 26th March 2002 14:58

Yeah.. a real explorer bar, like for example, the Google Search bar would be way cooler!!! You should do that!!! :)

mc^^^^ 26th March 2002 22:56

the explorer bar was an original idea that i was thinking of implementing, but i though it would be too hard, by reading that msdn thing its just adding crap to the registry and pointing it at the web page isnt it?


cmisker: if i send you the web pages is it possible for you to accually make my "customise.htm" work?

ill try make it and explorer bar tonight after skool.

cmisker 27th March 2002 06:19

Alright, I'll see what I can do.

And about that bar.. yes, maybe, but.. it also gives you a really professionally looking bar... :P Maybe we can do it together.

mc^^^^ 27th March 2002 11:38

following the msdn guide thingy i made a .reg filewith the following inside it:

code:

Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\CLSID\{33333333-4965-11d4-9B18-009027A5C333}]
@="&Winamp Forumbar"

[HKEY_CLASSES_ROOT\CLSID\{33333333-4965-11d4-9B18-009027A5C333}\Implemented Categories]

[HKEY_CLASSES_ROOT\CLSID\{33333333-4965-11d4-9B18-009027A5C333}\Implemented Categories\{00021494-0000-0000-C000-000000000046}]

[HKEY_CLASSES_ROOT\CLSID\{33333333-4965-11d4-9B18-009027A5C333}\InProcServer32]
"ThreadingModel"="Apartment"
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
53,00,68,00,64,00,6f,00,63,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{33333333-4965-11d4-9B18-009027A5C333}\Instance]
"CLSID"="{4D5C8C2A-D075-11d0-B416-00C04FB90376}"

[HKEY_CLASSES_ROOT\CLSID\{33333333-4965-11d4-9B18-009027A5C333}\Instance\InitPropertyBag]
"Url"="http://members.iinet.net.au/~dyka/Winamp%20Forums%20Bar/Bar.htm"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Explorer Bars\{33333333-4965-11d4-9B18-009027A5C333}]


i added that to the registry but no bar :(, there is a part which says delete suchnsuch strings but i dunno how to do that through a .reg file. (i just looked for them manually but found nothing, i have the google toolbar so i presume they have already been deleted)
can you see what iv done wrong?

cmisker: check ya PM's :)


[edit] CHANGED code but still doesnt work [/edit]

cmisker 27th March 2002 11:42

Quote:

Originally posted by mc^^^^
cmisker: check ya PM's :)
There's nothing there?

Alright... maybe your .reg file isn't right. Have you tried adding all these things to the registry manually? (You can always export that key later to a .reg file). Also, try to let the URL= go to a local place, like c:\bar.html or something (somethign really simple, so you can't type it wrong).

cmisker 27th March 2002 12:06

Real easy way to do cookies, check this out:
http://www.leadingobject.com/seminar...kies_desc.html

Take a look at the .js file you can download from there. Super easy! :)

mc^^^^ 27th March 2002 12:32

cmisker, the pm is there now. that looks easy but when i look at the coding it looks like itl take way more time than i have.

i focusing on getting the bar to work first, i updated the code above but it didnt work, im trying that local file thingy now.

mc^^^^ 28th March 2002 13:02

ok i have good news and bad news, i managed to not only get it as an explorer bar, but an explorer band (a band is like the address bar, a bar is like the fat search window), only problem is that the links in the drop down menu's and other normal page links dont work, i need to tell it to use the main window, not itself or give an error. iv tried "_main" + "_parent" but it doesnt work. also as the drop down boxes are javescript the command to make the link appear on the main frame was
code:

function Navigate() {
var number = NavSelect.selectedIndex;
parent.main.location.href = NavSelect.options[number].value; }


and gives errors now :(


help! i wanna give this thing to people!

cmisker 30th March 2002 11:51

To do a location.replace (go to a different URL) in JavaScript IN A FRAME, use this:
code:

parent.frames["nameofframe"].location.replace("html.html");


I guess, if you don't want to use the frame, you could do something like..
parent.location.replace or something.. Look it up at the Netscape JavaScript guide maybe..


All times are GMT. The time now is 09:30.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.