Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
World of Warcraft Profile Mod Details »»
World of Warcraft Profile Mod
Version: 1.00, by gmrstudios gmrstudios is offline
Developer Last Online: Apr 2016 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-02-2006 Last Update: Never Installs: 25
 
No support by the author.

Begin by adding the appropriate profile fields:

Admincp > User Profile Fields > Add New User Profile Field > Single-Selection Menu

Character Gender: - Single-Selection Menu

Male
Female

Character Race: - Single-Selection Menu

Dwarf
Gnome
Human
Night Elf
Orc
Tauren
Troll
Undead

Character Class: - Single-Selection Menu

Druid
Hunter
Mage
Paladin
Priest
Rogue
Shaman
Warlock
Warrior

Character Faction: - Single-Selection Menu

Alliance
Horde

Profession 1: - Single-Selection Menu

Alchemy
Blacksmithing
Enchanting
Engineering
Herbalism
Leatherworking
Mining
Skinning
Tailoring

Profession 2: - Single-Selection Menu

Alchemy
Blacksmithing
Enchanting
Engineering
Herbalism
Leatherworking
Mining
Skinning
Tailoring

When thats complete find your postbit_legacy template by going to Admincp > Styles & Templates > Postbit Templates > postbit_legacy

Find:
Code:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
Place the following code after it:
Code:
<if condition="$post[field#]"><img src="images/$post[field#].gif" alt="$post[field10]"></if>
<if condition="$post[field#race] && $post[field#gender]"><img src="images/$post[field#race]_$post[field#gender].gif" alt="$post[field#race] $post[field#gender]"></if>
<if condition="$post[field#]"><img src="images/$post[field#].gif" alt="$post[field9]"></if>
<if condition="$post[field#]"><img src="images/$post[field#].gif" alt="$post[field11]"></if>
<if condition="$post[field#]"><img src="images/$post[field#].gif" alt="$post[field12]"></if>
When your done just edit the [field#] to match those in your User Profiles Manager and edit the img src location to the folder of your choice.

Special Thanks to peterska2 for bringing this mod into prime time.

I have included the images I used on my forums for your convenience.

Show Your Support

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

Comments
  #2  
Old 07-03-2006, 12:07 AM
SMO's Avatar
SMO SMO is offline
 
Join Date: Sep 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey...that is very cool.. i like the work in it. I dont play WoW but dang..that is a avery ncie mod for those that do
Reply With Quote
  #3  
Old 07-03-2006, 12:35 AM
Injektilo's Avatar
Injektilo Injektilo is offline
 
Join Date: Jun 2004
Location: Cyprus
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats not good for big boards... 30 + conditional statements is way too many... ermmm, there is another way to do this
Reply With Quote
  #4  
Old 07-03-2006, 01:19 AM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, that looks really cool. lol Maybe it would be kinda bad with so many conditionals...but it's hard to measure what strain conditionals put on the server.

Great work though.
Reply With Quote
  #5  
Old 07-03-2006, 01:54 AM
gmrstudios gmrstudios is offline
 
Join Date: May 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! I am a vbb noob and if there is a better way I am all ears
Reply With Quote
  #6  
Old 07-03-2006, 02:19 AM
Cole2026 Cole2026 is offline
 
Join Date: Feb 2004
Location: Pittsburgh, PA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could reduce the amount of ifs by naming the selection as the name of the image, example:
PHP Code:
    <if condition="$post['field10']"><img src="images/$post[field10].gif" alt="$post[field10]"></if> 
As you can see, if you would set the name of the image to the selection, you could save yourself ALOT of different ifs.
Reply With Quote
  #7  
Old 07-03-2006, 03:57 AM
Tork64 Tork64 is offline
 
Join Date: Jun 2006
Location: Burbank, California
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

holy this is getting installed for sure

Edit: nevermind i figured it out on my own
Reply With Quote
  #8  
Old 07-03-2006, 08:47 PM
DoKoK DoKoK is offline
 
Join Date: Sep 2004
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did everything as you stated, but for some reason nothing shows up....

my site: http://en-raptured.com/main/
Reply With Quote
  #9  
Old 07-04-2006, 04:41 AM
Stifler Stifler is offline
 
Join Date: Jan 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DoKoK
I did everything as you stated, but for some reason nothing shows up....

my site: http://en-raptured.com/main/
your in "postbit" mode, chang your site to "postbit legacy" because thats where you made the modifications.
Reply With Quote
  #10  
Old 07-04-2006, 06:23 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks.
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 01:25 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.04522 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_php
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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