Search found 134 matches

by axe70
Fri Feb 15, 2019 9:24 am
Forum: phpBB Custom Coding
Topic: Custom Error Pages
Replies: 10
Views: 596

Re: Custom Error Pages

Do not know if this can help you, and/or you saw:
https://serverfault.com/questions/15812 ... ustom-page
by axe70
Fri Feb 15, 2019 8:29 am
Forum: phpBB Custom Coding
Topic: Custom images on notifications email, and the way to pass the src URL for IMG attachments
Replies: 7
Views: 872

Re: Custom images on notifications email, and the way to pass the src URL for IMG attachments

work fine: just to leave an idea to who may never interested to this ... so somewhere, on /phpbb/notification/type/post.php there is something like this (in place of custom http:// , may imagine to use generate_board_url() consider $postattachary is an array containing all attachments, that has been...
by axe70
Thu Feb 14, 2019 6:39 pm
Forum: phpBB Custom Coding
Topic: Custom images on notifications email, and the way to pass the src URL for IMG attachments
Replies: 7
Views: 872

Re: Custom images on notifications email, and the way to pass the src URL for IMG attachments

... to be honest i was in the way to reply to say that i've got what you mean. But yes, it's right the one you say. Yes this can be a good solution with htaccess, or a more raw solution could also be to duplicate the attachment and assigning to it the file ext, so the file will be found when after r...
by axe70
Thu Feb 14, 2019 6:00 pm
Forum: phpBB Custom Coding
Topic: Custom images on notifications email, and the way to pass the src URL for IMG attachments
Replies: 7
Views: 872

Re: Custom images on notifications email, and the way to pass the src URL for IMG attachments

But if you at a file extension to the files in the files-folder , the normal mechanism for attachments won't work any longer. So you can't simply add extensions to those files in the files-folder. but in this case there is no need to add/modify nothing: i just need the db row, that i have result of...
by axe70
Thu Feb 14, 2019 5:02 pm
Forum: phpBB Custom Coding
Topic: Custom images on notifications email, and the way to pass the src URL for IMG attachments
Replies: 7
Views: 872

Re: Custom images on notifications email, and the way to pass the src URL for IMG attachments

p.s looking to the joke ... ah! i was thinking images archived in some strange mode, instead, these are just native images files, with a filename and no extension. But it is sufficient to add the right extension, you can retrieve the file directly via image url and not via phpBB download/file.php? ....
by axe70
Thu Feb 14, 2019 3:28 pm
Forum: phpBB Custom Coding
Topic: Custom images on notifications email, and the way to pass the src URL for IMG attachments
Replies: 7
Views: 872

Custom images on notifications email, and the way to pass the src URL for IMG attachments

Hello cool guys. With some short and custom code mods, i modified the phpBB to send out notification emails in html format to users, so also img attachments are processed as part of the email html body. All ok, especially for only text mode, where all bbcode removed, not parsed (so not passed to the...
by axe70
Sat Jan 19, 2019 9:52 pm
Forum: phpBB Custom Coding
Topic: request_var _sid and phpBB behavior and $_GLOBALS
Replies: 5
Views: 390

Re: request_var _sid and phpBB behavior and $_GLOBALS

ops, yes because it was grabbed as an int.
Ok i will post directly into mod forum then! Thank you!
by axe70
Sat Jan 19, 2019 4:55 pm
Forum: phpBB Custom Coding
Topic: request_var _sid and phpBB behavior and $_GLOBALS
Replies: 5
Views: 390

Re: request_var _sid and phpBB behavior and $_GLOBALS

Thank you all! Perfect with passing empty string! That is. So how, asking myself (and maybe this is my third stupid question) if the value retrieved as int with request_var , comparing with == the comparison match? @kasimi i can't believe you're here in reply because ... i'm on releasing today or to...
by axe70
Fri Jan 18, 2019 2:52 pm
Forum: phpBB Custom Coding
Topic: request_var _sid and phpBB behavior and $_GLOBALS
Replies: 5
Views: 390

request_var _sid and phpBB behavior and $_GLOBALS

hello cool guys ... stupid considerations and questions: so let say i need to check session_id of an user for some reason, and at one point, so i do this: $cks = request_var($config['cookie_name'] . '_sid', 0, false, true); but this if i try to print out the string, return only first 4 chars of the ...
by axe70
Fri Jan 11, 2019 10:26 am
Forum: phpBB Custom Coding
Topic: function submit_post( and $data_ary
Replies: 20
Views: 827

Re: function submit_post( and $data_ary

I've reverse all things and all seem in good order. The unique problem here is the cache because, the subsequent code flow, as long the cache is disabled, is ok. Resolved, but not clear what the hell cache code do. I think it is due to the fact that as it is coded, specifically created to work for w...
by axe70
Fri Jan 11, 2019 9:04 am
Forum: phpBB Custom Coding
Topic: function submit_post( and $data_ary
Replies: 20
Views: 827

Re: function submit_post( and $data_ary

Hi! @AmigoJack ok ok i know :D ... let me answer into last line into this post about this ... i reversed the thing until the very first query that grab data based on topic id and i saw that, if the case is "quote", it retrieve or switch at some point (i will finalize to reverse today so all will be ...
by axe70
Thu Jan 10, 2019 4:13 pm
Forum: phpBB Custom Coding
Topic: function submit_post( and $data_ary
Replies: 20
Views: 827

Re: function submit_post( and $data_ary

so, to be short, the answer after two moderators (the first ok, the second is like the other in reply more below) and many fake answers, i've been finally return home (which is interesting for nobody but me) and i've just put my mouse over the posting link. That say me where submit_post( fire fillin...
by axe70
Thu Jan 10, 2019 1:32 pm
Forum: phpBB Custom Coding
Topic: function submit_post( and $data_ary
Replies: 20
Views: 827

Re: function submit_post( and $data_ary

Just a thought - do you have some form of caching, such as Cloudflare, enabled on your site? There have been reports in the past when the caching is not correctly configured where one user's data gets confused with another user's data. Hello! Yes it is! Memcache on siteground for example seem to ca...
by axe70
Thu Jan 10, 2019 11:29 am
Forum: phpBB Custom Coding
Topic: function submit_post( and $data_ary
Replies: 20
Views: 827

Re: function submit_post( and $data_ary

HiFiKabin wrote:
Thu Jan 10, 2019 11:23 am
I can not see a direct 'support' question, so moved to Custom Coding
where skilled and cool guys live :)
by axe70
Thu Jan 10, 2019 10:47 am
Forum: phpBB Custom Coding
Topic: function submit_post( and $data_ary
Replies: 20
Views: 827

Re: function submit_post( and $data_ary

I'll know in short. I still do not have understand if you know or not know the answer, but this is not important may i will inform here with a reply (because may someone else interested, probably you don't) You know: world is nice because various. And since too off topics here, may it's redundant, b...

Go to advanced search