4,051

(7 replies, posted in PunBB 1.2 troubleshooting)

Without access to the website, I can't diagnose why it's not working
If you modified login.php or functions.php recently, I'd try undoing what you did

You can't include extern.php from the local filesystem when within PunBB itself
extern.php isn't meant to be included locally, either use the URL or (if your server doesn't support that) try using cURL. Search the forum, people have posted about it before.

4,053

(8 replies, posted in Programming)

Moved to Programming
Avatars are not stored in the database. However, the correct datatype would be blob (in MySQL)

4,054

(7 replies, posted in PunBB 1.2 troubleshooting)

Could you provide a link to your forum?

4,055

(6 replies, posted in Programming)

Moved to Programming

Moved to Modifications

4,057

(13 replies, posted in PunBB 1.2 discussion)

guardian34 wrote:
teenagegluesniffer wrote:

don't expect random members to make things xhtml compliant.

Why shouldn't we?

Because there are no standards for creating mods, which has led to some pretty haphazard creations tongue

You can't include extern.php from the local filesystem and treat it as a URL at the same time wink

4,059

(6 replies, posted in PunBB 1.2 troubleshooting)

Aha smile
I'm still not declaring it a bug, but I'll see about having the auto-detect script check for HTTPS wink

Edit: and it's in

4,060

(6 replies, posted in PunBB 1.2 troubleshooting)

If the security email address isn't working for you, send me (or another developer) an email
Moved to Troubleshooting, since https isn't replaced by PunBB

The guide was for a very old version of PunBB (I mean, this topic was created ~3.5 years ago) wink

4,062

(4 replies, posted in PunBB 1.2 troubleshooting)

Here or in your forum?
Also, define nothing: does it show the redirect? Does it take you back to the page you were originally on?

http://validator.w3.org/check?verbose=1 … Fpunk.html
I'd suggest taking a look at some of those first

4,064

(4 replies, posted in PunBB 1.2 troubleshooting)

It depends. Some people have static IP addresses and banning might only affect them. Others use servers that many thousands of people use, so banning them will affect others. Banning spam bots usually shouldn't harm anyone other than the spam bots though.

Moved to Troubleshooting
That code itself is fine, if you want to track down the actual source of your issue you can uncomment the code, enable debug mode, and paste the full error

4,066

(3 replies, posted in General discussion)

OK, seriously, calm yourself down.

Now, to answer your questions:
- You can't upload styles to a MyPunBB forum as far as I know
- Not sure what headings you mean
- If by old forum you mean your PunBB-Hosting forum, then you can certainly download the database backup. However, I don't believe Connor (the owner of MyPunBB) will restore it on his server for you

4,067

(1 replies, posted in PunBB 1.2 modifications, plugins and integrations)

Topic closed, you already posted a topic on this and explained your issue there

4,068

(9 replies, posted in PunBB 1.2 troubleshooting)

cpt. planet wrote:

Ok I got it working.  I don't know if you guys forgot to write this into the instructions or you just assume everyone is a website designer with 120 credit hours of school and 3 years experience.  You have to load the config.php into "upload" section.

install.php wrote:

To finalize the installation all you need to do is to <strong>copy and paste the text in the text box below into a file called config.php and then upload this file to the root directory of your PunBB installation</strong>.

The upload folder is simply meant to show people what files are meant to be uploaded as part of the forum: you can put the files in any folder you wish, no matter the name.

P.S. No need to be sarcastic wink

4,069

(9 replies, posted in PunBB 1.2 troubleshooting)

Did you upload it to the forum root?

4,070

(9 replies, posted in PunBB 1.2 troubleshooting)

Did you take the generated data, create a new file called config.php, paste the data in, and upload it?

4,071

(9 replies, posted in PunBB 1.2 troubleshooting)

Don't use - in a db_prefix, use letters, numbers, or underscores

4,072

(5 replies, posted in Feature requests)

You guys are making this far harder than it is: all it requires is a different order by option
I personally have no opinion on the feature, but I do think it's better suited for an extension

thegleek wrote:
guardian34 wrote:

I didn't test it, but something like this should work:

$result = $db->query('SELECT t.last_post FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.moved_to IS NULL ORDER BY t.last_post DESC LIMIT 1') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
$last_post = format_time($db->result($result));

is it really necessary to join 3 tables whereas to get the same results, this simple query command outputs the exact same thing?

$result = $db->query('SELECT MAX(last_post) FROM '.$db->prefix.'topics WHERE moved_to IS NULL') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
$last_post = format_time($db->result($result));

No, it doesn't output the same thing.
He wants the date and time of the last guest-accessible post, not any post.

4,074

(4 replies, posted in PunBB 1.2 troubleshooting)

The plugin shouldn't be deleting users without handling their posts properly: I did post a new copy of the plugin in the topic a while back

4,075

(10 replies, posted in PunBB 1.2 troubleshooting)

No, it wouldn't wink
I can think of one thing to check though. Make sure $p_connect in config.php is set to false (it should be unless you modified it)