I almost got it working save for one last error in the init.php file. I replaced the text as noted in the readme file but i still get an error:
Fatal error: Call to undefined function: settableprefix() in /home/irishblu/public_html/five/gallery/init.php on line 307
I have gallery 1.4 installed with invision 1.2. I hope the mod works with those as well. so far so good except for this settableprefix part. These are what I have around those lines.
Quote:
/* Make sure that Gallery is set up properly */
gallerySanityCheck();
if ($gallery->session->username) {
// -- load user object by specifying userid instead of username
$gallery->user = $gallery->userDB->getUserByUid($ibforums->member['id']);
}
}
// END - Invision Embedding
/* If there's no specific user, they are the special Everybody user */
if (!isset($gallery->user)) {
Could someone help with debugging it? Would appreciate it lots.
beckett
Joined: 2002-08-16
Posts: 3474
Posted: Mon, 2003-10-13 07:34
My guess is setTablePrefix() is an Invision function, right? So make sure you're including the file that contains the definition of that function somewhere.
-Beckett (
)
irishblue
Joined: 2002-08-21
Posts: 19
Posted: Mon, 2003-10-13 13:04
i shld think it's included within the files that were included at the top. Those in the invisionboard directory were from the mod and uploaded to the correct folder. I checked through the steps again. but i still can't seem to locate what could be wrong.
UberError
Joined: 2003-10-13
Posts: 2
Posted: Thu, 2003-10-16 01:16
just change it to this and it works
i found that settableprefix is no longer used by invision... i believe the substitute is "Query"
Thank you very much, UberError! It almost worked.
until i replaced the wrapper-header.default file with the gallery embed one. I get this error now:
Fatal error: Cannot redeclare class info in /home/irishblu/public_html/five/forums/main.php on line 26
my main.php file around those lines has this:
Quote:
class info {
var $member = array();
var $input = array();
var $session_id = "";
var $base_url = "";
var $vars = "";
var $server_load = 0;
var $version = "v4";
var $lastclick = "";
var $location = "";
function info() {
global $sess, $std, $DB, $root_path, $INFO;
Also, got another question... what does this line mean?
Quote:
Find <!-- NAV BAR --> and change the line after to match the same line in your skin_global.php file in the BoardHeader function.
hardtraining
Joined: 2003-06-08
Posts: 12
Posted: Sat, 2003-11-22 16:34
Anyone integrate this with the latest versions of Invison Board?
Shadeaux
Joined: 2003-11-25
Posts: 12
Posted: Sun, 2004-01-25 05:16
Are their any Hacks to integrate the Gallery and Invisionboard User Data base? I want my members to be able to login to the Board, and have access with Group rights to the gallery.. permissions would be controlved via the Boards Group settings.
blackhat[LO]
Joined: 2003-10-26
Posts: 16
Posted: Thu, 2004-10-28 04:17
is there still a mod for this available somewhere ?
Posts: 3473
http://mods.ibplanet.com/db/?mod=354
Posts: 19
I almost got it working save for one last error in the init.php file. I replaced the text as noted in the readme file but i still get an error:
Fatal error: Call to undefined function: settableprefix() in /home/irishblu/public_html/five/gallery/init.php on line 307
I have gallery 1.4 installed with invision 1.2. I hope the mod works with those as well. so far so good except for this settableprefix part. These are what I have around those lines.
Could someone help with debugging it? Would appreciate it lots.
Posts: 3474
My guess is setTablePrefix() is an Invision function, right? So make sure you're including the file that contains the definition of that function somewhere.
-Beckett (
)
Posts: 19
i shld think it's included within the files that were included at the top. Those in the invisionboard directory were from the mod and uploaded to the correct folder. I checked through the steps again. but i still can't seem to locate what could be wrong.
Posts: 2
just change it to this and it works
i found that settableprefix is no longer used by invision... i believe the substitute is "Query"
$gallery->database{$INFO['sql_database']}->$INFO['sql_tbl_prefix'];
Posts: 19
Thank you very much, UberError! It almost worked.
until i replaced the wrapper-header.default file with the gallery embed one. I get this error now:
Fatal error: Cannot redeclare class info in /home/irishblu/public_html/five/forums/main.php on line 26
my main.php file around those lines has this:
Also, got another question... what does this line mean?
Posts: 12
Anyone integrate this with the latest versions of Invison Board?
Posts: 12
Are their any Hacks to integrate the Gallery and Invisionboard User Data base? I want my members to be able to login to the Board, and have access with Group rights to the gallery.. permissions would be controlved via the Boards Group settings.
Posts: 16
is there still a mod for this available somewhere ?
Thanks