Hello world! This is my first modification request in 4 years of membership, and it shouldn't be
too difficult - at least that is my vision.
I am looking for a "Build Addition" modification that will allow a user to set "builds" in their UserCP with an option for them to be added to their Profile page, in their threads, in the Calendar, etc. (with AdminCP settings regarding permissions for allowance to post these based on their usergroup).
When needed, I can gather all of the Skill images required to do this and I have attached a few to help get you started.
- Add_Build.jpg: What you could start with for the UserCP page to add a new build.
- Skill_Bar.png: The image I would like to use for the Skill Bar in this mod.
- In_Thread_Example.jpg: What a build added in a thread, calendar event, or profile could look like.
- Optional.png (it wouldn't attach right, so I hosted it myself): An image that can be used for a skill slot that was left blank (some builds in this game do not use all 8 skill slots, but leave 1 or more available for a user to choose what they would like to).
You would also need another page to select where a specific build would be used (ie - shown in profile).
Another option would be to add a dropdown box in the Calendar and New Thread templates for a user to have the ability to include a build they have saved in the UserCP.
Image Directory (can be different, but this would be easiest): $bburl/images/gw/
List of all skills:
http://wiki.guildwars.com/wiki/List_of_assassin_skills
(scroll to the bottom of the page for each of the other profession's skill list)
PvX WiKi --- a website that hosts builds for the game; go here if you need some more ideas (but I don't want a rip from their coding).
I would VERY much appreciate someone taking care of this as I am sure that it does not require too much scripting (although, I've been wrong before). Let me know what you would need from me to get this done. Thanks for your time!
Regards,
Sean
Template Edits (I'm no expert, so these are best guess)
Quote:
Open USERCP_SHELL
Find:
Code:
<tr>
<td class="thead">$vbphrase[miscellaneous]</td>
</tr>
Above it add:
Code:
<!-- my builds -->
<tr>
<td class="thead">$vbphrase[my_builds]</td>
</tr>
<tr>
<td class="alt2" nowrap="nowrap"><a class="smallfont" href="builds.php?$session[sessionurl]do=addnewbuild">$vbphrase[add_new_build]</a></td>
</tr>
<tr>
<td class="alt2" nowrap="nowrap"><a class="smallfont" href="builds.php?$session[sessionurl]do=editbuilds">$vbphrase[edit_my_builds]</a></td>
</tr>
<!-- / my builds -->
|
Quote:
New Template: builds_add_new
Code:
$buildpreview
<form action="builds.php?do=addnewbuild" method="post" id="buildform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="addnewbuild" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[add_new_build]</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[name_of_build]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[name_of_build_desc]<br /><input type="text" class="bginput" name="nameofbuild" id="tb_nameofbuild" value="(X/X) Change This" size="50" maxlength="50" /></td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>$vbphrase[build_type]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[build_type_desc]</td>
</tr>
<tr>
<td>
<div><label for="cb_pvx_build"><input type="checkbox" name="pvx_build" value="1" id="cb_pvx" $checked[pvx_build] />PvX</label><input type="hidden" name="set_builds[pvx]" value="1" /></div>
<div><label for="cb_pve_build"><input type="checkbox" name="pve_build" value="1" id="cb_pve" $checked[pve_build] />PvE</label><input type="hidden" name="set_builds[pve]" value="1" /></div>
<div><label for="cb_pvp_build"><input type="checkbox" name="pvp_build" value="1" id="cb_pvp" $checked[pvp_build] />PvP</label><input type="hidden" name="set_builds[pvp]" value="1" /></div>
<div><label for="cb_gvg_build"><input type="checkbox" name="gvg_build" value="1" id="cb_gvg" $checked[gvg_build] />GvG</label><input type="hidden" name="set_builds[gvg]" value="1" /></div>
<div><label for="cb_ab_build"><input type="checkbox" name="ab_build" value="1" id="cb_ab" $checked[ab_build] />AB</label><input type="hidden" name="set_builds[ab]" value="1" /></div>
<div><label for="cb_ha_build"><input type="checkbox" name="ha_build" value="1" id="cb_ha" $checked[ha_build] />HA</label><input type="hidden" name="set_builds[ha]" value="1" /></div>
<div><label for="cb_ta_build"><input type="checkbox" name="ta_build" value="1" id="cb_ta" $checked[ta_build] />TA</label><input type="hidden" name="set_builds[ta]" value="1" /></div>
<div><label for="cb_ra_build"><input type="checkbox" name="ra_build" value="1" id="cb_ra" $checked[ra_build] />RA</label><input type="hidden" name="set_builds[ra]" value="1" /></div>
<div><label for="cb_solo_build"><input type="checkbox" name="solo_build" value="1" id="cb_ra" $checked[solo_build] />Solo</label><input type="hidden" name="set_builds[solo]" value="1" /></div>
<div><label for="cb_other_build"><input type="checkbox" name="other_build" value="1" id="cb_ra" $checked[other_build] />Other</label><input type="hidden" name="set_builds[other]" value="1" /></div>
</td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend><label for="sel_profession">$vbphrase[profession]</label></legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[profession_desc]</td>
</tr>
<tr>
<td>
<span style="float:$stylevar[right]">
<select name="profession" id="sel_profession">
<option value="1" $aselected>Assassin</option>
<option value="2" $dselected>Dervish</option>
<option value="3" $eselected>Elementalist</option>
<option value="4" $meselected>Mesmer</option>
<option value="5" $moselected>Monk</option>
<option value="6" $nselected>Necromancer</option>
<option value="7" $pselected>Paragon</option>
<option value="8" $rselected>Ranger</option>
<option value="9" $rtselected>Ritualist</option>
<option value="10" $wselected>Warrior</option>
</select>
</span>
<label for="sel_profession">$vbphrase[profession]:</label>
</td>
</tr>
<tr>
<td>
<span style="float:$stylevar[right]">
<select name="secondary" id="sel_secondary">
<option value="1" $aselected>Assassin</option>
<option value="2" $dselected>Dervish</option>
<option value="3" $eselected>Elementalist</option>
<option value="4" $meselected>Mesmer</option>
<option value="5" $moselected>Monk</option>
<option value="6" $nselected>Necromancer</option>
<option value="7" $pselected>Paragon</option>
<option value="8" $rselected>Ranger</option>
<option value="9" $rtselected>Ritualist</option>
<option value="10" $wselected>Warrior</option>
</select>
</span>
<label for="sel_secondary">$vbphrase[secondary]:</label>
</td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend><label for="sel_skillset">$vbphrase[skillset]</label></legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[skillset_desc]</td>
</tr>
<tr>
<td>
<span style="float:$stylevar[right]">
<select name="skill1" id="sel_skill1">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill1">$vbphrase[skill1]:</label>
</td>
<td>
<span style="float:$stylevar[right]">
<select name="skill2" id="sel_skill2">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill2">$vbphrase[skill2]:</label>
</td>
</tr>
<tr>
<td>
<span style="float:$stylevar[right]">
<select name="skill3" id="sel_skill3">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill3">$vbphrase[skill3]:</label>
</td>
<td>
<span style="float:$stylevar[right]">
<select name="skill4" id="sel_skill4">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill4">$vbphrase[skill4]:</label>
</td>
</tr>
<tr>
<td>
<span style="float:$stylevar[right]">
<select name="skill5" id="sel_skill5">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill5">$vbphrase[skill5]:</label>
</td>
<td>
<span style="float:$stylevar[right]">
<select name="skill6" id="sel_skill6">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill6">$vbphrase[skill6]:</label>
</td>
</tr>
<tr>
<td>
<span style="float:$stylevar[right]">
<select name="skill7" id="sel_skill7">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill7">$vbphrase[skill7]:</label>
</td>
<td>
<span style="float:$stylevar[right]">
<select name="skill8" id="sel_skill8">
<option value="1" $aselected>Skill A</option>
<option value="2" $bselected>Skill B</option>
<option value="3" $cselected>Skill C</option>
<option value="4" $deselected>Skill D</option>
<option value="5" $eoselected>Skill E</option>
<option value="6" $fselected>Skill F</option>
<option value="7" $gselected>Skill G</option>
<option value="8" $hselected>Skill H</option>
<option value="9" $itselected>Skill I</option>
<option value="10" $jselected>Skill J</option>
</select>
</span>
<label for="sel_skill8">$vbphrase[skill8]:</label>
</td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>$vbphrase[build_template]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[build_template_desc]<br /><input type="text" class="bginput" name="buildtemplate" id="tb_buildtemplate" value="[(X/X) Change This;XXXXXXXXXX]" size="50" maxlength="100" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
|