1,751

(20 replies, posted in PunBB 1.2 troubleshooting)

Your query doesn't have t.id in it, so you're getting the forum ID. Replace $cur_topic['id'] in that code with $id.
As to the digg error, that looks to be a dig problem, not an issue with the link.

1,752

(15 replies, posted in PunBB 1.2 troubleshooting)

From the site linked to:

Force a Vertical Scrollbar on Your Site

You can add some simple styles to your site's style sheet to force a vertical scrollbar to always show and thus get rid of the page shift. The most obvious solution is to add an overflow: scroll rule to the html element. However, this rule adds a horizontal scrollbar as well, which web users definitely don't like. Here's an easy and valid way to force only the vertical scrollbar to appear, no matter what size the viewport is:

html { min-height: 100%; margin-bottom: 1px; }

1,753

(30 replies, posted in PunBB 1.2 discussion)

Oh, right, the language pack.
The language pack is saved in iso-8859-1, so you need to encode it using iconv or a similar tool.

1,754

(15 replies, posted in PunBB 1.2 troubleshooting)

Did you actually add the line to your Oxygen_cs.css file? wink

1,755

(20 replies, posted in PunBB 1.2 troubleshooting)

OK, I had to register to see it wink

       $subscraction = '<p class="subscribelink clearb"><img src="img/'.$pun_user['style'].'/misc/icon_arrow.gif" alt="·" title="·" /> <a href="misc.php?subscribe='.$id.'">'.$lang_topic['Subscribe'].'</a> <br /><img src="img/'.$pun_user['style'].'/misc/icon_arrow.gif" alt="·" title="·" /> <a href="viewprintable.php?id='.$id.'">'.$lang_common['Print version'].'</a><br /><img src="img/'.$pun_user['style'].'/misc/icon_arrow.gif" alt="·" title="·" /> <img src="../img/digg_icon.gif" alt="Digg!" title="Digg!" /> <a style="font-weight: normal;" href="http://digg.com/submit?phase=2&url='.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'&title='.urlencode($cur_topic['subject']).'">Digg It</a> | <img src="../img/delicious_icon.gif" alt="del.icio.us" title="del.icio.us" /> <a style="font-weight: normal;" href="http://del.icio.us/post?url='.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'&title='.urlencode($cur_topic['subject']).'">del.icio.us</a></p>'."\n";

Use that. It fixes the pid/id issue ($cur_topic['id'] is the topic ID, pid wants a post ID). That code would never have worked properly (although it might have worked simply because the post IDs happened to exist somewhere in the forum).

1,756

(20 replies, posted in PunBB 1.2 troubleshooting)

Could you provide a link to your site so I can see what the link is doing wrong?

1,757

(20 replies, posted in PunBB 1.2 troubleshooting)

I don't know why that code would work, it uses a non-existent title parameter for viewtopic.php and tries to use a topic ID as a post ID.

        $subscraction = '<p class="subscribelink clearb"><img src="img/'.$pun_user['style'].'/misc/icon_arrow.gif" alt="·" title="·" /> <a href="misc.php?subscribe='.$id.'">'.$lang_topic['Subscribe'].'</a> <br /><img src="img/'.$pun_user['style'].'/misc/icon_arrow.gif" alt="·" title="·" /> <a href="viewprintable.php?id='.$id.'">'.$lang_common['Print version'].'</a><br /><img src="img/'.$pun_user['style'].'/misc/icon_arrow.gif" alt="·" title="·" /> <img src="../img/digg_icon.gif" alt="Digg!" title="Digg!" /> <a style="font-weight: normal;" href="http://digg.com/submit?phase=2&url='.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'">Digg It</a> | <img src="../img/delicious_icon.gif" alt="del.icio.us" title="del.icio.us" /> <a style="font-weight: normal;" href="http://del.icio.us/post?url='.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'">del.icio.us</a></p>'."\n";

That should fix it

1,758

(15 replies, posted in PunBB 1.2 troubleshooting)

The topic you're looking at is long enough to have a scrollbar, your index page isn't. Thus, your topic page has slightly less width and a centered page is slightly to the left of where it would be otherwise. There is nothing that can be done about it as far as I know, and it really isn't a big deal wink
Actually, assuming you're using Firefox, try this:
http://punbb.org/forums/viewtopic.php?pid=81589#p81589

1,759

(2 replies, posted in Programming)

Let me correct my statement: the first query should be a create table statement, not an insert statement

1,760

(2 replies, posted in Programming)

Nothing is wrong, but as I keep telling you, latin1_german2_ci is not the collation used by most MySQL installs. As such, you're going to have issues if you import that table elsewhere, just like the users table issue you had.

1,761

(30 replies, posted in PunBB 1.2 discussion)

The collation for the tables is set to latin1 by default. You changed it to utf8?

1,762

(30 replies, posted in PunBB 1.2 discussion)

For case 2, you also need to change the character set for the tables.
And if any information that was entered prior to setting up case 2 looks wrong, you'll need to re-enter it because of how it was entered originally.

Moved to Modifications

I don't know what the problem is, so I don't know how to solve it tongue
Could you email me a username/password for an admin user to check this out? My email is smartys at this domain.

Indeed: nothing points to index.php on that page either

1,766

(71 replies, posted in News)

Link?

What happens when you try to save?

I edited your post to put the SQL dump inside a code block wink

OK, what script is this that you're using? tongue

1,770

(17 replies, posted in PunBB 1.2 show off)

Right, I forgot to mention that, thanks pogenwurst smile

Out of curiosity, where did you download this copy of PunBB from?

It's not redundant. It's merely a case of one or the other.

What do you think redundant means? tongue

1,773

(3 replies, posted in PunBB 1.2 troubleshooting)

Oh: the answer is if there are no tools to make backups already on and you can't upload files, there is no way to make a backup wink

1,774

(2 replies, posted in PunBB 1.2 troubleshooting)

Well, you do need to set it somewhere, otherwise how would PunBB know what the value of it is? tongue
To add a new config variable:
1. insert a new row in the config table, with conf_name being the name of the variable (in this case o_featured_clan) and the value being whatever you want the value to be (in this case 1)
2. Delete the cache_config.php file

Remove the xml-stylesheet stuff, it's redundant