Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: SMF bridge user groups error  (Read 7468 times)

0 Members and 1 Guest are viewing this topic.

thatdarncat

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • www.guildofgeeks.org
SMF bridge user groups error
« on: November 27, 2005, 10:03:07 am »

I have the following issue when trying to bridge coppermine and smf:

member groups imported from SMF display only their first letter

eg: Adminstrators = A, Global Moderators = G, Jr. Members = J

Coppermine install: http://www.guildofgeeks.org/mastersofevil/gallery/index.php
Forum install: http://www.guildofgeeks.org/mastersofevil/index.php
Coppermine version: cpg1.4.2
Forum version: SMF 1.1 RC1
Test user account: will provide via PM if needed as user would have administrator privilages

BridgeManager settings:
Forum URL:  http://www.guildofgeeks.org/mastersofevil/gallery
Relative path to your BBS's config file:  ../
Use post-based groups?:  yes

edit: added screenshot of error
« Last Edit: December 01, 2005, 05:48:58 am by GauGau »
Logged

Nibbler

  • Guest
Re: SMF bridge user groups error
« Reply #1 on: November 27, 2005, 04:55:46 pm »

This issue is unrelated to bridging and has already been fixed elsewhere.
Logged

thatdarncat

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • www.guildofgeeks.org
Re: SMF bridge user groups error
« Reply #2 on: November 27, 2005, 06:56:57 pm »

Fair enough :) I assumed it was related to the bridging as it only showed up after I initiated the bridge.

Is there a patch yet that you know of?
Logged

Nibbler

  • Guest
Re: SMF bridge user groups error
« Reply #3 on: November 27, 2005, 07:49:54 pm »

include/mb.inc.php

find:

Code: [Select]
function mb_substr($str, $start, $end=null) {
global $mb_utf8_regex;
preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $str, $str);
$str = array_slice($str[0], $start, $end);
return implode('', $str);
}

change to

Code: [Select]
function mb_substr($str, $start, $end=null) {
global $mb_utf8_regex;
preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $str, $str);
$str = empty($end) ? array_slice($str[0], $start) : array_slice($str[0], $start, $end);
return implode('', $str);
}
Logged

Satyr

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 139
    • Gothic Model Gallery - Dark Photo Art
Re: SMF bridge user groups error
« Reply #4 on: November 30, 2005, 11:58:11 pm »

Hm, the changement in this script does not resolve my problems with the grouprights.  :(

Edit: This helped me, thanks GauGau!
http://forum.coppermine-gallery.net/index.php?topic=24357.msg112047#msg112047
« Last Edit: December 01, 2005, 12:27:48 am by Satyr »
Logged
Kein Support über PN. Bitte im Forum posten, dann ist anderen auch geholfen.

http://www.gothicmodels.net/gothicmodels/gallery/

Testuser: Test23 PW: 123456
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.