Page Index Toggle Pages: 1 ... 3 4 [5] 6  Send TopicPrint
Very Hot Topic (More than 25 Replies) Sticky Shimmy Shuffle 1.4a  YaBB2 (Read 10635 times)
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #60 - Nov 6th, 2005 at 9:18am
Print Post  
Hi,

i have a problem with this mod. If i use it to sort the stickies and afterwards decide to make one not sticky again, this topic does not show up in the board.

Rebuilding the message index fixes this problem, but the stickies are not sorted afterwards, too.

Can anyone confirm this behaviour?
  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #61 - Nov 6th, 2005 at 1:42pm
Print Post  
I was not able to replicate your issue.  Why don't you replicate it and before rebuilding the message index, get a copy of the board text file in the boardsdir and post it here. 

I don't know why you're having this issue, but the only file this mod deals with is those board files.  They are read in sequential order and each thread is then designated as either a sticky or normal thread.  What this mod does is just move one sticky entry to the next sticky entry, so that when the page is built, the sticky in questions comes before or after the next sticky.

Just try a post the file, and we'll see what we can do.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #62 - Nov 6th, 2005 at 2:30pm
Print Post  
Yes, I see what you mean.  Right now, I am fairly busy with life stuff, but maybe soon I can come out with a new beta version that would be more friendly.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #63 - Nov 6th, 2005 at 2:39pm
Print Post  
Take your time,

i remove the textfile again, or do you need it?
  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #64 - Nov 6th, 2005 at 6:48pm
Print Post  
no take it, I don't want your users info up here.

Thanks.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #65 - Nov 6th, 2005 at 7:46pm
Print Post  
Okay, here is a quick fix.  I'm not sure if this will be a final fix or not, it may be. The problem is that the way the board file is constucted does not lend itself well to having things shuffled.  So, this little fix actually makes sure that eveything is in chronological order and then prints it back to the original file. This process is done anytime you modify a thread's sticky status. This is placed so that files do not have to be opened and written to more than they already are.

Anyway, in the file SetStatus.pl

<Search for>
Code
Select All
	fopen(CTBFILE, ">$datadir/$ctbid.ctb");
	print CTBFILE @ctbfile;
	fclose(CTBFILE);
	fopen(BOARDFILE, "$boardsdir/$currentboard.txt") || &fatal_error("$txt{'23'} $currentboard.txt", 1);
	@boardfile = <BOARDFILE>;
	fclose(BOARDFILE); 


</Search for>

<Add after>
Code
Select All
	### Sticky Shimmy Shuffle mod ###
	foreach (@boardfile) {
		($mnum, $msub, $mname, $memail, $mdate, $mreplies, $musername, $micon, $mstate) = split(/\|/, $_);
		if ($mstate =~ /s/i || $mstate =~ /a/i) {push (@stickies, $_);}
		else {$Boardorder{$mdate} = $_;}
	}
	@keys = reverse sort { $a <=> $b } (keys %Boardorder);
	foreach (@keys) {
		push (@neworder, $Boardorder{$_});
	}
	push (@stickies, @neworder);
	@boardfile = @stickies;
	### Sticky Shimmy Shuffle mod end ### 


</Add After>

I have tested this and it does resolve the issue. 

Thanks for bringing this to my attention.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #66 - Nov 7th, 2005 at 8:04pm
Print Post  
Thanks
  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #67 - Nov 9th, 2005 at 3:37pm
Print Post  
New beta version with fixes and file integrity code.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #68 - Nov 17th, 2005 at 6:06am
Print Post  
Hi

astropilot wrote on Nov 9th, 2005 at 3:37pm:
New beta version with fixes and file integrity code.

Hmm ... have you update first post !?

Last Edit #0 Quote:
« Last Edit: 01.10.05 at 21:48 by astropilot »


lg XTC
  

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



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #69 - Nov 17th, 2005 at 12:02pm
Print Post  
If its a beta, its in the beta section. Wink

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
hydepark2
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 80
Joined: Jun 28th, 2005
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #70 - Nov 22nd, 2005 at 9:45pm
Print Post  
I've noticed with this mod that let's say you have sticky unlocked post 1,2,3,4 with one being at the top and 4 at the bottom. If you bump 1 down to 2 with the shuffle mod so you'll have sticky unlocked post 2,1,3,4, let's say someone responds to post 1 this response rearranges the order back to 1,2,3,4. I'm using Yabb 2.1 with the latest Shuffle mod. Is anyone else having this problem or is just me?
  
Back to top
 
IP Logged
 
gus
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 43
Joined: Aug 12th, 2005
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #71 - Nov 22nd, 2005 at 10:03pm
Print Post  
  
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #72 - Nov 23rd, 2005 at 1:42pm
Print Post  
Yeah, its a YaBB bug.  I think I will try to include a temp fix in the mod  I have in the beta section right now, until they release Y2.2

No time fram though.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
jans
Senior Member
****
Offline


Oooops!

Posts: 374
Location: Meppel
Joined: Oct 27th, 2005
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #73 - Jan 10th, 2006 at 11:43pm
Print Post  
What a crappity smacking nuts this mod is, after installing i stickied 3 topics, can't unsticky them anymore and on top of it all my posts are renamed to one name, can't remove anything anymore and it totally crappity smacked up my board

Keep this kinda crap at yourself man
  
Back to top
WWW  
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Sticky Shimmy Shuffle 1.4a  YaBB2
Reply #74 - Jan 11th, 2006 at 1:56am
Print Post  
jans,

I am terribly sorry about your board, but if you would have read the beta board (where the latest edition is) you would have known that this problem exists (documented 12/2/05).  I am currently working on a fix, but I am waiting on one of the YaBB developers to possible redo a fix they did earlier for cvs version. If things do not pan out there, I have another idea on fixing things.

You do have to realize that things like this happen. Becuase of limitations to this board (which will soon be remedied) I was not able to contact each individual to annuonce the problem.

Modders do release mods out of courtesy to the best of there ability and I am confident that this mod will work without flaws with the fix I have planned. With any mod, you risk damage to your board especially when a mod has already been documented to have an issue.

Once again, I'm sorry this happened. 

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 6 
Send TopicPrint