IMPORTANT

FM Design will be closing soon, please click here for more information.

Latest topics
» Forum Closure
by brandon_g Yesterday at 17:00

» [GAME] Countdown from 200,000
by SLGray Sat 09 Dec 2017, 17:49

» [GAME] Count to One Million!
by SLGray Sat 09 Dec 2017, 17:49

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Asking about some plugin for Forumotion
by SarkZKalie Wed 06 Dec 2017, 09:14

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

» Numbering of messages in the topic
by SLGray Mon 04 Dec 2017, 22:40

» Support Forums and Social Networks
by SLGray Mon 04 Dec 2017, 22:38

» Browsers & Updates
by Wolfuryo Mon 04 Dec 2017, 15:20

» Logo/Favicon
by Mr_Grande Mon 04 Dec 2017, 09:55

» Broadcasting Duo
by brandon_g Sun 03 Dec 2017, 11:01

» IconSkouliki Graphics
by skouliki Thu 30 Nov 2017, 07:59

» [HELP] About Profile Cover Code
by omarpop23 Thu 30 Nov 2017, 04:17

Recent Tutorials
Who is online?
In total there are 10 users online :: 0 Registered, 0 Hidden and 10 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Widget : Notepad

View previous topic View next topic Go down

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4715
Points : 9615
Reputation : 2344
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 17 Feb 2016, 10:16

With this widget you'll be able to jot down personal notes directly on your forumotion forum, so you can remind yourself about something later on. Wink


Click to view demo

The notes are stored in your browser locally using the Storage API or Cookies. Before you install this widget here are some important things to note about this module :

  1. The notes are stored locally using the Storage API. If the Storage API is not supported the notes will be saved to a cookie.
  2. The amount of text that can be stored varies from browser to browser, but as long as your browser is up to date it should be able to save a lot of text.
  3. Your notes will disappear if you clear your browser cache / cookies or use another browser.
  4. Notes are stored individually between accounts, so you will have different notes saved if you log into another account.
  5. Notes are automatically saved as you type.

If you want to install this widget please continue. Smile


Installation


To install this widget go to Admin Panel > Modules > Forum widgets management and create a new widget

Widget name and Title : Notepad
Use a table type : Yes
Widget source :
Code:
<!--
DEVELOPED BY ANGE TUTEUR
NO DISTRIBUTION WITHOUT CONSENT OF THE AUTHOR
ORIGIN : http://fmdesign.forumotion.com/t396-widget-notepad#3174
-->
<style type="text/css">
#fa_notepad {
  color:#333;
  background:#FFF;
  border:1px dotted #CCC;
  font-size:13px;
  font-family:Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  width:150px !important;
  height:150px !important;
  resize:none;
  overflow:hidden;
  overflow-y:auto;
  outline:none;
  display:block;
  padding:3px;
  margin:0 auto !important;
}
</style>
<textarea id="fa_notepad"></textarea>
<script type="text/javascript">//<![CDATA[
(function() {
  var notepad = document.getElementById('fa_notepad');
  if (notepad) {
    var key = 'fa_notepad_u' + _userdata.user_id,
        storage = window.localStorage,
        handler = function() {
          var key = 'fa_notepad_u' + _userdata.user_id,
              val = this.value,
              storage = window.localStorage;
         
          storage ? storage[key] = val : my_setcookie(key, val);
        };
   
    notepad.value = (storage ? storage[key] : my_getcookie(key)) || _userdata.username + '\'s personal notes...';
    notepad.oninput ? notepad.oninput = handler : notepad.onkeyup = handler;
  }
}());
// par ange tuteur
//]]></script>

Once you're finished click the save button and then drag and drop the widget into the column you want. After that you should be able to write yourself as many reminders or notes as you like ! cheers

Modifications


If you want to make some modifications to the colors of the notepad you can change them by modifying the CSS at the top of the widget :
Code:
<style type="text/css">
#fa_notepad {
  color:#333;
  background:#FFF;
  border:1px dotted #CCC;
  font-size:13px;
  font-family:Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  width:150px !important;
  height:150px !important;
  resize:none;
  overflow:hidden;
  overflow-y:auto;
  outline:none;
  display:block;
  padding:3px;
  margin:0 auto !important;
}
</style>

