Download
(366Kb)
Download
Updated: 06-28-12 12:37 AM
Pictures
File Info
Updated:06-28-12 12:37 AM
Created:unknown
Downloads:22,632
Favorites:141
MD5:

PortalBox  Popular! (More than 5000 hits)

Version: 1.1
by: iindigo [More]

PortalBox is a simple addon that gathers all of your portal and teleport spells into a single aesthetically-pleasing window and tracks your Runes of Teleportation and Runes of Portals. Its main window can be invoked by the following commands:

/port
/portalbox
Clicking on its minimap icon


New in 1.1:
• The PortalBox minimap button can now be locked.

• Tol Barad buttons.

• TOC updated for 4.3.


Fixed in 1.1:
• Cataclysm-specific errors fixed. Thanks Kharthus!

• Level requirements for portals and teleports updated to be in line with Cataclysm.

• "Keep window open after casting" option now acts properly under all circumstances.

• Version raised to 1.1 to account for dodzilla's fan update versioned at 1.0.

1.1 - Based on 0.9 fan update. Added Tol Barad, adjusted layout to accommodate more buttons, and brought "learned at" levels in line with Cataclysm. Also added minimap icon locking feature. Updated TOC to 4.3. Version number changed to 1.1 advance past dodzilla's 1.0 fan update.
0.8 - Added option to detach button from minimap, added right-click minimap button to open options panel, added /port config and /portalbox config commands, and fixed old slash commands. Fixed "close upon casting" bug. TOC updated for 3.3.
0.7 - Changed under-the-hood code to work on non-English clients, added compact mode, made the main window movable, and changed window closure upon casting to close at the start of a cast instead of afterwards. Also changed the strata level of the main window and minimap button to something more appropriate.
0.6 - Added Dalaran support, minimap button hiding, window closure upon casting, and untrained portal dimming. Fixed an error that occurs upon first run of addon. Also fixed bug of eating keystrokes while window was open and made a couple of aesthetic changes. Version number 0.6 used to avoid any possible confusion caused by the 0.5 fan update
0.2 - Added support for Horde mages, changed close button aesthetics
0.1 - Initial Public Release
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.0
8kB
05-16-10 10:08 AM
Addon


Post A Reply Comment Options
Unread 05-01-09, 11:50 AM  
wintermute
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
just done some "self editing"
and i made my portal box a lot smaller looks less chunky

edit portalbox.lua

and look for this block of code at the bottom

Code:
function portalBox_toggleCollapseState()
	if (windowCollapseState ~= "1") then
		PortalboxMainFrame:SetScale(0.7);
		PortalboxHordeFrame:SetScale(0.7);
		collapseButton:SetNormalTexture("Interface/Buttons/UI-PlusButton-Up");
		collapseButton:SetPushedTexture("Interface/Buttons/UI-PlusButton-Down");
		collapseButtonHorde:SetNormalTexture("Interface/Buttons/UI-PlusButton-Up");
		collapseButtonHorde:SetPushedTexture("Interface/Buttons/UI-PlusButton-Down");
		windowCollapseState = "1";
	else
		PortalboxMainFrame:SetScale(1.0);
		PortalboxHordeFrame:SetScale(1.0);
		collapseButton:SetNormalTexture("Interface/Buttons/UI-MinusButton-Up");
		collapseButton:SetPushedTexture("Interface/Buttons/UI-MinusButton-Down");
		collapseButtonHorde:SetNormalTexture("Interface/Buttons/UI-MinusButton-Up");
		collapseButtonHorde:SetPushedTexture("Interface/Buttons/UI-MinusButton-Down");
		windowCollapseState = "0";
	end
end
change the bottom values from 1.0 to 0.7
PortalboxMainFrame:SetScale(1.0);
PortalboxHordeFrame:SetScale(1.0);

and the two above that from 0.7 to 0.5

function portalBox_toggleCollapseState()
if (windowCollapseState ~= "1") then
PortalboxMainFrame:SetScale(0.7);
PortalboxHordeFrame:SetScale(0.7);

should be a bit smaller for those that want smaller size
alternatively, im sure the author could add a slide bar
say something like change scale the lowest value being 0.4
and the highest being 1
so for example
portal box scale 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0
should be easy enough to put in
have one slider for minimixed size
and another for maximized size

this can also be done in the xml file to alter the "initial" values as well, look for the similar statements in the xml file
Last edited by wintermute : 05-01-09 at 11:56 AM.
Report comment to moderator  
Reply With Quote
Unread 04-25-09, 11:56 AM  
cry4dawn
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Oh Ya

This would be great to only have this pop up for mages, and I still want this button moveable. The UI that allows you to move buttons does not work with this UI
Report comment to moderator  
Reply With Quote
Unread 04-13-09, 01:01 AM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 292
Uploads: 9
mage only

Would be great if this only loaded for Mages.

I did this for my hunter mod by putting this as the 1st lines in the OnLoad function.

