Yup, that works as well (I just tested out the CSS idea and it works)
1,252 2008-01-27 22:02
Re: how to change the Guest (db) ID from 1 to 0? (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
No, there are no templates in the sense you're thinking of. If you're talking about just replacing the link in the navlinks, that's include/functions.php, in the generate_navlinks function. If you're talking about replacing the link elsewhere (eg: viewtopic.php), that's within those files most likely.
1,253 2008-01-27 21:55
Re: how to change the Guest (db) ID from 1 to 0? (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
In the files where they exist...? I'm not sure what you mean
1,254 2008-01-27 21:55
Re: Suggestions (11 replies, posted in Feature requests)
Also imagine some kind of compatibility between punbb and mailman (GNU mailing list) - the idea is: providing two ways to send and receive posts/messages: web browser, and mail client.
Sounds like a wonderful extension, but certainly not a feature for the core
And one more thing: since smiles are allowed unlike the main punbb principles, I think it might be a idea good to replace "online/offline" texts in member-profile pane with a blink-maroon-gif for "online" and a gray-png for "offline".
I'm not exactly sure what you mean by "unlike the main punbb principles"
However, the online/offline texts can be determined via CSS I believe: if you want to have a style that replaces them, you're certainly free to
1,255 2008-01-27 21:53
Re: can some one please make a mod of seo that is in 1.3 v to current 1.2 (7 replies, posted in General discussion)
Good luck to whoever wants to try this, such a mod would touch every single URL in every single file.
Edit: So, either you'll have a mod where you're editing lots of lines in every file, or you'll have a mod like one I just saw where you're running preg_replace over the contents of the entire page once for each URL you want to rewrite.
1,256 2008-01-27 21:49
Re: how to change the Guest (db) ID from 1 to 0? (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Delete profile.php, replace all references to it with references to your page?
1,257 2008-01-27 21:48
Re: Search fails without wildcards with sqlite (3 replies, posted in PunBB 1.2 discussion)
Yeah, the wildcard is what you use to search for parts of words. If there's no wildcard, you're searching for the exact word. Makes sense
Moved to PunBB Discussion
1,258 2008-01-27 21:47
Re: Suggestions (11 replies, posted in Feature requests)
What kind of statistics? An extension could do this nicely and let you customize exactly what data you want to see
Something like: Visitors: (# online/ # total) - Members: (# online / # total) - Alexa Rank: #
You can already see guests online on the front page (and I don't see where you can come up with a "total" for that).
Same with number of users online (although there you can get a total).
Alexa rank is completely useless
So yes, that would be better off as an extension
UTF-8 and Tahoma are better for non-Latin characters.
Example?
LTR attribute is necessary to prevent inheriting RTL attribute in RTL pages, since filname, username & password are usually LTR texts.
I think that's something that can be left up to each forum administrator.
1,259 2008-01-27 21:44
Re: Moving the "Mark all posts as read" and "Show new Post" to another pag (2 replies, posted in PunBB 1.2 troubleshooting)
Look in header.php where the links are added, there is a reference to index.php
1,260 2008-01-27 18:19
Re: how to change the Guest (db) ID from 1 to 0? (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
There is no PHP variable, the assumption of 1=Guest is used in various places in the code.
foxmask: Just changing the ID in the database does nothing but break the forum.
You would probably find it easier to assign your user a new ID
1,261 2008-01-27 17:45
Re: Isnt its time for Punbb to be more SEO Friendly (36 replies, posted in General discussion)
Paying for it does not give your friend the right to redistribute it, nor does it give you the right to redistribute it
1,262 2008-01-27 17:44
Re: A multiple URI question (15 replies, posted in Programming)
Yes. You could also just have the equivalent of disp_position
1,263 2008-01-27 16:27
Re: A multiple URI question (15 replies, posted in Programming)
OK
So, lets say you have a downloads table. It has an ID, a name, maybe filesize, number of downloads, etc.
Then you would create a download_uris table. That would have at least two columns, one being the ID of the download in the downloads table and the other being the URI.
1,264 2008-01-27 16:10
Re: oploder (6 replies, posted in Programming)
I removed that image from your signature, it was way too tall
1,265 2008-01-27 15:50
Re: A multiple URI question (15 replies, posted in Programming)
The second option, but with a table set up so that you add a new row for each one, not a new column if you start exceeding a certain number
1,266 2008-01-27 14:25
Re: Have the ability to enable/disable the quickjump. (2 replies, posted in Feature requests)
Quick jump Yes No Enable the quick jump (jump to forum) drop list.
It's in admin options
1,267 2008-01-27 03:27
Re: Just need to know if this image URL is good to use. (2 replies, posted in General discussion)
You have base URL in the wrong place, it should be at the beginning of the src
1,268 2008-01-27 02:24
Re: Assistance with a query (9 replies, posted in General discussion)
LIMIT '.$min.', '.$max
1,269 2008-01-27 02:10
Re: Fixing 'Bad request' errors after messy customization (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Just confirmed that it's still spitting out firstname, not username.
1,270 2008-01-27 02:09
Re: Fixing 'Bad request' errors after messy customization (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I don't think you did, because it looks like I'm getting the same value for form_user as I did. Then again, it's hard to know on your forum what the value of username is versus email versus firstname.
1,271 2008-01-27 01:49
Re: Fixing 'Bad request' errors after messy customization (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I'm going to pretend I didn't just notice that you removed the copyright from the code itself, which is illegal
The issue, as you guessed, is that you're mixing the username and the email. In the form, this line is wrong:
<input type="hidden" name="form_user" value="<? echo (!$pun_user['is_guest']) ? pun_htmlspecialchars($pun_user['firstname']) : 'Guest'; ?>" />
you shouldn't be using firstname, but username.
1,272 2008-01-27 01:40
Re: Fixing 'Bad request' errors after messy customization (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Paste a copy of your post.php?
1,273 2008-01-27 01:07
Re: Fixing 'Bad request' errors after messy customization (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
If you linked to your site, it might be easier for someone to tell where the problem is?
1,274 2008-01-26 20:10
Re: INNER JOIN and LEFT JOIN (4 replies, posted in Programming)
http://dev.mysql.com/doc/refman/5.0/en/join.html
#
If there is no matching row for the right table in the ON or USING part in a LEFT JOIN, a row with all columns set to NULL is used for the right table. You can use this fact to find rows in a table that have no counterpart in another table:
SELECT left_tbl.*
FROM left_tbl LEFT JOIN right_tbl ON left_tbl.id = right_tbl.id
WHERE right_tbl.id IS NULL;
This example finds all rows in left_tbl with an id value that is not present in right_tbl (that is, all rows in left_tbl with no corresponding row in right_tbl). This assumes that right_tbl.id is declared NOT NULL. See Section 6.2.8, ?LEFT JOIN and RIGHT JOIN Optimization?.
That's the major difference
1,275 2008-01-26 18:29
Re: Help installing PunBB (1 replies, posted in PunBB 1.2 discussion)
You're entering the wrong username/password for your MySQL database. Talk to your host if you don't know what the correct details are.