#1 (permalink)  
Old 21.03.2008, 13:54
Aufsteigender Benutzer
 
Join Date: 11.2007
Posts: 149
Rep Power: 5
haenk is on a distinguished road
Frage vbGallery unb vBcms
Hallo,
ich nutze vbGallery von Photopost.
Ein Link auf die neuesten Bilder funktioniert aber nicht.
Der Link sieht so aus:
http://forum.xxx.xxx/gallery/showima...atid=newimages

Das "newimages" scheint irgendwie problematischz zu sein.
Kann das mit dem vbcms zusammenhaengen.
Ich meine, das irgendwann mal gelesen zu haben.

Dank vorab!
Reply With Quote
  #2 (permalink)  
Old 21.03.2008, 21:28
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Problem ist bekannt, ist allerdings kein Fehler von vBCMS. Öffne die Datei gallery_global.php und suche nach:

PHP Code:
require_once('./global.php'); 
füge danach folgendes ein:

PHP Code:
unset($vbulletin->GPC['catid']); 
Reply With Quote
  #3 (permalink)  
Old 22.03.2008, 15:00
Aufsteigender Benutzer
 
Join Date: 11.2007
Posts: 149
Rep Power: 5
haenk is on a distinguished road
Daumen hoch
Herzlichen Dank fuer die Antwort, obwohl ihr nicht verantwortlich seid.
Das finde ich sehr lobenswert.
Reply With Quote
  #4 (permalink)  
Old 04.03.2009, 13:56
Benutzer
 
Join Date: 03.2008
Posts: 56
Rep Power: 5
Max Paint is on a distinguished road
Ich nochmal

Leider funktioniert diese Methode nicht so wirklich. In den Links wird so beispielsweise aus catid=popimage bei den Links zu den nächsten/vorherigen Bildern c=0, aber eigentlich sollte es c=popimage sein, damit alle Funktionen korrekt ausgeführt werden. :'(
Reply With Quote
  #5 (permalink)  
Old 09.03.2009, 22:36
Benutzer
 
Join Date: 03.2008
Posts: 56
Rep Power: 5
Max Paint is on a distinguished road
ich wäre hier für eine Lösung echt dankbar! Ich hab auch schon im Supportforum von VBgallery nachgefragt. Für mich als Nutzer beider Module ist das ein wenig nervig, da beide Module die Variable nutzen.

Hier sagt man, das Problem sei vbgallery, auf vbgallery sagt man, das läge daran, dass auch vbcms die Variable catid nutzt.
Reply With Quote
  #6 (permalink)  
Old 20.05.2009, 13:19
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Besteht das Problem immer noch?
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #7 (permalink)  
Old 20.05.2009, 13:44
Aufsteigender Benutzer
 
Join Date: 11.2007
Posts: 149
Rep Power: 5
haenk is on a distinguished road
Beitrag
Bei mir jedenfalls nicht, auch ohne die Aenderung aus #2.
Ich habe allerdings auch die neueste Version von vBGallery installiert: v2.5
Reply With Quote
  #8 (permalink)  
Old 22.05.2009, 15:22
Obi-Wan's Avatar
vbdesigns Guru
 
Join Date: 08.2005
Location: Essen
Age: 42
Posts: 608
Rep Power: 7
Obi-Wan is on a distinguished road
bezieht sich deine Frage auf die kostenlose "lite" version ?
Reply With Quote
  #9 (permalink)  
Old 23.05.2009, 12:02
Benutzer
 
Join Date: 03.2008
Posts: 56
Rep Power: 5
Max Paint is on a distinguished road
Ja, das Problem besteht immer noch. Auch bei der neusten Version von vbgallery und auch mit VBCMS 2 (ebenfalls die neuste Version). Es reduziert sich allerdings auf die Tatsache, dass die Links "nächstes/letztes Bild" nicht korrekt funktionieren, wenn man bestimmte Optionen auswählt. (beispielsweise "Bilder von User xy")

Ist VBCMS aktiviert wird aus:

http://www.maxpaint.de/gallery/showimage.php?i=1065&catid=member&imageuser=99

Der link: http://www.maxpaint.de/gallery/showimage.php?i=1031&c=0&imageuser=99

Richtig wäre aber: url=http://www.maxpaint.de/gallery/showimage.php?i=1031&c=member&imageuser=99

Also bei den Links wird das "member" zu "0".

Verantwortlich dafür ist diese Funktion in functions_gallery.php

