IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» Forumactif Edge - Releases
by Ange Tuteur Thu 14 Dec 2017, 11:25

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [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

» 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

Recent Tutorials
Top posting users this month

Who is online?
In total there are 13 users online :: 0 Registered, 0 Hidden and 13 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 : 4725
Points : 9714
Reputation : 2359
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

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Van-Helsing

Title :
Coding Expert.
I.T Manager.
Web Developer.
Gender : Male
Age : 43
Posts : 853
Points : 2578
Reputation : 84
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 : 4725
Points : 9714
Reputation : 2359
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

--------

Ange Tuteur
Tips and TricksContact Me

avatar
mist3r0us_b0y

Title :
Gender : Unspecified
Posts : 68
Points : 1737
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 : 4725
Points : 9714
Reputation : 2359
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

--------

Ange Tuteur
Tips and TricksContact Me

avatar
mist3r0us_b0y

Title :
Gender : Unspecified
Posts : 68
Points : 1737
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 : 4725
Points : 9714
Reputation : 2359
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.

--------

Ange Tuteur
Tips and TricksContact Me

avatar
mist3r0us_b0y

Title :
Gender : Unspecified
Posts : 68
Points : 1737
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 : 256
Points : 1342
Reputation : 81
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 : 26
Posts : 302
Points : 1841
Reputation : 76
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 : 4725
Points : 9714
Reputation : 2359
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.

--------

Ange Tuteur
Tips and TricksContact Me

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