Page 1 of 1

bbmedia auf Portal

Posted: 18. January 2016 17:26
by McCluskey
Deine Portal Version: 2.1.0
Typ Deines phpBB Forums: Standard phpBB3
MODs installiert: Nein
Dein Wissensstand: Grundwissen
Link zu Deinem Forum: http://storg.de/storg/empf/app.php/portal

PHP Version: 5.3.3
MySQL Version: 4.1.12

Was hast Du gemacht, bevor das Problem aufgetreten ist?
Update von phpbb 3.0.14 auf 3.1.7pl

Was hast Du bereits versucht um das Problem zu lösen?
bbmedia.js in alle möglichen Ordner reinkopiert, diese Seite nach den Begriffen "audio" und "bbmedia" durchsucht.

Fehlerbeschreibung und Nachricht
Ich möchte auf meinem Portal (eigener Block) gerne den Mediaplayer bbmedia.js per BB-Code einbinden. In den Forumsbeiträgen klappt das wunderbar, auf der Portalseite wird jedoch nur ein Rechteck angezeigt, wo der Player sein sollte. Im Rechteck steht "phpbb", was ein Link zu phpbbex.com ist und dahinter in eckigen Klammern das Wort audio.
Wie bekomme ich diesen Player auf dem Portal zum Laufen?

Vielen Dank für eure Hilfe,

Mc

Re: bbmedia auf Portal

Posted: 18. January 2016 17:28
by talonos
it seems it is looking in the wrong place for the JS file.

Code: Select all

"NetworkError: 404 Not Found - http://storg.de/storg/empf/app.php/bbmedia.js"
it should be directed to

Code: Select all

http://storg.de/storg/empf/bbmedia.js
if you actually go to the right portal page as is set in your .htaccess file it works fine.

http://storg.de/storg/empf/portal <-- works just right.

Re: bbmedia auf Portal

Posted: 18. January 2016 17:47
by McCluskey
Ooops.

Very quick response indeed, thank you talonos.

That path-thing caused some confusion when I dated up my phpbb from 3.0 to 3.1, I had to merge in an additional "storg" into my links, which wasn't necessary before. In fact I forgot to adapt my .htaccess, I guess I would have searched for ages for that one.

Great Job, thanks again,

Mc

Re: bbmedia auf Portal

Posted: 18. January 2016 18:10
by talonos
happy to help. it would be quite easy to incorperate it into an extension aswell if thats the sort of thing you'd like.

Re: bbmedia auf Portal

Posted: 18. January 2016 18:16
by talonos
also the extra "storg" could be something to do with

ACP/Server Setting/Script path

that option should just be /

and then everything could be stored on the root of your domain instead of in a folder.

or it could be something as simple has .htaccess writings.

Re: bbmedia auf Portal

Posted: 19. January 2016 16:58
by McCluskey
Maybe I'm getting into trouble for responding in english since this is meant to be the german section, but anyway...

I moved up my phpbb-folder one level (like talonos suggested), so it is now situated as a folder in my root-directory. Plus I learned from a post that kirk wrote, that I can de-activate that "app.php" - rewriting function in my acp. Now everything works fine, thanks again to talonos.

Mc

Re: bbmedia auf Portal

Posted: 19. January 2016 19:10
by talonos
not your fault really, i used google translate as i'm english only here but always trying to help.