My blog is Wordpressdarkonia wrote:when you make all edits coorect the im will appear on all phpbb sites
My Gamecenter is HTML/PHP coded by me.
So how am i supposed to get the chat on those?
My blog is Wordpressdarkonia wrote:when you make all edits coorect the im will appear on all phpbb sites
I get this error when I make the changes.cm_ wrote:ok, so i tested my version and its working, didn't find any bugs
except the status bar on the index page isn't in the right posistion...but it works!
Anyway backup your board before you do the changes.
If you want to use the sn mod with a subsilver based mod you have to do the
following changes:
in memberlist_view.html
findadd beforeCode: Select all
</form>
in overall_footer.htmlCode: Select all
<!-- IF SN_MODULE_APPROVAL_ENABLED --> <!-- INCLUDE socialnet/memberlist_viewprofile_friendlist.html --> <!-- ENDIF --> <!-- IF SN_MODULE_USERSTATUS_ENABLED && SN_MODULE_USERSTATUS_VIEWPROFILE_ENABLE --> <!-- INCLUDE socialnet/userstatus_memberlist.html --> <!-- ENDIF -->
findadd beforeCode: Select all
</body>
in overall_header.htmlCode: Select all
<!-- IF SN_MODULE_IM_ENABLED --> <!-- INCLUDE socialnet/im.html --> <!-- ENDIF -->
findadd beforeCode: Select all
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
findCode: Select all
<!-- INCLUDE socialnet/overall_header_hook.html -->
replace withCode: Select all
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
findCode: Select all
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}<!-- IF SN_MODULE_IM_ENABLED --> im-page<!-- ENDIF -->">
add afterCode: Select all
<ul id="navlist">
findCode: Select all
<!-- IF SN_MODULE_MAINPAGE_ENABLED --><li class="icon-home"><a href="{U_SN_MAINPAGE}">{L_SN_MP_MAINPAGE}</a></li><!-- ENDIF -->
add afterCode: Select all
<div id="wrapheader">
findCode: Select all
<!-- IF SN_MODULE_USERSTATUS_ENABLED --> <!-- INCLUDE socialnet/userstatus_index.html --> <!-- ENDIF -->
replace withCode: Select all
<div id="wrapcentre">
in stylesheet.cssCode: Select all
<div id="wrapcentre" class="<!-- IF B_SN_US_ON_HEADER -->snUsOnHeader<!-- ENDIF -->">
findadd beforeCode: Select all
/* Layout
that's it!Code: Select all
@import url("socialnet.css"); @import url("jquery-ui.custom.css");
And don't forget to copy the root folder to your server.
By the way, I at first installed the mod with automod and edited the subsilver files
afterwards. I don't know what happens if you try to install it without the edits in the
prosilver template.
Ok guys, would be cool if you tell me if it worked. Have fun with the sn mod in subsilver
Yes there are a few problems with phpBB 3.0.9sonofhud wrote:Has anyone installed since the latest PHPBB release? I have not been able to get it to work
Code: Select all
General Error
Index name 'phpbb_socialnet_im_chatboxes_idx_chatbox' on table 'phpbb_socialnet_im_chatboxes' is too long. The maximum is 24 characters.
I got around that with this little fix:jesschen wrote:everything went well, until I went to the UMIL installer.
Code: Select all
General Error Index name 'phpbb_socialnet_im_chatboxes_idx_chatbox' on table 'phpbb_socialnet_im_chatboxes' is too long. The maximum is 24 characters.
Code: Select all
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config)
if (strlen($table_name . $index_name) - strlen($table_prefix) > 24)
{
$max_length = $table_prefix + 24;
trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR);
}
Code: Select all
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config)
if (strlen($table_name . $index_name) - strlen($table_prefix) > 99)
{
$max_length = $table_prefix + 99;
trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR);
}
I have done the above but yet im still getting thecdodds wrote:I got around that with this little fix:jesschen wrote:everything went well, until I went to the UMIL installer.
Code: Select all
General Error Index name 'phpbb_socialnet_im_chatboxes_idx_chatbox' on table 'phpbb_socialnet_im_chatboxes' is too long. The maximum is 24 characters.
Open: /includes/db/db_tools.php
Find:Replace 24 in the code above with 99.Code: Select all
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config) if (strlen($table_name . $index_name) - strlen($table_prefix) > 24) { $max_length = $table_prefix + 24; trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR); }
Example:Code: Select all
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config) if (strlen($table_name . $index_name) - strlen($table_prefix) > 99) { $max_length = $table_prefix + 99; trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR); }
Code: Select all
Index name 'phpbb3_socialnet_im_chatboxes_idx_chatbox' on table 'phpbb3_socialnet_im_chatboxes' is too long. The maximum is 24 characters.
Code: Select all
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config)
if (strlen($table_name . $index_name) - strlen($table_prefix) > 24)
{
$max_length = $table_prefix + 24;
trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR);
}