Actually, PunBB has the get_remote_file(...) function. It uses curl or sockets if enabled.
You may use this function in your extensions.
Unfortunately no one can be told what PunBB is - you have to see it for yourself.
You are not logged in. Please login or register.
PunBB Forums » Posts by Parpalak
Actually, PunBB has the get_remote_file(...) function. It uses curl or sockets if enabled.
You may use this function in your extensions.
No (simple and working in all cases).
<install>
<![CDATA[
]]>
</install>
<uninstall>
<![CDATA[
]]>
</uninstall>By the way, you may not write install and uninstall sectios in manifest.xml if they are empty.
I think it's a little bit late for adding new hooks because the final release of PunBB 1.3 was about a year ago ![]()
Hooks could be added in the next version of PunBB, 1.3.5. But noone knows the date of this release.
Please, write the lines numbers where you want to add hooks.
The warning message about enabling cookies makes sense only for guest posting. For other actions a user must be able to login and that's why he should have cookies enabled.
And I've added the message in this changeset: http://punbb.informer.com/trac/changeset/1401
So what does your extension do? Or I didn't get something and it does somesthing else?
I don't see any copyright or license notes in the converter code. So it can be hard to prove something. I think you can write them an e-mail and ask to remove your converter.
Maybe someone else can advise you what to do.
The goal of the extension system is to add or modify the forum functionality without touching the code ![]()
I'll see later if it's possible in your case.
If you develop an extension, you can uninstall the extension and then install it again. If you have modified an extension at working forum, you can't uninstall it because the associated data in DB will be deleted. It's better to increase the version of the extension (for example, 1.4.6 => 1.4.6.1, then 1.4.6.2 and so on) and to upgrade it.
We have the pun_admin_manage_extensions_improved extension for developers that allows to refresh hooks without reinstalling.
I think it could be an extension.
It shoud be like this:
echo '<meta name="ROBOTS" content="NOINDEX, FOLLOW" />'."\n".
'<meta http-equiv="content-type" content="text/html; charset=UTF-8" />'."\n";Why not to use this: http://punbb.informer.com/forums/extern mp;show=10
What error messages are displayed?
Are there any extensions installed?
We'll see what we can do with permissions.
Using 'autocomplete="off"' will break page validation (all pages here are XHTML 1.0 Strict).
Seems like you have the same issue as here: http://punbb.informer.com/forums/topic/ e-problem/
Does the issue appear when the Oxygen style is enabled? Or it concerns your custom style?
Why replace?
Just add the code.
Would be nice to be able to send message to several recipients...
This feature is hard to make because of how pun_pm is made. Consider the case when a user sends a message and another user receives it. Actually there are no copies of the message for these two users. There is only one row corresponding to the message in the DB table.
The thing I can do is to convert a message that has been sent (has been or saved as draft) to some receivers into some messages having only one receiver. And there will be some messages in the Outbox, not one.
Yep ![]()
There is the $forum_user array in 1.3.
Try to edit the config.php file and write your hidden host (or whatever) there.
Ok ![]()
Then I'll write one more thing. It's not important here (a file that contains 100 lines), but it can be a kind of small optimization for big files (~1Mb).
When you check the presence of a substring in a file, you can do this:
$file_contents = file_get_contents('/path/to/file')
if (strpos($file_contents, $substr) !== false) {
// Found
...
}Saving and loading:
file_put_contents('/path/to/file', implode("\n", $array_of_lines));
$array_of_lines = explode("\n", file_get_contents('/path/to/file'));There is no "\n" at the end of elements in $array_of_lines (unlike the returned values of the file() function).
And the code is more compact when these functions are used.
I have just two little advice.
$fname = ".htbots";You can create such a file in the 'cache' directory (one can be sure it's writeable):
$fname = FORUM_ROOT.'cache/.htbots';And it's better to lock the file before writing, see the flock function description.
Do your forum users really suffer from spam PMs? For example, noone here complains of it.
It's not right to delete sent messages for every user being deleted. And my point is that an additional option (delete sent messages or not) is an excess functionality.
The first thought has come into my mind is to install a fresh copy on your https server. If it works fine we'll know that the issue is in config settings. Otherwise, the issue can be in PunBB itself or somewhere in the server settings.
PunBB Forums » Posts by Parpalak
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.