Quantcast

Jump to content

» «
Photo

[RELEASE] GTAForums FireFox Extension

175 replies to this topic
PatrickW
  • PatrickW

    GTA Juggernaut

  • Moderator
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#1

Posted 26 April 2005 - 12:57 AM Edited by PatrickW, 17 February 2011 - 12:22 PM.

I made a firefox extension, based on the well-known BBcode firefox extension. It adds support for (almost) all message-tags to the background menu including the GTAforums specific ones.

user posted image


(Feb, 17 2011)Version 0.5.4 is Firefox 4.0.x compatible
(May, 25 2009)Version 0.4.2 topic item bugfix, and BBcode available outside gtaforums.com.
(May, 17 2009)Version 0.4.1 fixes a typo.
(May, 17 2009)Version 0.4.0 adds context sensitive menu's when browsing gtaforums.com.
(Mar, 31 2009)Version 0.3.4 adds some BBcodes and enables auto-update.
(Mar, 30 2009)Version 0.3.3 is Firefox 3.0.x compatible


Install
• Install GTAFcode from HERE
• Restart firefox when prompted.
• You will automatically be notified of updates.

From now on you should see a gtaforum code menu entry in the background menu whenever you're in an editwindow.

How to use
Most of the entries should be self explaining, the only thing that might need some explanation is the support for the table/tableb tags.
You should just write the content of your table thereby separating horizontal cels with a '|' character, and separating the rows with a newline. To render a cell as a header, you should prefix is with a "*".
When your done typing, select the whole block and choose (bordered) table from the special submenu to convert it to proper tags.
e.g.
*cel1|*cel2
more cels|and yet another|last one


wil result in:
cel1 cel2
more cels and yet another last one
If no text was selected when you issued the table command, you will be prompted for content (use '|' and '*' to separate fields and make headers) and you can stop by entering a empty row.

Context menu
Depending on the content of the page your looking at the background menu will provide you with "gtaforums.com links","category menu", "forum menu", "topic menu" and "member menu". e.g. if your looking at a profile it will get the "gtaforums.com links" and the "member menu", but while reading a topic the "gtaforums.com links", the "Forum menu" and the "Topic Menu" will be available.

Gtaforums.com links Category Menu Forum Menu Topic Menu Member Men
Board Index Search... Search... Search... Send PM
View New Posts Subscribe Subscribe View Posts from ...
Mark Board Read mark as Read Print/Download Add to contacts
My Controls Who Posted? Report this user
My Inbox Profile
My Last Posts Gtagarage Profile
Search
Members
Moderating team
Todays active topics
Todays top 10 posters
Link Menu
When right-clicking on a link, the menu however does does not depend upon what you're currently looking at, but upon the target of the link. (E.g. if you right-click on a link to a profile, you'll get the "Member menu").

Selection menu
If you've got a piece of text selected, right-clicking will show you the "Search Menu". Depending on your context, you'll get different options, like "Search as member", "Search Whole Board", "Search topics in Current Forum" and "Search Posts in Current Topic". If you're right-clicking on a forum or topic link, while a piece of text is seledted, you'll even get the option to search for the selected text in the target of the link you're clicking on. (e.g. "Search Topics in This Forum").
The description above might sound a bit complex, but if you work with it, it will feel very intuitive.

Technology
This extension (like any firefox extension) is written in RDF (Resource Description Framework), XUL (XML UserInterface Language) and Java-Script. The only tools that are needed are a plain text-editor (even notepad will do) and winzip.

  • Knife Deity likes this

PresidentKiller
  • PresidentKiller

    Anger Manager

  • The Connection
  • Joined: 22 Dec 2004
  • Mexico

#2

Posted 26 April 2005 - 01:00 AM Edited by PresidentKiller, 26 April 2005 - 01:04 AM.

This looks really useful. I'll give it a try. smile.gif

EDIT: It IS useful. It's pretty cool actually.

user posted image

cookie.gif cookie.gif cookie.gif

boobtronic
  • boobtronic

    Battletoads..a simpler time

  • Members
  • Joined: 16 Jan 2005

#3

Posted 26 April 2005 - 01:05 AM Edited by boobtronic, 26 April 2005 - 01:11 AM.

You Kick Ass
Thanks
boobtronic what does this do?


QUOTE
Woot|ok, am i missing something?

Tsuroki
  • Tsuroki

    Remember me?

  • The Connection
  • Joined: 20 Jul 2002
  • None

#4

Posted 26 April 2005 - 02:47 AM Edited by Tsuroki, 26 April 2005 - 02:50 AM.

test test test

Edit: I am so f*cking pinning this.

Justin
  • Justin

    have a cigar

  • Members
  • Joined: 30 Jun 2004
  • None

#5

Posted 26 April 2005 - 03:53 AM

  • Now
  • this
  • is
  • bloody
  • useful
Fuzzy Juzzy thanks PatrickW


Well done man, this is very, very useful indeed.

MyMothersMySister
  • MyMothersMySister

    Unkle Dysfunktional

  • Feroci
  • Joined: 16 Apr 2002
  • None

#6

Posted 26 April 2005 - 05:41 AM

You are sexy..

Thanks Patrick.

RearEndCollision
  • RearEndCollision

    Lucid Dreams.

  • Leone Family Mafia
  • Joined: 17 Sep 2004

#7

Posted 26 April 2005 - 06:00 AM

wow.gif

A-mazing!

Now this is deserving of the 25 karma, or some twinklies. wink.gif

parry
  • parry

  • Members
  • Joined: 19 Aug 2004

#8

Posted 26 April 2005 - 06:06 AM

First time ive ever posted i nthis forum but this is a greta extension mate! Nice one!

Raindancer
  • Raindancer

    Beer monster

  • Feroci
  • Joined: 12 Nov 2001
  • None

#9

Posted 26 April 2005 - 07:53 AM

I want it smile.gif

Downloading as soon as i get home from work

jazz.
  • jazz.

    waffen

  • BUSTED!
  • Joined: 21 Jan 2005

#10

Posted 26 April 2005 - 08:08 AM

  • Girl
  • You
  • Rawk
  • My
  • World

LOLOOOOL

Dalpura
  • Dalpura

  • Members
  • Joined: 14 Nov 2003

#11

Posted 26 April 2005 - 09:20 AM

Patrick you are f*cking awesome. Best thing ever. Very well done and thank you! I just wish I could give you more karma without making you look like a whore. tounge.gif Cheers.

Johnno
  • Johnno

    WD&P Ogre

  • Members
  • Joined: 15 Sep 2002

#12

Posted 26 April 2005 - 10:23 AM

Nice, nice.

Opera 8 was released but days ago... nudge, nudge.

PatrickW
  • PatrickW

    GTA Juggernaut

  • Moderator
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#13

Posted 26 April 2005 - 10:30 AM

Thanks for all the warm words everyone, now hand-over the bug-reports tounge.gif

@PresidentKiller: Thanks for the screeny
@Tsuroki: Thanks for the pin
@Dalpura: I don't mind standing out from the crowd sarcasm.gif
@Johno: feel free to implement the same functionality in opera (I won't since I'm very selfish, and don't use opera)

Tornado Rex
  • Tornado Rex

    *nix gets the chicks

  • $outh $ide Hoodz
  • Joined: 12 Nov 2001

#14

Posted 26 April 2005 - 11:37 AM

I like it smile.gif

One suggestion (if possible). When you add a tag (such as code or quote, etc) is there any way to put the cursor in the middle of the start and end tags? Also, would it be possible (well, I know it's possible, more like would you be willing) to add a lil pop up box thing (like when you click the 'http://' etc buttons) for the quote tag to input who made the quote (the =name part of the opening quote tag).

Other than those 2 features I wouldn't mind. A+

P.S. I haven't found any bugs yet. Good job smile.gif

Waste
  • Waste

    Gangsta

  • Members
  • Joined: 15 Nov 2004

#15

Posted 26 April 2005 - 11:37 AM Edited by Waste, 26 April 2005 - 12:59 PM.

QUOTE (Johnno @ Apr 26 2005, 05:23)
Nice, nice.

Opera 8 was released but days ago... nudge, nudge.

I posted a solution to that awhile back.
Someone made a "BBCode" extension for 7.54 that was very simple to modify.
Let me dig it up and and I may be able to accomodate you. biggrin.gif

[edit]
Ok, found it.
I will release the edited version later today.

Waste is testing this thing


[edit=2]
I'm getting permission to release it now.

EmSixTeen
  • EmSixTeen

    yer ma's got athlete's foot!

  • $outh $ide Hoodz
  • Joined: 13 Apr 2002
  • Ireland

#16

Posted 26 April 2005 - 12:08 PM

Very nice smile.gif

Svip
  • Svip

    I eat babies

  • The Connection
  • Joined: 12 Nov 2001
  • None
  • Best Returning Member 2014
    Lifetime Achievement Award

#17

Posted 26 April 2005 - 03:25 PM

Seems like your site is refusing me! sad.gif

You're evil.

GT-1
  • GT-1

  • Feroci
  • Joined: 21 Nov 2003
  • None

#18

Posted 26 April 2005 - 03:29 PM

I can't get on there either, I know I've visited there before so there is most probably a problem with the site/bandwith etc.

Tornado Rex
  • Tornado Rex

    *nix gets the chicks

  • $outh $ide Hoodz
  • Joined: 12 Nov 2001

#19

Posted 26 April 2005 - 03:35 PM

Mirrored


Svip
  • Svip

    I eat babies

  • The Connection
  • Joined: 12 Nov 2001
  • None
  • Best Returning Member 2014
    Lifetime Achievement Award

#20

Posted 26 April 2005 - 03:41 PM

QUOTE (Tornado Rex @ Apr 26 2005, 17:35)
Mirrored

Thanks, testing:

Hi2u I love pie.
Are You a pie?
I hate you Stupid table.

Word.

Svip thinks...


wow.gif
  • Hi2u
  • I love pie
  • But this list is evil
  • Are you there?
  • How about enabling us to allow to set the type of the list?
  • Huh?
  • Like i, I, a and 1.

Stefaan
  • Stefaan

    Revolutionary

  • Feroci
  • Joined: 26 Jan 2003

#21

Posted 26 April 2005 - 03:46 PM

Whoow, brilliant Patrick. Good job... erm here's a cookie. cookie.gif

SWEETSAPRIK
  • SWEETSAPRIK

    Pяopagaиda Iиc.

  • Feroci
  • Joined: 18 Dec 2004
  • Unknown
  • Sourest Member

#22

Posted 26 April 2005 - 04:08 PM Edited by SWEETSAPRIK, 26 April 2005 - 04:12 PM.

You sir, are the man!

SWEETSAPRIK Tests this b!tch.


Melikey.

This makes things easier since it has
more tags than the other extensions.

This is the most useful extension evar!
  • I
  • will
  • use
  • this
  • more
  • than
  • any
  • extension
  • I've
  • downloaded.
CODE
Hey, I think I love you.


QUOTE (Sweets says @ today,now)
If I was female, I'd have your babies.


I can't think of anything else to say.

Seriously, good work man.

Screw pinned, this should be in the announcement section so every one sees it.

PatrickW
  • PatrickW

    GTA Juggernaut

  • Moderator
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#23

Posted 26 April 2005 - 07:28 PM

It seems that my site's been down for a few hours, but it should be working now again.


@tornado rex
•Thanx for mirroring.
•Cursor between the tags if nothing was selected sound like a good idea.... I'll see if I can get it there... it's not that trivial
•popup for the the quote-source is also a good idea

@waste
Hope you get it to work....

@Svip and GT-1
I did not refuse you for personal reasons. tounge.gif

@Svip
Where can I find the BBcode syntax for the various list-types ?

@stefaan, Sweetsaprik
<3


There are some more things I'm thinking about trying to implement.
• If make list is performed, with some lines of text selected, it will no longer popup the dialog windows, but it will convert the selected lines into a list.
• I would really like an option, that lets you select a local file, and automaticly uploads it to imageshack, and inserts the correct BBcode for a thumbnail into your document. I'm not yet sure if this is feasible...

Waste
  • Waste

    Gangsta

  • Members
  • Joined: 15 Nov 2004

#24

Posted 26 April 2005 - 07:33 PM

Sorry if it seems like I'm trying to hijack your topic, Patrick. blush.gif
Not my intentions.

Pilate
  • Pilate

    Big Homie

  • The Precinct
  • Joined: 27 Oct 2002

#25

Posted 26 April 2005 - 09:18 PM

Very cool stuff Patrick. Thanks!

Tsuroki
  • Tsuroki

    Remember me?

  • The Connection
  • Joined: 20 Jul 2002
  • None

#26

Posted 27 April 2005 - 01:51 AM

< Added links in the main post to Rex's mirror and my mirror. smile.gif />

Luke2004
  • Luke2004

    You wanna leave? k. gtfo.

  • BUSTED!
  • Joined: 10 Nov 2004

#27

Posted 27 April 2005 - 08:23 PM

Great, now I can do:
tables!
cookie.gif cookie.gif

TwoZero
  • TwoZero

    Ghetto Star

  • The Connection
  • Joined: 15 Apr 2003

#28

Posted 28 April 2005 - 03:34 PM

Very nice Patrick smile.gif

Octember
  • Octember

    propaganda inc

  • BUSTED!
  • Joined: 29 Oct 2004

#29

Posted 29 April 2005 - 03:10 AM

nice job.
Octember omgpewp

SWEETSAPRIK
  • SWEETSAPRIK

    Pяopagaиda Iиc.

  • Feroci
  • Joined: 18 Dec 2004
  • Unknown
  • Sourest Member

#30

Posted 29 April 2005 - 03:31 AM

This owns.

One thing though, and keep in mind that I know nothing about programming and such, so I don't know how difficult this would be. I have your extension, BBCode 0.3.7, and BBCodeXtra 0.2.2, and the latter allows for pasting an image link, then selecting it and choosing img, instead of only pasting from the clipboard. And once I've accidentally pasted the link, it's quicker to use the other extension than it is to cut and then select clipboard > img.

The only reason I even bother to bring up something so trivial, is because if your extension had the option of doing it either of the two ways, I'd have no use for either of the others. As of now though, I'm keeping the BBCodeXtra just for when I forget and paste without thinking. Again it's no big deal, and it only takes a few seconds, but I type so slow that for me, even a second determines whether I'll post something useful of just repeat what's already been said.

Either way kudos, I've seen lots of people do things "for" the forums, but this is one of the few things I've seen that were for the forums exclusively. And this time I'll remember to vote the topic good.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users