Search found 46 matches

by MESWEB
Mon Jul 25, 2016 8:30 pm
Forum: Extension Writers Discussion
Topic: Custom Url
Replies: 1
Views: 315

Custom Url

How to add custom url to post like this:
abp:subscribe?location=http://blabla.com/blabla
by MESWEB
Sat Jul 16, 2016 6:43 pm
Forum: Extension Writers Discussion
Topic: Change header("Content-type txt/html");
Replies: 10
Views: 1034

Re: Change header("Content-type txt/html");

Yes $event is empty. I have PHPBB 3.1.8 and I have http_headers in function.php :     $vars = array('page_title', 'display_online_list', 'item_id', 'item', 'http_headers');     extract($phpbb_dispatcher->trigger_event('core.page_header_after', compact($vars)));     foreach ($http_headers as $hname =...
by MESWEB
Sat Jul 16, 2016 5:38 pm
Forum: Extension Writers Discussion
Topic: Change header("Content-type txt/html");
Replies: 10
Views: 1034

Re: Change header("Content-type txt/html");

Yes I have added but nothing change. There is no $event['http_headers'] <?php /** * * @package phpBB3 SEO Sitemap * @copyright (c) 2014 www.phpbb-work.ru * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ namespace shredder\sitemap\event; use Symfony\Component\EventDis...
by MESWEB
Sat Jul 16, 2016 4:18 pm
Forum: Extension Writers Discussion
Topic: Change header("Content-type txt/html");
Replies: 10
Views: 1034

Re: Change header("Content-type txt/html");

I have listener already working but when I add Your function:

Code: Select all

public function page_header_after($event)
{
    $event['http_headers'] = array_merge($event['http_headers'], array(
        'Content-type' => 'application/xml',
    ));
} 
Nothing happen.
by MESWEB
Sat Jul 16, 2016 11:29 am
Forum: Extension Writers Discussion
Topic: Change header("Content-type txt/html");
Replies: 10
Views: 1034

Re: Change header("Content-type txt/html");

To modify headers you need to hook into core.page_header_after and overwrite the value for the content type: public function page_header_after($event) {     $event['http_headers'] = array_merge($event['http_headers'], array(         'Content-type' => 'application/xml',     )); }  The event is trigg...
by MESWEB
Wed Jun 22, 2016 8:07 pm
Forum: Extension Writers Discussion
Topic: Change header("Content-type txt/html");
Replies: 10
Views: 1034

Change header("Content-type txt/html");

I have mod to generate sitemap and I need use this php code:

Code: Select all

header("Content-type: application/xml");
for change header but this is not working I always have header as txt/html. How can I use xml in phpBB?
by MESWEB
Mon Jun 20, 2016 10:22 pm
Forum: [3.1.x] Support Forum
Topic: Google fetching problem
Replies: 7
Views: 322

Re: Google fetching problem

Yes!!! I have all default values. Now I was check this same urls and 2 was fetched successful but when I try again with this same url then google can't fetch. This looks like Google have only one time permission per few hour. I was try one url for SMF engine and google can fetch over and over and ov...
by MESWEB
Mon Jun 20, 2016 3:29 pm
Forum: [3.1.x] Support Forum
Topic: Google fetching problem
Replies: 7
Views: 322

Re: Google fetching problem

I have more links like 7 and about half year Google can't index more than 7 sites: PHPBB: Zrzut ekranu 2016-06-20 17.15.42.png VS SMF Zrzut ekranu 2016-06-20 17.41.28.png So why google can't fetch this sites? Don't give me [inappropriate language removed] ! I have other forum on SMF engine and there...
by MESWEB
Mon Jun 20, 2016 1:36 pm
Forum: [3.1.x] Support Forum
Topic: Google fetching problem
Replies: 7
Views: 322

Re: Google fetching problem

Lol nobody can help?
by MESWEB
Mon Jun 20, 2016 1:06 am
Forum: [3.1.x] Support Forum
Topic: Google fetching problem
Replies: 7
Views: 322

Re: Google fetching problem

Yes of course
by MESWEB
Sun Jun 19, 2016 11:54 pm
Forum: [3.1.x] Support Forum
Topic: Google fetching problem
Replies: 7
Views: 322

Google fetching problem

I have problem like this guy here https://www.phpbb.com/community/viewtopic.php?f=466&t=2288686 My phpBB - 3.1.8 I found some problems: In page source I have this: <link rel="canonical" href="http://errors.win/viewtopic.php?t=4"> In sitemap: <loc>http://errors.win/viewtopic.php?t=5</loc> Google give...
by MESWEB
Tue Apr 26, 2016 10:21 pm
Forum: Abandoned Extensions
Topic: [ABD] XML Sitemap
Replies: 22
Views: 5543

Re: [DEV] XML Sitemap

Not working with new version and can't load css from sitemap so looks ugly for human
by MESWEB
Sun Mar 13, 2016 1:00 am
Forum: [3.1.x] Support Forum
Topic: Can't update from 3.1.6 to 3.1.8
Replies: 6
Views: 224

Re: Can't update from 3.1.6 to 3.1.8

Yes i solve this error. When I was install phpbb first time I use other name for install folder like instalo and I upload file there and install script. everything works perfect after when I was try update script. Hmm this looks for me as a bug. PHPBB saves somewhere name of folder used to install.
by MESWEB
Fri Mar 11, 2016 10:17 pm
Forum: [3.1.x] Support Forum
Topic: Can't update from 3.1.6 to 3.1.8
Replies: 6
Views: 224

Re: Can't update from 3.1.6 to 3.1.8

Yes I know about this steps and I was do it correctly I'm not so stupid. I fix this by renaming folder install to name what I was use before install phpbb first time.
by MESWEB
Fri Mar 11, 2016 9:58 pm
Forum: [3.1.x] Support Forum
Topic: Can't update from 3.1.6 to 3.1.8
Replies: 6
Views: 224

Can't update from 3.1.6 to 3.1.8

:? I can't update. I have uploaded all new files with folders to server. When I try update by entering install url that nothing happens. So I decide deleted config.php and folders: /images and /files then I try enter url: /install/database_update.php but this not working - I see error about reseting...

Go to advanced search