201

(15 replies, posted in PunBB 1.3 troubleshooting)

This is not an extension...........

Noted. smile

EDIT:
Nah I quite like the idea of an array storing all the data. Unless someone tells me otherwise. wink

Anyway have fixed problem.

Ok I have released another version. Its at punres... its also in the top post of this topic. You can also see it running here...

Any feedback would be appreciated. tongue
Plus cant comment on the additional database types. sad I dont use them sorry.

Will do and will do... tongue

Ok I have released another version. Its at punres... its also in the top post of this topic. You can also see it running here...

Any feedback would be appreciated. tongue

Will release a new version tommorow. wink

@Bingiman: Will do...
@qubertman: Yep that fixes it. Im including it next release.
@orlandu63: Trying to think of a way around this... sad Will look at replacing first two items in array instead of clearing array. smile

207

(3 replies, posted in PunBB 1.3 troubleshooting)

Ok let me try something and I will come back to you on that one.

Might be a silly request.

If you have this code...

    ($hook = get_hook('in_qr_get_new_topics')) ? eval($hook) : null; 
    $result = $db->query_build($query, true) or error(__FILE__, __LINE__);

How do I change true to false with the previous hook?
any chance of making this into a switch for the query builder?

EDIT: or better still.. should I NOT be changing this to false? tongue

This is true.

Will wait for the docs... tongue
Then will give some feedback... if required.

Smartys wrote:

How to create extensions? Certainly

Yeah but how in depth will the documents go? beginner/intermediate/expert or covering all 3?

Anyone else want this info?
because if a few do... then I will do a topic goig through how I converted it.

EDIT: Also will the documents for 1.3 go over anything like this?

I have quickly tested it on PunDemo and the time does not change by much.

0.022 without
0.058 with

EDIT:
Ok the more forums you have the more strain. hmm

qubertman wrote:

For us, there is a delay in displaying the index page when this extension is enabled.

I will test it this evening and come back to you. No reason why it should slow it down that much (that I can see).

214

(13 replies, posted in PunBB 1.3 extensions)

Link to download is not live. Redirects to 100something

215

(3 replies, posted in PunBB 1.3 troubleshooting)

Cheers smartys.

Erm... Nah.

I meant as in the above extension adds a left join for the topics as t. So now if someone creates another extension and trys the same thing there will be a problem?

That kind of confliction. It might not happen on this query but what about other queries. hmm

217

(6 replies, posted in PunBB 1.3 troubleshooting)

It was only a suggestion.

I was guessing most might have access to the .htaccess file and not the backend. In fact majority of places I haved rented space before in the past did not give you certain access sad

Im not bothered either way, as I have my own fix. tongue

218

(6 replies, posted in PunBB 1.3 troubleshooting)

If someone goes to www.example.com and you have chosen example.com then it auto redirects and vice versa. smile

219

(3 replies, posted in PunBB 1.3 troubleshooting)

When I create a topic I expect the number of views for that topic to be 1.

Vast majority of the time it sets at 2 views and occasionaly even has 3 views.

220

(6 replies, posted in PunBB 1.3 troubleshooting)

Just a thought...

Would it be to much to have an option so that you can have only one of the below?
www.example.com
or
example.com

Cheers smartys.

With these extensions there is still large room for confliction. Dont you think?

Changed it now. Cheers bingiman.

Ok just a play about. Works for me though... smile

Here is the download for people who cant be bothered to copy and paste.

EDIT: Have changed isset to !empty as advised.
EDIT (1.2): A few updates... Still going to do a couple of changes for release. smile
EDIT (1.3): A few updates... If you used 1.2, you must replace it with this one.
EDIT (1.3): Mini update...
EDIT (1.4): Couple of big changes...
EDIT (1.5): Hopefully the last...

EDIT:
Please go to http://punbb.informer.com/forums/topic/ … -on-index/ for latest version of this extension.

224

(7 replies, posted in PunBB 1.3 troubleshooting)

Cheers smartys will give that a go.

225

(7 replies, posted in PunBB 1.3 troubleshooting)

Yeah a left join.

array(
            'LEFT JOIN'        => 'forum_perms AS fp',
            'ON'            => '(fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].')'
        )

that for example.