Hallo,
wie kann PhotoPost in "Wer ist online?" einbinden?
Ich weiß zwar das dies über die functions_online.php geht, nur halt nicht genau wie.
PP liegt bei mir in dem Ordner "gallery", das vB im Ordner "forum"
Hallo,
wie kann PhotoPost in "Wer ist online?" einbinden?
Ich weiß zwar das dies über die functions_online.php geht, nur halt nicht genau wie.
PP liegt bei mir in dem Ordner "gallery", das vB im Ordner "forum"
Life is a waste of time, time is a waste of life, get wasted all the time and you' ll have the time of your life...
Cheers
sixtyseven
Hi,
schau mal hier!
Tobias
Super, ich Danke Dir![]()
und ich hab bereits die ganze Zeit gesucht und nichts gefunden![]()
Life is a waste of time, time is a waste of life, get wasted all the time and you' ll have the time of your life...
Cheers
sixtyseven
also irgendwie klappt das bei mir nicht:Code:------------------------------------------------------------------- In the Functions_online.php file find : ------------------------------------------------------------------- case 'bugs': $userinfo['action'] = construct_phrase($vbphrase['viewing_x'], 'Bugs'); // Don't report 'bugs' as needing to be translated please :p break; ------------------------------------------------------------------- Below Add: ------------------------------------------------------------------- case 'showgallery': $userinfo['action'] = 'In The Gallery'; break; case 'showphoto': $userinfo['action'] = 'Looking at Photos in the Gallery'; break; case 'slideshow': $userinfo['action'] = 'Watching a SlideShow in the Gallery'; break; case 'uploadphoto': $userinfo['action'] = 'Uploading to the Gallery'; break; case 'bulkupload': $userinfo['action'] = 'Uploading to the Gallery'; break; case 'editphoto': $userinfo['action'] = 'Editing a photo in the Gallery'; break; case 'searching': $userinfo['action'] = 'Searching in the Gallery'; break; case 'downloading': $userinfo['action'] = 'Downloading Photos from the Gallery'; break; -------------------------------------------------------------------- Then find : -------------------------------------------------------------------- case 'bugs.php': $userinfo['activity'] = 'bugs'; break; -------------------------------------------------------------------- Below add : -------------------------------------------------------------------- case 'showgallery.php': $userinfo['activity'] = 'showgallery'; break; case 'showphoto.php': $userinfo['activity'] = 'showphoto'; break; case 'slideshow.php': $userinfo['activity'] = 'slideshow'; break; case 'uploadphoto.php': $userinfo['activity'] = 'uploadphoto'; break; case 'bulkupload.php': $userinfo['activity'] = 'bulkupload'; break; case 'editphoto.php': $userinfo['activity'] = 'editphoto'; break; case 'search.php': $userinfo['activity'] = 'searching'; break; case 'zipdownload.php': $userinfo['activity'] = 'downloading'; break;
Aufenthaltsort unbekannt
/gallery/showphoto.php/photo/134![]()
Life is a waste of time, time is a waste of life, get wasted all the time and you' ll have the time of your life...
Cheers
sixtyseven
Hi,
also ich habe das gerade auch mal ausprobiert und nachdem ich noch das hier eingebaut habe, hat es dann geklappt!
Ich bin noch nicht so fit mit vB, vielleicht kann man das ganze auch weglassen, wenn man irgendwo die Filenames aus PP defined!
Tobias
hmm,
also wenn ich das in die functions_online.php mit einbaue
geht, Wer ist online?, gar nicht mehr.
Life is a waste of time, time is a waste of life, get wasted all the time and you' ll have the time of your life...
Cheers
sixtyseven
Hi,
wenn Du das ohne zu kontrollieren in Deine function_online.php kopiert hast, dann fehlt in der ersten Zeile noch ein i vor der f!
Ich selber benutze das hier und das klappt!
TobiasCode:if (preg_match('/(.+)showphoto(.+)/',$userinfo['location'])) { $filename = "showphoto.php"; } else if (preg_match('/(.+)showgallery(.+)/',$userinfo['location'])) { $filename = "showgallery.php"; } else if (preg_match('/(.+)showmembers(.+)/',$userinfo['location'])) { $filename = "showmembers.php"; }
uups,
das habe ich gar nicht gemerkt![]()
Danke Dir, jetzt funktionierts.
Life is a waste of time, time is a waste of life, get wasted all the time and you' ll have the time of your life...
Cheers
sixtyseven
Einige der oben genannten Links funktionieren leider nicht mehr.
Hätte vielleciht jemand eine Zusammenfassung wie ich Photopost nun in "Wer ist Online?" einbinde?
Grüße
Vielleicht funktioniert das in 3.6.x auch noch:
http://www.vbulletin.org/forum/showt...ight=photopost
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
Lesezeichen