local playerClass, englishClass = UnitClass("player");
if(englishClass ~= "HUNTER") then
return;
end
Report comment to moderator  
Reply With Quote
Unread 04-06-09, 09:32 AM  
Spahut
A Cobalt Mageweaver

Forum posts: 231
File comments: 131
Uploads: 0
Originally posted by iindigo
Hey guys, just dropping a note to let you all know I haven't died.

I've been a bit on the busy side for the past week, but that should be ending pretty soon. I'll try to get 0.7.1 out as soon as possible.

Also, while I'm not 100% sure of it yet, 0.8 might turn out to be a complete rewrite that will trim off some of the fat and make the addon easier to maintain.
Great! Love the look of it.

Here is a though, how about making another addon called TrackBox, same idea and layout with big easy to see icons, except it sets a hunters tracker modes?
Report comment to moderator  
Reply With Quote
Unread 03-25-09, 11:07 AM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Hey guys, just dropping a note to let you all know I haven't died.

I've been a bit on the busy side for the past week, but that should be ending pretty soon. I'll try to get 0.7.1 out as soon as possible.

Also, while I'm not 100% sure of it yet, 0.8 might turn out to be a complete rewrite that will trim off some of the fat and make the addon easier to maintain.
Last edited by iindigo : 03-25-09 at 11:08 AM.
Report comment to moderator  
Reply With Quote
Unread 03-16-09, 04:12 PM  
Spahut
A Cobalt Mageweaver

Forum posts: 231
File comments: 131
Uploads: 0
Query

The option "Keep window open after..." is NOT checked, yet the window stays open - wasn't it supposed to go away on its own?

Also, your readme files says one can use /portalbox to bring it up, but you can't.
Report comment to moderator  
Reply With Quote
Unread 03-14-09, 07:31 PM  
cry4dawn
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
FYI

Detached Mini Buttons UI does not work with this UI.. I tried
Report comment to moderator  
Reply With Quote
Unread 03-11-09, 07:50 AM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Re: Re: Re: Re: More Changes

PortalBox's minimap button is already moveable around the frame. Just click it and drag it.

Also, while I make no promises, I *might* have found an easy way to keep both detached and minimap-bound modes for the button. I'll try it out, and if it works, will come out in a 0.7.1 release.
Report comment to moderator  
Reply With Quote
Unread 03-10-09, 03:50 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
Re: Re: Re: More Changes

Originally posted by cry4dawn

1. As far as the button I say make it completely moveable because if someone really wanted a mini map icon they could drag it to the mini map and place it around there. Totally moveable I believe is the key there. Most people use a lot of UI and have to worry about what buttons around there mini map they have like myself. This was my reasoning for this suggestion.
Why not download an addon like Detached Mini Buttons? There are several mods out there that allow moving the minimap buttons.

Plus, I think what you're asking for is a minimap button that is moveable around the minimap frame, not a detached button. Almost all mods have a button that is moveable around the map frame, and I don't believe it is too hard of an option to implement.
Last edited by xtoq : 03-10-09 at 03:50 PM.
Report comment to moderator  
Reply With Quote
Unread 03-07-09, 12:13 AM  
jpdhonda
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thank You

I just wanted to let you know that I appreciate the time and effort you put into this mod and to thank you for the changes you made recently. I really like everything now and just wanted you to know. Keep up the good work!
Report comment to moderator  
Reply With Quote
Unread 03-01-09, 11:57 AM  
cry4dawn
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Re: Re: More Changes

Hello again

1. As far as the button I say make it completely moveable because if someone really wanted a mini map icon they could drag it to the mini map and place it around there. Totally moveable I believe is the key there. Most people use a lot of UI and have to worry about what buttons around there mini map they have like myself. This was my reasoning for this suggestion.

3. As far as the text thing, Honestly I find myself going which is which rather often. Portals you really dont use all that often you forget what is what if you understand my meaning. So I am still pushing for a revamp telling you what portal is what.

Finally having the mini map icon show up for non mages just really doesn't make any sense. As I said before try to find a way to allow us to toggle this per character or just have a tag that says NO MAGE no icon and do not load UI.

Thank you for all your time on this project. I really do enjoy the UI.

Originally posted by iindigo
That is actually a good idea, and I wish I had thought of in time to add it to the current release. It'll come out in an update once I have a few other improvements/changes to go along with it. It would be kind of silly to update it for a single small change.



I looked into it briefly during the development of 0.7, and from what I saw, it could really be a pain in the butt to implement. I can either make it permanently free-drag or permanently map-bound; snapping between the two is a messy process, at least at my current programming level.



Possibly. This actually goes back to the whole window size thing. Part of the reason I made the frame large is so the icons would be large enough to easily distinguish and pick out at a glance. Nevertheless, I may make that layout an option. I'm slightly reluctant to, though, because all those labels will bring a lot of visual clutter to the frame.
Report comment to moderator  
Reply With Quote
Unread 02-28-09, 08:15 PM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Re: More Changes

Originally posted by cry4dawn
1. Turning off the mini map icon is fine, but honestly what we need is this icon only shows up for Mages. If I am any other class this icon should not show up. If that is to hard to do then make it so we can turn off the Mini Map icon per character instead of all or nothing like it is now.


