526

(27 replies, posted in PunBB 1.2 troubleshooting)

Plubyblop's suggestion sounds somewhat like THACAA.

527

(9 replies, posted in PunBB 1.2 discussion)

Meowmeow, I know that you're just trying to help, but in the end it really doesn't make a difference if you use the symbol, the word, or both at once. Like Smartys said, even if there was no notice at all, PunBB would still be Rickard's intellectual property, unless he specifically released it into the public domain. Unless Rickard feels some compelling reason to change things, the way it is now is fine.

micxuy wrote:

hi;
im using PunBB 1.2.14 at the moment and i couldnt able to install this mod, there are anyway to install this mod for my punbb version?

Thanks.
Regards.

You can easily update mod compatibility.

529

(4 replies, posted in Feature requests)

From the about page:

Rickard wrote:

Some features that I have so far chosen not to implement are: private messaging, file attachments, polls, linking to off-site avatars, advanced text formatting controls, subforums etc etc. The jury is still out on some of these features, but don't expect them to pop up anytime soon. It should however be noted that most, if not all of these features have been realised in the form of third-party mods.

Thus it's not all that likely that polls will be implemented.

If you search Punres.org, however, you'll be able to find a poll mod.

AFAIK, the default value will automatically be applied to a new row, but it won't affect any existing rows. Try creating a new user and see what happens.

Well, I guess the important thing is that it's not like that anymore. smile

This section is fine. smile

Assuming that you have the proper PunBB files included at the head of your script for proper integration (see the docs), I bet you could just copy the query from viewtopic.php but hard-code the topic ID into it.

Do you have enough PHP experience to work with that information, or do you need someone to help you further? I'll help you if I can.

No problem.

Did you ever touch the code with MS Frontpage or another WYSIWYG editor of some sort? It might have "helped" you by doing some funky conversions.

534

(8 replies, posted in Feature requests)

EDIT: Aaargh Smartys, you keep doing that. smile

Meanwhile, in 1.2, could a quick hack be to use the API in the dblayer file and hash the query for an ID? I was actually looking at memcache the other day and pondering this (although I have no need whatsoever to do this).

It doesn't actually strip out the tags, it just replaces some characters with entities so that the tags aren't rendered by the browser.

And no, it does not look right, it should look like this:

function pun_htmlspecialchars($str)
{
        $str = preg_replace('/&(?!#[0-9]+;)/s', '&', $str);
        $str = str_replace(array('<', '>', '"'), array('<', '>', '"'), $str);

        return $str;
}

For some reason, you have it changed so that it replaces double quotes and greater / less than signs with exactly the same thing. wink

P.S. If your members complain about not being able to post videos anymore, I have a YouTube video BBCode mod on Punres.

http://punbb.org/forums/viewtopic.php?id=12721
http://punbb.org/forums/viewtopic.php?id=12406
http://punbb.org/forums/viewtopic.php?id=10126
http://punbb.org/forums/viewtopic.php?id=4231

I suppose you could edit the parser to include something like this in the image tag:

style="MAX-WIDTH: 400px; MAX-HEIGHT: 60px"

AFAIK it wouldn't work in IE6 with Javascript disabled however, because minmax.js is what gets MAX- to work in IE.

If you want to control the file size, however, that would be more complicated and there wouldn't be much of an effective solution, unless you do as suggested above and allow users to upload signatures. No mod of this nature currently exists.

Bibby wrote:

The html 'input' type  isn't 'password', does it safe?

All that setting the input type to "password" does is hide the actual characters in the box so that someone can't look over your shoulder and see what you've typed, so as long you don't let people look at your monitor when you're on the admin panel it's irrelevant.

Bibby wrote:

Another thing, the 'SMTP password' filed is unencrypted.

I don't know much in terms of encryption but AFAIK the problem with that is that while pretty much all PHP environments supported by PunBB will do "one-way" encryption (I'm not quite sure what the correct term is), not all support both encrypting and decrypting. PunBB can encrypt a password submitted by a user upon login and compare it to the encrypted version stored in the database, so there's no need for decryption, but PunBB needs to send the SMTP server a decrypted password, which would require the capability to decrypt an encrypted stored version.

soyuz wrote:

hi,

i already installed private message 1.2.2

today i just update to punBB 1.2.14 and i lost the PM features. I download the 1.2.14 updates files and upload all the files. my mistake. so here i now, no mods at all big_smile. In administration area is OK, Private Message still shown in the Plugins list. It's dissapeared in the forum only.

So what files should I fix, so members can use this feature again?

thank you.

Just follow the mod readme again, except don't run install_mod.php or upload any of the files. Just make the edits it instructs you to.

540

(8 replies, posted in PunBB 1.2 troubleshooting)

pedrotuga wrote:

I checked the manual and its kind of weird.. isnt there any function that  simply takes away the html tags rather then enconding or scaping them?

strip_tags()

541

(7 replies, posted in PunBB 1.2 troubleshooting)

Moved to troubleshooting.

main.tpl isn't working? Hmm, I'm not sure why it wouldn't. Are you getting any errors?

542

(43 replies, posted in General discussion)

hcgtv wrote:

Hey, I have a Gateway laptop also smile

I'm using the Microsoft Wireless Notebook Optical Mouse 3000 on mine, works just fine. But it's rather basic, no extra buttons to configure in the X config file. I guess I've been bitten so many times in the past that when I buy peripherals these days, I keep it simple.

Is your Gateway laptop crap also?

I guess I shouldn't complain, it was free. smile

543

(43 replies, posted in General discussion)

My Gateway notebook just came back from a repair (with a formatted hard drive - just Windows, no OEM software... boots in less than 10 seconds!) so I decided to have a bit of fun and install Dapper Drake. I've still got a bit of work to do learning / configuring but overall I'm extremely impressed. smile

The only real hitch that I've had so far is that Logitech doesn't have Linux drivers for my VX Revolution. I've found some fancy-mouse guides out there, but they seem quite complicated. sad

In short, it is not possible to integrate PunBB with your existing user system without some programming on your part. You'd have to either modify PunBB to get all its user data from the existing users table and authentication data from the session or create a login form that logs in / authenticates for both user databases simultaneously.

Or you could do as quaker suggested, and modify your current system to run around PunBB.

545

(1,382 replies, posted in General discussion)

ham

This seems a bit like what you're looking for: http://www.punbb.fr/mods/mod.php?id=30

547

(52 replies, posted in PunBB 1.2 discussion)

kurdsonline wrote:

haw I kan install the smaile

http://punbb.org/docs/faq.html#faq3_1

Is this what you're looking for: http://www.punbb.fr/mods/mod.php?id=7 ?

You'd need some PHP experience, but even so, you might want to look at Paypal, the PHP approach.

550

(1,382 replies, posted in General discussion)

bot