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
  #12  
Old 07-05-2006, 02:19 AM
DoKoK DoKoK is offline
 
Join Date: Sep 2004
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stifler
your in "postbit" mode, chang your site to "postbit legacy" because thats where you made the modifications.
Where Can I change to postbit legacy from postbit?

Thanks
Reply With Quote
  #13  
Old 07-05-2006, 11:55 AM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make this into an xml installer so it's more useful? Thanks!
Reply With Quote
  #14  
Old 07-05-2006, 11:58 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Borgs8472
Can you make this into an xml installer so it's more useful? Thanks!
There really is no need for that as it is a one template edit modification after setting up your profile fields.
Reply With Quote
  #15  
Old 07-05-2006, 12:01 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes but I am lazy. This is just info on how to make this entirely manually which I already know. If it actually saved me some time or taught me something I didn't know, I'd 'install' it.
Reply With Quote
  #16  
Old 07-05-2006, 12:17 PM
lanc3lot's Avatar
lanc3lot lanc3lot is offline
 
Join Date: Sep 2004
Location: Athens, Greece
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So is it safe to install it or a newer version with less statements will be released? Also an xml will be handy ,mostly for the profile fields u have to add manually
Reply With Quote
  #17  
Old 07-05-2006, 06:15 PM
gmrstudios gmrstudios is offline
 
Join Date: May 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I knew how to create an XML installer I would, but as mentioned before I am pretty darn new to this stuff.

I would also love to know how this can be made to use less if statements.

The one suggested above, works to a point but does not properly display the "alt" tab assigned to each image.
Reply With Quote
  #18  
Old 07-05-2006, 06:17 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've not yet come across a way to add profile fields via xml, and I've tried quite a lot as I have a modification that is reliant on a large number of them.
Reply With Quote
  #19  
Old 07-07-2006, 05:44 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, an installer of some kind would be troublesome at best. How would it know what the numbers of the new profile fields are? Not everyone adds their own, and some people would have already added some of their own...so it would be different for each installation.
Reply With Quote
  #20  
Old 07-10-2006, 01:22 AM
Grant Grant is offline
 
Join Date: Jan 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why does mine bring up numbers where the images are supposed to go?

It's like it's trying to have the image names as the order that the options are in?

Like Alliance = 1.gif
Horde = 2.gif
Reply With Quote
  #21  
Old 07-10-2006, 01:28 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Grant
Why does mine bring up numbers where the images are supposed to go?

It's like it's trying to have the image names as the order that the options are in?

Like Alliance = 1.gif
Horde = 2.gif
Did you set your profile field to single selection menus not multiple selction menus?
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 08:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04954 seconds
  • Memory Usage 2,303KB
  • 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
  • (3)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