vBulletin Modifications

Military System

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 09-20-2005, 05:34 PM   #1
Coder
Nick King's Avatar
Join Date: Aug 2005
Real Name: Nick King
Location: Charging the trenches!
Nick King is on a distinguished road

Default Military System

My site is www.oxy-moron.net.

I created a military based rank structure. I used dozens and dozens of lines of code. It's a neat trick. "IS MEMBER OF" and "display image". This helps so that rank insignias appear while each rank has it's own permissions.

I used the profile fields to create private fields. All awards (ribbons and medals). Then in the templates I did "IF $post['fieldx'] & 1" etc. with images again. This system is really cool now that it's almost done.

I posted this for two reasons. ONE: to give you an idea of another clever way of having detailed rank structures and awards systems. TWO: to ask a question.

I have alot of code in the templates. This isn't exactly "neccessary" but would look neater. Can I recall a .php file inside a template? <?php inlcude> etc. I would rather have all my nice hand-written code in a PHP file instead of strewn about the template. It would also be easier to organize and share my hack.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install system updated Ken Iovino Announcements 7 11-17-2006 02:59 PM
Military Rank System for vb 3.0.7 Kenshin11 vBulletin Modification Requests 5 12-12-2005 06:36 PM


All times are GMT -3. The time now is 12:57 AM.


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc. (Patent Pending)