Search found 244 matches

by Haravikk
Fri Nov 18, 2016 10:19 pm
Forum: Extension Writers Discussion
Topic: Importing Code From Other Probjects
Replies: 6
Views: 413

Re: Importing Code From Other Probjects

An extension can use any namespace you want - just as long as it can access the files. I am guessing that this will be only for your use and will not be being submitted to the CDB so you are free to do whatever you want. Why would you guess that? It is not the case; all I'm trying to do is ask if t...
by Haravikk
Fri Nov 18, 2016 7:21 pm
Forum: Extension Writers Discussion
Topic: Importing Code From Other Probjects
Replies: 6
Views: 413

Re: Importing Code From Other Probjects

What I mean is; the code I want to add to my extension is all namespaced as \com\haravikk\blah\blah , but this doesn't meet the requirement that extensions classes be in a namespace beginning with haravikk\mycoolextension , so is there a way for me to add this to my imported code without having to c...
by Haravikk
Fri Nov 18, 2016 5:28 pm
Forum: Extension Writers Discussion
Topic: Importing Code From Other Probjects
Replies: 6
Views: 413

Importing Code From Other Probjects

So I'm finally getting back round to finishing some extensions (previously mods) that I've been putting off, however I've encountered one thing I'm a little unsure about (likely many more to follow though): Thing is, one of my mods is ideally placed to benefit from code I've done in the past, which ...
by Haravikk
Wed May 25, 2016 5:20 pm
Forum: phpBB Discussion
Topic: Handling User-Uploaded HTML5 Content (Replacing Flash)
Replies: 3
Views: 1035

Re: Handling User-Uploaded HTML5 Content (Replacing Flash)

its not a good idea. However neither is using Flash, which because of massive amounts of security issues that can affect your operating system, is far more dangerous. That's only an issue for people viewing the Flash files; my forum moderates uploaded Flash files and I have ClamAV scanning uploaded...
by Haravikk
Wed May 25, 2016 1:31 pm
Forum: phpBB Discussion
Topic: Handling User-Uploaded HTML5 Content (Replacing Flash)
Replies: 3
Views: 1035

Handling User-Uploaded HTML5 Content (Replacing Flash)

So I currently have a message board which has a lot of uploaded Flash files, but with Flash generally on the decline I'm looking towards the replacements that are available. The big advantage of Flash for a message board is that it's a single self-contained file that can easily be embedded or downlo...
by Haravikk
Fri Dec 04, 2015 10:59 am
Forum: [3.0.x] Support Forum
Topic: Incorrect IP Addresses
Replies: 5
Views: 370

Re: Incorrect IP Addresses

So I haven't found out what my old server did yet, but here's the solution I'm using to add X-Forwarded-For IP support to phpBB: Find This Line in includes/session.php: $ips = explode(' ', trim($this->ip)); After Add: if (!empty($_SERVER['HTTP_X_FORWARDED_FOR']) && $config['ip_login_limit_use_forwar...
by Haravikk
Fri Dec 04, 2015 9:54 am
Forum: [3.0.x] Support Forum
Topic: Incorrect IP Addresses
Replies: 5
Views: 370

Re: Incorrect IP Addresses

As Kev says there are many problems with Cloudflare and phpBB. I've never had problems before except those that I cause myself ;) In fact on the previous host CloudFlare did nothing at all to phpBB until I made some custom modifications to force it to cache certain content (attachments, avatars and...
by Haravikk
Fri Dec 04, 2015 8:47 am
Forum: [3.0.x] Support Forum
Topic: Incorrect IP Addresses
Replies: 5
Views: 370

Incorrect IP Addresses

Support Request Template What version of phpBB are you using? phpBB 3.0.14 What is your board's URL? http://www.legendofkrystal.com/forum Who do you host your board with? DreamHost How did you install your board? I used the download package from phpBB.com What is the most recent action performed on...
by Haravikk
Fri Oct 09, 2015 3:19 pm
Forum: Extension Writers Discussion
Topic: Questions From a Modder New to Extensions
Replies: 3
Views: 198

Re: Questions From a Modder New to Extensions

Thanks for the response, these look suitable for my needs! I do have a few other questions though: Sharing Code : I'm investigating several mods that I made to a forum but never got round to packaging (as they'd become pretty tightly embedded with the core code) and one thing that they do is share s...
by Haravikk
Tue Sep 29, 2015 6:12 pm
Forum: Extension Writers Discussion
Topic: Questions From a Modder New to Extensions
Replies: 3
Views: 198

Questions From a Modder New to Extensions

So I'm new to extensions in phpBB 3.1, but have written mods for earlier phpBB versions in the past, but I have a few questions. Sorry if some of these are simple; I've tried looking for answers to them all already, but may have just confused myself and missed the answers, so please don't be too har...
by Haravikk
Wed Dec 31, 2014 12:50 pm
Forum: [3.0.x] Support Forum
Topic: E-mail Issues (Some Users Getting Bombarded by Duplicates)
Replies: 0
Views: 143

E-mail Issues (Some Users Getting Bombarded by Duplicates)

Okay so I've been having an issue off and on with e-mails from my forum; I personally am not receiving e-mails for topics I'm subscribed to, or for new private messages, which is annoying as I mostly rely on these rather than visiting the forum frequently (I mostly deal with technical issues). Howev...
by Haravikk
Sat Sep 20, 2014 10:33 am
Forum: [3.0.x] Support Forum
Topic: Board e-mail issues
Replies: 1
Views: 296

Board e-mail issues

Okay, I'll start by saying I'm not 100% sure if the board itself is at fault, but I'm receiving some weird e-mail issues so I'm hoping someone can help me debug them. My hosting provider handles my e-mail, but I have no control over the server, so I don't have any access to any logs that I can see. ...
by Haravikk
Thu Aug 21, 2014 9:20 pm
Forum: phpBB Discussion
Topic: How Much Memory Does XCache Need to Optimise phpBB?
Replies: 1
Views: 1118

How Much Memory Does XCache Need to Optimise phpBB?

Okay, so my host has xcache installed for PHP acceleration, and its default setting is 16mb of memory for the opcode cache (I'm not using the variable cache for now). I'm just wondering how large the opcode cache should be for a typical phpBB installation, in order to be able to cache all scripts? I...
by Haravikk
Fri Aug 15, 2014 11:32 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Determining whether a forum is guest readable
Replies: 0
Views: 273

Determining whether a forum is guest readable

Okay, so I'm finally picking up development on my HTTP guest cache mod again, but I've been tearing my hair out trying to figure out how to do something. Basically what I need to be able to do is determine whether the current forum and topics are readable by guest users, so I can tweak caching behav...
by Haravikk
Wed Aug 13, 2014 5:14 pm
Forum: [3.0.x] Support Forum
Topic: Bizarre Permissions Problems (Attachments)
Replies: 2
Views: 299

Re: Bizarre Permissions Problems (Attachments)

Bah! I found the problem; turns out it was a CloudFlare caching issue, they seem to have changed one of the caching policies I'm using, so I've had to change those settings to get it fixed. Seems the change was timed to coincide with me switching to nginx so I'd up thinking it was somehow my fault ;...

Go to advanced search