No, because the PUN_ROOT will be defined wrong for all the files, which means the requires will fail.
Editing main.tpl is by far the easiest way to integrate it.
2,326 2007-09-14 11:42
Re: Integration problem - Include Punbb with a $page PHP variable (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2,327 2007-09-13 19:14
Re: extern.php (print last topics) - troubleshotting :( (3 replies, posted in PunBB 1.2 troubleshooting)
The second is certainly not going to work
Try
<?php
require 'http://www.kursprawojazdy.pl/forum/extern.php?action=active&show=7';
?>
If that doesn't work, I can't think of a way for you to use extern.php in its current form. You would need to find a modification/write one to allow syndication from within your own site.
2,328 2007-09-12 21:12
Re: Displaying latest topics on front page of website? (14 replies, posted in PunBB 1.2 troubleshooting)
I would need to see the page to diagnose any issue.
2,329 2007-09-12 02:23
Re: Error writing to cache (10 replies, posted in PunBB 1.2 troubleshooting)
Except a right click hint would be useless to anyone who used an application which didn't support right click actions (or chmodding with right clicking).
Calling it what it is (chmodding) allows you to search and find out how to do it.
2,330 2007-09-12 01:59
Re: Error writing to cache (10 replies, posted in PunBB 1.2 troubleshooting)
chmodding can be done on folders as well as files.
2,331 2007-09-10 22:10
Re: 406 Error When Editing Profile (4 replies, posted in PunBB 1.2 troubleshooting)
Moved to Troubleshooting
It's a known problem caused by an old, outdated, incorrect mod_security ruleset. Not a bug.
2,332 2007-09-09 13:00
Re: CSS (11 replies, posted in PunBB 1.2 troubleshooting)
That's the punwrap.png image
2,333 2007-09-09 12:48
Re: CSS (11 replies, posted in PunBB 1.2 troubleshooting)
I'd have to see your actual site to tell you any more. But deleting the extra folder/the files in it won't help that.
2,334 2007-09-09 12:31
Re: CSS (11 replies, posted in PunBB 1.2 troubleshooting)
There should be no folder called BlueLife
2,335 2007-09-08 23:49
Re: I need to make BBC/IMG TAG for a usergroup only. (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Moved to Modifications
I don't know that there is a mod to do that.
2,336 2007-09-08 21:55
Re: Mark topics as read v1.1 (92 replies, posted in PunBB 1.2 modifications, plugins and integrations)
A quick follow up on the item above. I'd like to change the "Visit timeout" from an hour up to possibly 24 hours but am concerned of the impact this will have on the forum.
Thanks in advance for any thoughts on this matter.
You'll should be fine.
Ah, no. This does not solve the 2 major issues: different computers / access points, broken connections. In my country (Germany) most private broadband connections are terminated once in 24 hours, so you will have to read all posts before that break. Then there are other reasons for a connection break also.
The cookie set isn't a session cookie. So, a broken connection would have no impact. However, the different computer argument does have merit.
With all due respect I have as a non-coder for all developers: you always talk about issues with the database growing too large or time or performance issues - there are none of those!
I am running a site with nore than 1200 registered users with a total of 140K posts, an average of 20 to 100 posts per day. I used a MOD with exactly the wanted feature for a long time in PHPBB and I used SMF for 2 years which has this feature built in. We never found any issue with this feature. There must be a way to limit the number of unread flags per user - because If a user stays away too long or if he never hits the "Mark all forums read" button he will get an error message from the database (which could be displayed as a friendly "You have been away too long"). All he has to do then is hit the "Mark all forums read" button. Done.
Except you want to avoid having to do that. And the number of topics stored as read can be huge.
And the way SMF marks post as read in the database versus this mod is very different. I will look into having the mark as read system allow a database component in 1.3.
2,337 2007-09-08 16:59
Re: PunBB + Dotclear + AllowHTML : help (12 replies, posted in PunBB 1.2 troubleshooting)
I have no idea, I've never used Dotclear. You would do a str_replace (http://us.php.net/str_replace) and replace the <br /> with "\n"
2,338 2007-09-08 16:52
Re: PunBB + Dotclear + AllowHTML : help (12 replies, posted in PunBB 1.2 troubleshooting)
Just do a str_replace in your code for outputting the PunBB content in Dotclear
2,339 2007-09-08 16:44
Re: PunBB + Dotclear + AllowHTML : help (12 replies, posted in PunBB 1.2 troubleshooting)
Except that breaks the output for regular PunBB usage.
2,340 2007-09-08 16:34
Re: PunBB + Dotclear + AllowHTML : help (12 replies, posted in PunBB 1.2 troubleshooting)
str_replace?
2,341 2007-09-08 15:10
Re: extern.php not w3c compliant (4 replies, posted in PunBB 1.2 troubleshooting)
Moved to Troubleshooting
2,342 2007-09-08 06:29
Re: Security problems (4 replies, posted in PunBB 1.2 troubleshooting)
Having their own tables does not make them immune.
2,343 2007-09-07 12:56
Re: How do I set permissions on a specific user ? (4 replies, posted in PunBB 1.2 troubleshooting)
Right
2,344 2007-09-07 12:56
Re: Administrator guest posts? (6 replies, posted in PunBB 1.2 troubleshooting)
Yup, that probably is the problem. It's fixed in 1.3 at least
2,345 2007-09-07 10:28
Re: Security problems (4 replies, posted in PunBB 1.2 troubleshooting)
What modifications do you have installed?
2,346 2007-09-07 00:41
Re: Administrator guest posts? (6 replies, posted in PunBB 1.2 troubleshooting)
No.
So, to verify:
- There is a user with the username Admin
- Guests can posts using the name Admin
?
A link to the forum would also be nice.
2,347 2007-09-06 19:09
Re: Two questions: converter for softbb and theming? (5 replies, posted in PunBB 1.2 troubleshooting)
Yes, you set the default theme in Admin Options.
And I need to know more than the fact that some things don't work.
2,348 2007-09-05 23:44
Re: Double posts and online users (38 replies, posted in PunBB 1.2 bug reports)
OK, ignore me, it appears that the stuff I'm talking about is for stored procedures, not regular usage.
2,349 2007-09-05 21:47
Re: Two questions: converter for softbb and theming? (5 replies, posted in PunBB 1.2 troubleshooting)
Once you create and upload the files, you need to change to the new style in your profile.
2,350 2007-09-05 21:46
Re: Displaying latest topics on front page of website? (14 replies, posted in PunBB 1.2 troubleshooting)
I'll give you an example
$old_get = $_GET;
$_GET = array();
$_GET['action'] = 'active';
include PUN_ROOT.'extern.php';
$_GET = $old_get;