4,176

(23 replies, posted in PunBB 1.2 troubleshooting)

I'd talk to your host and ask them smile

4,177

(20 replies, posted in PunBB 1.2 troubleshooting)

Check your phpinfo(), make sure display_errors is set to On

4,178

(11 replies, posted in Feature requests)

twohawks wrote:
Smartys wrote:

Well, your host would need to allow you to:
Access URLs via PHP
Save a file you downloaded somewhere on the server (usually not the issue)
Decompress the file
Replace your current files with the new files

Everywhere along there there's issues with what hosts allow you to do and with what's allowed for security (ie: Apache on shared hosting should not usually be able to overwrite your files unless you want to make it really easy for someone on your server to "hack" you)
Not to mention, what happens if something goes wrong in the middle? What if you installed mods?

.
My experience with my shared hosting provider is that if I wish to have something installed (for me or a client I host), either I can use an installer through the control panel or I can actually ask them to install it for me (at no charge).  For all the restrictions we may have it doesn't seem we are all that limited, and I would rate my hosting provider as average, meaning they aren't necessarily offering features so different from most others.
  Seems to me being able to install stuff has become common place.  Does this have any relationship to 'the possibilities' being examined in the question brought up here?

(btw, we are using WHM 10.8.0 cPanel 10.9.0-R118 / CentOS 4.4 i686 - WHM X v3.1.0, which seems to be extremely common and basic, yet provides tons of features.)

Cheers,

Installing through control panel software is different than modifying through plain PHP/Apache wink

4,179

(11 replies, posted in Feature requests)

reviewum.com wrote:

Very valid points Smartys, thanks!    Regarding problems if something goes wrong or mods:  I'd assume that the alternative upgrade steps would still be available, but once 3.0 comes out I would think that upgrading the core wouldn't effect extensions (is that correct?).

Thats one of the things that excites me the most of version 3 is that (again if I understand correctly) extensions will be easier to apply and won't effect the core, and upgrading the core doesn't necessarily effect the extensions.

Right, that issue goes away with 1.3 (assuming people don't decide to manually hack their code for some reason anyway)

4,180

(2 replies, posted in General discussion)

Keep in mind that it will also show more detailed error messages if something goes wrong: you might not want the average user to see it (or the average hacker to see it and try to take advantage of it)

4,181

(11 replies, posted in Feature requests)

Well, your host would need to allow you to:
Access URLs via PHP
Save a file you downloaded somewhere on the server (usually not the issue)
Decompress the file
Replace your current files with the new files

Everywhere along there there's issues with what hosts allow you to do and with what's allowed for security (ie: Apache on shared hosting should not usually be able to overwrite your files unless you want to make it really easy for someone on your server to "hack" you)
Not to mention, what happens if something goes wrong in the middle? What if you installed mods?

You'll have to buy the domain name and point it to the forum

Check your phpinfo() and see what the max size for an uploaded file is

Moved to PunBB Discussion
There's no PMs on this forum wink

As I said, I'm not sure you can convert using SQLite: I think you need to use MySQL

4,186

(5 replies, posted in PunBB 1.2 discussion)

Moved to PunBB Discussion

Keep in mind that PunBB 1.3 has not been released yet and that any code written for it now may not work when it actually is released. Also keep in mind that the extension system, which is how most modifications should be written in 1.3, is not fully implemented yet (the hooks aren't all in)

4,187

(20 replies, posted in PunBB 1.2 troubleshooting)

Editing profile.php will not affect the loading of index.php
I would do what guardian34 suggests, which you guessed right about

CReatiVe4w3 wrote:

I wasn't aware PunBB had this feature, but, since it does, there should be an option to allow stopwords in a search... I can think of a couple situations you'd maybe want it... maybe.

The whole point of stopwords is that they're so common they're not helpful: by having them you optimize the search tongue

I run it wink
You'll need to buy the domain and set it up to point to the forum.

Because preparse_bbcode is called when you post/edit, which turns all caps into all lower case?

Rusty wrote:

I actually didn't enter anything into that field because IIRC, since I'm using SQLite, it said to leave that field blank.

Nope, that was database host wink
That being said, I'm not sure a conversion to SQLite will work: you should try it though

I'm not familiar with how you transfer a database through phpMyAdmin, but I would assume that it transfers all of the data: what you need to do is shut down the forum on the old server, move the database over however you want, and re-enable the forum on the new server

Sounds like you entered the db_prefix for your existing PunBB forum wrong

FIND

if (version_compare(PHP_VERSION, '5.2.0', '>='))
        setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash))), $expire, $cookie_path, $cookie_domain, $cookie_secure, true);
    else
        setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash))), $expire, $cookie_path.'; HttpOnly', $cookie_domain, $cookie_secure);

REPLACE WITH

if (version_compare(PHP_VERSION, '5.2.0', '>='))
        setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash))), 0, $cookie_path, $cookie_domain, $cookie_secure, true);
    else
        setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash))), 0, $cookie_path.'; HttpOnly', $cookie_domain, $cookie_secure);

I'm confused: how did you move the database to the new server?

The cache folder has nothing to do with the latest posts: everything in the cache folder is based on what's in the database. Thus, your database backup didn't have the "latest posts"

Just use != wink
Keep in mind, that code will also display the message until
A. The subscriber replies
B. The subscriber times out/marks the forums as read

Moved to Integration

4,199

(38 replies, posted in PunBB 1.2 discussion)

Yay for extensions for the new parser! big_smile

Edit: Added something to the above code.

t.last_post_id is the post ID, not the user ID

Doesn't "new posts since last visit" work the same way?

Yes, but subscriptions don't wink