Register - Login

WoW Recruitment Block W/ ACP Control - v2.2

WoW Recruitment Block W/ ACP Control - v2.2

Postby

Sheepy
on Thu Oct 09, 2008 12:01 pm

I created a wow recruitment block with ACP features :mrgreen:
I'm pritty new to this coding stuff. So any feedback or bugs you find lemme know an I will fix them or add in new ideas :)

Features -
All options can be changed in the ACP.
Show/Hide the recruitment block on the portal.
Show/Hide classes on the block. Block will dynamicly resize.
Change the status text of each class (up to 10 characters).
Status text's can have a URL which links to your recruitment forums or application form.
Change the color of the status text with HEX values.
(See here to generate colors - http://www.colorschemer.com/online.html)

Image

Image

To install -
Download recruitment_block.zip from below.
Do the edits required in install.txt. Upload all files to your server. Overwrite all files if asked.
Load up your forums then go to - ACP >> System >> Administration Control Panel >> Portal >> Portal

Image

In the bottom right hand corner, click the top drop down box an select 'Recruitment' under the section PORTAL [acp_portal]
Now click 'Add Module'.

Image

When the page refreshes, click 'Enable' on the recruitment module.

Now go into the - Portal tab >> Recruitment
Edit your new recruitment block as required :D

Purge the cache an visit your portal to see your new recruitment block.

Download -
http://sheepy.ulmb.com/misc/recruitment_block.zip

Updates -

30/04/09 - v2.2
Replaced block images
Added missing code from recruitment.html <br style="clear:both" />
Fixed some typos
Added install.txt (Finally :lol: )

02/04/09 - v2.1
Fixed recruitment.html file. (2 typos)

18/03/09 - v2.0
Added show/hide options for all classes.
Added color option for class status.

12/03/09 - v1.2
Added colors to classes.

Problems -
Help! The images are not showing up on the block!!!!

Edit recruitment.html which can be found in - root >> styles >> your style >> template >> portal >> block
Edit the lines of code to reflect where the images are on your server.
Code: Select all
<img src="./images/wow/dk.png"
Last edited by
Sheepy
on Sun Jul 18, 2010 7:07 pm, edited 15 times in total.
Reason: Updated links
Sheepy

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

Re: WoW Recruitment Block with ACP Control!

Postby BigWaffle on Fri Oct 10, 2008 12:28 am

Looks nice, will try it out tomorrow.

But is it possible for you to add the Deathknight class? And also possible to some kind of Progression block for the players who do PvE? :)
BigWaffle
 
Posts: 25
Joined: Fri Oct 10, 2008 12:28 am

Re: WoW Recruitment Block with ACP Control!

Postby

Sheepy
on Fri Oct 10, 2008 1:30 am

Thanks for you input.
It already supports deathknight. 8) Check the 2nd screenshot.
The block screenshot is one I took before when I first made the recruitment block a few months ago.

I can try having a go at a progress block to support the new raids which are coming up in wrath.

I also thought about a block which worked with phpraider showing you what raid is on that day with a quick signup link.
Sheepy

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

Re: WoW Recruitment Block with ACP Control!

Postby Krebo on Fri Oct 10, 2008 8:59 pm

Hey great plugin... However I was unable to install it properly. I copied the files into root and purged cash however the system -> ACP -> portal -> portal did not see the recruitment thing to enable it.

Perhaps there is something missing? Or can you provide more detailed installation instructions..

Thanks
Krebo
 
Posts: 2
Joined: Fri Oct 10, 2008 8:57 pm

Re: WoW Recruitment Block with ACP Control!

Postby BigWaffle on Fri Oct 10, 2008 9:37 pm

By doing as directed I get this error:

