Welcome to Gaia! ::

Good idea?

Yes 0.5 50.0% [ 6 ]
No 0.16666666666667 16.7% [ 2 ]
Unsure 0.33333333333333 33.3% [ 4 ]
Total Votes:[ 12 ]
1 2 >
[Banner to go here when I can be bothered to make one]
I have notified a moderator of this thread and the script, I am awaiting feedback as to whether it is allowed, although I am fairly confident it will be smile
Update: v0.1.3.0 Search.

Hello all

I present to you some additions to the MP here on Gaia, this addon/script also makes a couple of other neat (at least in my opinion) changes.

Please note, you need Firefox with the Greasemonkey extension to install this.
I will be making an actual addon in the future if this turns out to be popular though smile

Features
- Search the MP from any page
- Select all PMs from the MP in one click.
- Adds a calculator onto the sale form so you can see how much you will get after tax
- Provides search history and view history on the Marketplace
- Adds links to TekTek on item lists and pages (MP only) for quick reference
- Adds a reload link to your equip page so you can quickly reload without waiting for the whole page
- Adds a linkback to items on the sale page, since it can sometimes take a while for the lowest/average prices to update

Click to add script to greasemonkey

This should work with most other Gaia addons/scripts, but post any bugs here please.

Please see below for more details.
Additions coming soon:
Blue = Working on this, Red = Not started yet, Brown = Put on hold

- Turning this into an addon, not a GM script.
- Splitting search and view results on the history, so you can get 20 results (10 search and 10 view)
- Adding TekTek links into the Invo page on the item popups
Post any requests in this thread.
Changelog:

How does versioning work?
The first release of this was version 0(.1.0.0) and subsequent revisions of the script increase this number.
The first number (v0.1.0.0) shows the main version, this is incremented with major overhauls or extreme changes (for example, when this finally becomes an addon, this will change to v1)

The second number (v0.1.0.0) shows the main revision of the current version. This is generally updated when a new minor feature is added (an addition of a small feature, such as the search history which changed it from 0.1.0.0 to 0.1.1.0)

The third number (v0.1.1.0) shows the minor revision of the current version. This is generally updated when a small change which is not a bug fix is made.

The final number (You're not getting an example...) shows very small changes. Either something is not placed correctly, or there is some small error in logic which could cause problems occasionally. Otherwise known as bug fixes smile

Regardless of how many changes are made between updates, the numbers will not be incremented by more than one for each update.

Previous versions:
v0.1.3.0 --- 24.02.2010 (Current):
Added a search box to the link bar at the top of every page to search the MP quickly from anywhere. Tested with BetterGaia 0.2.2.17a and standard Gaia.
Bug fix
- Search the MP from anywhere on Gaia.
- (Really) fixed the issue that was causing undefined items on the history.

v0.1.2.0 --- 21.02.2010:
Added an option to select all PMs from the MP for quick deletion.
Bug fix
- Select or de-selct all MP PMs in one simple click
- Fixed the issue that was causing undefined items on the history.

v0.1.1.0 --- 01.21.2010:
Note to mods I realise this may cause some problems with you, see the Q&A post, if you have any issues, let me know.
Added Search History for the MP.
- Records item views
- Records item searches
- Displays the last 10 (searches or views) on the MP home page

v0.1.0.0, First release --- 01.08.2010:
1. Adds a link to TekTek while viewing an item on the MP
2. Adds a link to TekTek for each item on the 'All items' page of the MP
3. Changes the title of an item on the sell page to a link
4. Adds a new item onto the sell page telling you the amount you will get for the sale (after 2% reduction)
4. Adds a refresh button to the Equip page (useful if you buy something while equipping, you don't have to save, reload and wait 1 minute)
Screenshots.

Some images of what this thing looks like in action.

PM marking Marketplace messages:
Before:
User Image - Blocked by "Display Image" Settings. Click to show.

After:
User Image - Blocked by "Display Image" Settings. Click to show.

Search History:
The history is in the top-right of the MP home page (This has been moved to below the advert, updated screenie to come).
User Image - Blocked by "Display Image" Settings. Click to show.

Tektek link on item pages:
User Image - Blocked by "Display Image" Settings. Click to show.

Tektek link on search results:
User Image - Blocked by "Display Image" Settings. Click to show.

Link back to item and tax calculator on sell page:
User Image - Blocked by "Display Image" Settings. Click to show.
Q & A

Since there are some items which may raise questions, hopefully all the answers will be here.
If you have a question, either post it here or PM me.

Q. What information does the MP Search History gather?
A. The information gathered will be as follows:
- Your User ID will be recorded every time you view or search for an item.
- The term you entered into the search box will be recorded every time you search for an item.
- The ID of the item you are viewing will be recorded every time you view an item.
- The name of the item you are viewing will be recorded every time you view an item.

No other information is gathered.
No information is gathered as to whether you purchased an item, who was selling the item or anything else.
Note to dev/mods (Of course, if a Gaia Dev/Mod wants to see the database I will oblige, but what is sent can be checked from the script source)

Q. Where is the above information stored?
A. It is stored in a MySQL database on a server I own.

Q. What will you do with the information from the MP Search History?
A. I will do nothing, it is purely there to keep a history of your searches for you. I will not be generating stats or reports or anything of the sort from this information
The data will also be regularly purged, retaining only the most recent 10 records per user (This will be done when I can remember to do it, probably once a month).

Q. Can I disable specific parts?
A. Yes, you can, At the moment it does require editing the script though. See the next post, its easy smile
How to disable elements:

I plan to make this easier in the future, but it is not too had as is.

1. Right-Click the Greasemonkey icon in the bottom-right of Firefox and select 'Manage User Scripts':
User Image - Blocked by "Display Image" Settings. Click to show.

2. Select 'Improved Gaia' from the list on the left and click the 'Edit' button at the bottom of the window:
User Image - Blocked by "Display Image" Settings. Click to show.

3. In the editor, change 'enabled' to 'disabled' for options you do not want, then save the file. (File > Save or Ctrl+S):
Before:
User Image - Blocked by "Display Image" Settings. Click to show.
After:
User Image - Blocked by "Display Image" Settings. Click to show.

Options:
mpTekTekLink - Enables or Disables all of the links to TekTek.
mpCalc - Enables or Disables the 2% tax calculator.
mpHistory - Enables or Disables the search history.
New version online!

Please report any problems either in this thread or by PM smile

Now there is an MP search history biggrin
I have found some problems with code executing on pages it shouldn't be.. I have a feeling I will be chasing and squishing bugs tonight razz
benchanged's avatar
  • 200
  • 100
  • 200

          IM TALKING
          Nicely done!
Thanks smile

I have begun porting this over to an extension as it has come to my attention that getting updates rolled out through a greasemonkey script is painful to say the least razz No way to (reliably) tell everyone that an update is available Dx

I will keep you posted, I have not touched extension development before though sweatdrop
Still trying to figure out this addon stuff.. ill keep you posted although this will probably take a long time sad
User ImageHey!

This might actually come in handy! surprised heart
I think I am getting the hang of this addon crap... hopefully I'll have something complete by the end of this month.
Keep the PMs coming with requests and ideas :3 even though this is on hold, I will make note of good suggestions biggrin
Pudding Disaster's avatar
  • 100
  • 200
  • 200
User Image - Blocked by "Display Image" Settings. Click to show.
[X] I might try this once I'm sure it's safe and not against Gaia ToS. /paranoid.

Quick Reply

Submit
Manage Your Items
Other Stuff
Get Items
Get Gaia Cash
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff