Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
World of Warcraft Class Recruitment Status module (db backend) Details »»
World of Warcraft Class Recruitment Status module (db backend)
Version: 1.01, by turnipofdoom turnipofdoom is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-26-2007 Last Update: Never Installs: 23
DB Changes Template Edits
Additional Files  
No support by the author.

This mod is no longer supported it has been rewritten.

The new mod is available here:
https://vborg.vbsupport.ru/showthread.php?t=150449

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 05-02-2007, 06:37 PM
elricstorm's Avatar
elricstorm elricstorm is offline
 
Join Date: Aug 2006
Location: Stamford, CT
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yer welcome - it's a nice addition you made. I was getting asked by numerous people to change my old recruitment status module and wanted something simple enough that even a monkey could edit it. This was simple, effective, and nicely polished.
Reply With Quote
  #73  
Old 05-02-2007, 07:00 PM
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Location: Connecticut
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elricstorm View Post
yer welcome - it's a nice addition you made. I was getting asked by numerous people to change my old recruitment status module and wanted something simple enough that even a monkey could edit it. This was simple, effective, and nicely polished.
Hey look at that Stamford, I am up in Old Saybrook, near New London, a fellow CT person!

Also can I get your apache and php version info?
Reply With Quote
  #74  
Old 05-03-2007, 09:15 PM
idwf's Avatar
idwf idwf is offline
 
Join Date: Jun 2003
Location: England
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

... [please delete]
Reply With Quote
  #75  
Old 06-03-2007, 03:52 AM
NightPhoenix NightPhoenix is offline
 
Join Date: Sep 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Came back to try this again... and it worked.... Installed

I have php5, but still needed to make the changes you have listed for php4 to prevent the errors from popping up.

Do you know what might be causing the issue in the attached screenshot? My website is www.shuhalo.com

It would be nice if I could figure how to get the blue section to blend in better.
Reply With Quote
  #76  
Old 06-05-2007, 12:01 AM
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Location: Connecticut
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you recall what the errors were ? Was it a keyword error ? Can you change it back and post the fatal error ? That would really help. Can you also post the HTML source for the blue background page.
Reply With Quote
  #77  
Old 06-15-2007, 09:01 PM
SuprSurfr SuprSurfr is offline
 
Join Date: Apr 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey would it be possible to modify the code so that it only shows what classes that are open for recruitment on the page?

Example:

If I had 0 or closed in the field dont show the Class at all on the page.
If I had 1 or greater or Open in the field it would show the class on the fron page.

Is this doable and if so how difficult?

Thanks.
Reply With Quote
  #78  
Old 06-15-2007, 09:35 PM
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Location: Connecticut
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SuprSurfr View Post
Hey would it be possible to modify the code so that it only shows what classes that are open for recruitment on the page?

Example:

If I had 0 or closed in the field dont show the Class at all on the page.
If I had 1 or greater or Open in the field it would show the class on the fron page.


Is this doable and if so how difficult?


Thanks.
You can do something like
PHP Code:
<if condition="$druid > 0">
<
div><img src="../../forum/images/wow/Druid.gif" width="20" height="20"Druid$druid</div>
</if> 
Inside your display template. You would need to do one if condition for each class
Reply With Quote
  #79  
Old 06-16-2007, 01:19 PM
SuprSurfr SuprSurfr is offline
 
Join Date: Apr 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by turnipofdoom View Post
You can do something like
PHP Code:
<if condition="$druid > 0">
<
div><img src="../../forum/images/wow/Druid.gif" width="20" height="20"Druid$druid</div>
</if> 
Inside your display template. You would need to do one if condition for each class
Awsome!
Thats what i needed!

I used this code:

Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	<thead>
	<tr>
		<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('functions_recruit')"><img id="collapseimg_functions_recruit" 

src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_functions_recruit.gif" alt="" border="0" /></a>
		<span class="smallfont"><strong>$vba_style[portal_blockbullet] Recruitment</strong></span></td>
	</tr>
	</thead>
	<tbody id="collapseobj_functions_recruit" style="$collapseobj_functions_recruit">
	
