om_thanks
Say "thanks" below intresting posts.
Download 0.0.2 (current): om_thanks-0.0.2.zip
Screenshots:
You are not logged in. Please login or register.
PunBB Forums → Posts by keeshii
om_thanks
Say "thanks" below intresting posts.
Download 0.0.2 (current): om_thanks-0.0.2.zip
Screenshots:
Yes, you can. I am sure, that you have installed a broken extension and it is causing this issue. My forum is running for quite long time, and:
mysql> SELECT p.id FROM punbb_posts p LEFT JOIN punbb_topics t ON p.topic_id=t.id WHERE t.id IS NULL;
Empty set (0.08 sec)
Undefined cat_count in vf.inc.php line 72
<?php echo $forum_page['cat_count'] ?>
It was just a notice, corrected.
You are not the first person asking about that feature. I will try to make an extension for that
I am quite sure that punbb is not the problem here. I see 4 possibilities:
a) Your password was easy to guess -> f.e. account "admin", password "admin",
b) You have installed a poorly written extension.
c) Not forum, but your website is XSS vounerable. Someone may deleted all your data using vounerability found in your website.
d) I don't know on what server your website/forum is hosted. Are you sure, you can trust the company responsible for hosting?
om_friends
Mark users as friends, search recent posts made by your friends.
Download 0.0.2 (current): om_friends-0.0.2.zip
Screenshots:
There won't be any problems, just install the latest version of this extension. As you said - disable the old extension, install the new one:
1. Disable putnik's extension (subforums)
2. Install om_subforums 0.0.3 (not 0.0.1, not 0.0.2 - it must be the latest version!)
3. Unfortunately you will have to set the forum's hierarchy from the scratch
4. If everything is working, uninstall putnik's extension.
Newuser12 wrote:One more thing: if someone post new thread in sub-forum , forum and sub-forum indicator showing there is no new posts. But when you enter sub-forum topic looks like unread. Please fix it if you can. Thanks a lot
Anyone?
Done.
Steps to update:
1. delete old om_subforums from extensions folder
2. copy new om_subforums to extension folder
3. go to http://your_forum/admin (index won't work, but admin will)
4. go to extensions panel, and press upgrade
last_topic_title_on_forum_index
I have also added some new hooks, and now om_subforums may be used together with the extension "last_topic_title_on_forum_index", but some changes in its manifest are needed:
diff -urN last_topic_title_on_forum_index/manifest.xml last_topic_title_on_forum_index_2/manifest.xml
--- last_topic_title_on_forum_index/manifest.xml 2011-10-29 21:55:19.000000000 +0200
+++ last_topic_title_on_forum_index_2/manifest.xml 2013-12-25 12:33:39.368279835 +0100
@@ -167,12 +167,17 @@
]]></hook>
- <hook id="in_qr_get_cats_and_forums"><![CDATA[
+ <hook id="om_subforums_fn_update_forum_info_last_post"><![CDATA[
+ $cur_forum['last_post_subject'] = $cur_subforum['last_post_subject'];
+ ]]></hook>
+
+
+ <hook id="in_qr_get_cats_and_forums, om_subforums_qr_get_cats_and_forums"><![CDATA[
$query['SELECT'] .=', f.last_post_subject';
]]></hook>
- <hook id="in_normal_row_pre_display"><![CDATA[
+ <hook id="in_normal_row_pre_display, om_subforums_normal_row_pre_display"><![CDATA[
$last_topic_title_max_len = isset($forum_config['o_max_last_topic_title_length']) ? intval($forum_config['o_max_last_topic_title_length'], 10) : 0;
$last_topic_title_mode = isset($forum_config['o_last_topic_title_mode']) ? intval($forum_config['o_last_topic_title_mode'], 10) : 1;
$last_topic_title = $cur_forum['last_post_subject'];
Or download patched extension from here: last_topic_title_on_forum_index_patched.zip
Unfortunately there is not an easy way to do that. Right now there is one unique folder per post - when post is removed, the whole folder is removed as well. For this feature it will be easier to write a new extension than modyfing this one.
om_subforums is not compatybile with the extension: "last_topic_title_on_forum_index", not yet I have analysed the problem, but it is quite complex -I will have to do some changes in both extensions, not only in om_subforums. I will look at them closer on weekend.
Problematic cases:
- user is creating a new topic in subforum, it should be visible on index page
- fetching last topics of the subforums.
You will have to disable one of these extensions, until the patch is released.
What other extensions have you installed in your forum.
http://domain.com/new/reply/999/quote/252%20eksternal,253%20eksternal/
Do you have any idea, why your post ids aren't numeric?
Can you provide me the text of post that you are quoting? And tell me where exacly is the problem.
Fixed. Gezz.... why it must be completly different than in url tag
This is how people from my company are calling the "private browsing mode" or "incognito mode". Take a look at this: http://en.wikipedia.org/wiki/Privacy_mode . If you switch to this mode, the browser will start a new session, regenerate all cookies, causing the lost of your readed posts markings. And after you close this mode, all data of your browsing history will be deleted from hard disk.
In pubb the new-posts-tracking system is in general not working as good as it should. Users from my forum said, that the extension, I mentioned in the previous post, helped a little.
Punbb is a great software, everything is written very well except for posts tracking system Information about visited topics are stored in cookies, and if you are visiting the website in "porno-mode" it is going crazy.
Try this extension: http://punbb.informer.com/forums/topic/ … abase-102/
New features:
- decode smilies in messages
- guests can view shoutbox
- added ref="nofollow" to links
You have to replace document.location.href with ext_info['url'], like this:
<hook id="pun_bbcode_pre_buttons_output"><![CDATA[
$onclick = 'window.open(\'http://postimage.org/index.php?mode=punbb&lang=english&forumurl=\' + escape(\''.$ext_info['url'].'/\'), \'postimage\', \'resizable=yes,width=500,height=400\');';
$this->add_button(array('name' => 'Upload Image', 'onclick' => $onclick, 'image' => true));
]]></hook>
And place addform.html not in root, but inside extension folder f.e. /extensions/e_image/addform.html
Complete extension: e_image_fancy_folder.zip
Nice, minimalistic and clear source code. Have you seen the extension fancy_spoiler? It is nearly identic.
Hi,
Check the file: /lang/English/mail_templates/welcome.tpl
E-mails are beeing sended as text messages. Unforunately you cannot format the text (bold, size, etc) without changes in source code, but you can still use some old-fashion methods like CAPITAL letters.
Nice idea paulcambull If someone has a huge forum, with very active members, this will be useful.
Does this extension has any sense? Users can any moment post a response, see content, then delete their post quickly, so nobody sees.
This extension will be extremally hard to make, I think the only possible solution it to replace all line breaks from generated output buffer, but additional processing of html will higher load.
If you want to reduce transfer, the best what you can do is to enable gz compression. Reducing line-breaks before compression has no sense, because it is well known fact, that text with spaces compress better than without them (see the article: William Teahan. Modelling English Text. PhD thesis, University of Waikato, New Zealand, 1998.)
If you want to reduce load... hm... this will be harder You will have to move to another server, or disable some of your extensions. But it is weird, because I am running a quite big page on Raspberry pi and have absolutly no problems with load - it is about 0.20 on the sunday evening (20-30 users online) chatting on the shoutbox...
Does anybody know a forum engine (phpbb, mybb, smf, etc), where facebook login is actually working. It would be nice to see a working example before writing an extension. A link to such forum would be nice
Ummm.... you see, I haven't noticed the join ed_qr_get_post_info....
The idea of extension if following:
if (post is the last post in a thread) then
silent edit
elseif (isset($_POST['silent']) && $forum_page['is_admmod']) then
silent edit
else
normal edit
The first think what we have to do, is to check which post_id is the last post in the topic. And if this condition is true, I am completly replacing the content of $query['SET'] in ed_qr_update_post.
I have done small correction, now there is no subquery in the manifest
PunBB Forums → Posts by keeshii
Powered by PunBB, supported by Informer Technologies, Inc.