Page Index Toggle Pages: 1 ... 9 10 [11] 12 13 ... 15 ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Conversion (Read 45810 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Conversion
Reply #150 - Sep 9th, 2017 at 4:40pm
Mark & QuoteQuote  
Okay, this is one of those "How the frack was it working in the first place?"
in MessageIndex.pm find
Code (Perl)
Select All
            $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=a" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_first'}~;
             @threadlist = reverse @temp_list; 


replace with
Code (Perl)
Select All
            $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=a" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_first'}~;
             @threadlist = reverse sort {
                  (split /[|]/xsm, $a )[4] <=>
                    (split /[|]/xsm, $b )[4]
             } @temp_list; 



Find
Code (Perl)
Select All
        else {
             $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=b" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_up'}~;
  


Add after
Code (Perl)
Select All
            @threadlist = sort {
                 ( split /[|]/xsm, $a )[4] <=>
                   ( split /[|]/xsm, $b )[4]
             } @temp_list; 



Find:
Code (Perl)
Select All
    else {
         $sort_lastpostim =
 qq~<a href="$scripturl?board=$currentboard;tsort=b" rel="nofollow">$messageindex_txt{'22'}</a> $micon{'sort_up'}~;
  



add after:
Code (Perl)
Select All
        @threadlist = sort {
             ( split /[|]/xsm, $a )[4] <=>
               ( split /[|]/xsm, $b )[4]
         } @temp_list; 



This will force the 'last post' sort to go by actual 'last post date'. (I have no idea why the sort actually worked in previous versions of YaBB - it shouldn't have.  Huh  But really good catch.  Smiley)
  

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: Conversion
Reply #151 - Sep 9th, 2017 at 6:55pm
Mark & QuoteQuote  
And works   Smiley

Edited:
At the moment there is no error message.
Now I only notice the list of members, which always reverts to the registration date.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
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: Conversion
Reply #152 - Sep 9th, 2017 at 7:21pm
Mark & QuoteQuote  
delete contributions

Quote:
An Error Has Occurred. Use of uninitialized value in pattern match (m//) at Sources/RemoveTopic.pm line 83.


  

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: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Conversion
Reply #153 - Sep 9th, 2017 at 7:59pm
Mark & QuoteQuote  
In RemoveTopic.pm find
Code (Perl)
Select All
            if ( ( split /[|]/xsm, $threadline )[8] !~ /m/sm ) { 


and replace with
Code (Perl)
Select All
            if ( !( split /[|]/xsm, $threadline )[8] || ( split /[|]/xsm, $threadline )[8] !~ /m/xsm ) { 



(That should work. If not, it will have to be refactored a bit.)

  

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: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Conversion
Reply #154 - Sep 9th, 2017 at 8:08pm
Mark & QuoteQuote  
Oh, and on the Memberlist - it does default to Reg date unless set to something else in the Admin Center.
  

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: Conversion
Reply #155 - Sep 9th, 2017 at 9:17pm
Mark & QuoteQuote  
Error appears when I want to delete a complete thread.


Quote:
An Error Has Occurred. Use of uninitialized value $lastthreadstate in scalar chomp at Sources/System.pm line 155.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
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: Conversion
Reply #156 - Sep 9th, 2017 at 10:38pm
Mark & QuoteQuote  
Dandello wrote on Sep 9th, 2017 at 8:08pm:
Oh, and on the Memberlist - it does default to Reg date unless set to something else in the Admin Center.


So this is more than cumbersome. So I have to go to the Admincenter every time. Then the pull down of the membership list would be for free. So I would change again.
  

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: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Conversion
Reply #157 - Sep 10th, 2017 at 12:41am
Mark & QuoteQuote  
No, all the the sorts in MemberList work, it just doesn't remember your last sort if you leave and come back - it doesn't in 2.6 either. (I don't remember if it saved the member sort inb 2.5 but I rather doubt it.)
  

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: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Conversion
Reply #158 - Sep 10th, 2017 at 12:45am
Mark & QuoteQuote  
pyragony54 wrote on Sep 9th, 2017 at 9:17pm:
Error appears when I want to delete a complete thread.

Quote:
An Error Has Occurred. Use of uninitialized value $lastthreadstate in scalar chomp at Sources/System.pm line 155.


Some of these were hard to figure out. In System.pm find
Code (Perl)
Select All
            if ( !$lastthreadstate || $lastthreadstate !~ /m/xsm ) { 


and replace with
Code (Perl)
Select All
            if ( $lastthreadstate && $lastthreadstate !~ /m/xsm ) { 


  

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: Conversion
Reply #159 - Sep 10th, 2017 at 4:11am
Mark & QuoteQuote  
Dandello wrote on Sep 10th, 2017 at 12:41am:
No, all the the sorts in MemberList work, it just doesn't remember your last sort if you leave and come back - it doesn't in 2.6 either. (I don't remember if it saved the member sort inb 2.5 but I rather doubt it.)


To save it is not at all, it is about the fast switch between the individual options. Now you have to go through the Admincenter. I personally find this a disadvantage.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
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: Conversion
Reply #160 - Sep 10th, 2017 at 5:34am
Mark & QuoteQuote  
Dandello wrote on Sep 10th, 2017 at 12:45am:
if ( $lastthreadstate && $lastthreadstate !~ /m/xsm ) {



and works   Smiley
  

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: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Conversion
Reply #161 - Sep 10th, 2017 at 5:44am
Mark & QuoteQuote  
pyragony54 wrote on Sep 10th, 2017 at 4:11am:
To save it is not at all, it is about the fast switch between the individual options. Now you have to go through the Admincenter. I personally find this a disadvantage.
                     


The sorting in MemberList works the same as it always has - click on the 'Name' or 'Position', or whatever and it sorts. How it's sorted when you first open the MemberList can be determined in the AdminCenter. (None of this has changed from older versions of YaBB. And I checked that it works on your test install.)
  

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: Conversion
Reply #162 - Sep 10th, 2017 at 7:44am
Mark & QuoteQuote  
No, it does not. Have I set up in the Admincenter on posts and then would like to switch to the member list on, for example, date, it always jumps back to posts. I can not imagine that you get anything else than in my test forum.

I found out. The pulldown now irritates enormously.
« Last Edit: Sep 10th, 2017 at 11:39am by pyragony54 »  

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: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Conversion
Reply #163 - Sep 10th, 2017 at 1:04pm
Mark & QuoteQuote  
pyragony54 wrote on Sep 10th, 2017 at 7:44am:
I found out. The pulldown now irritates enormously.
                   


AH - but you can also sort by clicking on the header row of the table - the word 'Name', or 'Position'. I'd make a video but I've never done that before.
« Last Edit: Sep 10th, 2017 at 2:33pm by Dandello »  

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: Conversion
Reply #164 - Sep 10th, 2017 at 1:35pm
Mark & QuoteQuote  
I've already figured it out. Previously, you could do this with the pull-down, which does not work now. You should remove the pulldown, irritate it, or make it as before.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 9 10 [11] 12 13 ... 15
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Conversion

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