Register - Login

WoW Recruitment Block W/ ACP Control - v2.2

Re: WoW Recruitment Block with ACP Control!

Postby

Sheepy
on Tue Nov 18, 2008 5:45 pm

BigWaffle wrote:Add   between Death Knight.

Should look like this:

<td class="row1" width="22%" align="left" ><div align="left"><span class="gensmall">&nbsp;Death&nbsp;Knight</span></div></td>

Updated recruitment.html to reflect this change.

solphanie wrote:Hi,
I have a problem with this block.
Icone of class doesn't appear on my block.

Plz anyone can help me ?

(i have latest phpbb and portal in french)

The image directory is wrong.
Can you link to your forums please

TragicDog wrote:Ok, this block is EXACTLY what I am looking for...

But after installing per the instructions posted I get nothing.

I have it loaded in the ACP, Enabled in the ACP, Cache Purged (mulitple times)

And still nothing

http://crimsonclan.com

I am using a subsilver2 based theme. I have changed the recruitment.html file already to reflect what was posted on the second page. Not sure what I did wrong, please help.

PS my theme is GlossyIIRed

Its working for me when i go to your site.

jpax wrote:how do you make changes for styles? I can't get it to show on the portal for any other theme but prosilver,
but no others I copyied the templete files from the download folder to the new styles but they dont work on displaying the box. can you help me please? It works in prosilver just fine

I have it working on a diff style an so do other people.
Can you link to your forums please.

jyujinkai wrote:If you want to make this MOD perfect, mabey you could look into adding the links going to a application form that on submitt will send them into a defined forum. I set it up manualy but if this mod had that, and had teh ability to control the form in ACP, then it would be perfect.

I am using a modified version of this forum thing to do teh same thing but it has no ACP so you need to edit it all manualy and adjust your block code as well.
http://www.mergenine.com/ftopic644.html

I sort of have that. In the ACP you can change the url for the classes.
Sheepy

User avatar
 
Posts: 214
Joined: Sat May 19, 2007 6:27 pm
Location: Behind you?

Re: WoW Recruitment Block with ACP Control!

Postby Lore on Fri Dec 19, 2008 1:27 pm

The block shows on my page, but the class icons don't. I tried to change the image source in the recruitment.html file. However when I go check my page source I see that the changes in the html file didn't come through.

I thought I might have uploaded the file to the wrong place but I could only find the file in ..\styles\prosilver\template\portal\block\recruitment.html

Heres the link to my page:
http://cmdstud.khlim.be/~ltorfs/phpBB3/


EDIT: I already fixed it, I just forgot to purge the cache :)
Lore
 
Posts: 1
Joined: Fri Dec 19, 2008 12:32 pm

Re: WoW Recruitment Block with ACP Control!

Postby ksterling on Fri Feb 06, 2009 2:26 pm

http://www.guild-encore.com/forums/

Can't get it to show up. My folder hierarchy at this point is getting pretty fubar from dropping files everywhere trying to make certain mods work.. for new people this is really confusing, trying to figure out where the files go.

Everything is turned on. I've cleared my cache. I have the classes set up. I just can't get it to show up at all. When I view the page source, I can't even find anything about it on there which makes me think something is in the wrong spot, like my portal_body or something. PLEASE someone for the love of god tell me directly what folder to put this stuff into. Please don't tell me "the block folder" I need the entire url :cry:

ie. http://www.guild-encore.com/forums/blah ... crewing-up

halp :cry:
ksterling
 
Posts: 2
Joined: Fri Feb 06, 2009 2:18 pm

Re: WoW Recruitment Block with ACP Control!

Postby ksterling on Sat Feb 07, 2009 12:05 am

Nevermind - fixed my problem. For anyone else who is struggling and trying to find a fix for the same problem my fix was re-downloading the file, and copying over the "portal.php" back to the main forums directory again.
There was already a file there, but it wasn't the same one. Guess it never updated when I uploaded originally..
ksterling
 
Posts: 2
Joined: Fri Feb 06, 2009 2:18 pm

Re: WoW Recruitment Block with ACP Control!

Postby Konas on Tue Mar 17, 2009 8:23 pm

First, Thank you for this block. Was easily installed and good instructions.

I would just like to point out a few errors I found in the code that gave me some trouble when installing it.

From the first portal.php file, this is how I recieved the file.
Code: Select all
if ($config['portal_recruitment'])
{
   $template->assign_vars(array(
   'S_DISPLAY_PORTAL_RECRUITMENT'    => true,
   'PORTAL_RECRUITMENT'   => $config['portal_recruitment'],
   'PORTAL_LEFT_COLLUMN'    => $config['portal_left_collumn_width'],
   'PORTAL_RIGHT_COLLUMN'    => $config['portal_right_collumn_width'],
   'PORTAL_RECRUITMENT_LINK' =>$config['portal_recruitment_link'],
   'PORTAL_RECRUITMENT_DEATH_KNIGHT' => $config['portal_recruitment_death_knight'],
   'PORTAL_RECRUITMENT_DRUID' => $config['portal_recruitment_druid'],
   'PORTAL_RECRUITMENT_HUNTER' => $config['portal_recruitment_hunter'],
   'PORTAL_RECRUITMENT_MAGE' => $config['portal_recruitment_mage'],
   'PORTAL_RECRUITMENT_PALADIN' => $config['portal_recruitment_paladin'],
   'PORTAL_RECRUITMENT_PRIEST' => $config['portal_recruitment_priest'],
   'PORTAL_RECRUITMENT_ROGUE' => $config['portal_recruitment_rogue'],
   'PORTAL_RECRUITMENT_SHAMAN' => $config['portal_recruitment_shaman'],
   'PORTAL_RECRUITMENT_WARLOCK' => $config['portal_recruitment_warlock'],
   'PORTAL_RECRUITMENT_WARRIOR' => $config['portal_recruitment_warrior'],
));


As you can see, a closing bracket is missing. :) It should look like this:
Code: Select all
if ($config['portal_recruitment'])
{
   $template->assign_vars(array(
   'S_DISPLAY_PORTAL_RECRUITMENT'    => true,
   'PORTAL_RECRUITMENT'   => $config['portal_recruitment'],
   'PORTAL_LEFT_COLLUMN'    => $config['portal_left_collumn_width'],
   'PORTAL_RIGHT_COLLUMN'    => $config['portal_right_collumn_width'],
   'PORTAL_RECRUITMENT_LINK' =>$config['portal_recruitment_link'],
   'PORTAL_RECRUITMENT_DEATH_KNIGHT' => $config['portal_recruitment_death_knight'],
   'PORTAL_RECRUITMENT_DRUID' => $config['portal_recruitment_druid'],
   'PORTAL_RECRUITMENT_HUNTER' => $config['portal_recruitment_hunter'],
   'PORTAL_RECRUITMENT_MAGE' => $config['portal_recruitment_mage'],
   'PORTAL_RECRUITMENT_PALADIN' => $config['portal_recruitment_paladin'],
   'PORTAL_RECRUITMENT_PRIEST' => $config['portal_recruitment_priest'],
   'PORTAL_RECRUITMENT_ROGUE' => $config['portal_recruitment_rogue'],
   'PORTAL_RECRUITMENT_SHAMAN' => $config['portal_recruitment_shaman'],
   'PORTAL_RECRUITMENT_WARLOCK' => $config['portal_recruitment_warlock'],
   'PORTAL_RECRUITMENT_WARRIOR' => $config['portal_recruitment_warrior'],
));
} //<-- Added.


