Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  Eblah 10 bug
Users Browsing Forum
No Members and 1 Guests

Eblah 10 bug  This thread currently has 2,403 views. Print
4 Pages « 1 2 3 4 Recommend Thread
Codenix
September 20, 2006, 10:01pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 53
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 20 hours 26 minutes
Location: Melbourne, Australia.
Justin,

Can you post the code you changed in the nightly that fixed this, and which file it's from?

Quoted from Justin
All I did was add redirect().  See how much one line can do?  



I can't find the nightly builds to download.

Thanks,

Lucas.


"If it ain't broke, keep fixing it until it is!"

Revision History (1 edits)
Codenix  -  September 20, 2006, 10:23pm
Logged Offline
Site Site Private Message Private message Reply: 45 - 50
Justin
September 20, 2006, 10:10pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Should always be the second file from here:

http://pit.eblah.com/ftp/nightly/?C=M;O=D

Since it's sorted by date, the second file will be the latest package.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 46 - 50
Codenix
September 20, 2006, 10:27pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 53
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 20 hours 26 minutes
Location: Melbourne, Australia.
Thanks, grabbing the nightly now.

Any chance you can show where you made the change relating to the hide / inhide board fix?


"If it ain't broke, keep fixing it until it is!"
Logged Offline
Site Site Private Message Private message Reply: 47 - 50
Justin
September 20, 2006, 10:51pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
It's in BoardIndex.pl, should be the only redirect() in there.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 48 - 50
Codenix
September 20, 2006, 11:31pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 53
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 20 hours 26 minutes
Location: Melbourne, Australia.
Thanks Justin.


"If it ain't broke, keep fixing it until it is!"
Logged Offline
Site Site Private Message Private message Reply: 49 - 50
Codenix
September 21, 2006, 3:18am Report to Moderator Report to Moderator

E-Blah Member
Posts: 53
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +3 / -0
Time Online: 20 hours 26 minutes
Location: Melbourne, Australia.
Okay, found it and fixed it. Thanks again Justin.

In case anyone wants to fix this bug without having to upgrade to the nightly, you need to add 'redirect()' to the end of the 'sub Tog' subroutine in BoardIndex.pl.

In mine this line was added after line 543.

Extract below;

Code
sub Tog {
	if($username eq 'Guest') { error($boardindex[73].'-register-'); }
	is_member();
	VerifyBoard(); # So someone can't overload the datafile ...
	my($delMZ);
	$URL{'cat'} =~ s~\A\s+~~; # As always ... hack protection
	$URL{'cat'} =~ s~\s+\Z~~;
	$URL{'cat'} =~ s~[\n\r]~~g;

	$userrank = '';
	foreach(split(/\|/,$memberid{$username}{'rank'})) {
		if($URL{'cat'} eq $_) { $delMZ = 1; next; }
		$userrank .= "$_|";
	}
	if(!$delMZ && $catallow{"$URL{'cat'}"}) { $userrank .= "$URL{'cat'}"; }

	$addtoID{'rank'} = $userrank;

	SaveMemberID($username);
	
	redirect();
}

sub GetBoardData {


"If it ain't broke, keep fixing it until it is!"
Logged Offline
Site Site Private Message Private message Reply: 50 - 50
4 Pages « 1 2 3 4 Recommend Thread
Print

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  Eblah 10 bug