126

(35 replies, posted in PunBB 1.3 extensions)

Glad to see you can take constructive criticism in an orderly manner.

gorsan wrote:

i am being forced to convert smf now, which seems the correct way to go since i could not upgrade to punbb 1.3 because of utf8 problems which i cant really solve.

Why? You haven't even added a limit to those two queries you posted above, so obviously they will return all matches.

That first query:

                $result = $db->query('SELECT t.id FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'topics AS t ON t.id=p.topic_id 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='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND p.id IN('.implode(',', $search_ids).')'.$forum_sql.' GROUP BY t.id', true) or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());

should be:

                $result = $db->query('SELECT t.id FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'topics AS t ON t.id=p.topic_id 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='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND p.id IN('.implode(',', $search_ids).')'.$forum_sql.' GROUP BY t.id LIMIT 50', true) or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());

Do the same for the second query.


stats.punres will have a new number 1 forum soon.

The point? This board isn't commercial, hence any responses are from people volunteering their time to responding. That approach is hardly liable to make people jump at your behest.

It is not my viewpoint alone, Jeremie. It is good form, as you full well know, that localised forums are posted upon with posts in the native language of the board. That is the exact reason why the localised, country specific support boards were created. It is merely the fact that the French site is no longer Pun based that makes this situation different.

Btw, I never said specifically that I personally could not read/write/speak French. I merely suggested that all members being able to read topics was preferable. smile

129

(32 replies, posted in PunBB 1.3 extensions)

Switched On wrote:

Yeah, I didnt do that,
Should have tho.
Silly me for expecting this extension not to royally F**K UP EVERYTHING !!!

Out of every extension on this forum, this is the only one that broke everything so much that i had to rebuild my forum from a backup.

You installed it on a live site?

130

(35 replies, posted in PunBB 1.3 extensions)

Smith wrote:

Ok I will look at this again later on when I am done with the next extension I am curently working on.
Shouldn't be to long.

Doesn't one think, for future reference, that concentrating on one extension at a time and sorting  'quirks' straight away is preferable when releasing an extension, than working on several and getting around to it as and when?

Grant wrote:

HTML

<a target=_blank href=http://fixpc.co.za/viewtopic.php?id=1254><img alt="Google PageRank" src=http://fixpc.co.za/pagerank/google.php width=80 height=15></a>
<a href="#" onclick="window.open('http://fixpc.co.za/viewtopic.php?id=1254'); return false;"><img alt="Google PageRank" src="http://fixpc.co.za/pagerank/google.php width=80 height=15"></a>

132

(6 replies, posted in PunBB 1.2 discussion)

tomasz wrote:

and one more think, did You have the same problem with login in... after login its transfering me to RSS page ...

Which are you running? 1.2* or 1.3*. That problem only relates to 1.3* yet you're asking in the 1.2* section, so which version are you running?

133

(3 replies, posted in PunBB 1.3 troubleshooting)

Can't say specifically, but setting your html/body width to auto should sort that, I believe.

Have you tried setting them as inline? Personally, I'd change those radio buttons to a select, and keep them in style with the options above them.

135

(4 replies, posted in PunBB 1.2 troubleshooting)

Setting the id count would affect the pkey setting. However, if you haven't suffered this problem previously, I'd be looking at that mod, not altering the DB to work around something which seems broken, as it will break things again if so.

xdu wrote:

I'd be embarrassed to discuss french translation of PunBB on a FluxBB-related forum, knowing that FluxBB is already translated in french!

big_smile big_smile

I'll retract my earlier suggestion about using English in the topic. Obviously, without a specific French forum now, on here is the logical place to have discussions. My apologies for not checking on the status of the French site prior to my suggestion. smile

Slavok wrote:

Are you talking about this?

I bally well hope not. big_smile

http://forums.bauchan.org/devforum/java … tiquote.js