<tr>
<td class="$getbgrow">
     <if condition="$assassin <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Assassin.gif" width="20" height="20"> Assassin: $assassin</div>
     </if> 
	  <if condition="$berserker <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Berserker.gif" width="20" height="20"> Berserker: $berserker</div>
      </if>
	 <if condition="$brigand <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Brigand.gif" width="20" height="20"> Brigand: $brigand</div>
     </if>
	 <if condition="$bruiser <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Bruiser.gif" width="20" height="20"> Bruiser: $bruiser</div>
     </if>
	 <if condition="$coercer <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Coercer.gif" width="20" height="20"> Coercer: $coercer</div>
     </if>
	 <if condition="$conjuror<> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Conjuror.gif" width="20" height="20"> Conjuror: $conjuror</div>
     </if>
	 <if condition="$defiler <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Defiler.gif" width="20" height="20"> Defiler: $defiler</div>
     </if>
	 <if condition="$dirge <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Dirge.gif" width="20" height="20"> Dirge: $dirge</div>
     </if>
	 <if condition="$fury <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Fury.gif" width="20" height="20"> Fury: $fury</div>
	 </if>
	 <if condition="$guardian <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Guardian.gif" width="20" height="20"> Guardian: $guardian</div>
	 </if>
	 <if condition="$illusionist <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Illusionist.gif" width="20" height="20"> Illusionist: $illusionist</div>
	 </if>
	 <if condition="$inquisitor <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Inquisitor.gif" width="20" height="20"> Inquisitor: $inquisitor</div>
	 </if>
	 <if condition="$monk <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Monk.gif" width="20" height="20"> Monk: $monk</div>
	 </if>
	 <if condition="$mystic <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Mystic.gif" width="20" height="20"> Mystic: $mystic</div>
	 </if>
	 <if condition="$necromancer <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Necromancer.gif" width="20" height="20"> Necromancer: $necromancer</div>
	 </if>
	 <if condition="$paladin <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Paladin.gif" width="20" height="20"> Paladin: $paladin</div>
	 </if>
	 <if condition="$ranger <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Ranger.gif" width="20" height="20"> Ranger: $ranger</div>
	 </if>
	 <if condition="$swashbuckler <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Swashbuckler.gif" width="20" height="20"> Swashbuckler: $swashbuckler</div>
	 </if>
	 <if condition="$shadowknight <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Shadowknight.gif" width="20" height="20"> Shadowknight: $shadowknight</div>
	 </if>
	 <if condition="$templar <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Templar.gif" width="20" height="20"> Templar: $templar</div>
	 </if>
	 <if condition="$troubador <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Troubador.gif" width="20" height="20"> Troubador: $troubador</div>
	 </if>
	 <if condition="$warden <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Warden.gif" width="20" height="20"> Warden: $warden</div>
	 </if>
	 <if condition="$warlock <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Warlock.gif" width="20" height="20"> Warlock: $warlock</div>
	 </if>
	 <if condition="$wizard <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Wizard.gif" width="20" height="20"> Wizard: $wizard</div>
	 </if>
</td>
</tr>

	</td>
	</tr>
	</tbody>
</table>
<br />
All classes marked "Closed" will be hidden.
The only drawback is that it has to only be "Closed" and not "closed" for it to be hidden.
Any other value numeric or alpha will cause the class to be displayed on the list.

check it out here
Reply With Quote
  #80  
Old 06-16-2007, 01:24 PM
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Location: Connecticut
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SuprSurfr View Post
Awsome!
Thats what i needed!

I used this code:

Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	<thead>
	<tr>
		<td class="tcat">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('functions_recruit')"><img id="collapseimg_functions_recruit" 

src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_functions_recruit.gif" alt="" border="0" /></a>
		<span class="smallfont"><strong>$vba_style[portal_blockbullet] Recruitment</strong></span></td>
	</tr>
	</thead>
	<tbody id="collapseobj_functions_recruit" style="$collapseobj_functions_recruit">
	
