Forum addon

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

Moderator: Teta68

Forum addon

Postby Teta68 » Tue Jan 23, 2007 12:14 pm

Hi,

While searching for a way to integrate all the different systems we use on our website, I've created a "Forum" addon for WoWRoster.

It simply adds a "Forum" button in the WoWRoster Addon menu that redirects you to the main page of your forum.

In the conf.php file you can enter the path to your forum, this path may be relative or absolute. The addon could redirect you to any page on the Internet, but as it was my intention to redirect to our forum, the addon is called "Forum" not "Redirector". :P

To see it at work, try our roster page.

I may be making a real addon out of this with last posts and top poster type of views, but it will depend on demand on the forum, both here and on my guildsite.

Teta

EDIT: Updated the link to the demo page
Attachments
forum-v0.0.1.zip
Add a forum button to your WoWRoster page and get redirected.
(1.64 KiB) Downloaded 538 times
Last edited by Teta68 on Fri Dec 14, 2007 12:35 am, edited 4 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

Re: Forum addon

Postby tuigii » Fri Jan 26, 2007 4:25 am

Nice handy thing indeed :thumright:

Altought,
From menu.php wrote:$config['menu_index_file'][0][1] = $wordings[$roster_conf['roster_lang']]['forum']; //menu link text

isn't defined no-where in a French Roster (is it in usUS ?) - so an empty button will show up (but it works).
I just parched it up like :
$config['menu_index_file'][0][1] = 'Go Home'; //menu link text
And all was ok.

Thanks !!
Last edited by tuigii on Fri Jan 26, 2007 4:26 am, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Forum addon

Postby Teta68 » Tue Feb 06, 2007 11:55 am

Hi,

If you got your roster configured for french, you only need to add the appropriate line in the localization.php file:
Code: Select all
$wordings['frFR']['forum'] = 'Forum';


Hope it helps,

Teta
Last edited by Teta68 on Thu Feb 22, 2007 5:16 pm, edited 1 time 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

Postby cynthetiq » Tue Feb 06, 2007 12:25 pm

nice. thanks. I may just add this if I can't figure out how to get the header to the top of the page.

BTW what addon are you using to get the Priest Class Leader on the profiles?
cynthetiq
WR.net Apprentice
WR.net Apprentice
 
Posts: 29
Joined: Sat Oct 21, 2006 10:09 am

Re: Forum addon

Postby Teta68 » Thu Feb 22, 2007 2:17 pm

If you mean "<class> Class Leader" on the forum, that's just using the Ranks section of the forum. Just create some special ranks and add them to the user. I do it manually because it is not changing a lot.

Teta
Last edited by Teta68 on Thu Feb 22, 2007 5:16 pm, edited 1 time 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

Re: Forum addon

Postby secretone » Mon Mar 05, 2007 4:28 pm

Hi,

Thanks for this Addon.

How would I change the code to be able to open the link in a new web page/tab. For example using target="_blank"

Many thanks

André
Image
User avatar
secretone
WR.net Apprentice
WR.net Apprentice
 
Posts: 62
Joined: Wed Feb 28, 2007 6:33 pm
Location: Kent, UK

Re: Forum addon

Postby Teta68 » Sat Mar 10, 2007 10:52 am

I'll see if I can make this a configurable option.

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


Return to Forum Link Addon

Who is online

Users browsing this forum: No registered users and 0 guests

cron