I did add a check_quoted function in that script for calling on window load, if required, but I just explode the cookie for the id's in post.php and viewtopic.php to use whilst recursing the loop. No arsing about waiting for all page content to load that way, before they are marked as selected/unselected. Plus, you are processing the quoted post(s) content via the normal forum methods, so it negates the need for having a seperate parsing function in the js file.

xdu wrote:

This topic is all about french translation of PunBB, so we thought it was not a problem. Sorry for the inconvenience.

It's not an inconvenience or problem as such. smile It's just that it's preferable if the rest of us can read the topics too. You never know when one of us may want to chip in for any reason. big_smile


xdu wrote:

Is there any appropriate (i.e. french) forum here were this topic could be moved to?

Good question. I've just had a peek, and it would appear the French forum is Flux related now.

http://punbb.informer.com/wiki/support

Looks like this may be the only place, unless another French forum has appeared.  smile The Dev's or Mod's may know of another.

This is an English speaking support forum gents. Could you perchance post using the relevant language.

140

(11 replies, posted in PunBB 1.2 troubleshooting)

I can't see why any server related setting would cause that specific problem. I would expect something server related to affect more than one specific script.

With regards to upgrading, you update your existing installation. You don't need to transfer anything across. Obviously make sure that you have upto date backups of your existing setup and DB, however. Upgrade info is knocking about on here somewhere. Check the Wiki. It may be in there.

pepak wrote:

Well, I guess - but really, if someone is unfamiliar with both PHP and SQL, how can he ever hope to make meaningful changes to the code?

No-one is born a programmer.

142

(9 replies, posted in PunBB 1.3 discussion)

I honestly can't suggest anything else, offhand. I'm not exactly familiar with the new query builder. One of the 1.3* chaps may be able to proffer a suggestion.

143

(9 replies, posted in PunBB 1.3 discussion)

Try changing this line:

FROM'          => 'topics AS t, posts AS p'

to:

FROM'          => 'topics AS t INNER JOIN posts AS p'

It may need a LEFT JOIN if that doesn't work.

esupergood wrote:

Oooh yeah wink
haha, sorry

big_smile big_smile No worries. There's nothing as annoying as a misleading, or indescriptive, title. smile

Slavok wrote:

Agree with you. It will be implemented in the next version of pun_quote.
What method do you suggest to determine whether client's JavaScript is enabled at server?

Just as an example, (I never thought to mention it previously), there is a live example on my testbed forum.

http://forums.bauchan.org/devforum/forums.php

If you log in with the following credentials:

Username: testuser
Password: testpass123

you can see in the CSS, topic view source and js source how I've done it.


p.s: There is also an alternative multi-quote system in progress on there which may be another line to think on with regards to the pun_quote setup. It uses the traditional quote system, but can span multiple pages in a topic and doesn't require the post info loading in the normal output HTML. Just thought it may be worthwhile having a peek at, if you're curious. smile

146

(11 replies, posted in PunBB 1.2 troubleshooting)

Not related to Pun, there isn't.

pepak wrote:

What's the problem? Building a real query is hardly any more than concatecating all keys and values into one string.

Just because you may be familiar with php and SQL does not mean that everyone is.

148

(16 replies, posted in PunBB 1.3 additions)

maststef wrote:

Isn't there a format that is commonly supported? What formats are nativly supported by Windows? Only zip? Because if gzip is also supported, this would fit for both, *nix and Windows users.

Not that I know of. Prior to Win2000, M$ didn't have any archive extraction utilities as standard anyhows, if I remember correctly. Not sure what they have these days though, other than zip support.

Besides, it has pretty much become a norm now for cross system applications to be available in tgz, bz and zip download formats.

esupergood wrote:

I was thinking of something like "Java-dependent Extensions"
Sorry, I'm just being pedantic big_smile

Honestly. Some people. big_smile Does that subject hit the spot? big_smile

esupergood wrote:

polite request: make a more descriptive topic title for this. smile

Couldn't think of anything suitable initially. big_smile Is the updated subject better?