Note that the colors are at the very top :
Code:
  color:#333; /* FONT COLOR */
  background:#FFF; /* BACKGROUND COLOR */
  border:1px dotted #CCC; /* BORDER COLOR */
Change these values to suit your forum.


If you have any problems or questions feel free to leave a response below. Other than that, enjoy ! Very Happy


Notice
Tutorial written by Ange Tuteur.
Reproduction not permitted without consent from the author.


Last edited by Ange Tuteur on Wed 20 Apr 2016, 12:26; edited 3 times in total
avatar
Van-Helsing

Title :
Coding Expert.
I.T Manager.
Web Developer.
Gender : Male
Age : 43
Posts : 852
Points : 2500
Reputation : 81
Location : Somewhere out there!
Language : English, Greek
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : punBB
Awards :
View all awards
View user profile http://itexperts.forumgreek.com/

PostVan-Helsing on Wed 17 Feb 2016, 11:41

Very nice and very beautiful @Ange Tuteur. cheers

--------

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4715
Points : 9615
Reputation : 2344
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 17 Feb 2016, 12:33

Dark-Avenger wrote:Very nice and very beautiful @Ange Tuteur. cheers
Thanks ! Thumb right
avatar
mist3r0us_b0y

Title :
Gender : Unspecified
Posts : 68
Points : 1663
Reputation : 16
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile

Postmist3r0us_b0y on Wed 17 Feb 2016, 13:09

great share ange !
you always comes up with new idea's

thanks !

--------

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4715
Points : 9615
Reputation : 2344
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 17 Feb 2016, 13:38

@mist3r0us_b0y wrote:great share ange !
you always comes up with new idea's

thanks !
No problem, but you have Andrei34 to thank for the idea, I only animated it. Wink
avatar
mist3r0us_b0y

Title :
Gender : Unspecified
Posts : 68
Points : 1663
Reputation : 16
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile

Postmist3r0us_b0y on Wed 17 Feb 2016, 13:51

@Ange Tuteur wrote:
@mist3r0us_b0y wrote:great share ange !
you always comes up with new idea's

thanks !
No problem, but you have Andrei34 to thank for the idea, I only animated it. Wink
ohh ya ... @Andrei34 thanks ....


anyway i have issue with database ( can u please redirect me where do i get help cause its locked i cnt reply to it Smile

--------

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4715
Points : 9615
Reputation : 2344
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 17 Feb 2016, 14:00

@mist3r0us_b0y wrote:anyway i have issue with database ( can u please redirect me where do i get help cause its locked i cnt reply to it Smile
I discontinued the database project, I'd recommend not using it because it's no longer supported.
avatar
mist3r0us_b0y

Title :
Gender : Unspecified
Posts : 68
Points : 1663
Reputation : 16
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile

Postmist3r0us_b0y on Wed 17 Feb 2016, 14:01

ohh no i was in need of a shoutbox ...

ok thanks for answring

--------

avatar
Wolfuryo

Gender : Male
Posts : 252
Points : 1263
Reputation : 80
Language : Romanian and English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile

PostWolfuryo on Fri 19 Feb 2016, 09:19

Thanks Ange. It is working great on my forum.
avatar
Guest
Guest
View all awards

PostGuest on Fri 02 Dec 2016, 14:32

This looks interesting. If it had (a) button(s) like CLEAR (, COPY & PASTE), I'm willing to give it a try.
avatar
Michael_vx

Title :
Gender : Male
Age : 25
Posts : 301
Points : 1765
Reputation : 75
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx on Sun 02 Jul 2017, 00:04

so this note will be different to each visitor
right ?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4715
Points : 9615
Reputation : 2344
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 03 Jul 2017, 11:25

Hi @Michael_vx,

Yes, the data is stored in your browser, so only you will be able to see your notes.

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum