Archiv verlassen und diese Seite im Standarddesign anzeigen : VB3.0.3 VS Coppermine
dreamhero
05.10.2004, 09:41
AAAAAAAHHHHHHHH !!!!!! :eek:
nach dem ich jetzt seit ca. 3 tagen versuche Coppermine in mein vb zu integrieren gebe ich mich nun geschlagen. :mad:
Ich glaube ich habe alle Threads zu diesem Thema gelesen doch leider haut es einfach nicht hin. wenn ich mich auf vb einlogge bin ich bei Coppermine wieder ausgeloggt.
Jetzt habe ich aber gelesen das es hier schon einige geschafft haben.
Daher würde ich diejenigen bitten die es geschafft haben mal die versionen hier zu posten mit denen es geklappt hat.
z.b. wird in einem Thread gesagt suche in der Bridge nach
define('VB_COOKIE_PREFIX', 'bb');
Leider ist das in der Bridge die ich habe garnicht drin.
Und das dieser Cookie Präfix wichtig ist habe ich nun auch schon gelesen aber wie gesagt ich habe ihn nicht.
Also ich wäre für eure hilfe sehr dankbar :rolleyes:
Welche Version hast Du?
Die Integrationen funktionieren nicht mit den neueren Versionen. Die Hack, der dazu auf vb.org zu Haben ist (wohl gemerkt der vb.org-Hack, nicht die Bridge, die von Haus aus zu Verfuegung steht!), funktioniert definitiv mit der 1.2.1.
dreamhero
05.10.2004, 12:56
ich habe mir die versionen 1.2.1 von coppermine runtergeladen
cpg1.2.1_bridge_vbulletin3.0.zip
cpg1.2.1.zip
aber es funzt einfach nicht.
(wohl gemerkt der vb.org-Hack, nicht die Bridge, die von Haus aus zu Verfuegung steht!)
Lies Dir doch bitte noch 'mal obigen Teil meines Beitrages durch.
dreamhero
05.10.2004, 12:59
und das hier steht in der bridge
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.0 //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR //
// http://www.chezgreg.net/coppermine/ //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team //
// (http://coppermine.sf.net/team/) //
// see /docs/credits.html for details //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// ------------------------------------------------------------------------- //
// $Id: vbulletin30.inc.php,v 1.1 2004/03/24 07:19:06 gaugau Exp $
// ------------------------------------------------------------------------- //
// Modified for vB3 by Nanobot at www.f5hosting.com //
// ------------------------------------------------------------------------- //
// vBulletin 3.0 Integration for Coppermine //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
// database configuration
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', '********'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', '******'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', '******'); // The username to use to connect to the database
define('VB_DB_PASSWORD', '*********'); // The password to use to connect to the database
// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
// Group definitions (default values used by the board)
define('VB_VALIDATING_GROUP', 3);
define('VB_GUEST_GROUP', 1);
define('VB_MEMBERS_GROUP', 2);
define('VB_ADMIN_GROUP', 6);
// Authenticate a user using cookies
function udb_authenticate()
{
global $HTTP_COOKIE_VARS, $USER_DATA, $UDB_DB_LINK_ID, $UDB_DB_NAME_PREFIX, $CONFIG;
global $HTTP_SERVER_VARS, $HTTP_X_FORWARDED_FOR, $HTTP_PROXY_USER, $REMOTE_ADDR;
// For error checking
$CONFIG['TABLE_USERS'] = '**ERROR**';
// Permissions for a default group
$default_group = array('group_id' => VB_GUEST_GROUP,
'group_name' => 'Unknown',
'has_admin_access' => 0,
'can_send_ecards' => 0,
'can_rate_pictures' => 0,
'can_post_comments' => 0,
'can_upload_pictures' => 0,
'can_create_albums' => 0,
'pub_upl_need_approval' => 1,
'priv_upl_need_approval' => 1,
);
und noch einiges mehr aber ich denke nicht das da der fehler liegt.
http://www.vbulletin.org/forum/showthread.php?t=62778 Diese Integration und keine andere. Die funktioniert auch. Frag 'mal Richmen. ;)
dreamhero
05.10.2004, 13:01
ok ich geh mal schaun....
dreamhero
05.10.2004, 13:04
dann noch ne frage mach ich erst installation und dann brücke oder erst brücke und mit brücke installieren ??
Erst installieren, dann die Bruecke, wenn ich mich recht erinnere.
dreamhero
05.10.2004, 13:13
geht auch nicht !!!
und wo stell ich denn da ein wie der cookie Präfix heißt.
also ich sehe da keinen eintrag zu.
Vielleicht solltest Du die Datei wieder rausnehmen. Da stehen alle Infos zu Dir drin. ;)
Hast Du das ausgefuellt?
define('VB_WEB_PATH', '/');
Und das:
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3
Bei beidem nur, falls Du 'nen Pfad und nen Fraefix bei der Installation von vB benutzt hast.
Ach ja, hast Du in der init die 0 nach der 3 weggemacht?
Die vom vB.org Hack heisst vbulletin3.inc.php und die Bridge von CPG heisst vbulletin30.inc.php
dreamhero
05.10.2004, 13:26
uppps danke für den tipp :o
ok also ich habe keinen pfad und auch keinen table präfix
dreamhero
05.10.2004, 13:41
Ach ja, hast Du in der init die 0 nach der 3 weggemacht?
Die vom vB.org Hack heisst vbulletin3.inc.php und die Bridge von CPG heisst vbulletin30.inc.php
Ja hab ich auch :(
Schick mir 'mal die zwei Dateien.
vegaman [at] gmail.com
dreamhero
05.10.2004, 16:04
Wir haben die Lösung !!!!
Also dank Vega haben ich den Fehler gefunden !!!
Schaut mal hier:
http://www.vbulletin.org/forum/showpost.php?p=505885&postcount=69
Danke nochmal an Vega
Ja Vega hat auch mir geholfen :)
Aber das was du da gepostet hast, behebt ein Problem mit VB3 und Coppermine 1.3....
Du meintest aber die 1.2.1 zu haben oder??
Ich hab die 1.3 bei mir auch nicht zum laufen gebracht :(
dreamhero
05.10.2004, 20:36
Ja genau es geht um folgende files:
cpg1.2.1.zip
cpg1.2_bridge_vbulletin_v3.zip
Ich habs mal in meinem Testboard (3.0.3) und Coppermine 1.3.2 (Bridge von Coppermine) getestet und es funktioniert ohne Probleme.
dreamhero
06.10.2004, 12:07
hallo,
poste doch mal die Links zu den files die du benuzt hast.
Ich benutze die orginal Dateien von Coppermine 1.3.2 + die darin enthaltene Bridge "vbulletin30.inc.php".
Auszug der Bridge-Datei
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2 //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR //
// http://www.chezgreg.net/coppermine/ //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team //
// (http://coppermine.sf.net/team/) //
// see /docs/credits.html for details //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// ------------------------------------------------------------------------- //
// CVS version: $Id: vbulletin30.inc.php,v 1.6 2004/07/24 15:04:10 gaugau Exp $
// ------------------------------------------------------------------------- //
// Modified for vB3 by Nanobot at www.f5hosting.com //
// ------------------------------------------------------------------------- //
// vBulletin 3.0 Integration for Coppermine //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
// database configuration
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', ' '); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', ' '); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', ' '); // The username to use to connect to the database
define('VB_DB_PASSWORD', ' '); // The password to use to connect to the database
// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/testforum/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
define('VB_COOKIE_PREFIX', 'Hier der Cookie Prefix von vB rein.'); // Cookie Prefix, not supported by vBulletin 2
Den Cookie Prefix vom vB findet ihr in der config.php ganz unten.
// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = ' '
Anschließend noch in der init.inc.php folgendes ändern:
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2 //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR //
// http://www.chezgreg.net/coppermine/ //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team //
// (http://coppermine.sf.net/team/) //
// see /docs/credits.html for details //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// ------------------------------------------------------------------------- //
// CVS version: $Id: init.inc.php,v 1.10 2004/08/10 15:24:47 nibbler999 Exp $
// ------------------------------------------------------------------------- //
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
also vor
define('UDB_INTEGRATION', 'vbulletin30');
die // entfernen.
na sowas langweilt mich schon wieder...! http://www.orpg-board.de/images/smilies/motz.gif
Kannst du bitte das nächste mal mein Board als Testboard nutzen ? :D
Hab nun das 1.2.1 drauf, aber leider kann man da zb.: nicht einstellen dass man mehr als 1 Bild hochladen darf... und das kannst bei 50 Screens dann schnell ma hinziehen :eek:
ahja und Maddy
guckst du
http://www.vbulletin-germany.com/forum/showthread.php?p=81583#post81583
Bei mir klappt die 3.2.1 version von Copper au ^.^
allerdings wenn ich bei copper auf abmelden klicke steht dort "Beim Abmelden trat ein Fehler auf" ... und wenn man auf anmelden klickt kommt man auf die kB startseite... aber des is' zu verschmerzen :D
allerdings wenn ich bei copper auf abmelden klicke steht dort "Beim Abmelden trat ein Fehler auf" ... Wahrscheinlich weil das entsprechende Template einen Fehler aufweist und der Abmelden Link nicht damit endet:
&u=$bbuserinfo[userid]
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.