[ABD] phpBB Social Network 0.7.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Akshay2598
Registered User
Posts: 241
Joined: Tue Jun 21, 2011 5:35 pm
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Akshay2598 »

darkonia wrote:when you make all edits coorect the im will appear on all phpbb sites
My blog is Wordpress
My Gamecenter is HTML/PHP coded by me.
So how am i supposed to get the chat on those?

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Kamahl19 »

There is no plugin for wordpress, this is only for phpbb.

You should code your gamecneter inside the phpbb. phpBB provides a great framework to create whatever page or system. You can start with this http://www.phpbb.com/kb/article/add-a-n ... -to-phpbb/

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by darkonia »

that would be very heavy, the mod is supposed to be for phpbb sites and not external ones.

but you can ask your question on the official support site, maybe someone can help you!

http://socialnetwork.phpbb3hacks.com/index.php
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

chiroz223
Registered User
Posts: 44
Joined: Tue Jun 01, 2010 10:28 am

Re: [RC] phpBB3 Social Network 0.5.2

Post by chiroz223 »

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

find

Code: Select all

</form>
add before

Code: 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 -->
in overall_footer.html

find

Code: Select all

</body>
add before

Code: Select all

<!-- IF SN_MODULE_IM_ENABLED -->
    <!-- INCLUDE socialnet/im.html -->
<!-- ENDIF -->
in overall_header.html

find

Code: Select all

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
add before

Code: Select all

<!-- INCLUDE socialnet/overall_header_hook.html -->
find

Code: Select all

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
replace with

Code: Select all

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}<!-- IF SN_MODULE_IM_ENABLED --> im-page<!-- ENDIF -->">
find

Code: Select all

<ul id="navlist">
add after

Code: Select all

<!-- IF SN_MODULE_MAINPAGE_ENABLED --><li class="icon-home"><a href="{U_SN_MAINPAGE}">{L_SN_MP_MAINPAGE}</a></li><!-- ENDIF -->
find

Code: Select all

<div id="wrapheader">
add after

Code: Select all

<!-- IF SN_MODULE_USERSTATUS_ENABLED -->
            <!-- INCLUDE socialnet/userstatus_index.html -->
        <!-- ENDIF -->
find

Code: Select all

<div id="wrapcentre">
replace with

Code: Select all

<div id="wrapcentre" class="<!-- IF B_SN_US_ON_HEADER -->snUsOnHeader<!-- ENDIF -->">
in stylesheet.css
find

Code: Select all

/* Layout
add before

Code: Select all

@import url("socialnet.css");
@import url("jquery-ui.custom.css");
that's it!
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 :D
I get this error when I make the changes.

"Parse error: syntax error, unexpected '}' in /home/*********/public_html/cache/tpl_ProGamzic_overall_header.html.php on line 364"

Any clues on how to stop this from happening as when I look at the file it has a wierd closed php tag "<?php } >" - do you know what's causing it?

sonofhud
Registered User
Posts: 24
Joined: Sat Oct 17, 2009 3:13 pm

Re: [RC] phpBB3 Social Network 0.6.0

Post by sonofhud »

Has anyone installed since the latest PHPBB release? I have not been able to get it to work

User avatar
Blue Blood
Registered User
Posts: 763
Joined: Sat Apr 11, 2009 7:09 am
Location: U§A
Name: Blue Blood
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Blue Blood »

sonofhud wrote:Has anyone installed since the latest PHPBB release? I have not been able to get it to work
Yes there are a few problems with phpBB 3.0.9
The overall_header edit has changed
The copy folder are * when they should be *.*
You can not install the DB due to tables names are too long.

It needs to be updated!!

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Jessica »

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.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

cdodds
Registered User
Posts: 228
Joined: Sat Jul 10, 2010 2:19 am
Name: Don Cdoddsy
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by cdodds »

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.
I got around that with this little fix:

Open: /includes/db/db_tools.php
Find:

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);
		}
Replace 24 in the code above with 99.

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);
		}

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Jessica »

thank you!!! works perfectly now
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Blue Blood
Registered User
Posts: 763
Joined: Sat Apr 11, 2009 7:09 am
Location: U§A
Name: Blue Blood
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Blue Blood »

cool thanks

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Jessica »

when can we create blogs and galleries?
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

pro_hunter
Registered User
Posts: 138
Joined: Mon Nov 19, 2007 7:49 pm

Re: [RC] phpBB3 Social Network 0.6.0

Post by pro_hunter »

cdodds wrote:
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.
I got around that with this little fix:

Open: /includes/db/db_tools.php
Find:

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);
		}
Replace 24 in the code above with 99.

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);
		}
I have done the above but yet im still getting the

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.
Any help ??

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Jessica »

There are two of these

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);
      }
replace the 24 with 99 in the other one too and it should work
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Peter77sx
Registered User
Posts: 3259
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC] phpBB3 Social Network 0.6.0

Post by Peter77sx »

Interesting fix....
But ... Is there a reason why they are set to 24 in the first place? and is your board running OK?

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] phpBB3 Social Network 0.6.0

Post by Jessica »

I don't really know why it's set to 24 and the board I installed this mod on is running fine
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Locked

Return to “[3.0.x] Abandoned MODs”