Page 62 of 65

Re: [BETA] My Page - Personal web page for your members

Posted: Mon Dec 14, 2009 1:46 am
by Josh18657

Re: [BETA] My Page - Personal web page for your members

Posted: Mon Dec 14, 2009 1:59 am
by Josh18657
and here is the mod sql for anyone interested

Code: Select all

CREATE TABLE `phpbb_mypage` (
  `mypage_id` int(10) NOT NULL auto_increment,
  `owner_id` int(10) NOT NULL,
  `allow_comments` int(1) NOT NULL default '0',
  `allow_ratings` int(1) NOT NULL default '0',
  `parse_bbcode` int(1) NOT NULL default '1',
  `parse_html` int(1) NOT NULL default '0',
  `parse_smiles` int(1) NOT NULL default '0',
  `parse_url` int(1) NOT NULL default '1',
  `bg_color` varchar(50) NOT NULL default 'White',
  `bg_img` varchar(255) NOT NULL default 'none',
  `bg_img_url` varchar(255) NOT NULL default 'none',
  `bg_style` varchar(20) NOT NULL default 'repeat',
  `bg_style_fix` varchar(10) NOT NULL default 'scroll',
  `fnt_size` varchar(20) NOT NULL default 'Medium',
  `fnt_color` varchar(20) NOT NULL default 'Black',
  `mypage_title` varchar(255) NOT NULL,
  `created` varchar(255) NOT NULL,
  `content` text NOT NULL,
  `bbcode_uid` varchar(255) NOT NULL,
  `bbcode_bitfield` varchar(255) NOT NULL,
  `bbcode_options` varchar(255) NOT NULL,
  `views` int(10) NOT NULL default '0',
  `mypage_order` int(10) NOT NULL default '0',
  PRIMARY KEY  (`mypage_id`)
) TYPE=MyISAM ;


CREATE TABLE `phpbb_mypage_comments` (
  `comment_id` int(10) NOT NULL auto_increment,
  `user_id` int(10) NOT NULL default '0',
  `comment_username` varchar(255) NOT NULL default '0',
  `mypage_id` int(10) NOT NULL default '0',
  `comment` text NOT NULL,
  `comment_time` int(11) NOT NULL default '0',
  `page_owner_id` int(10) NOT NULL default '0',
  `comment_uid` varchar(255) NOT NULL default '0',
  `comment_bitfield` varchar(255) NOT NULL default '0',
  `comment_options` varchar(255) NOT NULL default '0',
  PRIMARY KEY  (`comment_id`)
) TYPE=MyISAM ;


CREATE TABLE `phpbb_mypage_ratings` (
  `rating_id` int(10) NOT NULL auto_increment,
  `user_id` int(10) NOT NULL default '0',
  `mypage_id` int(10) NOT NULL default '0',
  `rating` int(10) NOT NULL default '0',
  `page_owner_id` int(10) NOT NULL default '0',
  PRIMARY KEY  (`rating_id`)
) TYPE=MyISAM ;


CREATE TABLE `phpbb_mypage_uploads` (
  `upload_id` int(10) NOT NULL auto_increment,
  `owner_id` int(10) NOT NULL default '0',
  `upload_title` varchar(255) NOT NULL default '0',
  `save_name` varchar(255) NOT NULL default '0',
  `views` int(10) NOT NULL default '0',
  `extension` varchar(5) NOT NULL default '0',
  `size_string` varchar(255) NOT NULL default '0',
  `width` int(5) NOT NULL default '0',
  `height` int(5) NOT NULL default '0',
  `upload_time` int(11) NOT NULL default '0',
  `mime` varchar(100) NOT NULL default '0',
  PRIMARY KEY  (`upload_id`)
) TYPE=MyISAM ;

INSERT INTO `phpbb_config` (`config_name`, `config_value`, `is_dynamic`) VALUES 
('mypage_rate_3', '3.gif', 0),
('mypage_rate_2', '2.gif', 0),
('mypage_rate_1', '1.gif', 0),
('mypage_rate_0', '0.gif', 0),
('mypage_default_content', 'page not yet available', 0),
('mypage_use_board_header', '1', 0),
('mypage_max_uploads_size', '100000', 0),
('mypage_custom_footer', '<center><a href="http://www.jtsenterprises.biz"><img src="http://www.jtsenterprises.biz/banners/remote_banner_1.png" /></a></center>', 0),
('mypage_rate_4', '4.gif', 0),
('mypage_rate_5', '5.gif', 0),
('mypage_rate_none', 'none.gif', 0),
('mypage_allowed_1', '1', 0),
('mypage_allowed_2', '5', 0),
('mypage_allowed_3', '10', 0),
('mypage_allowed_uploads_1', '2', 0),
('mypage_allowed_uploads_2', '10', 0),
('mypage_allowed_uploads_3', '15', 0);

INSERT INTO `phpbb_acl_options` (`auth_option`, `is_global`, `is_local`, `founder_only`) VALUES (1, 'f_', 0, 1, 0),
('u_mp_comments', 1, 0, 0),
('u_mp_vote', 1, 0, 0),
('u_mp_ratings', 1, 0, 0),
('u_mp_own_ratings', 1, 0, 0),
('u_mp_own_comments', 1, 0, 0),
('u_mp_use_html', 1, 0, 0),
('u_mp_uploads_1', 1, 0, 0),
(u_mp_uploads_2', 1, 0, 0),
('u_mp_uploads_3', 1, 0, 0),
('u_mp_allowed_1', 1, 0, 0),
('u_mp_allowed_2', 1, 0, 0),
('u_mp_allowed_3', 1, 0, 0),
('m_mp_edit', 1, 0, 0),
('a_mp_change', 1, 0, 0);

-- add modules manually because these aren't correct for other phpbb3 installs
INSERT INTO `phpbb_modules` (`module_id`, `module_enabled`, `module_display`, `module_basename`, `module_class`, `parent_id`, `left_id`, `right_id`, `module_langname`, `module_mode`, `module_auth`) VALUES 
(194, 1, 1, 'mypage', 'ucp', 0, 55, 64, 'UCP_MYPAGE', 'overview', 'acl_u_mp_allowed_1 || acl_u_mp_allowed_2 || acl_u_mp_allowed_3'),
(195, 1, 1, 'mypage', 'ucp', 194, 56, 57, 'UCP_MP_MAIN', 'overview', 'acl_u_mp_allowed_1 || acl_u_mp_allowed_2 || acl_u_mp_allowed_3'),
(196, 1, 1, 'mypage', 'ucp', 194, 58, 59, 'UCP_MP_UPLOADS', 'uploads', 'acl_u_mp_uploads_1 || acl_u_mp_uploads_2 || acl_u_mp_uploads_3'),
(197, 1, 1, 'mypage', 'ucp', 194, 60, 61, 'UCP_MP_ADD', 'add', 'acl_u_mp_allowed_1 || acl_u_mp_allowed_2 || acl_u_mp_allowed_3'),
(198, 1, 1, 'mypage', 'ucp', 194, 62, 63, 'UCP_MP_EDIT', 'edit', 'acl_u_mp_allowed_1 || acl_u_mp_allowed_2 || acl_u_mp_allowed_3'),
(199, 1, 1, '', 'acp', 9, 102, 109, 'ACP_MP_MYPAGE', '', 'acl_a_mp_change'),
(200, 1, 1, 'mypage', 'acp', 199, 103, 104, 'ACP_MP_MAIN', 'overview', 'acl_a_mp_change'),
(201, 1, 1, 'mypage', 'acp', 199, 105, 106, 'ACP_MP_LIMITS', 'limits', 'acl_a_mp_change'),
(202, 1, 1, 'mypage', 'acp', 199, 107, 108, 'ACP_MP_STYLE', 'style', 'acl_a_mp_change');

Re: [BETA] My Page - Personal web page for your members

Posted: Sat Dec 26, 2009 4:11 am
by Jan Christensen
The download link in post 1 is dead.

Where can I download this mod and where can I see a demo that actually works?

This topic is confusing, sorry. :|

Re: [BETA] My Page - Personal web page for your members

Posted: Sat Dec 26, 2009 1:04 pm
by Josh18657
http://demo.jtsenterprises.biz -> you need an account to create a mypage

http://www.jtsenterprises.biz/phpbbmods/mypage/ -> 0.2.3 is the newest

Re: [BETA] My Page - Personal web page for your members

Posted: Sun Dec 27, 2009 12:21 pm
by Jamy
I know this sounds stupid but I've looked all through this thread and after scanning 60 something pages I've finally broken down and have to ask... how do you create a page?

Re: [BETA] My Page - Personal web page for your members

Posted: Sun Dec 27, 2009 6:49 pm
by Josh18657
Jamy wrote:I know this sounds stupid but I've looked all through this thread and after scanning 60 something pages I've finally broken down and have to ask... how do you create a page?
User Control Panel -> mypage

Re: [BETA] My Page - Personal web page for your members

Posted: Sun Dec 27, 2009 8:32 pm
by Jamy
yeah I found that like 5 minutes after I posted :roll:

Re: [BETA] My Page - Personal web page for your members

Posted: Tue Dec 29, 2009 1:26 pm
by ttuu
i try to add new page but when i send the title page i get this error:

Code: Select all

Incorrect string value: '\xD7\x97\xD7\x93\xD7\xA9' for column 'mypage_title' at row 1 [1366]
the error is also in content page. i get this error:

Code: Select all

Incorrect string value: '\xD7\x9E\xD7\x94 \xD7...' for column 'content' at row 1 [1366]
the error is only if i create title in my language (hebrew = UTF-8) if i try to create title in english is work perfect.

this mod cannot support UTF-8 encoding?

Re: [BETA] My Page - Personal web page for your members

Posted: Fri Jan 01, 2010 1:22 pm
by --Phoenix--
@edit
I have tried you mod....great!
one thing....

When i have created my page and i go to my profile a message says "no pages created". It is possible to insert the background color of the page (and of the font) in hexadecimal?

last thing....if you need an Italian translation....i'm here!

Re: [BETA] My Page - Personal web page for your members

Posted: Sat Jan 02, 2010 2:21 am
by Kadus
Hi,
I have a same problème than Phoenix.

It is possible to display un link for membre page in the viewtopic ?

Re: [BETA] My Page - Personal web page for your members

Posted: Mon Jan 04, 2010 10:13 pm
by dkdkdkdk
Kadus, Phoenix: You have to change the Order from 0 to 1 in User Control Panel/My Page/Overview

Josh18657: Can you allow posting in the test forum. I want to see how can other users jump on my page, where is the link on it. Under avatar or somewhere else?

Re: [BETA] My Page - Personal web page for your members

Posted: Tue Jan 05, 2010 4:26 am
by Josh18657
dkdkdkdk wrote:Kadus, Phoenix: You have to change the Order from 0 to 1 in User Control Panel/My Page/Overview

Josh18657: Can you allow posting in the test forum. I want to see how can other users jump on my page, where is the link on it. Under avatar or somewhere else?
Posting now allowed,
the link to the selected page is found under the avatar.

Josh

Re: [BETA] My Page - Personal web page for your members

Posted: Tue Jan 05, 2010 4:29 am
by Josh18657
As it looks like no one is interested in continuing development of this mod I'll see if I can set aside some time later in the month or early next month to put together a new version with all the updates I have in mind as well as needed fixes. If someone else does want to continue development let me know

Thanks,
Josh

Re: [BETA] My Page - Personal web page for your members

Posted: Tue Jan 05, 2010 10:32 am
by --Phoenix--
Josh18657 wrote:As it looks like no one is interested in continuing development of this mod I'll see if I can set aside some time later in the month or early next month to put together a new version with all the updates I have in mind as well as needed fixes. If someone else does want to continue development let me know

Thanks,
Josh
it will be RC or another beta?

Re: [BETA] My Page - Personal web page for your members

Posted: Tue Jan 05, 2010 12:19 pm
by Josh18657
more than likely another beta but we'll see