Page 1 of 1
Phpraider easy to fix
Posted: 28 Jan 2008, 12:37
by Valeo
I noticed you had the same bug we encountered on phpraider page. You dont need to wait for the next version, as the bug is very easy and fast to fix.
1. Find frontpage.php at phpraider\components\com_frontpage and open it for editing.
2. Find line:
Code: Select all
$upper = mktime('0','0','0',$_GET['monthID'], '31', $_GET['yearID']);
3. Replace it with:
Code: Select all
$upper = mktime('23','59','59',$_GET['monthID'], '31', $_GET['yearID']);
4. Upload new file and voilá, the problematic raid shows up on frontpage!
Posted: 28 Jan 2008, 13:45
by Pyx
Thanks a lot Valeo!
Would you perhaps also know a codefix for our forum, which for some members decides to not log them in at first, while it does wipe the 'new posts since last login' for them when the second login succeeds?
Posted: 28 Jan 2008, 13:49
by Zarhan
Sheesh Valeo, now you told everybody how lazy admin I am
I know that fix, I just thought it wasn't worth fixing since next occurence is not until March 31st (February has only 29 days
).
Fixed now.
Posted: 28 Jan 2008, 14:04
by Zarhan
BTW, we are running latest 2.x-series PhpBB, 2.0.22 (released in Dec 2006), so that's probably pretty stable. Upgrading to 3.x-would probably break great many things.
Posted: 28 Jan 2008, 14:21
by Alikh
Zarhan wrote:BTW, we are running latest 2.x-series PhpBB, 2.0.22 (released in Dec 2006), so that's probably pretty stable. Upgrading to 3.x-would probably break great many things.
And hopefully fix a great many things.
There must be some way to transfer the old system to the new one.
The bug Pyx mentioned is actually severe enough to be worth fixing by going to 3.x.
Posted: 28 Jan 2008, 14:31
by Zarhan
Khila, seems similar issue to the famous phpraider html editor:
http://www.phpbb.com/community/viewtopi ... ogin+twice
Can someone with admin rights check?
Posted: 28 Jan 2008, 16:41
by Pyx
Posted: 28 Jan 2008, 16:47
by Zarhan
Installed now.
Tested with my Work-computers IE 6.0 which has given similar problems, at least there it fixed it.
Elos, others who have same probs - can you confirm it works for you now?
Posted: 29 Jan 2008, 00:37
by Valeo
Sorry Pyxie, im not really that much of a coder, i just leech other ppls codes to do my bidding. But im glad i could be of help. (Even if it was a mere kick on Zarhans behind
)
As our site got hacked via phpbb2, we updated the whole thing and went to phpbb3. It really is a nice thing, and supports antispam and many other things natively. Its much safer than phppb2 ever was. Oh, and i think that you can upgrade a previous phpbb2 install to a new phpbb3 with the new install package, but im not really sure about that, as i wiped our whole database clean and started from scratch due to hacking.
If you havent been there lately, you can see what it can do at our site
http://www.veneratioaeterna.com.
Posted: 29 Jan 2008, 07:47
by frozenwiller
login seems to work a-ok now, at least the few sessions I tried it with.
Posted: 29 Jan 2008, 10:27
by Pyx
I had a look and must say it looked more spiffy.
Btw, did you know that
Puchiko looks suspiciously like Athene, best paladin in the world?
Posted: 29 Jan 2008, 11:12
by Zarhan
Valeo, just in case you want to do a similar "armory link" to ours, you need to edit files in directory
templates/default,
the three files
view_approved_body.tpl
view_queued_body.tpl
view_cancelled_body.tpl
Change line
Code: Select all
<td width="60%" valign="top"><div align="left" style="color:{$class_color}"><strong>{$char_name}<br></strong></div></td>
to
Code: Select all
<td width="60%" valign="top"><div align="left" style="color:{$class_color}"><strong><a href="http://eu.wowarmory.com/character-sheet.xml?r=Defias+Brotherhood&n={$char_name}"><font color="{$class_color}">{$char_name}</font></a><br></strong></div></td>
Note that "Defias brotherhood" is hardcoded in there.
Posted: 29 Jan 2008, 20:57
by Valeo
SHHH Zarhan, now youre giving ME more work!