- Compatible With Version
- 1.6+
- Supported
- Yes
This is a beta release, if you encounter any bugs reply below.
What this mod does:
Adds a "long description" field to join form and edit pages to allow your members to spice up their profile page.
Why a seperate field? why not just add this to the existing description?
Good question by adding a second field it allows us to display the short description on the ranking pages without all the BBcode being parsed. That would look ugly and slow things down. This way only the stats (profile) pages are "enhanced" with the bbcode.
What options are available via the BBCode?
At this time the editor supports the following tags:
bold, Italic, Underline, hyperlinks, and images
Installation:
Upload the zip file via the plugin manager as always.
Then you need to edit 3 templates:
1) Open stats.html
- Place {$long_description} where you want the long description to show.
2) Open edit_form.html
- Place {$form_long_description} where you want the form element to appear
- find the form submit button. In parabola's case
Add the following attribute to your submit button
3) Open join_form.html
- repeat the steps from #2 in here
- If your submit button already has an onclick attribute ( as in parabola's case ), you can simply concatenate the functions calls within, as shows below
Thats it! Enjoy
What this mod does:
Adds a "long description" field to join form and edit pages to allow your members to spice up their profile page.
Why a seperate field? why not just add this to the existing description?
Good question by adding a second field it allows us to display the short description on the ranking pages without all the BBcode being parsed. That would look ugly and slow things down. This way only the stats (profile) pages are "enhanced" with the bbcode.
What options are available via the BBCode?
At this time the editor supports the following tags:
bold, Italic, Underline, hyperlinks, and images
Installation:
Upload the zip file via the plugin manager as always.
Then you need to edit 3 templates:
1) Open stats.html
- Place {$long_description} where you want the long description to show.
2) Open edit_form.html
- Place {$form_long_description} where you want the form element to appear
- find the form submit button. In parabola's case
HTML:
<input name="submit" type="submit" value="{$lng->edit_header}" />
HTML:
onclick="wswgEditor.doCheck();"
- repeat the steps from #2 in here
- If your submit button already has an onclick attribute ( as in parabola's case ), you can simply concatenate the functions calls within, as shows below
HTML:
onclick="onSubmitButton(); wswgEditor.doCheck();"
Thats it! Enjoy