2,876

(8 replies, posted in Programming)

Every place where you can't say with 100% certainty that the value will never contain HTML, etc
So, echoing an int stored in the database? Don't bother.
Echoing a string? Use it

2,877

(8 replies, posted in PunBB 1.2 discussion)

Exactly, the queries are run as fast as possible, which may not be what you want... Reindexing is extremely hard on the sql server, personnally i would prefer having the reindex process take more time with less load on the sql server.

But weren't you saying that reindexing was taking too long? wink

Believe me, when the reindexation process takes several DAYS, you don't want to let your firefox open. Moreover, imagine you have a network failure within these three days, the reindexation process just crashes, and you will have to restart it manually where it had stopped. Same if your firefox just crashes for some reason...

Same if your server restarts for some reason tongue

You should try to reindex a big forum with the current system

How big? I reindexed a 150k post forum in under a day tongue

A couple questions
- where is $username set?
- why not simply keep a counter, increment it, and decide what to show based on the value of that?
- is this seperate from PunBB or does it use PunBB's user system

Burnsy86 wrote:

In order to add a new style/skin you have to use the AP_Style_Installer plugin.

Well, no, styles are simply a file uploaded to the style directory. I don't know what the Style Installer plugin is, but I assume that's all it does

Burnsy86 wrote:

Well if I install a new style, can I edit the CSS and then just FTP overwrite the old CSS or would I have to install the new style all over again?

For example:

I installed a new style that was green and yellow. (not really, but thats just an example)

Then, after it was installed, I decided to change it to green and grey.

Could I just overwrite the old CSS file or would I have to install it all over again?

So yes, just edit the CSS on the server

2,880

(8 replies, posted in PunBB 1.2 discussion)

Yann wrote:

Smartys > for the reindexing I would suggest a tool in perl/php-cli, so that it can be run from the command line in a screen... With an option for the speed of the queries.

The queries are already run as fast as possible and you can control how many topics are indexed in one pageview. And running from a shell is not something everyone can do. I don't really see how that would improve indexing.

2,881

(15 replies, posted in PunBB 1.2 troubleshooting)

How are you integrating the output?

Moved to Integration

2,883

(15 replies, posted in PunBB 1.2 troubleshooting)

The directions are in the download itself, and the title can be hidden by adding
display: none
to the .pun H1 span bit

2,884

(4 replies, posted in PunBB 1.2 troubleshooting)

Did you import your database from your old host?

2,885

(15 replies, posted in PunBB 1.2 troubleshooting)

http://wiki.punres.org/Add_a_logo_to_the_header_via_css
http://punbb.org/download/plugins/AP_News_Generator.zip

Category: make sure you create forums that use that category
Options: It sounds like your cache files aren't being updated. Try deleting the .php files in your cache directory and chmodding the directory so that files can be written there by PHP

2,887

(15 replies, posted in Programming)

Jérémie's issue is the more important one

2,888

(2 replies, posted in PunBB 1.2 discussion)

http://www.w3schools.com/tags/tag_object.asp
I believe that's the tag you're supposed to use

In fact, I just found this article
http://alistapart.com/articles/flashsatay

My suggestion for adding users would be the user management plugin
http://punbb.org/forums/viewtopic.php?id=5936

Or you could have the users register and create a forum that only newly registered users can see (but not post in) that explains what information to send to get confirmed

2,891

(4 replies, posted in PunBB 1.2 troubleshooting)

Enable debug mode, paste the full message

That's not difficult to do right now. Simply create a new user group, take away its permissions, and set it as the default group for new users.

2,893

(1 replies, posted in PunBB 1.2 discussion)

Moved to PunBB Discussion and closed
Thank you for the report, but PunBB 1.3 has not been released for beta yet and as such we're not accepting bug reports for it yet.

2,894

(6 replies, posted in PunBB 1.2 troubleshooting)

You should talk to the person who installed your forum for you wink

2,895

(6 replies, posted in PunBB 1.2 troubleshooting)

Searching for that error on these forums, it looks like you modified your database tables.
http://punbb.org/forums/viewtopic.php?id=12326

2,896

(6 replies, posted in PunBB 1.2 troubleshooting)

Enable debug mode, paste the full error

2,897

(15 replies, posted in Programming)

Link?

2,898

(28 replies, posted in General discussion)

Yes, they do: you can't upload or modify files though

2,899

(4 replies, posted in PunBB 1.2 troubleshooting)

Set everyone's email option to "Hide your e-mail address and disallow form e-mail." in the database, then remove the code for it in register.php and profile.php

2,900

(28 replies, posted in General discussion)

destrugter wrote:
Smartys wrote:

mindlessoath linked you to MyPunBB, that's a free PunBB forum hosting service.

ok, i signed up with them, but how do i upload the files too the site?

You don't, all MyPunBB is is a PunBB host. You can't upload or modify files.