Search found 244 matches

by Haravikk
Tue Feb 12, 2013 9:40 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Inserting post data for custom BBCode
Replies: 9
Views: 322

Re: Inserting post data for custom BBCode

Okay, so I've found a solution, but it's not pretty in the slightest, so I'm looking for feedback to see if it's okay to go ahead and use, or if I should look into extending bbcode.php instead (which might be useful for other BBCode mods). Basically what I've done is the following: Find out what BBC...
by Haravikk
Tue Feb 12, 2013 8:25 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Inserting post data for custom BBCode
Replies: 9
Views: 322

Re: Inserting post data for custom BBCode

In fact, never mind that either; it seems that {L_FOO} variables in BBCode are only ever evaluated once when the BBCode parser object is created, and I don't believe I can insert a useful value into it at this point. This means that any {L_FOO} variable will always be static and cannot be changed on...
by Haravikk
Tue Feb 12, 2013 5:51 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Inserting post data for custom BBCode
Replies: 9
Views: 322

Re: Inserting post data for custom BBCode

What I'm hoping to do instead is call: Your code have a false approach. Its more simple. Just use the examples from my link as a reference for your needs and use language file. The examples in that topic rely on adding the language string to a language file, but this means I would need to do this f...
by Haravikk
Tue Feb 12, 2013 3:41 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Inserting post data for custom BBCode
Replies: 9
Views: 322

Re: Inserting post data for custom BBCode

A question of knowledge. The base idea is great and not a hack. Language strings in bbcodes are supported natively on phpbb3, so for me it is the best and cleanest way to put board variables into bbcodes ;) Sorry, I've actually contradicted myself; what I meant was that placing a language string in...
by Haravikk
Mon Feb 11, 2013 5:00 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Inserting post data for custom BBCode
Replies: 9
Views: 322

Re: Inserting post data for custom BBCode

Thanks for the link! While the language file "hack" seemed promising I don't think that'll work unfortunately, and I've been trying to implement my BBCode in include/message_parser.php and include/bbcode.php however I'm not having loads of luck with it. I just can't figure out a good way to pass a m...
by Haravikk
Sun Feb 10, 2013 6:28 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: cookie settings
Replies: 6
Views: 205

Re: cookie settings

append_sid() is only required if users don't accept your board's cookies, however this can happen if your board's cookie settings are wrong, or if your user's browser doesn't accept cookies, so you must use append_sid() for all links that are part of your board, or part a site built around your boar...
by Haravikk
Sun Feb 10, 2013 5:25 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Inserting post data for custom BBCode
Replies: 9
Views: 322

Inserting post data for custom BBCode

Okay so I'm writing a small mod to implement some custom BBCode, however the BBCode replacement needs access to the current post ID and a $config value. However, the way the BBCode system works has always confused me, so I'm wondering if anyone can help give me a quick run-down of where I should put...
by Haravikk
Sun Feb 10, 2013 3:38 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] HTTP Guest Cache
Replies: 80
Views: 14826

Re: [Beta] Guest Cache

I'm sorry that I bring anxiety. Not a problem! I posted my mod here for this reason, so I could track down any issues or incompatibilities it might have, as I can only test so much myself! This problem looks to be a bug that is a side-effect of my mod using session::session_kill(), so what I've don...
by Haravikk
Sun Feb 10, 2013 1:40 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] HTTP Guest Cache
Replies: 80
Views: 14826

Re: [Beta] Guest Cache

You should only need to the modify the first instance of {CURRENT_TIME} in each case; those edits are also only required if you want to enable the Javascript time function. If you do want to do the changes then the line you want for prosilver's index_body.html is (just replace the {CURRENT_TIME} par...
by Haravikk
Sun Feb 10, 2013 12:30 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] HTTP Guest Cache
Replies: 80
Views: 14826

Re: [Beta] Guest Cache

Could you please confirm my assumption and investigation, that your mod just performs http-protocol cache, not physical cache of guests pages (like my mod does) ? So, it works for particular one guest user, when he tries to return back to already viewed page. But when another guest will visited thi...
by Haravikk
Sat Feb 09, 2013 7:46 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] HTTP Guest Cache
Replies: 80
Views: 14826

Re: [Beta] Guest Cache

Sorry, I somehow missed the part where we need to use a template for in-development mods; I've edited the first post so hopefully it's okay now!
by Haravikk
Sat Feb 09, 2013 6:54 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] HTTP Guest Cache
Replies: 80
Views: 14826

[RC] HTTP Guest Cache

Modification Name: HTTP Guest Cache Author: Haravikk Modification Description: : This mod enables pages viewed by guests to be cached via HTTP, resulting in reduced repeat page generations not just for individual users, but also for multiple users when using intermediary caches. Modification Versio...
by Haravikk
Thu Feb 07, 2013 4:22 pm
Forum: [3.0.x] MOD Requests
Topic: Making Guest Pages Cacheable
Replies: 0
Views: 53

Making Guest Pages Cacheable

Okay so as I mentioned in another post ( here ) I run a forum with a large proportion of guest-user traffic and I'm trying to optimise performance. One thing that I would like to do is to make guest user pages cacheable. To this end my aim is to mod my forum with the following: A check is made to de...
by Haravikk
Thu Feb 07, 2013 4:13 pm
Forum: [3.0.x] MOD Requests
Topic: Disable Guest User Sessions
Replies: 2
Views: 1027

Disable Guest User Sessions

Okay so I'm currently running a very popular forum that generates a lot of traffic, however much of it comes from lurkers (guest users who don't register or don't login if they do have an account). Now, I've disabled pretty much all the guest user features, however guest users still generate overhea...
by Haravikk
Fri Dec 07, 2012 10:06 am
Forum: [3.0.x] Support Forum
Topic: Persistent Database Connections (MySQLi)
Replies: 4
Views: 2050

Re: Persistent Database Connections (MySQLi)

The intention of the PHPBB_DB_NEW_LINK constant is to have that constant defined in an external application when you have phpBB embedded in that application. I'm not asking about PHPBB_DB_NEW_LINK (which doesn't actually seem to be implemented in the phpBB 3.0.11 version of mysqli.php anyway). I'm ...

Go to advanced search