Forum addon for WoWRoster 2

Simply adds a "Forum" button in the WoWRoster Addon menu

Moderator: Teta68

Forum addon for WoWRoster 2

Postby Teta68 » Fri Dec 14, 2007 12:34 am

Hi,

A while back I made a little addon to add a button that redirects to a forum.

I remade this Addon to use the magnificent extra features that the new WoWRoster provides, like the configuration menu.

So, download the .zip file, unzip it in your addons folder, go to the rostercp and install the addon. A forum button will be added to the Utilities panel.

There will be a new Addon Config option called Forum in rostercp where you can enter the name of the forum and the link to the forum.
The link may be relative or absolute.

You can see how it works on our guild site.

Localisations have been done in deDE, enUS and frFR. If anyone wants to help me with the esES, it would be much appreciated.

Teta
Attachments
forum-1.9.9.1518.zip
Adds a Forum link to the Utilities Panel in Roster 2.
(3.47 KiB) Downloaded 165 times
Last edited by Teta68 on Fri Dec 14, 2007 12:43 am, edited 3 times in total.
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Forum addon for WoWRoster 2

Postby zanix » Fri Dec 14, 2007 1:59 am

Roster provides a way to add links to the menu in RosterCP -> Menu Config
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Forum addon for WoWRoster 2

Postby Teta68 » Fri Dec 14, 2007 4:21 am

Lol,

Well at least I learned the new addon structure...

Good job by the way, Zanix (and all others that helped develop WoWRoster).

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Re: Forum addon for WoWRoster 2

Postby Teta68 » Fri Dec 14, 2007 4:30 am

I just tried it, with ../forum as the URL, didn't work: it gives the following error: "Invalid characters in module name".

I deleted the button and made a new one with the fully qualified URL and it worked.

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Forum addon for WoWRoster 2

Postby zanix » Fri Dec 14, 2007 5:10 am

Good job on learning the new addon system, may you make more, useful addons in the future

Yeah, it does require a full url since it detects the http:// and treats it as a real url
If you don't, then it passes it through the makelink() function, which is made to link to a part of Roster
Last edited by zanix on Fri Dec 14, 2007 5:11 am, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Forum addon for WoWRoster 2

Postby Teta68 » Fri Dec 14, 2007 5:18 am

zanix wrote:Good job on learning the new addon system, may you make more, useful addons in the future

If I come up with a great idea, I surely will give it a go!

zanix wrote:Yeah, it does require a full url since it detects the http:// and treats it as a real url
If you don't, then it passes it through the makelink() function, which is made to link to a part of Roster

Is that safe? Would it be possible for an admin to (mistakenly or not) make a link to a function which is normally protected, but that protection is bypassed by using this direct link? I haven't looked at the authentication system in depth yet, so I might be writing down "crazy-talk" here... It was just a thought.

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Forum addon for WoWRoster 2

Postby zanix » Fri Dec 14, 2007 6:58 am

No, if an admin makes a link to say 'rostercp'
It will still be protected because the auth sits in rostercp itself
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Forum Link Addon

Who is online

Users browsing this forum: No registered users and 0 guests

cron