Quote:
function construct_adv_sort_url($extra = '')
{
global $_REQUEST;

if ($_REQUEST['c'])
{
$_REQUEST['catid'] = $_REQUEST['c'];
}

if (in_array($_REQUEST['do'], array('favorites', 'popimages', 'newimages', 'newposts', 'member')))
{
$adv_sorturl = '&catid=' . $_REQUEST['do'];
}
elseif ($_REQUEST['do'] == 'searchresults')
{
if ($extra)
{
$_REQUEST['searchid'] = $extra;
}
$adv_sorturl = '&catid=searchresults';
}

Ich habe das Problem ein wenig umgangen, indem ich catid= durch c= ersetzt habe. Sieht jetzt also so aus:

Quote:
function construct_adv_sort_url($extra = '')
{
global $_REQUEST;

if ($_REQUEST['c'])
{
$_REQUEST['catid'] = $_REQUEST['c'];
}

if (in_array($_REQUEST['do'], array('favorites', 'popimages', 'newimages', 'newposts', 'member')))
{
$adv_sorturl = '&c=' . $_REQUEST['do'];
}
elseif ($_REQUEST['do'] == 'searchresults')
{
if ($extra)
{
$_REQUEST['searchid'] = $extra;
}
$adv_sorturl = '&c=searchresults';
}

Funktioniert soweit ganz gut. Jedoch wird man dann immer noch in die "falsche Kategorie" weitergeleitet, wenn man ein Bild bewertet. Also, wertet man ein Bild von user xy und befindet sich gerade in catid=member von user xy, leitet die Galerie weiter in die "eigentliche" Kategorie, in die das Bild hochgeladen wurde.
Reply With Quote
  #10 (permalink)  
Old 23.05.2009, 18:31
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Suche mal in der /includes/vbcms_init_start.php nach:

Code:
        // Default vBCMS $_REQUEST Variables
        $vbulletin->input->clean_array_gpc('r', array(
                'area'       => TYPE_NOHTML,
                'contentid'  => TYPE_UINT,
                'catid'      => TYPE_UINT
        ));
Und füge darunter:

Code:
        if(VB_AREA == 'vBGallery')
        {
        	unset($vbulletin->GPC['catid']);
        }
ein. Hilft das?
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #11 (permalink)  
Old 23.05.2009, 18:57
Benutzer
 
Join Date: 03.2008
Posts: 56
Rep Power: 5
Max Paint is on a distinguished road
Ne, hilft leider nicht.
Reply With Quote
  #12 (permalink)  
Old 23.05.2009, 19:01
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Und anstelle von:

Code:
        if(VB_AREA == 'vBGallery')
        {
        	unset($vbulletin->GPC['catid']);
        }
Code:
	if(!defined('SCRIPTGLOBAL'))
	{
		unset($vbulletin->GPC['catid']);
	}
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #13 (permalink)  
Old 23.05.2009, 19:54
Benutzer
 
Join Date: 03.2008
Posts: 56
Rep Power: 5
Max Paint is on a distinguished road
Auch nicht :'(
Reply With Quote
  #14 (permalink)  
Old 23.05.2009, 19:57
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Dann bleibt nur noch ein Supportzugang um das Problem in den Griff zu bekommen.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #15 (permalink)  
Old 05.06.2009, 09:25
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Suche mal in der /includes/vbcms_init_start.php nach:

Code:
        // Default vBCMS $_REQUEST Variables
        $vbulletin->input->clean_array_gpc('r', array(
                'area'       => TYPE_NOHTML,
                'contentid'  => TYPE_UINT,
                'catid'      => TYPE_UINT
        ));
Und ersetze es mit:

Code:
// Default vBCMS $_REQUEST Variables
        if(VB_AREA != 'vBGallery')
        {
        $vbulletin->input->clean_array_gpc('r', array(
                'area'       => TYPE_NOHTML,
                'contentid'  => TYPE_UINT,
                'catid'      => TYPE_UINT
        ));	
        }
ein. Hilft das?
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
Reply

Lesezeichen

Thread Tools
Display Modes

Posting Rules
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist On.
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vbcms und VBGallery von Photopost Helmut71 Fragen vor dem Kauf 3 30.10.2007 09:07
Modul für PhotoPost vBGallery? Spoky vBCMS® Fragen 4 15.12.2006 15:08


Copyright © 2006, Reuter & Bloeß GbR.
| Datenschutz | Sitemap | Unsere Partner | Top |
Home Products Forum Über uns Support & FAQs
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Tipp: Fussball | Heilerde
Shopsystem, Shop System, CMS, Webkatalog mit vBCMS CMS