That is actually a good idea, and I wish I had thought of in time to add it to the current release. It'll come out in an update once I have a few other improvements/changes to go along with it. It would be kind of silly to update it for a single small change.

Originally posted by cry4dawn 2. I am still pushing for a moveable mini map button for my mage.
I looked into it briefly during the development of 0.7, and from what I saw, it could really be a pain in the butt to implement. I can either make it permanently free-drag or permanently map-bound; snapping between the two is a messy process, at least at my current programming level.

Originally posted by cry4dawn 3. I am wondering if you cant put the name of the location under each portal and teleport. Yes I do know that it shows on the tooltip but would seem faster to have like Dalaran under the teleport or portal icon and move the regs that we currently have above the portal icons instead of below.
Possibly. This actually goes back to the whole window size thing. Part of the reason I made the frame large is so the icons would be large enough to easily distinguish and pick out at a glance. Nevertheless, I may make that layout an option. I'm slightly reluctant to, though, because all those labels will bring a lot of visual clutter to the frame.
Report comment to moderator  
Reply With Quote
Unread 02-28-09, 03:44 PM  
cry4dawn
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
More Changes

Well I downloaded the new patch and I do like the changes.

However here are my thoughts still.

1. Turning off the mini map icon is fine, but honestly what we need is this icon only shows up for Mages. If I am any other class this icon should not show up. If that is to hard to do then make it so we can turn off the Mini Map icon per character instead of all or nothing like it is now.

2. I am still pushing for a moveable mini map button for my mage.

3. I am wondering if you cant put the name of the location under each portal and teleport. Yes I do know that it shows on the tooltip but would seem faster to have like Dalaran under the teleport or portal icon and move the regs that we currently have above the portal icons instead of below.
Report comment to moderator  
Reply With Quote
Unread 02-24-09, 01:17 PM  
pompachomp
A Fallenroot Satyr

Forum posts: 20
File comments: 43
Uploads: 0
__________________


Report comment to moderator  
Reply With Quote
Unread 02-16-09, 07:20 AM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Originally posted by Deantwo
yeah i saw that... but it makes the window disappear after the spell is done being cast that's 10 seconds of staring at the window...
not that it isn't pretty... but it's kinda in the way...

EDIT: no wait... it close the window 5 seconds after i started making a portal?... well... still 5 seconds too long...

2nd EDIT: ok... it seems to disappear when the portal has been cast... so 10 seconds of staring at the window...
I guess I can make it close immediately, but I had put in the delay as a sort of guard against clicking the wrong portal so the user can stop casting and select the one they really meant to cast.

Originally posted by Jeania
*pouts* Ldb Broker Support? *cheesy hopeful grin* lol this looks great, downloaded it and can't wait to try
Forgive my ignorance, but what is LDB Broker? Searching for that specifically yields no results and searching just "broker" comes up with a ton of plugins. I'm assuming it's some sort of Titan Panel/FuBar clone?

Originally posted by jpdhonda
1) I would prefer that once a spell has been cast by clicking on one of your buttons, that the UI disappear immediately. Perhaps you could have a textbox in your configuration UI that allows the user to enter a "delay" time, default it to 10 seconds as it does now but allow me to enter 0 so it closes immediately? Then everyone can tailor it to their own preference.
As mentioned before, I can make it close immediately, but I can't make it close after a delay of a certain number of seconds. World of Warcraft has no timers that measure seconds, only timers that are based on the user's FPS (and thus are very inaccurate). The current mechanic is supposed to trigger off the end of a spellcast, but it appears that it doesn't always do that.


Originally posted by jpdhonda
2) I would love to be able to move the window. I tried moving the window with my mouse and also did this in conjunction with Alt, Ctrl and Shift (which are commonly used by other mods to allow their window to be moved). Is there some way to move the portal window?
The window is currently immovable. I'll see if I can make it moveable, but since I'm a novice developer at this point, I can't guarantee anything.

Originally posted by jpdhonda
3) I would love to resize the portal window also. It is really large and I wish I could resize it to accommodate only the buttons, in a tighter bunch, without all the real estate being taken up.
I might be able to do just a plain window scale (as in the whole window, buttons and all shrink or enlarge), but I'm not so sure about being able to change window size while keeping the buttons centered. Once again, I'm really a greenhorn at this addon business. What might be easier to implement would be a one-click button/checkbox that switches the window between compact and full modes.


Originally posted by jpdhonda
4) In a similar vein, I think the Z coordinate of the portal window needs to be changed so that it is more "on top". Not sure if I'm using the right terminology here (I'm a Windows developer in real life so Z makes sense to me) but other elements on my user interface "show through" the portal window. I use Dominoes for my button bars and that, along with Decursive and "QuestClicks" all show through the portal window which makes it difficult to use/see.
Now this I should be able to do without a problem. I'll see about adjusting the window's strata level (z-index) in the next release.
Last edited by iindigo : 02-16-09 at 07:22 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.