76

(8 replies, posted in PunBB 1.4 additions)

om_thanks
Say "thanks" below intresting posts.


Download 0.0.2 (current): om_thanks-0.0.2.zip


Screenshots:
http://dev.poldrag.katowice.pl/distfiles/punbb/om_thanks1.png
http://dev.poldrag.katowice.pl/distfiles/punbb/om_thanks2.png

77

(2 replies, posted in PunBB 1.4 troubleshooting)

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)

78

(26 replies, posted in PunBB 1.4 additions)

Newuser12 wrote:

Undefined cat_count in vf.inc.php line 72
<?php echo $forum_page['cat_count'] ?>

It was just a notice, corrected.

79

(4 replies, posted in PunBB 1.4 bug reports)

You are not the first person asking about that feature. I will try to make an extension for that smile

80

(9 replies, posted in PunBB 1.4 bug reports)

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?

81

(8 replies, posted in PunBB 1.4 additions)

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:
http://dev.poldrag.katowice.pl/distfiles/punbb/om_friends1.png
http://dev.poldrag.katowice.pl/distfiles/punbb/om_friends2.png

82

(26 replies, posted in PunBB 1.4 additions)

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.

83

(26 replies, posted in PunBB 1.4 additions)

Newuser12 wrote:
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 smile

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

84

(10 replies, posted in PunBB 1.4 additions)

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.

85

(26 replies, posted in PunBB 1.4 additions)

om_subforums is not compatybile with the extension: "last_topic_title_on_forum_index", not yet smile 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.

86

(26 replies, posted in PunBB 1.4 additions)

What other extensions have you installed in your forum.

87

(6 replies, posted in PunBB 1.4 additions)

kudataz wrote:
http://domain.com/new/reply/999/quote/252%20eksternal,253%20eksternal/

Do you have any idea, why your post ids aren't numeric?

88

(6 replies, posted in PunBB 1.4 additions)

Can you provide me the text of post that you are quoting? And tell me where exacly is the problem.

89

(10 replies, posted in PunBB 1.4 additions)

Fixed. Gezz.... why it must be completly different than in url tag tongue

90

(6 replies, posted in PunBB 1.4 bug reports)

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.

91

(6 replies, posted in PunBB 1.4 bug reports)

Punbb is a great software, everything is written very well except for posts tracking system hmm 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/

92

(23 replies, posted in PunBB 1.4 additions)

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&amp;lang=english&amp;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

94

(5 replies, posted in PunBB 1.4 additions)

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.

96

(5 replies, posted in Feature requests)

Nice idea paulcambull smile 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 hmm 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...

99

(11 replies, posted in PunBB 1.4 additions)

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 smile

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 smile