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,876 2007-06-10 14:18
Re: pun_htmlspecialchars (8 replies, posted in Programming)
2,877 2007-06-10 11:29
Re: Improve search? (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?
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
You should try to reindex a big forum with the current system
How big? I reindexed a 150k post forum in under a day
2,878 2007-06-09 23:59
Re: Contest based on number of times page is accessed (3 replies, posted in Programming)
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
2,879 2007-06-09 02:21
Re: Editing Styles after Installing (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
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 2007-06-09 00:48
Re: Improve search? (8 replies, posted in PunBB 1.2 discussion)
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 2007-06-09 00:46
Re: Image? (15 replies, posted in PunBB 1.2 troubleshooting)
How are you integrating the output?
2,882 2007-06-09 00:45
Re: How to put my PunBB in my website template? (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Moved to Integration
2,883 2007-06-08 22:28
Re: Image? (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 2007-06-08 21:56
Re: move forums (4 replies, posted in PunBB 1.2 troubleshooting)
Did you import your database from your old host?
2,886 2007-06-08 19:23
Re: I can't create new catagories, or otherwise modify database (1 replies, posted in PunBB 1.2 troubleshooting)
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 2007-06-08 11:38
Re: Apache redirect (15 replies, posted in Programming)
Jérémie's issue is the more important one
2,888 2007-06-07 22:35
Re: How best to embed? (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
2,889 2007-06-07 21:49
Re: How can i add multiple users in my forum? (1 replies, posted in PunBB 1.2 discussion)
My suggestion for adding users would be the user management plugin
http://punbb.org/forums/viewtopic.php?id=5936
2,890 2007-06-07 21:16
Re: Administrator / Moderator confirmation of new members. (8 replies, posted in Feature requests)
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 2007-06-07 20:29
Re: move forums (4 replies, posted in PunBB 1.2 troubleshooting)
Enable debug mode, paste the full message
2,892 2007-06-07 20:28
Re: Administrator / Moderator confirmation of new members. (8 replies, posted in Feature requests)
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 2007-06-07 20:25
Re: [1.3] Bug in rewrite (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 2007-06-07 18:36
Re: Unable to fetch user info. (6 replies, posted in PunBB 1.2 troubleshooting)
You should talk to the person who installed your forum for you
2,895 2007-06-07 18:27
Re: Unable to fetch user info. (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 2007-06-07 18:17
Re: Unable to fetch user info. (6 replies, posted in PunBB 1.2 troubleshooting)
Enable debug mode, paste the full error
2,898 2007-06-07 13:08
Re: questions about punbb (28 replies, posted in General discussion)
Yes, they do: you can't upload or modify files though
2,899 2007-06-07 12:20
Re: User info in posts (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 2007-06-07 11:01
Re: questions about punbb (28 replies, posted in General discussion)
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.