Warning: include(./forums/common.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\portal.php on line 22

Warning: include() [function.include]: Failed opening './forums/common.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\portal.php on line 22

Warning: include(./forums/includes/message_parser.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\portal\includes\functions.php on line 19

Warning: include() [function.include]: Failed opening './forums/includes/message_parser.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\portal\includes\functions.php on line 19

Fatal error: Call to a member function session_begin() on a non-object in C:\xampp\htdocs\portal.php on line 26


Yes, it's xampp, I prefer trying things before uploading it on server :P
And I also can't find the "Recruitment" part on the portal tab in the ACP.
BigWaffle
 
Posts: 25
Joined: Fri Oct 10, 2008 12:28 am

Re: WoW Recruitment Block with ACP Control!

Postby

Sheepy
on Sat Oct 11, 2008 4:52 am

ok bare with me.
Im uploading a test forums an portal to see what is wrong.
Soon as i have fixed will post here.

**EDIT**
Krebo wrote:Hey great plugin... However I was unable to install it properly. I copied the files into root and purged cash however the system -> ACP -> portal -> portal did not see the recruitment thing to enable it.

Perhaps there is something missing? Or can you provide more detailed installation instructions..

Thanks

Bigwaffle wrote:And I also can't find the "Recruitment" part on the portal tab in the ACP.


Did you guys go into the System Tab > Adminstration Control Panel > Portal > Portal > Recruitment?
Check the screenie ;)

ImageImage
Sheepy

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

Re: WoW Recruitment Block with ACP Control!

Postby goberpiles on Sat Oct 11, 2008 4:11 pm

Possible to edit it to work for Warhammer Online?

Also cannot see a recruitment thing to enable as users above.

Ok I managed to make it appear in the portal admin part, but cannot get the block to show on the actual forum.
goberpiles
 
Posts: 4
Joined: Sat Jan 19, 2008 6:29 pm

Re: WoW Recruitment Block with ACP Control!

Postby

Sheepy
on Sat Oct 11, 2008 8:07 pm

Ok Updated first post with more detailed install instructions.
Fixed a typo with the file name portal.php which was named portal.php.php
Sheepy

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

Re: WoW Recruitment Block with ACP Control!

Postby goberpiles on Sat Oct 11, 2008 11:16 pm

Using your portal.php file I get:

Warning: main(.common.php) [function.main]: failed to open stream: No such file or directory in /home/.too/gaz316/goberpiles.com/warportal/portal.php on line 22

Warning: main(.common.php) [function.main]: failed to open stream: No such file or directory in /home/.too/gaz316/goberpiles.com/warportal/portal.php on line 22

Warning: main() [function.include]: Failed opening '.common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/.too/gaz316/goberpiles.com/warportal/portal.php on line 22

Warning: main(.includes/message_parser.php) [function.main]: failed to open stream: No such file or directory in /home/.too/gaz316/goberpiles.com/warportal/portal/includes/functions.php on line 19

Warning: main(.includes/message_parser.php) [function.main]: failed to open stream: No such file or directory in /home/.too/gaz316/goberpiles.com/warportal/portal/includes/functions.php on line 19

Warning: main() [function.include]: Failed opening '.includes/message_parser.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/.too/gaz316/goberpiles.com/warportal/portal/includes/functions.php on line 19

Fatal error: Call to a member function on a non-object in /home/.too/gaz316/goberpiles.com/warportal/portal.php on line 26

If I add the missing code to my portal.php file from yours I get this:

http://www.goberpiles.com/pics/Capture.JPG

I am using the dwefault portal.php file.
goberpiles
 
Posts: 4
Joined: Sat Jan 19, 2008 6:29 pm

Re: WoW Recruitment Block with ACP Control!

Postby

Sheepy
on Sun Oct 12, 2008 3:22 am

OK it should be fixed now.
The reason you guys are getting trouble with portal.php is because the portal.php file i used in the zip has the forums an portal loctaion edited for my forums and i have the portal in a differant loctaion. :?

I have attached the default portal.php file with the required edits for the recruitment block to work.
Just download an replace your portal.php.
http://www.theory-guild.co.uk/misc/portal.zip
I have also updated the zip file in my first post. ;)
Sheepy

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

Next

Return to [1.2.x] Development



Who is online

Users browsing this forum:

Google [Bot]