26

(98 replies, posted in PunBB 1.3 extensions)

It works for me.
But really what I want is to be able to upload image file to the posting.

On the wiki, a feature requested as following:
Add a possibility to embed images (or their thumbnails, depending on their size) into posts with BBCode, e. g. [file]image.gif[/file]

I think this is what I want.

I am thinking to add another button behind the 'add file' button. Let's say 'insert image'. If the user click this button, the image file will be displayed directly instead of display its icon.

If someone help me, I could join this project.

27

(0 replies, posted in PunBB 1.3 troubleshooting)

Hi, Punbb gurus!
I just installed animated avatar extension and I created an animated file at http://pho.to. Then I uploaded to my forum. But it does not show up in the personal head image area.
There is no 'Use this image as my avatar' link in my case.

If I upload a static image file and upload it via avatar, it works.

I am using 1.34
Do I have to upgrade punbb?

Thanks a lot!

28

(3 replies, posted in PunBB 1.3 additions)

I put background image for my web site. It works.

29

(118 replies, posted in Supported extensions)

How to modify this extension to display the image file instead of showing an icon?
I want to make it very easy to upload photos for users.
Thanks!

30

(32 replies, posted in PunBB 1.3 extensions)

Is any extension to just upload image files to display in the posting?

The current pun_attachment display an icon instead of the picture itself.

If we let it display the picture instead of its icon, we can get the function.

I found the place to be changed, but I did not find the php file yet.


<div class="post-entry">

                    <h4 id="pc14" class="entry-title hn">主题: 附件调试</h4>
                    <div class="entry-content">
                        <p>本站上图</p>
                        <div class="attachments"><strong id="attach14">Post's attachments</strong><p>
<a href="http://8600000011.31615.com:8180/misc.php?item=1&amp;preview"><img src="http://8600000011.31615.com:8180/extensions/pun_attachment/img/image.png" width="15" height="15" alt="Attachment icon" />&nbsp;cj1gcpp15c5cgjcjg15pcc51c.jpg</a>&nbsp;88.78 kb, file has never been downloaded.&nbsp;</p></div>

                    </div>
                </div>

You can change the square with some image. See my web site: http://86000000132767.31615.com

The image file uploading can be done with pun_attachment. But there are some works to do.

I set up ejabberd chat server. It works with English. But not working if the username is  Chinese.

http://86000000132767.31615.com

Thank you!

I added "else echo $lang_common['Member'];"
It works.

Hi, punbb gurus!

I have setup allow guest to post and reply. This make it easy for people just drop a couple of lines comments. I want to make it even simpler to add a default user name an email address to the form for the lazy users. All they have to do is to fill the catcha and the content and click submit.  I had a look inside post.php. I really cannot find the place to add the default value. Please give me a hand!

The web site is http://8600000011.31615.com

Thanks!

Frank Peng.

I am using 1.34. I cannot find DIV.icon in 1.34.

I have the same problem. Either black or none.

Thank you!

I reset his password. I works in Canada. I will let him try it in China.

The web site is http://86000000132767.31615.com

Yes. It worked. Thanks a lot!

37

(41 replies, posted in PunBB 1.3 bug reports)

Sounds like time zone problem. My user changed to another computer, and he still cannot login. He is in China. Well, some other Chinese are able to login.  I am in Canada.  This is the web site : http://86000000132767.31615.com

38

(41 replies, posted in PunBB 1.3 bug reports)

The user's group_id is 3. What was wrong with that?
Thanks!

I do not know.
First, he forget his password. I don't know how to reset password. So I delete his record from the database. He then recreate the account. Then he cannot login on. Maybe it is my problem. Now I know, when I delete a user, and create a new one. They are not the same. The id is different.

Hi, Punbb gurus!
I set up a punbb and it worked for a while. Then one user reported he could not login. So I delete his record in the database and let him re-create his account. This won't fix his problem. He still won't be able to login.

Please help me to refresh his cookie.

Thanks a lot!

where to put the extension files?

42

(35 replies, posted in PunBB 1.3 extensions)

How to install the extension?

43

(7 replies, posted in Discussions)

Great!

It works!

I am using shell scripts to fill up the censoring table.

I know how to enable censoring by using browser. 

Also I know how to enable censoring by directly changing config table in database. In the table config, conf_name o_censoring=1 means enable censoring. o_censoring=0 means disable censoring.

My problem is that it won't work after I fill up the censoring table and set up the config table o_censoring value.
I have to click the "update" button in the browser to enable the filtering word.

I went back to the database. What the "update" button did is to make a censor_cache.php in the cache directory and reset the filtering word in the censoring table.

Before clicking the "update" button, the censoring table is like this(for example):

id, search_for, replace_with
1,  shit,             s*h*i*t
2,  F*u*c*k       f-u-c-k
3, s-t-u-p-i-d     s*t*u*p*i*d

After click the "update" button of the first word, the censoring table changed like this:

2,  F*u*c*k       f-u-c-k
3, s-t-u-p-i-d     s*t*u*p*i*d
1,  shit,             s*h*i*t

Now the first filtering word works, the last two still not working. Seems very strange.

45

(7 replies, posted in Discussions)

FreshPrince wrote:
#brd-about {max-height:30px; overflow:hidden;}

I want to do the same as you. Please tell me where to put this code.

Thanks a lot!

Hi,
I have installed censoring table and set conf_value=1 for conf_name=o_censoring. After I logged in as admin, I can see all of the filter words. But I have to click update on EACH word, otherwise it won't work. The problems is that I have thousands of words and many databases. So I have to use program to do this job. Please enlighten me how to make it work after I load censoring table and set up config o_censoring=1?
I have deleted all php files in cache directory after I filled up censoring table and set up o_censoring=1. It won't help.
Is there another switch to activate the filtering function?
Please help!
Thanks a lot!