Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Hot Topic (More than 10 Replies) Personal Notepad (Read 5503 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Personal Notepad
Jan 5th, 2015 at 8:58pm
Mark & QuoteQuote  
Personal Notepad for YaBB 2.6.11
Version: 0.9
Description
-----------
Adds a Personal Notepad to the User CP

Installation
------------
1) Modify YaBB files using BoardMod or manually.
2) Upload personal_notepad.template to yabb2/Templates/default/Mods.
3) Upload modified files to your server in ASCII mode.
4) Go to 'Admin Center - Forum Settings - Members - Profile' to enable this feature.

Files to edit
-------------
Admin/ModList.pm
Admin/NewSettings.pm
Admin/Settings_Main.pm
Languages/English/Admin.lng
Languages/English/Profile.lng
Sources/MyCenter.pm
Sources/PostBox.pm
Sources/Profile.pm
Sources/SubList.pm
Sources/System.pm
Templates/default/MyCenter.template

Version History
---------------
V0.1 - First release - 23rd November 2009
V0.2 - Added Spell Checking (if enabled) - 24th November 2009
V0.3 - Tidied up textarea - 25th November 2009
V0.4 - Added auto-focus if textarea is empty - 14th December 2009
V0.5 - Updated for YaBB 2.5 and made changes so that notes can only be viewed by the user - 16th July 2010
V0.6 - Updated for YaBB 2.6.0 by Dandello - 9th July, 2014
V0.7 - Updated for YaBB 2.6.1 by Dandello - 4th Sept, 2014
V0.8 - Updated for YaBB 2.6.11 by Dandello - 5th Jan, 2015
V0.9 - Template code put into personal_notepad.template, reuse PostBox spellcheck code - 13th Jan, 2015
Edited:
html code put into new template

« Last Edit: Feb 22nd, 2015 at 10:59pm by Dandello » 
Reason: New German files 

Personal_Notepad_2611c.zip ( 4 KB | 176 Downloads )
Personal_Notepad_German_files_a.zip ( 2 KB | 185 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Personal Notepad
Reply #1 - Jan 5th, 2015 at 10:21pm
Mark & QuoteQuote  
Oops! Problem with this one!

Somehow this mod breaks the added mod list. I didn't notice that at first. I think the problem is a single quote (') for open, then tries to close with double quote. (")

Other than that ... Installs smoothly, and is working for me.
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Personal Notepad
Reply #2 - Jan 6th, 2015 at 3:25am
Mark & QuoteQuote  
There are days it's just better to stay in bed... Embarrassed
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Personal Notepad
Reply #3 - Jan 6th, 2015 at 4:44am
Mark & QuoteQuote  
Look at it this way ... there are thousands of characters that make up this, or indeed, almost any mod. And in this case, one single character was wrong. So it was probably less than 1/100 of a percent in error!
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Personal Notepad
Reply #4 - Jan 14th, 2015 at 4:36pm
Mark & QuoteQuote  
New zip in 1st post - html put into new template.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Personal Notepad
Reply #5 - Jan 21st, 2015 at 8:16am
Mark & QuoteQuote  
Um ... this fails on step 10 for me ... there is nothing in my PostBox.pm that looks even close to what it is looking for ... and no other mods have changed it from what I have seen.
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Personal Notepad
Reply #6 - Jan 21st, 2015 at 3:07pm
Mark & QuoteQuote  
Step 10 is looking for
Code (Perl)
Select All
    if ( !$img_greybox || $action eq 'guestpm' ) { 


  in sub googiea (line 403 in PostBox.pm).

I'm pretty sure there's at least one other mod needing Greybox.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Personal Notepad
Reply #7 - Jan 21st, 2015 at 4:32pm
Mark & QuoteQuote  
Problem is, I have gone through every mod that interacts with that file, looking for a change to that portion of the code, and I am not finding any.

At this point I am finding the following mods that touch that file:

censor off
Guestbook (not currently installed)
Hide Text
Marquee
Off Topic Tag (not currently installed)
Seemly
Spoiler Tag (not currently installed)

Not one of them seems to poke around in that subroutine. All I can think of is maybe some mod tweaked that in an earlier version, but in uninstalling and reinstalling, something didn't get cleaned out.

I guess I am going to have to wait until the next round of testing to check on this particular mod.

Edited:
No, I'm sorry to have to do this, but ... just ... no!

Extracted the untouched PostBox.pm file from the 2.6.11 zip file, to find the following code for the googiea subroutine:

Code
Select All
sub googiea {
     $googiea =
 qq~<link rel="stylesheet" href="$yyhtml_root/googiespell/googiespell.css" type="text/css" />
 <script type="text/javascript" src="$yyhtml_root/googiespell/googiespell.js"></script>
 <script type="text/javascript" src="$yyhtml_root/googiespell/cookiesupport.js"></script>~;
     if ( $img_greybox == 0 ) {
         $googiea .= qq~\n<script type="text/javascript" src="$yyhtml_root/AJS.js"></script>~;
     }
     return $googiea;
 }
  



If there has been a change, it is not a change by a mod, but a change to the base code since the release of 2.6.11, so you are going to have to help me know what to change, and this mod isn't going to install for any random person off the street, using the base package.


Edited:
And let me be clear ... I'm not mad or anything, I'm just saying this isn't a mod conflict, but perhaps a version vs beta conflict or such.
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Personal Notepad
Reply #8 - Jan 21st, 2015 at 7:29pm
Mark & QuoteQuote  
Smiley It was a bug fix. Change
Code
Select All
    if ( $img_greybox == 0 ) { 


  to
Code
Select All
    if ( !$img_greybox || $action eq 'guestpm' ) { 

(this will also fix a problem with GoogieSpell not working properly for Guest PMs.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Personal Notepad
Reply #9 - Jan 21st, 2015 at 8:50pm
Mark & QuoteQuote  
Now it installs, and seems to be working well!

Thank you! Dandello!
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Personal Notepad
Reply #10 - Feb 22nd, 2015 at 10:55am
Mark & QuoteQuote  
Germanfiles UTF-8 only.
Please make in ANSI.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Personal Notepad
Reply #11 - Feb 22nd, 2015 at 3:40pm
Mark & QuoteQuote  
Updated Germain patches in first post.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Personal Notepad
Reply #12 - Feb 22nd, 2015 at 8:07pm
Mark & QuoteQuote  
In utf-8   German_Du

Code
Select All
<add before>
 $admin_txt{'689b'} = 'Maximal erlaubte Zeichen im persönlichen Notizbuch';
 $admin_txt{'personalpad'} = 'Persönliches Notizbuch aktivieren?';
 </add after> 


  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Personal Notepad
Reply #13 - Feb 22nd, 2015 at 10:58pm
Mark & QuoteQuote  
Also in the ANSI version. (New zip in 1st post)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Personal Notepad
Reply #14 - Mar 22nd, 2016 at 2:14pm
Mark & QuoteQuote  
Version for 2.6.12 (changes in MyCenter.template) (Existing German files should work fine.)
  

Personal_Notepad_2612.zip ( 4 KB | 177 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Personal Notepad

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry