Page Index Toggle Pages: 1 ... 4 5 [6] 7 8  Send TopicPrint
Very Hot Topic (More than 25 Replies) Sticky Shimmy Shuffle 2.4  YaBB2 (Read 33808 times)
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #75 - Aug 2nd, 2006 at 9:21pm
Print Post  
Oh right - so the group of global announcements ALWAYS sits on top?  I get it Lips Sealed


No idea on the other problem i have?
  
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #76 - Aug 5th, 2006 at 11:02am
Print Post  
I am trying to de-bug my problem.

When I de-sticky a post, the sticky.txt is not ammended (the thread number remains).

If I remove the thread number manually, all seems to work fine.

I have looked at the coding of the mod to find where my error occurs, and I pinpoint it to here:

sub Sticky_Add_Del {
     my ($stickyaction, $stickyboard, $stickyid) = @_;
     if ($INFO{'action'} eq rebuildmesindex && !$stkyct){
           fopen (FILE, ">$vardir/stickies.txt");
           print FILE qq~\n1;~;
           fclose(FILE);      
     }      
     require "$vardir/stickies.txt";
     return if $stickies{$stickyboard} =~ /\b$stickyid\b/;
     @stickies = split (/\|/ , $stickies{$stickyboard});

     if ($stickyaction eq 'add') {
           if ($stkyct) {push (@stickies, $stickyid);}
           else {unshift (@stickies, $stickyid);}
     }
     if ($stickyaction eq 'del' && $stickies{$stickyboard}) {
           for ($stk = 0; $stk < @stickies; $stk++) {
                       if ($stickies[$stk] eq $stickyid) {
                             splice( @stickies, $stk, 1);
                             last;
                   }
               }
     }


It appears that the line in yellow above aborts the sub routine early everytime I try to de-sticky a thread.

What does this line do??  I am not sure what the /\b does - something to do with char boundries??  Im not familiar with this.  It happens with every thread I try to de-sticky.  The YaBB part of the code removes the correct |s from the threadline, but the stickies.txt file isn't ammended.

Any clues guys??  I know Astro is always busy, so hoping someone else may be familiar with this code!?!
  
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #77 - Aug 5th, 2006 at 2:22pm
Print Post  
@Martin_W

You install this mod version?
  
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #78 - Aug 5th, 2006 at 6:53pm
Print Post  
No, the one attached to this thread Roll Eyes

Didn't realise there was a newer one??

Was this an error previously??



It would be a pain to un-install, as the boardmod prgram had to be re-installed recently, and I can't use it to uninstall easily.

What differences are there?  If I could just manually alter which ever files are different that would be cool.
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #79 - Aug 5th, 2006 at 7:06pm
Print Post  
Fixes in Version 2.4:
- Fixed an issue of unsticky thread that still stickied 
- Fixed move thread go to sticky section. 
- Fixed delete Sticky thread in display view, last thread get sticky section.

My attached:
http://www.boardmod.org/yabb/YaBB.pl?board=beta_y2;action=display;num=1131550616...
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #80 - Aug 5th, 2006 at 7:23pm
Print Post  
Smiley   Wink   Smiley   Wink

This is the problem I have been trying to fix - non stickied stickies!

Great - thanks guys - The support is always great here!
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #81 - Aug 5th, 2006 at 7:31pm
Print Post  
Martin_W wrote on Aug 5th, 2006 at 7:23pm:
Smiley   Wink   Smiley   Wink

This is the problem I have been trying to fix - non stickied stickies!

Great - thanks guys - The support is always great here!


no problem. give feedback if this works for you.  Wink
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #82 - Aug 6th, 2006 at 9:57am
Print Post  
Thanks - I compared your version update to the one I installed, and made the necessary changes.

All works fine now!

Great - Thanks!
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #83 - Aug 6th, 2006 at 10:17am
Print Post  
Martin_W wrote on Aug 6th, 2006 at 9:57am:
Thanks - I compared your version update to the one I installed, and made the necessary changes.

All works fine now!

Great - Thanks!


Hi
super.  8)
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Andi
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 9
Joined: Nov 15th, 2006
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #84 - Nov 17th, 2006 at 9:19am
Print Post  
Hi everbody,

now it seems I'm having a problem with this mod, too. I just installed a brand-new YaBB 2.1 including the this mod in its 2.4 version.

The forum seems to work all right. Boardindex works and reading a thread also, but when I open the Messageindex I get an untrapped error:

Quote:
Untrapped Error:
Can't locate ./Variables/stickies.txt in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl . ./Modules ./Modules/Upload ./Modules/Digest ./Modules ./Modules/Upload ./Modules/Digest) at ./Sources/MessageIndex.pl line 304.


And in fact, there is no "stickies.txt" in the Variables folder ... and there was none in the mod's zip either.

Will the file only be created after I define my first sticky? Does the mod not catch the error case of "no stickies.txt"?

Looking forward to any suggesttion and help here...

Best,

Andreas
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #85 - Nov 17th, 2006 at 10:03am
Print Post  
Larian wrote on Jul 25th, 2006 at 9:39am:
Simply create an empty file named stickies.txt in your variables-directory, that should work!

Larian
  Wink
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Andi
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 9
Joined: Nov 15th, 2006
Re: Sticky Shimmy Shuffle beta 2.3  YaBB2
Reply #86 - Nov 17th, 2006 at 10:09am
Print Post  
Hi JetLi,

thanks ... it worked, however, of course, the "empty" file needed to contain
Quote:
1;

Before, it resulted in an error ...

Best,

Andreas
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle V2.5 YaBB2
Reply #87 - Mar 13th, 2007 at 5:27pm
Print Post  
Hi
new update and lastest Version for YaBB 2.1 attached.

Status Sticky Shimmy Shuffle V2.5 (March 13 2007)
- Fixed if no Sticky in Board, not need read Sticky order.
- Fix unlock a locked sticky topic, get lost sticky thread.
- Change table tag to div tag in MessageIndex.

Desinstall V2.4 and install V2.5
« Last Edit: Mar 13th, 2007 at 8:44pm by Jeff »  

Sticky_Shimmy_Shuffle_2_5.zip ( 8 KB | Downloads )

greetings
Jeff
Back to top
WWW  
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Sticky Shimmy Shuffle 2.4  YaBB2
Reply #88 - Mar 13th, 2007 at 6:08pm
Print Post  
Thanks JetLi. Smiley
  


Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle 2.4  YaBB2
Reply #89 - Mar 13th, 2007 at 6:29pm
Print Post  
Hi
thnx. but download again. I make MessageIndex.template xhtml valid

  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 ... 4 5 [6] 7 8 
Send TopicPrint