Also, when I added it to the ACP, It displayed the Recruitment tab on the left as 'ACP_PORTAL_RECRUITMENT_INFO'. After some further investigation, I found a line was left out in the portal.php file located in the language folder and should look like this:
Code: Select all
// recruitment
   'ACP_PORTAL_RECRUITMENT_INFO'            => 'Recruitment',  //<-- Added
   'ACP_PORTAL_RECRUITMENT_SETTINGS'         => 'Recruitment Settings',
   'ACP_PORTAL_RECRUITMENT_SETTINGS_EXPLAIN'   => 'Here you can change the status of Recruitment Block.',
   'PORTAL_RECRUITMENT'         => 'Display the Recruitment block',
   'PORTAL_RECRUITMENT_EXPLAIN'               => 'Display the Recruitment Block on portal',
   'PORTAL_RECRUITMENT_LINK'                     => 'Link to Recruitment Forums',
   'PORTAL_RECRUITMENT_LINK_EXPLAIN'         => 'Enter the url to your recruitment forums or application form here.',
     'PORTAL_RECRUITMENT_DRUID'         => 'Druid',
   'PORTAL_RECRUITMENT_HUNTER'         => 'Hunter',
    'PORTAL_RECRUITMENT_MAGE'         => 'Mage',
   'PORTAL_RECRUITMENT_PALADIN'         => 'Paladin',
   'PORTAL_RECRUITMENT_PRIEST'         => 'Priest',
   'PORTAL_RECRUITMENT_ROGUE'         => 'Rogue',
   'PORTAL_RECRUITMENT_SHAMAN'         => 'Shaman',
   'PORTAL_RECRUITMENT_WARLOCK'         => 'Warlock',
   'PORTAL_RECRUITMENT_WARRIOR'         => 'Warrior',
    'PORTAL_RECRUITMENT_DEATH_KNIGHT'     => 'Death Knight',


Hope this helps anyone having any problems! And thanks again for this block!

Also, one last note, our guild was wanting a little different look for our Recruitment block instead of just Open/Closed and I changed the output to be class specific, for example, druid-resto, feral, balance, etc. In addition, we have implemented a color system, red=limited or no recruitment, yellow=limited, and green=active. I would like to be able to change these colors in the ACP, instead of the actual file, but I have not found an effective way to do this yet. If you know a good way, would love to hear it! Ill put an example of what I mean with coding for each class below. You can see the red, yellow, green in the class tag, just cant figure out how to implement that in the ACP yet.
Code: Select all
<tr>
    <td class="row2" align="right" ><img src="../phpBB3/images/wow/druid.gif" width="20" height="20"></td>
    <td class="row2" align="left" ><div align="left"><span class="gensmall">&nbsp;Druid</span></div></td>
    <td class="row2" width="15%" align="left" ><div align="left"><span class="gensmallred">&nbsp;Balance</span></div></td>
    <td class="row2" width="15%" align="left" ><div align="left"><span class="gensmallyellow">&nbsp;Feral</span></div></td>
    <td class="row2" width="15%" align="left" ><div align="left"><span class="gensmallyellow">&nbsp;Resto</span></div></td>
     </tr>

Thanks Again!
Konas
 
Posts: 2
Joined: Tue Mar 17, 2009 8:03 pm

Re: WoW Recruitment Block with ACP Control!

Postby

Sheepy
on Tue Mar 17, 2009 9:37 pm

Konas wrote:First, Thank you for this block. Was easily installed and good instructions.

I would just like to point out a few errors I found in the code that gave me some trouble when installing it.

From the first portal.php file, this is how I recieved the file.
Code: Select all
if ($config['portal_recruitment'])
{
   $template->assign_vars(array(
   'S_DISPLAY_PORTAL_RECRUITMENT'    => true,
   'PORTAL_RECRUITMENT'   => $config['portal_recruitment'],
   'PORTAL_LEFT_COLLUMN'    => $config['portal_left_collumn_width'],
   'PORTAL_RIGHT_COLLUMN'    => $config['portal_right_collumn_width'],
   'PORTAL_RECRUITMENT_LINK' =>$config['portal_recruitment_link'],
   'PORTAL_RECRUITMENT_DEATH_KNIGHT' => $config['portal_recruitment_death_knight'],
   'PORTAL_RECRUITMENT_DRUID' => $config['portal_recruitment_druid'],
   'PORTAL_RECRUITMENT_HUNTER' => $config['portal_recruitment_hunter'],
   'PORTAL_RECRUITMENT_MAGE' => $config['portal_recruitment_mage'],
   'PORTAL_RECRUITMENT_PALADIN' => $config['portal_recruitment_paladin'],
   'PORTAL_RECRUITMENT_PRIEST' => $config['portal_recruitment_priest'],
   'PORTAL_RECRUITMENT_ROGUE' => $config['portal_recruitment_rogue'],
   'PORTAL_RECRUITMENT_SHAMAN' => $config['portal_recruitment_shaman'],
   'PORTAL_RECRUITMENT_WARLOCK' => $config['portal_recruitment_warlock'],
   'PORTAL_RECRUITMENT_WARRIOR' => $config['portal_recruitment_warrior'],
));


As you can see, a closing bracket is missing. :) It should look like this:
Code: Select all
if ($config['portal_recruitment'])
{
   $template->assign_vars(array(
   'S_DISPLAY_PORTAL_RECRUITMENT'    => true,
   'PORTAL_RECRUITMENT'   => $config['portal_recruitment'],
   'PORTAL_LEFT_COLLUMN'    => $config['portal_left_collumn_width'],
   'PORTAL_RIGHT_COLLUMN'    => $config['portal_right_collumn_width'],
   'PORTAL_RECRUITMENT_LINK' =>$config['portal_recruitment_link'],
   'PORTAL_RECRUITMENT_DEATH_KNIGHT' => $config['portal_recruitment_death_knight'],
   'PORTAL_RECRUITMENT_DRUID' => $config['portal_recruitment_druid'],
   'PORTAL_RECRUITMENT_HUNTER' => $config['portal_recruitment_hunter'],
   'PORTAL_RECRUITMENT_MAGE' => $config['portal_recruitment_mage'],
   'PORTAL_RECRUITMENT_PALADIN' => $config['portal_recruitment_paladin'],
   'PORTAL_RECRUITMENT_PRIEST' => $config['portal_recruitment_priest'],
   'PORTAL_RECRUITMENT_ROGUE' => $config['portal_recruitment_rogue'],
   'PORTAL_RECRUITMENT_SHAMAN' => $config['portal_recruitment_shaman'],
   'PORTAL_RECRUITMENT_WARLOCK' => $config['portal_recruitment_warlock'],
   'PORTAL_RECRUITMENT_WARRIOR' => $config['portal_recruitment_warrior'],
));
} //<-- Added.


Also, when I added it to the ACP, It displayed the Recruitment tab on the left as 'ACP_PORTAL_RECRUITMENT_INFO'. After some further investigation, I found a line was left out in the portal.php file located in the language folder and should look like this:
Code: Select all
// recruitment
   'ACP_PORTAL_RECRUITMENT_INFO'            => 'Recruitment',  //<-- Added
   'ACP_PORTAL_RECRUITMENT_SETTINGS'         => 'Recruitment Settings',
   'ACP_PORTAL_RECRUITMENT_SETTINGS_EXPLAIN'   => 'Here you can change the status of Recruitment Block.',
   'PORTAL_RECRUITMENT'         => 'Display the Recruitment block',
   'PORTAL_RECRUITMENT_EXPLAIN'               => 'Display the Recruitment Block on portal',
   'PORTAL_RECRUITMENT_LINK'                     => 'Link to Recruitment Forums',
   'PORTAL_RECRUITMENT_LINK_EXPLAIN'         => 'Enter the url to your recruitment forums or application form here.',
     'PORTAL_RECRUITMENT_DRUID'         => 'Druid',
   'PORTAL_RECRUITMENT_HUNTER'         => 'Hunter',
    'PORTAL_RECRUITMENT_MAGE'         => 'Mage',
   'PORTAL_RECRUITMENT_PALADIN'         => 'Paladin',
   'PORTAL_RECRUITMENT_PRIEST'         => 'Priest',
   'PORTAL_RECRUITMENT_ROGUE'         => 'Rogue',
   'PORTAL_RECRUITMENT_SHAMAN'         => 'Shaman',
   'PORTAL_RECRUITMENT_WARLOCK'         => 'Warlock',
   'PORTAL_RECRUITMENT_WARRIOR'         => 'Warrior',
    'PORTAL_RECRUITMENT_DEATH_KNIGHT'     => 'Death Knight',


Hope this helps anyone having any problems! And thanks again for this block!

Also, one last note, our guild was wanting a little different look for our Recruitment block instead of just Open/Closed and I changed the output to be class specific, for example, druid-resto, feral, balance, etc. In addition, we have implemented a color system, red=limited or no recruitment, yellow=limited, and green=active. I would like to be able to change these colors in the ACP, instead of the actual file, but I have not found an effective way to do this yet. If you know a good way, would love to hear it! Ill put an example of what I mean with coding for each class below. You can see the red, yellow, green in the class tag, just cant figure out how to implement that in the ACP yet.
Code: Select all
<tr>
    <td class="row2" align="right" ><img src="../phpBB3/images/wow/druid.gif" width="20" height="20"></td>
    <td class="row2" align="left" ><div align="left"><span class="gensmall">&nbsp;Druid</span></div></td>
    <td class="row2" width="15%" align="left" ><div align="left"><span class="gensmallred">&nbsp;Balance</span></div></td>
    <td class="row2" width="15%" align="left" ><div align="left"><span class="gensmallyellow">&nbsp;Feral</span></div></td>
    <td class="row2" width="15%" align="left" ><div align="left"><span class="gensmallyellow">&nbsp;Resto</span></div></td>
     </tr>

Thanks Again!


Thanks for the info, I'll get on to fixing this.

As for the colors bare with me and I'll add an option in.
Also I will add in an option to show/hide class's as well.
The block will dynamicly resize an you can only show the classes you are recruiting ;)

Can you upload a screenie of your block, or chuck me you website link.
Just curious with what you done :D

**EDIT**
Updated - v2.0 uploaded, see first post ;)
Sheepy

User avatar
 
Posts: 214
Joined: Sat May 19, 2007 6:27 pm
Location: Behind you?

Re: WoW Recruitment Block W/ ACP Control - Updated V2.0

Postby wads24 on Wed Mar 18, 2009 5:59 pm

I have read post on this, and was there a post telling us what this mod is used for? What is the recruitment block do?
wads24
User avatar
 
Posts: 10
Joined: Mon Feb 25, 2008 12:30 am

Re: WoW Recruitment Block W/ ACP Control - Updated V2.0

Postby mikeneal83 on Wed Mar 18, 2009 6:13 pm

Maybe I'm just extremely confused or something, but it seems to me that the download is missing a ton of files. I'm getting all kinds of errors.
mikeneal83
 
Posts: 2
Joined: Wed Mar 18, 2009 6:11 pm

Re: WoW Recruitment Block W/ ACP Control - Updated V2.0

Postby

Sheepy
on Wed Mar 18, 2009 6:40 pm

wads24 wrote:I have read post on this, and was there a post telling us what this mod is used for? What is the recruitment block do?

Read the very first post ;)

mikeneal83 wrote:Maybe I'm just extremely confused or something, but it seems to me that the download is missing a ton of files. I'm getting all kinds of errors.

Exactly what errors are you getting?? Please post a link to your website please.
Did you follow the instructions from the first post?? Purge the cache??

The zip file has been on this website for a whie now. Which a lot of people have installed the block with nps at all.
Sheepy

User avatar
 
Posts: 214
Joined: Sat May 19, 2007 6:27 pm
Location: Behind you?

Re: WoW Recruitment Block W/ ACP Control - Updated V2.0

Postby mikeneal83 on Wed Mar 18, 2009 9:25 pm

I do exactly as it says, I download the file, the copy the contents of the folder root to my root directory which is http://www.studiosyx.com/mikesplayground/WoW/Forums I click yes to replace all. Then I go into the ACP - click system - click Administration control panel and Portal is not there.

When I browse to http://www.studiosyx.com/mikesplaygroun ... portal.php I get a ton of errors.

Image
mikeneal83
 
Posts: 2
Joined: Wed Mar 18, 2009 6:11 pm

PreviousNext

Return to [1.2.x] Development



Who is online

Users browsing this forum:

Google [Bot]