How to use simple (basic) filters in mantisBT? - mantis

I have recently setup a mantisBT (mantis Bug Tracker) site. I am able to create and manage issues. I want to apply simple filter, such as Resolution = reopened or status = closed, on the View Issues page. I could not accomplish this and could not find any documentation on how to use fitlers.
Could someone guide me how to use filters or point me to the corresponding documentation?

Click on the View Issues link on the main menu, click on the + icon on the left hand side of Search and you can see the filters.
Following screenshot explains the rest of the stuff

Related

Why does images in Google spreadsheet often change their place?

I am currently working with Google Script which accepts the user input and store in the other spreadsheet. This logic works ok but to facilitate this, I have created a form like provision on my worksheet and placed some images which look like buttons. When I (and other collaborators) open this spreadsheet, we often observe that images are not on their place as shown below,
Note: See above, buttons (images) 'Get Case Details' & 'Deletegate Tasks' are not on their original positions. Ideally, they should appear as below,
As a workaround, I just go to some other tab/worksheet and come back to mine which shows the image location correctly.
I checked this discussion on Google Doc forum but looks like a known issue, no answer yet.
Does anyone have any idea? Has anyone come across this problem?
Besides the discussion that you linked, there a lot of other similar reports over the years on the Google Docs Help Forum and other places on the web.
One alternative is to increase the whitespace around the buttons. Another alternative is to use another UI element like custom menus, a side panel or dialogs.

Manipulating TFS 2017 webform in the URL

I am trying to create a direct link to a TFS work item. I know Microsoft publishes how to do this here, but I want to highlight a section by maximizing it. I can click on the Maximize button for a control group manually, but is there a way to perform this function automatically using the parameters in the '_workitem?' API?
Something to the effect of:
http://{server}/tfs/{collection}/{project}/_workitem?id={ID}&_a=edit&maximizegroup={controlGroupName}
Bonus points for providing documentation on all options for the _workitem? API.
Please let me know if anything in my question needs clarification.
Thanks in advance.
Based on my test, we can only define the hyperlink to maximize the work item itself, cannot maximize the specific section within the work item.
Also tried with the Fiddler tool, but no API tracked to maximize the specific section.
To maximize the work item:
http://server:8080/tfs/{Collection}/{Project}/_workitems?id={ID}&_a=edit&fullScreen=true

Google Analytics Link Tracking

OK, so I've set up a website where the content is split into modals that are hidden. There are links on the page that when clicked on, the relevant modal appears. I want to be able to track the links being clicked on so I can see what content is being viewed by users. Ideally I want the data to appear as fake pageviews. I know this used to be possible but not sure how to do it nowadays.
I can't seem to find any decent up to date documentation online for how to do this. Can anyone shed some light?
Once you have the Analytics initialized for asynchrounous, just call
_gaq.push(['_trackPageview', 'FAKE_URL']);
This should work and will not slow down your page load. You might want to consider using "events" rather than fake page views; it's also quite simple
_gaq.push(['_trackEvent', "EVENT NAME", "PARAMETER"]);
See Google's Documentation for more info.

Displaying Google results in a frame

Some time in the last year, a tool that I use no longer displays Google search results in one of its frames. I suspect that Google started using JavaScript code to hide itself, if it is being displayed in a frame, which is understandable for most uses.
However, this is a tool that only I use, so I'm not misrepresenting to anyone. I use this tool to research data. One frame has a form where I enter data that I find online. The other frame has the Google results and the pages they link to. I can see both the data form that I'm working on and the changing search/results side-by-side in one window.
I tried going to an older browser version, but I think they are using JavaScript.
Now I have to right-mouse click "open in a new tab" and then click to the new tab, and then close it, a lot of extra overhead when I'm trying to process this repetitive research over and over.
Any ideas? Confirmations as to what has changed? I suppose I could retrieve the page in PHP, strip out the part that hides the page and then put the page source in the other frame. A bit of a challenge for me.

How to recreate an image preview from outside websites?

Similar to Facebook's UI, I am attempting at generating a preview image from an external linked website. So that when a user types in a url he is linking, the UI will by default, scan that site for an img and scrape a preview thumb.
Is there a specific name for this technique? Or can anyone point me in the direction of learning this?
Thanks so much!
Its called scraping. There is a library called scrAPI.
Here is a code example http://crunchlife.com/articles/2007/08/13/code-snippet-ruby-image-scraper
There are a couple different options when it comes to page scraping. Another one to check out would be nokogiri, http://nokogiri.org/. You can find tutorials on how to use it at http://nokogiri.org/tutorials.
Instead of grabbing an image from the site, why not grab the image of the entire page? You could make use of a free screenshot service like http://www.websnapr.com/ or http://www.thumbshots.com/ among others. In one application, I use that for my preview image, and use nokogiri to scrape the page title and description. Just an idea.

Resources