Ergebnis 1 bis 10 von 10

Thema: PhotoPost in "Wer ist online?" einbinden

  1. #1
    Fortgeschrittener Benutzer
    Registriert seit
    17.10.2003
    Ort
    NRW
    Alter
    44
    Beiträge
    157

    Frage PhotoPost in "Wer ist online?" einbinden

    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

  2. #2
    Benutzer
    Registriert seit
    22.08.2004
    Beiträge
    120
    Hi,

    schau mal hier!

    Tobias

  3. #3
    Fortgeschrittener Benutzer
    Registriert seit
    17.10.2003
    Ort
    NRW
    Alter
    44
    Beiträge
    157
    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

  4. #4
    Fortgeschrittener Benutzer
    Registriert seit
    17.10.2003
    Ort
    NRW
    Alter
    44
    Beiträge
    157
    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;
    also irgendwie klappt das bei mir nicht:

    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

  5. #5
    Benutzer
    Registriert seit
    22.08.2004
    Beiträge
    120
    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

  6. #6
    Fortgeschrittener Benutzer
    Registriert seit
    17.10.2003
    Ort
    NRW
    Alter
    44
    Beiträge
    157
    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

  7. #7
    Benutzer
    Registriert seit
    22.08.2004
    Beiträge
    120
    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!

    Code:
    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"; 
    }
    Tobias

  8. #8
    Fortgeschrittener Benutzer
    Registriert seit
    17.10.2003
    Ort
    NRW
    Alter
    44
    Beiträge
    157
    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

  9. #9
    Benutzer
    Registriert seit
    17.07.2007
    Beiträge
    84
    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

  10. #10
    vBulletin-Germany Team Avatar von Mystics
    Registriert seit
    01.11.2001
    Alter
    30
    Beiträge
    27.236
    Vielleicht funktioniert das in 3.6.x auch noch:
    http://www.vbulletin.org/forum/showt...ight=photopost

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Ähnliche Themen

  1. AdColumns & PhotoPost: Tabelle falsch?
    Von Claudia im Forum vB3 Code-Hacking Diskussionen
    Antworten: 0
    Letzter Beitrag: 10.11.2004, 09:45
  2. Userübername von VB3.0.3 zu Photopost
    Von Spike_xxx im Forum vB3 Fehlersuche und Probleme
    Antworten: 4
    Letzter Beitrag: 18.10.2004, 19:41
  3. php abfrage in index.php einbinden
    Von aussierules im Forum vBulletin 3.0 Fragen und Probleme
    Antworten: 3
    Letzter Beitrag: 25.08.2004, 18:43
  4. Einbinden eines komplett eigenen Menüs
    Von Ahriman im Forum vBulletin 3.0 Fragen und Probleme
    Antworten: 3
    Letzter Beitrag: 08.06.2004, 16:12
  5. "Wer ist online?": User sehen Threadnamen von geschützten Foren!
    Von Odysseus im Forum vBulletin 2 Fragen und Probleme
    Antworten: 4
    Letzter Beitrag: 26.04.2003, 12:09

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •