vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Everquest 2 Postbit Mod (https://vborg.vbsupport.ru/showthread.php?t=139263)

turnipofdoom 02-12-2007 10:00 PM

Everquest 2 Postbit Mod
 
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. 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:
Code:

<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:
Code:

<!-- 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

turnipofdoom 02-13-2007 02:26 AM

*reserved*

turnipofdoom 02-13-2007 02:28 AM

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 02-17-2007 11:47 PM

hmmm looks good... I will try this out.

BlackxRam 08-03-2007 03:30 PM

nice man thx

BlackxRam 08-12-2007 12:41 AM

Any updated icons for Fae and Arasai or even the upcoming Sarnak?

Mother_Dee 08-12-2007 02:31 AM

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 08-25-2007 01:18 PM

Cool looks nice thanks =)

Mother_Dee 11-15-2007 07:55 PM

Sarnak Female: http://img528.imageshack.us/img528/7...alecropca1.gif

Sarnak Male: http://img111.imageshack.us/img111/9...alecropxi8.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 12-23-2007 07:55 PM

Looking very nice, by chance did you create the new level cap icons and aa icons?


All times are GMT. The time now is 01:05 AM.

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.01089 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete