PDA

View Full Version : Everquest 2 Postbit Mod


turnipofdoom
13 Feb 2007, 03:25
This Modification will walk you through creating user profile fields that will output Everquest 2 icons in your users' postbit with the addition of the postbit_legacy template. The coding is very similar to a great WoW mod by gmrstudios, found here (http://www.vbulletin.org/forum/showthread.php?t=120182). This template modification will generate a total of five (5) icons for your users. I have provided the icons from Everquest 2 as well as personally created 1-100 icons for the Adventure and AA levels. The post

To begin, you'll need to add some new single selection menu fields. Make sure you note the assigned ID for each field added, you'll need it for coding input purposes. Also please make sure you remove the asterisks if you cut and paste or the input will not work. ^.^

First field:

Title: EQ2 Character Gender

Options:

Male
Female

---
Second field:

Title: EQ2 Character Race

Options:

Barbarian
Dark Elf
Dwarf
Erudite
Fae
Froglok
Gnome
Half Elf
Halfling
High Elf
Human
Iksar
Kerra
Ogre
Ratonga
Troll
Wood Elf

---
Third field:

Title: EQ2 Character Class

Options:

Assassin
Berserker
Brigand
Bruiser
Coercer
Conjuror
Defiler
Dirge
Fury
Guardian
Illusionist
Inquisitor
Monk
Mystic
Necromancer
Paladin
Ranger
Shadow Knight
Swashbuckler
Templar
Troubador
Warden
Warlock
Wizard

---
Fourth Field:

Title: EQ2 Tradeskill

Options:


Alchemist
Armorer
Carpenter
Jeweler
Provisioner
Sage
Tailor
Weaponsmith
Woodworker

---

Fifth Field:

Title: EQ2 Adventure Level

Options: (List numbers 1 through 70; see post below for cut and paste)

---
Sixth Field:

Title: EQ2 AA Level

Options: (List numbers 1AA through 100AA; see post below for cut and paste)

---

Now that you've created the fields, cut and pasted the information into the options box, and made note of the fieldID for each new userfield, we need to modify the postbit_legacy template in your current style:

Find:
<if condition="$show['avatar']"><div class="smallfont">&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if>

Underneath, add:
<!-- EQ2 Postbit -->
<if condition="$post[fieldA] && $post[fieldB]"><img src="images/$post[fieldA]_$post[fieldB].gif" alt="$post[fieldA] $post[fieldB]"></if>
<if condition="$post[fieldC]"><img src="images/$post[fieldC].gif" alt="$post[fieldC]"></if>
<if condition="$post[fieldD]"><img src="images/$post[fieldD].gif" alt="$post[fieldD]"></if>
<if condition="$post[fieldE]"><img src="images/$post[fieldE].gif" alt="$post[fieldE]"></if>
<if condition="$post[fieldF]"><img src="images/$post[fieldF].gif" alt="$post[fieldF]"></if>
<!-- / End EQ2 Postbit -->

Where fieldA = Race, fieldB = Gender, fieldC = Class, fieldD = Profession, fieldE = Adventure Level, and FieldF = AA Level (replace those with the ID given to you when creating the profile field.)

Now upload the attached icons to an appropriate image folder and change the img src coding to match the location. You should be set!

Demo (http://www.eq2trinitas.com/forum/showthread.php?t=34)

turnipofdoom
13 Feb 2007, 03:26
*reserved*

turnipofdoom
13 Feb 2007, 03:28
For courtesy's sake, and because typing out 1-70 and then 1AA-100AA is a pain:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

---

1AA
2AA
3AA
4AA
5AA
6AA
7AA
8AA
9AA
10AA
11AA
12AA
13AA
14AA
15AA
16AA
17AA
18AA
19AA
20AA
21AA
22AA
23AA
24AA
25AA
26AA
27AA
28AA
29AA
30AA
31AA
32AA
33AA
34AA
35AA
36AA
37AA
38AA
39AA
40AA
41AA
42AA
43AA
44AA
45AA
46AA
47AA
48AA
49AA
50AA
51AA
52AA
53AA
54AA
55AA
56AA
57AA
58AA
59AA
60AA
61AA
62AA
63AA
64AA
65AA
66AA
67AA
68AA
69AA
70AA
71AA
72AA
73AA
74AA
75AA
76AA
77AA
78AA
79AA
80AA
81AA
82AA
83AA
84AA
85AA
86AA
87AA
88AA
89AA
90AA
91AA
92AA
93AA
94AA
95AA
96AA
97AA
98AA
99AA
100AA

Ev!L ErN!E
18 Feb 2007, 00:47
hmmm looks good... I will try this out.

BlackxRam
03 Aug 2007, 16:30
nice man thx

BlackxRam
12 Aug 2007, 01:41
Any updated icons for Fae and Arasai or even the upcoming Sarnak?

Mother_Dee
12 Aug 2007, 03:31
Below are updated icons for both the Arasai Female and the Arasai Male:

Be sure to add Arasai above Barbarian in the EQ2 Character Race box as a selection choice.

I haven't seen icons for Sarnak yet, I'll keep looking. I'm sure that there will be once the RoK expansion creeps closer to release in November.

BlackxRam
25 Aug 2007, 14:18
Cool looks nice thanks =)

Mother_Dee
15 Nov 2007, 20:55
Sarnak Female: http://img528.imageshack.us/img528/7217/sarnakfemalecropca1.gif

Sarnak Male: http://img111.imageshack.us/img111/9118/sarnakmalecropxi8.gif

Remember to add Sarnak to your User Profile Field "Race" list.

I'll work on new icons (numbers up to 140) sometime soon, for now the AAs past 100 will default to text without an existing icon, once you've added 71-80 and 101AA-140AA to your User Profile Field "Adventure Level" and "AA Level" lists.

Enjoy RoK!

BlackxRam
23 Dec 2007, 20:55
Looking very nice, by chance did you create the new level cap icons and aa icons?

Mother_Dee
22 Jan 2008, 13:59
I found that I've lost my originals and expecting #4 I just don't have the time to create 140 new icons, so I've created a workaround that the users on my forums like:

<!-- EQ2 Postbit -->
<if condition="$post[fieldA] && $post[fieldB]"><img src="images/$post[fieldA]_$post[fieldB].gif" alt="$post[fieldA] $post[fieldB]"></if>
<if condition="$post[fieldC]"><img src="images/$post[fieldC].gif" alt="$post[fieldC]"></if>
<if condition="$post[fieldD]"><img src="images/$post[fieldD].gif" alt="$post[fieldD]"></if>
<if condition="$post[fieldE]"><img src="images/$post[fieldE].gif" alt="$post[fieldE]"></if>
<if condition="$post[fieldF]"><img src="images/star.png" alt="$post[fieldF]" height="18" width="20"></if></div>
<!-- /End EQ2 Postbit -->


Simply put, it outputs a star icon for the AA level, upon mouseover you will still be able to view the actual number (just like you can for any of the icons.) You can use any image you like in that spot provided it looks good and scales correctly. At this point it's a huge improvement over the plain text above 100AA.

If anyone has created new icons and would like to contribute since I'm lacking in time, it would be appreciated. Sorry for the delay.