[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

phpBB integration forum

do u like it ?

yes
37
97%
no
1
3%
 
Total votes : 38

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby Elethil » Mon Jan 29, 2007 3:25 pm

Is there a difference in phpbb and the bb that comes built in with nuke? Nuke is all ive really ever used. Not sure how I'd install something like this. Oh well. It sounds like it definatly had potential and could be a sweet mod. Sad if I can't use it down the road.
User avatar
Elethil
WR.net Journeyman
WR.net Journeyman
 
Posts: 147
Joined: Wed Jul 05, 2006 10:28 pm

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby robojerk » Mon Jan 29, 2007 5:30 pm

They're very close, but not the same.

Some changes will have to be made for this to work phpnuke.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Re: [RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby wileyspaz » Tue Jan 30, 2007 8:25 am

I am also having the issue where the default wisp is being displayed instead of the character type.

Does anyone know how to get around this? I followed the instructions without problems?
wileyspaz
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Fri Dec 08, 2006 12:21 am

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby sapphiron » Tue Jan 30, 2007 9:42 am

I will check this out as soon as I get home.

Remember you have to configure the .cfg and the character must exist in the roster.
Last edited by sapphiron on Tue Jan 30, 2007 9:43 am, edited 1 time in total.
User avatar
sapphiron
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Wed Jan 24, 2007 4:09 pm

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4a

Postby sapphiron » Tue Jan 30, 2007 9:57 am

I have uploaded a fix for this.
If you dont want to do the whole installation process again, all you have to do replace the next code in viewtopic.php

Code: Select all
                        switch($sex)
      {
         case "male":
            $mainImg = $mainImg . "0-";
            break;
         case 'female':
            $mainImg = $mainImg . "1-";
            break;      
      }
      
      switch($race)
      {
         case 'human':
            $mainImg = $mainImg . "1-";
            break;
         case 'orc':
            $mainImg = $mainImg . "2-";
            break;
         case 'dwarf':
            $mainImg = $mainImg . "3-";
            break;
         case 'ne':
            $mainImg = $mainImg . "4-";
            break;
         case 'undead':
            $mainImg = $mainImg . "5-";
            break;
         case 'tauren':
            $mainImg = $mainImg . "6-";
            break;
         case 'gnome':
            $mainImg = $mainImg . "7-";
            break;
         case 'troll':
            $mainImg = $mainImg . "8-";
            break;
         case 'be':
            $mainImg = $mainImg . "10-";
            break;
         case 'drae':
            $mainImg = $mainImg . "11-";
            break;
      }
      
      switch($class)
      {
         case 'warrior':
            $mainImg = $mainImg . "1";
            $classImg = $classImg . "1.gif";
            break;
         case 'paladin':
            $mainImg = $mainImg . "2";
            $classImg = $classImg . "2.gif";
            break;
         case 'hunter':
            $mainImg = $mainImg . "3";
            $classImg = $classImg . "3.gif";
            break;
         case 'priest':
            $mainImg = $mainImg . "5";
            $classImg = $classImg . "5.gif";
            break;
         case 'mage':
            $mainImg = $mainImg . "8";
            $classImg = $classImg . "8.gif";
            break;
         case 'shaman':
            $mainImg = $mainImg . "7";
            $classImg = $classImg . "7.gif";
            break;
         case 'rouge':
            $mainImg = $mainImg . "4";
            $classImg = $classImg . "4.gif";
            break;
         case 'warlock':
            $mainImg = $mainImg . "9";
            $classImg = $classImg . "9.gif";
            break;
         case 'druid':
            $mainImg = $mainImg . "11";
            $classImg = $classImg . "11.gif";
            break;
      }


with this one:

Code: Select all
                        switch($sex)
      {
         case "Male":
            $mainImg = $mainImg . "0-";
            break;
         case 'Female':
            $mainImg = $mainImg . "1-";
            break;      
      }
      
      switch($race)
      {
         case 'Human':
            $mainImg = $mainImg . "1-";
            break;
         case 'Orc':
            $mainImg = $mainImg . "2-";
            break;
         case 'Dwarf':
            $mainImg = $mainImg . "3-";
            break;
         case 'Night Elf':
            $mainImg = $mainImg . "4-";
            break;
         case 'Undead':
            $mainImg = $mainImg . "5-";
            break;
         case 'Tauren':
            $mainImg = $mainImg . "6-";
            break;
         case 'Gnome':
            $mainImg = $mainImg . "7-";
            break;
         case 'Troll':
            $mainImg = $mainImg . "8-";
            break;
         case 'Blood Elf':
            $mainImg = $mainImg . "10-";
            break;
         case 'Draenei':
            $mainImg = $mainImg . "11-";
            break;
      }
      
      switch($class)
      {
         case 'Warrior':
            $mainImg = $mainImg . "1";
            $classImg = $classImg . "1.gif";
            break;
         case 'Paladin':
            $mainImg = $mainImg . "2";
            $classImg = $classImg . "2.gif";
            break;
         case 'Hunter':
            $mainImg = $mainImg . "3";
            $classImg = $classImg . "3.gif";
            break;
         case 'Priest':
            $mainImg = $mainImg . "5";
            $classImg = $classImg . "5.gif";
            break;
         case 'Mage':
            $mainImg = $mainImg . "8";
            $classImg = $classImg . "8.gif";
            break;
         case 'Shaman':
            $mainImg = $mainImg . "7";
            $classImg = $classImg . "7.gif";
            break;
         case 'Rogue':
            $mainImg = $mainImg . "4";
            $classImg = $classImg . "4.gif";
            break;
         case 'Warlock':
            $mainImg = $mainImg . "9";
            $classImg = $classImg . "9.gif";
            break;
         case 'Druid':
            $mainImg = $mainImg . "11";
            $classImg = $classImg . "11.gif";
            break;
      }


If you want to help me, please post how race and class is stored in the roster database, I dont have a guild so I made this guessing.
Last edited by sapphiron on Tue Jan 30, 2007 10:01 am, edited 1 time in total.
User avatar
sapphiron
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Wed Jan 24, 2007 4:09 pm

Re: [RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4a

Postby wileyspaz » Tue Jan 30, 2007 12:37 pm

Awesome! Thank you for the fix. This worked out perfectly!

In my WoWRoster database, Race and Class is stored just how you have it in the code for your fix. The words are capitalized, and "Blood Elf" and "Night Elf" are spelled out like you have it.

Thanks again!
wileyspaz
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Fri Dec 08, 2006 12:21 am

Re: [RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4a

Postby thebeaz » Tue Jan 30, 2007 5:41 pm

I followed all instructions to the 'T' and I don't even have the "default wisp" graphic. Anyone want to help me troubleshoot this?

Just FYI -> I'm an IT professional and an experienced web admin... so you can get technical if you'd like. I just don't see where I could have screwed up. The instructions were pretty easy. :cry:
thebeaz
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Tue Jan 30, 2007 5:35 pm

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby sapphiron » Tue Jan 30, 2007 8:56 pm

please, post a link to your forums, maybe I can get some info from the source.

Are you using the last version (1.0.4a) ?
User avatar
sapphiron
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Wed Jan 24, 2007 4:09 pm

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby luciver » Tue Jan 30, 2007 9:17 pm

Hey !

I use the version 1.0.4a , unfortunately no picture is indicated.

here

The Roster, ist alrady running without any Problems. why aren't the class and race indicated?

The SQL entry have i do.

enclosed those "viewtopic.php"

luci...

PS : the creator of this mod/addon , can you create this for a woltlab burning board 2.3.x ? :) , this were very nice.
Attachments
viewtopic.zip
(11.36 KiB) Downloaded 331 times
The German Community
wowroster.de
Akecheta of Frostwolf
User avatar
luciver
WR.net Apprentice
WR.net Apprentice
 
Posts: 26
Joined: Wed Jul 05, 2006 12:28 am
Location: Berlin

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby sapphiron » Tue Jan 30, 2007 10:19 pm

sorry, I didnt get what you mean... remember I dont handle english very well.
If you see the wisp avatar, the problem may be that the character does not exist in the roster, remember to write the EXACT name of it in the cp panel (Including caps if needed).

The sql query is REQUIRED in order to have this mod running.

About he woltab burning board, I didnt even know that board existed :(... maybe some can adapt my code in order to work with it.

Tomorrow I will install a roster in my computer and I will install everything again, maybe there is something I'm missing.

Thanks for the feedbak.
User avatar
sapphiron
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Wed Jan 24, 2007 4:09 pm

Re: [RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby thebeaz » Wed Jan 31, 2007 10:37 am

NEVERMIND!

I got it working fine! Somehow I missed that you had to manually enter what profile you wanted to display in your settings! Whoops! :)

Thanks for this great mod!
Last edited by thebeaz on Wed Jan 31, 2007 11:51 am, edited 1 time in total.
thebeaz
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Tue Jan 30, 2007 5:35 pm

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby luciver » Wed Jan 31, 2007 12:54 pm

Hey !

Must the phpBB and the roster in the same SQl Database ?

luci...
The German Community
wowroster.de
Akecheta of Frostwolf
User avatar
luciver
WR.net Apprentice
WR.net Apprentice
 
Posts: 26
Joined: Wed Jul 05, 2006 12:28 am
Location: Berlin

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby Niryk » Wed Jan 31, 2007 1:46 pm

Nope, but you must set the variables in the config.roster.php file which is in the 'root' folder of the mod. I just finished adding this mod to my forums, of course had to make a bunch of changes due to it being not one guild/roster but twelve, and needed to give people a place to put 'guild' name. Only problem I had was the avatar image didn't size properly, seemed like the table wasn't taking the size information and using it, but I fixed it by putting a number of   tags in there to size it right.
User avatar
Niryk
WR.net Apprentice
WR.net Apprentice
 
Posts: 33
Joined: Fri Nov 17, 2006 5:31 am

[RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby luciver » Thu Feb 01, 2007 5:06 am

Hey !

@Niryk
you can send me your changed files up to those config.roster.php ?

Than can i testet the changes in englisch in my forum, i used a german phpbb, but I can see whether it functioned.

luci...
The German Community
wowroster.de
Akecheta of Frostwolf
User avatar
luciver
WR.net Apprentice
WR.net Apprentice
 
Posts: 26
Joined: Wed Jul 05, 2006 12:28 am
Location: Berlin

Re: [RELEASED] WoW ROSTER phpbb2 integration mod 1.0.4

Postby joox » Thu Feb 01, 2007 11:16 am

awesome, that fix worked fine. Stupid caps!

Good job on this by the way.
joox
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Thu Dec 28, 2006 11:09 am

PreviousNext

Return to phpBB

Who is online

Users browsing this forum: No registered users and 0 guests

cron