 | Re: [Solved] Problem with 2 mods in phpBB 2.0.2.2 (Simple Subforum + Recent Topics) |  |
Posted: 04/30/2007 12:54 PM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
367 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 29, 2007
Local time: 10:33 PM
|

|
|
|
|
 |
Hey Nightrider,
thx for the code.
But the change of it doesn't change anything oO |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem with 2 mods in phpBB 2.0.2.2 (Simple Subforum + Recent Topics) |  |
Posted: 04/30/2007 10:05 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:33 PM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, I figured it out. The include for the recent.php file was placed below the Simple Subforums code in the index.php file, so many of the objects that it needed had been freed and were unassigned. By moving the include code above the Simple Subforums code, the problem went away...
This is the line of code that I had to reposition in your index.php file...
| Code:
|
|
include($phpbb_root_path .'recent.'.$phpEx);
|
Check it out now. It should be displaying properly now...
http://62.75.186.44/test_phpBB2/index.php
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with 2 mods in phpBB 2.0.2.2 (Simple Subforum + Recent Topics) |  |
Posted: 05/01/2007 1:58 AM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
367 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 29, 2007
Local time: 10:33 PM
|

|
|
|
|
 |
YAY thx a lot
I also worked a bit and found a thing i don't trust
Maybe it's ok, but maybe it's also wrong:
In the Mod is:
code
Begin Simple Subforums MOD
$folder_images = array(
'default' => $folder_image,
end code
Shouldn't it be:
code
'default' => $images['folder'],
end code
cause in my Templates.cfg it is:
code
$images['folder'] = "$current_template_images/folder.gif";
end code
plz tell me if that matters in any way  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem with 2 mods in phpBB 2.0.2.2 (Simple Subforum + Recent Topics) |  |
Posted: 05/01/2007 2:09 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:33 PM
Location: St Pete, FL
|

|
|
|
|
 |
No, your way would hardcode the image file, but it doesn't take into account whether the topic is locked, an attachment or sticky, active, etc. The original code is correct. The Simple Subforum MOD has been around for a very long time and the MOD author seems to be a fairly competent developer...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with 2 mods in phpBB 2.0.2.2 (Simple Subforum + Recent Topics) |  |
Posted: 05/01/2007 2:26 AM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
367 |
| BDay |
N/A |
| Sign |
N/A |
|
|
|
|
|
Joined: Apr 29, 2007
Local time: 10:33 PM
|

|
|
|
|
 |
ok then thx a lot *cheer*
Can i make a little donation to you ? Paypal ?
I'll do the code Change to my board now  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem with 2 mods in phpBB 2.0.2.2 (Simple Subforum + Recent Topics) |  |
Posted: 05/01/2007 2:31 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:33 PM
Location: St Pete, FL
|

|
|
|
|
 |
Since I am on a fixed income, I always appreciate donations whenever possible. It is never necessary to do so. It sure helps me out though when people can afford to do so...
Let me know if you have any trouble with the code change...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|