Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Personal Notepad (Read 3217 times)
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Personal Notepad
Reply #14 - Mar 22nd, 2016 at 2:14pm
Print Post  
Version for 2.6.12 (changes in MyCenter.template) (Existing German files should work fine.)
  

Personal_Notepad_2612.zip (Attachment deleted | 33 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Personal Notepad
Reply #13 - Feb 22nd, 2015 at 10:58pm
Print Post  
Also in the ANSI version. (New zip in 1st post)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Personal Notepad
Reply #12 - Feb 22nd, 2015 at 8:07pm
Print Post  
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> 


  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Personal Notepad
Reply #11 - Feb 22nd, 2015 at 3:40pm
Print Post  
Updated Germain patches in first post.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Personal Notepad
Reply #10 - Feb 22nd, 2015 at 10:55am
Print Post  
Germanfiles UTF-8 only.
Please make in ANSI.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Personal Notepad
Reply #9 - Jan 21st, 2015 at 8:50pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Personal Notepad
Reply #8 - Jan 21st, 2015 at 7:29pm
Print Post  
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
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Personal Notepad
Reply #7 - Jan 21st, 2015 at 4:32pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Personal Notepad
Reply #6 - Jan 21st, 2015 at 3:07pm
Print Post  
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
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Personal Notepad
Reply #5 - Jan 21st, 2015 at 8:16am
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Personal Notepad
Reply #4 - Jan 14th, 2015 at 4:36pm
Print Post  
New zip in 1st post - html put into new template.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Personal Notepad
Reply #3 - Jan 6th, 2015 at 4:44am
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Personal Notepad
Reply #2 - Jan 6th, 2015 at 3:25am
Print Post  
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
 
Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 163
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Re: Personal Notepad
Reply #1 - Jan 5th, 2015 at 10:21pm
Print Post  
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
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Personal Notepad
Jan 5th, 2015 at 8:58pm
Print Post  
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 »  

Personal_Notepad_2611c.zip (Attachment deleted | 49 Downloads )
Personal_Notepad_German_files_a.zip (Attachment deleted | 33 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint