PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Coppermine Galerie


Richmen
30.09.2004, 12:02
Hat davon jemand Ahnung?

Ich habs bei mir mal eingebaut, weil man mir sagte dass es ins VB gut einzubinden sei... ich möchte ja auch ned dass sich meine User 2x anmelden müssen :)
http://www.orpg-board.de/cpg132/

Das ist die Beschreibung dazu:

HOW TO INTEGRATE:
1.) Download vbulletin30.inc.php (provided as an archive with this hack)
2.) Open for Editing vbulletin30.inc.php and edit the following with data specific to your site:

//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', 'xxxxxxxx'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'forum'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'username'); // The username to use to connect to the database
define('VB_DB_PASSWORD', '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', '/vbulletin3/');

3.) Save vbulletin30.inc.php to the bridge directory of your Coppermine installation
4.) Open for Editing init.inc.php (located in the /include directory of your Coppermine installation
Find:
// define('UDB_INTEGRATION', 'vbulletin30');
Remove the double slashes in front of the line to uncomment

5. Save init.inc.php to the include directory of your Coppermine installation
6. Point your browser to your Coppermine installation and verify integration is complete.

That should do it. I tried it on a fresh install of both, and a custom install to an existing board. Both worked fine.

Passt auch alles... aber wenn ich zum schluss die init.inc.php öffne und dort das // define('UDB_INTEGRATION', 'vbulletin30'); auskommentiere dann kann ich mich nicht mehr anmelden und man kann sich nicht registrieren... :confused:

Ideen?

Vega
30.09.2004, 12:12
Liegt evtl. an der Coppermine-Version. Musst Du evtl. 'mal eine aeltere ausprobieren.

Richmen
30.09.2004, 22:21
hm ok ich bin nun etwas weiter... jedoch sagte man mit ich soll unter Cookie Präfix, was eintragen, was ich nicht ganz geblickt hab :rolleyes:


you have to set it to the value set up in your bbs.

aha kann mir jemand sagen was damit gemeint ist??

Vega
30.09.2004, 22:34
Damit ist gemeint, dass Du bei der Galerie denselben Cookie-Praefix eintragen sollst, wie Du ihn bei Deinem Forum benutzt.

Richmen
30.09.2004, 22:55
aha also / :)

thx

Aber nun gehts auch ned wesentlich weiter... wenn man auf Login klickt kommt man ins Forum... :mad:

Vega
30.09.2004, 23:14
Die Probleme hatte ich auch damals. *gg*

Vielleicht solltest Du Dir ueberlegen auf 4images umzusteigen. Ansonsten probier 'ne aeltere Version von Coppermine aus. Die 1.1, glaube ich, funktioniert soweit gut damit.

Richmen
01.10.2004, 08:19
na das ist ja auch doof :(

Weiss keiner wo da noch etwas einzustellen wäre?
Das 4images ist wesentlich schwieriger von den Style's einzustellen, und macht Probs weil mein Hoster Safemode an hat... desswegen hab ich's runter...


edit:

Das hat mir gerade jemand geschrieben... vielleicht kann einer von euch was damit anfangen :rolleyes:

When looking at your cookies I can not see a userid cookie - this is all I get:
Quote
Cookie Information - http://www.orpg-board.de/cpg132/
http://www.orpg-board.de/cpg132/
Name bblastactivity
Value 1096615269
Host www.orpg-board.de
Path /
Expires Samstag, 1. Oktober 2005 09:21:47

Name bbsessionhash
Value 7c07c50d0fb2b2cf0538efd3227d5d37
Host www.orpg-board.de
Path /
Expires At End Of Session

Name cpg132_data
Value YToyOntzOjI6IklEIjtzOjMyOiIwZjkyMzI2OWRhN2FhZTIxMGQxZTliMzMwMGU3OGU2OSI7czoyOiJhbSI7aToxO30%3D
Host www.orpg-board.de
Path /
Expires Sonntag, 31. Oktober 2004 08:22:46

Name bblastvisit
Value 1096614021
Host www.orpg-board.de
Path /
Expires Samstag, 1. Oktober 2005 09:20:56
Did you apply any modifications in your vbulletin's setup to make authentification work on the session only instead of cookies (some bbs apps have this option)?

ahja hier gehts zur Gallery
http://coppermine.sourceforge.net/

TomokiG
01.10.2004, 22:29
Hier mal etwas, was bei mir gehakt hat... Suche in der vbulletin30.inc.php nach folgender Passage:

// 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', 'bb'); // Cookie Prefix, not supported by vBulletin 2

Hier sollte auf die letzte Zeile geachtet werden, dort muss derselbe Cookie-Präfix wie im Board eingetragen werden, in der Regel "bb". Leider wird darauf nur im Coppermine-Forum hingewiesen...

°TomokiG°

Richmen
02.10.2004, 08:50
thx ich hab den Rat von Vega befolgt und 1.2.1 drauf gemacht, nun geht's 1A

krümel
02.10.2004, 09:36
Wie kann ich Alben von einer anderen Coppermine Gallerie in ne andere verschieben? (kopieren)

krümel
03.10.2004, 15:07
Geht wahrscheinlich nicht, hm? ...

also alles von neuem :(

Vega
03.10.2004, 15:45
Vielleicht waere es besser diese Frage im Supportforum von Coppermine zu stellen. Ich glaube, die koennen Dir da besser weiterhelfen.

krümel
04.10.2004, 07:01
okay, ich versuchs,
mein english is nut miesserabel ;) :rolleyes: