![]() |
World of Warcraft Profile Mod
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> Code:
<if condition="$post[field#]"><img src="images/$post[field#].gif" alt="$post[field10]"></if> Special Thanks to peterska2 for bringing this mod into prime time. I have included the images I used on my forums for your convenience. http://www.ilterendi.net/example.jpg |
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
|
thats not good for big boards... 30 + conditional statements is way too many... ermmm, there is another way to do this
|
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. |
Great! I am a vbb noob and if there is a better way I am all ears :)
|
You could reduce the amount of ifs by naming the selection as the name of the image, example:
PHP Code:
|
holy this is getting installed for sure :)
Edit: nevermind i figured it out on my own :) |
I did everything as you stated, but for some reason nothing shows up....
my site: http://en-raptured.com/main/ |
Quote:
|
Installed, thanks.
|
Quote:
Thanks |
Can you make this into an xml installer so it's more useful? Thanks!
|
Quote:
|
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.
|
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
|
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. |
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.
|
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.
|
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 |
Quote:
|
theres no shaman.gif
and with the new code implemented, images won't showup for character race because they are based on Male + Female, and that isnt the name of the gif's in this case.. |
If you are not using male and female, then you can remove that line from the code and replicate one of the other lines to use with the profile field that you have for race.
If you have a race that there are no images for, then you will need to make your own unless someone else has one that they are willing to share with you. |
Good catch you will need to add the following field
Character Gender: - Single-Selection Menu Male Female Thanks! |
any chance of a shaman.gif release or should i make my own?
|
Zip files updated to include shaman.gif
|
I like this mod, but I'm having a problem changing the fields. None of the images/tags (rogue, human, etc) are showing up.
Maybe you guys can help me out. I want to leave the professions out of it. So here's my field #'s... Gender = field9 Race = field10 Class = field11 Faction = field12 Can someone please show me how exactly to change the fields in the legacy? Because when I change it, nothing shows up. I'm frustrated with it and just need some answers. Thanks for the help in advance. EDIT: The images are in the "/images" root. |
Code:
<if condition="$post[field11]"><img src="images/$post[field11].gif" alt="$post[field11]"></if> |
Quote:
|
needed to change an underscore to a space in one of the lines, to correspond witht he images..
example here Code:
<if condition="$post['field6'] && $post['field5']"><img src="images/$post[field6] $post[field5].gif" alt="$post[field6] $post[field5]"></if> |
is there anyway to get this work on postbit?
|
thats the whole point. read the first post.
|
Is this working on 3.6? I mean its just profile fields, i assume it does
|
Anyone know where I can get some icons for Blood Elves?
|
Here are the class icons I used to update the mod on one of my sites. You will need to include Dranei and Blood Elf to the appropriate user profile field, and upload these to your appropriate image folder following the instructions of the OP. I still have yet to find a good jewelcrafting icon to update that field, if I find one I'll post it for you.
http://img78.imageshack.us/img78/586...ffemalehv4.gif http://img252.imageshack.us/img252/5...elfmaleml8.gif http://img78.imageshack.us/img78/605...ifemalerd1.gif http://img252.imageshack.us/img252/3...neimaleib6.gif |
It's not perfect, it needs a little work on the corners:
Jewelcrafting: http://www.brothersofnos.com/home/im...elcrafting.gif Have fun!! |
Would this also work for 3.6.5? I made the profiles but when I use the code (I figure the code would work fine) My images don't show
I put the images in /images/wowimages/ I am not doing something right. I just deleted the code so if you could help with the code that would be great cause what I am doing is not working. I got my profile fields set at gender, 5 race, 6 class, 7 faction, 8 professions 1, 9 professions 2. 10 |
GMRStudios,
I sent you a PM regarding posting an update to this mod for The Burning Crusade Expansion. |
I can't find the Postbit legacy option, is this another mod?
* nm i found it, i'm vbulletin noob |
excelent work dude!
|
Just thought I'd let everyone know that I've updated the images pack to include Blood Elves, Draenei, Death Knights, Jewelcrafting, and Inscription. You just need to add these new items to their appropriate profile fields. BTW, this still works in 3.8, and I made the modifications to the postbit template rather than the postbit legacy template.
|
All times are GMT. The time now is 05:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|