<tr>
<td class="$getbgrow">
     <if condition="$assassin <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Assassin.gif" width="20" height="20"> Assassin: $assassin</div>
     </if> 
	  <if condition="$berserker <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Berserker.gif" width="20" height="20"> Berserker: $berserker</div>
      </if>
	 <if condition="$brigand <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Brigand.gif" width="20" height="20"> Brigand: $brigand</div>
     </if>
	 <if condition="$bruiser <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Bruiser.gif" width="20" height="20"> Bruiser: $bruiser</div>
     </if>
	 <if condition="$coercer <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Coercer.gif" width="20" height="20"> Coercer: $coercer</div>
     </if>
	 <if condition="$conjuror<> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Conjuror.gif" width="20" height="20"> Conjuror: $conjuror</div>
     </if>
	 <if condition="$defiler <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Defiler.gif" width="20" height="20"> Defiler: $defiler</div>
     </if>
	 <if condition="$dirge <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Dirge.gif" width="20" height="20"> Dirge: $dirge</div>
     </if>
	 <if condition="$fury <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Fury.gif" width="20" height="20"> Fury: $fury</div>
	 </if>
	 <if condition="$guardian <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Guardian.gif" width="20" height="20"> Guardian: $guardian</div>
	 </if>
	 <if condition="$illusionist <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Illusionist.gif" width="20" height="20"> Illusionist: $illusionist</div>
	 </if>
	 <if condition="$inquisitor <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Inquisitor.gif" width="20" height="20"> Inquisitor: $inquisitor</div>
	 </if>
	 <if condition="$monk <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Monk.gif" width="20" height="20"> Monk: $monk</div>
	 </if>
	 <if condition="$mystic <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Mystic.gif" width="20" height="20"> Mystic: $mystic</div>
	 </if>
	 <if condition="$necromancer <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Necromancer.gif" width="20" height="20"> Necromancer: $necromancer</div>
	 </if>
	 <if condition="$paladin <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Paladin.gif" width="20" height="20"> Paladin: $paladin</div>
	 </if>
	 <if condition="$ranger <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Ranger.gif" width="20" height="20"> Ranger: $ranger</div>
	 </if>
	 <if condition="$swashbuckler <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Swashbuckler.gif" width="20" height="20"> Swashbuckler: $swashbuckler</div>
	 </if>
	 <if condition="$shadowknight <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Shadowknight.gif" width="20" height="20"> Shadowknight: $shadowknight</div>
	 </if>
	 <if condition="$templar <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Templar.gif" width="20" height="20"> Templar: $templar</div>
	 </if>
	 <if condition="$troubador <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Troubador.gif" width="20" height="20"> Troubador: $troubador</div>
	 </if>
	 <if condition="$warden <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Warden.gif" width="20" height="20"> Warden: $warden</div>
	 </if>
	 <if condition="$warlock <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Warlock.gif" width="20" height="20"> Warlock: $warlock</div>
	 </if>
	 <if condition="$wizard <> "Closed"">
	 <div><img src=".././images/avatars/EQ2/Wizard.gif" width="20" height="20"> Wizard: $wizard</div>
	 </if>
</td>
</tr>

	</td>
	</tr>
	</tbody>
</table>
<br />
All classes marked "Closed" will be hidden.
The only drawback is that it has to only be "Closed" and not "closed" for it to be hidden.
Any other value numeric or alpha will cause the class to be displayed on the list.

check it out here
That's pretty funny, I use this for eq2 as well. I just modified it a little. What server you on ?
Reply With Quote
  #81  
Old 06-16-2007, 01:29 PM
SuprSurfr SuprSurfr is offline
 
Join Date: Apr 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One other thing... Is it possible to have the configuration portion collapsable like the other templates?

here is a pic.



It kind of sticks out and I would like to be able to make it collapsed by default with Vbadvanced options.

Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04757 seconds
  • Memory Usage 2,352KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete