Additional Info
Type
Package ID
yodaofdarkness:ajaxpersonal
First Created
August 14, 2008, 06:41:26 AM
Last Updated
March 23, 2009, 12:46:50 AM

AJAX Personal Text v1.0.2

Inserts an discreet AJAX-based text field in the header where you can update your personal text
Compatible With 2.0 Beta 3.1 Public, 2.0 RC1
Latest version v1.0.2
Downloads 31,226
Reviews 0
Rating 0/5
Subscribers 8
License (View License)
Author(s)
Screenshots


AJAX Personal Text v1.0.2



Introduction
An AJAX-based personal text updater, which will place a user's personal text at the top of the forum. When it is clicked, it turns into a text box and allows the user to edit their personal text on the fly, without ever leaving the page.

Features
o A small line of text is put next to your username at the top of the (default) theme. Add the following where you want this to go in other themes:
&raquo; <span style="font-size: 80%; padding: 3px;" id="update_personal_text">', !empty($context['user']['personal_text']) ? $context['user']['personal_text'] : $txt['ajax_personal_text_none'], '</span>
<script language="JavaScript" type="text/javascript"><!-- // -->
// Ajaxify that personal text!
if (typeof(window.XMLHttpRequest) != "undefined")
{
aPersonalText[0] = new PersonalText({
sBackReference: "aPersonalText[0]",
sScriptUrl: "', $scripturl, '",
sLabelPersonalText: "', $txt['personal_text'], '",
sLabelSubmitText: "', $txt['submit'], '",
sLabelCancelText: "', $txt['cancel'], '",
sBoxBackground: "transparent",
sBoxBackgroundHover: "#ffffff",
iBoxBorderWidthHover: 1,
sBoxBorderColorHover: "#adadad" ,
sItemBorder: "1px solid #ffffff",
sItemBorderHover: "1px dotted gray",
sItemBackground: "transparent",
sItemBackgroundHover: "#e0e0f0"
});
}
</script>

o To use this mod, just click the line of text and it will turn into a text box!
o There are NO admin features for this modification.


Support
Please use the modification thread for support with this modification. Personal messages for support are discouraged.

Languages
o English
o English UTF-8
If you have any translations for any other languages, I would be grateful if you would send them to me via PM or in the Mods topic.

Changelog
> Comment
+ Addition
- Error/bug fix

Version 1.0 Aug. 14th, 2008
> Initial Release

Version 1.0.1 Aug. 28th, 2008
- "Press 'Enter' to submit" fixed
- Still doesn't work correctly with foreign character sets.

Version 1.0.2 Mar. 22nd, 2009
> Upgraded for 2.0 RC1
- Turkish problem solved!
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: