You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 24 of 49)
Tatsujin wrote:When I try to install 1.0.1 it errors out because it can't copy .htaccess to the random directory it generates. The random directory it generates belongs to apache:apache and has permissions 750. Is there any way I can modify the extension to create the directory using a user:group of my choosing?
In the next release of pun_attachment this file will be created by the extension.
TomeOne wrote:Possible bug, might just be my forum:
When editing permissions for attachments for Guests, it doesn't retain my selected options.
Thanks for reporting, fixed in [1257].
TomeOne wrote:Great, thanks!
Any way to make this extension see files that used to be attached with Frank's mod in PunBB 1.2.x?
We are planning to work on the migration tool.
The pun_admin_log extension has been released! It logs a lot of forum's events. You can find more information about pun_admin_log on the extension's Wiki page.
Download links:
You can get it with the help of the pun_repository extension. Feel free to suggest your ideas about the extension's improvement.
This extension depends on the pun_admin_events extension. So this extension should be installed for correct working of the pun_admin_log.
Fixed the upgrading process from 1.0a version of the extension and released new version of the pun_attachment - 1.0.1.
maststef wrote:I get the following error:
Unable to copy .htaccess file to the new subfolder with name "../extensions/pun_attachment/attachments/7b0d0baa2468065ac751c1bacea3dd8e"
the attachments folder is set to 777.
Is there .htaccess file in the directory "<FORUM_ROOT>/extensions/pun_attachment/attachments"?
demo-world wrote:Will there be a way to manage / sort files uploaded in an post ? Up to now they will be sorted alphabetically , but i want to put them in a way i want ?
Is it possible to sort the files in a way i upload them to the post ? First upload is also the first file showing, and so on ?
You can add a feature request to the Wiki page of the pun_attachment.
The count of DB queries in the method suggested by Garciat depends on the count of unique values of last_poster. I suggest that you fetch awards of all last posted users with only one query. I think it will be more efficient.
SiedleR wrote:Thanks ! Happy to see this release !
But after installing it, I cannot modify any post anymore...
With the debug mode, I got this error :
The error occurred on line 21 in ******/edit.php(75) : eval()'d code
Database reported: Unknown column 'secure_str' in 'field list' (Errno: 1054).
So I desactivated the extensions
Is it a fresh install or an upgrade from another version of the extension? If it is an upgrade, post the version of your extension before upgrading, please.
You can disable rss by editing the file "<FORUM_ROOT>/extern.php". Add "exit" function with some message to the top of the file.
Good work. I have registered, but I can't connect to the server via FTP.
Fixed in the first release of the pun_attachment
Here the first release of the extension.
The pun_attachment extension has been released! This is the first version of the extension. It allows users to attach files to posts. You can find more information about pun_attachment on the extension's Wiki page.
Download links:
Of course, you can get it with the help of the pun_repository extension. It would be great for us to get feedback with your suggestion about the extension's further improvement.
Here is the corrected query:
$query = 'SELECT t.id, t.poster, t.subject, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, p.poster_id AS last_poster_id FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'users AS u ON u.username = t.last_poster INNER JOIN '.$db->prefix.'posts AS p ON (p.id=t.last_post_id) WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics'];
But this query is slow for big amounts of rows in DB. It will be better if you collect all last_poster to a variable and then fetch their's awards.
Try to contact the mod's developer.
There is a similar extension for PunBB 1.3. Study the code of this extension: perhaps, it will help you to create yours.
Edit the first query in your code like posted below:
$sql = 'SELECT t.id, t.poster, t.subject, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, p.poster_id AS last_poster_id, u.imgaward INNER JOIN '.$db->prefix.'users AS u ON u.username = t.last_poster FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'posts AS p ON (p.id=t.last_post_id) WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 't.posted' : 't.last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics'];
In the processing of each topic, remove the SQL query you used for getting user's award. The award is in $cur_topic['imgaward'] now.
Install the extension pun_admin_manage_extensions_improved. And refresh hooks of pun_attachment.
demo-world wrote:Thanks, i have installed the new version and will test it ! Again i must do an fresh install, updating does not work properly...
Updating process will work properly, when the version number in manifest.xml is changed.
Perhaps, there is some errors in your lang pack (missed ",", ' or whatever) in lang arrays.
Weeelo wrote:Ok, I've been looking in the code now and it seems like i can just set 2 cookies everytime a user logs in; one for .site1.com and one for .site2.com. Shouldn't that solve the problem?
You can set cookie only for domain, where requested page placed.
tacchi wrote:1. i cant find where i should translate New messages, that is on the top.
This link added by pun_pm extension, it is not in forum core.
tacchi wrote:2. are the any other templates for punBB, except the oxygen?
Besides the Oxygen style, there is Informer style.
demo-world wrote:Can you please change it that also images will be shown scaled when editing an post ?
Done in [1236].
demo-world wrote:An other Question is i downloaded as admin an attached image but it only will be shown "file has never been downloaded". Will the downloads from an admin ignored or is there a bug in the counter ?
If a user tries to download a file he added by himself/herself, this download is not counted by the extension.
This is the first release of a new extension pun_admin_events. This extension adds logging of events and a GUI for browsing logs in administration menu. Here is the description and examples of usage of the extension in Wiki.
Download links:
You can get it with the help of the pun_repository extension.
It will be great to hear opinions and any ideas about further improvement of the extension.
We are planning to release the extension pun_admin_log this week. It will use pun_admin_events for registering many forum events.
You should reinstall the extension.
demo-world wrote:Thanks for change it. I updated the script but i get now everytime an errormessage for each image i have added:
Warning: getimagesize(.//www/htdocs/w00a012d/forums/extensions/pun_attachment/attachments//cfa58d21eae8127dc6f434ea0f645707/bf62deefc48157a0a2e9bf396ae798f1.attach) [function.getimagesize]: failed to open stream: No such file or directory in /www/htdocs/w00a012d/forums/extensions/pun_attachment/include/attach_func.php on line 235
Warning: getimagesize(.//www/htdocs/w00a012d/forums/extensions/pun_attachment/attachments/cfa58d21eae8127dc6f434ea0f645707/224a128e2057f71988a26d5b782d2b9f.attach) [function.getimagesize]: failed to open stream: No such file or directory in /www/htdocs/w00a012d/forums/extensions/pun_attachment/include/attach_func.php on line 297
s it a fresh install or upgrade from a previous version?
It seems this error appears, because of 'attach_basefolder' configuration value (it has an old value). In the current revision, 'attach_basefolder' is a relative path to the attachments directory.
demo-world wrote:Bigger images than it setup (650x650px) will also be shown, scaled down, but they will be shown. Thought larger files will not be shown and you got only the imagelink for download.
Setting up Imagesize will not work. Equal what you setup, nothing happens and all pictures, larger or smaller are shown.
It works fine for me. Try latest revision of the extension.
jacofan wrote:I am just wondering (again), when will be released the official version of this great extension... Slavok wrote on the end of april that only 2,5-3 weeks remain to the official release, and now we are almost in the middle of july...
Unfortunately, our employee, who developed pun_attachment, couldn't finish his work on extensions in april for many reasons. That's why pun_attachment was not released at that time. But now pun_attachment is almost ready for release. It will be very nice, if you help us to test it out.
Posts found: 576 to 600 of 1,202