Page 135 of 140

Re: Quick reply for phpBB3

Posted: Tue Jan 26, 2010 11:26 am
by frenzoo
Excuse me, may I ask if there is any method to allow "quick post" for everyone in the forum so that they do not need to go to UCP to allow it.

Because we do not want to enable the UCP broad preference display options setting but at the same time allow users to do quick post.

Thanks

Re: Quick reply for phpBB3

Posted: Tue Jan 26, 2010 12:39 pm
by bosnier
i have problem help guys
i upload all files, and i edit all files,
then when i try to instal (contrib/install/install.php) i got blank page...

and in the topic i cant see Quick Reply

can any1help me

Re: Quick reply for phpBB3

Posted: Fri Jan 29, 2010 6:30 am
by frenzoo
Hi, bosnier
i have problem help guys
i upload all files, and i edit all files,
then when i try to instal (contrib/install/install.php) i got blank page...

and in the topic i cant see Quick Reply

can any1help me
Do not use the install.php which is included in the quick reply package that you installed. That one have bugs.
You can find the new bug fixed install.php on the 1st page of this forum thread.

I have used that one and the installation is fine.
Hope this helps

Re: Quick reply for phpBB3

Posted: Fri Jan 29, 2010 12:54 pm
by rxu
frenzoo wrote:is any method to allow "quick post" for everyone in the forum so that they do not need to go to UCP to allow it.
Do you mean to do it only for existing users or for newly registered too?
And what phpBB3 version? :)

Re: Quick reply for phpBB3

Posted: Sun Jan 31, 2010 9:24 am
by frenzoo
Hi, rux.

Thank you very much for your reply.
I am using phpbb3.0.2

We want to allow the quick post for all users. (i.e. old user and any new user)
And for some reason, we do not want to enable the "edit display options" in the UCP.

Is it possible to enable the quick post for all users without allowing user to get access to the edit display options?

Thank you very much for your follow up and help

Re: Quick reply for phpBB3

Posted: Sun Jan 31, 2010 9:54 am
by rxu
Well, the answer is "yes" but not too short :)
Originally, we have the code in includes/functions_user.php from v.3.0.6 (function user_add)

Code: Select all

'user_options'		=> 230271,
for v.3.0.2 the code is

Code: Select all

'user_options'		=> 895,
Generally, to enable the feature by default for newly registered users you have to increase given values of user_options: for quick reply - by 2048 and for quick post - by 4096.
Furthermore, to enable the feature for already registered users, you have to do the same but using SQL query:
to enable quick reply you do

Code: Select all

'UPDATE phpbb_users SET user_options = 2048 | user_options'
to enable quick post you do

Code: Select all

'UPDATE phpbb_users SET user_options = 4096 | user_options'
Please notice that table name phpbb_users given here are just for example, don't forget to change the prefix if it's needed ;)

Re: Quick reply for phpBB3

Posted: Mon Feb 01, 2010 4:02 am
by frenzoo
Hi, rux.

Thank you for responding.

I have tried to increase the value of the "user_options" field.

If I increase by 2048, the user can use quick reply but not quick post
If I increase by 4096, the user can use quick post but not quick reply

Is it the quick post and quick reply cannot co-exist if we adjust the "user_options" field ?
Thanks

Re: Quick reply for phpBB3

Posted: Mon Feb 01, 2010 4:13 am
by frenzoo
Finally, I have use 7039 for the user_options (i.e. 895 + 2048 + 4096)

It have both quick post and quick reply now. Thanks

Re: Quick reply for phpBB3

Posted: Mon Feb 01, 2010 5:02 am
by frenzoo
Oh, not really..
Sorry that I have made some mistakes before, 7039 does not really work

Re: Quick reply for phpBB3

Posted: Mon Feb 01, 2010 5:31 am
by frenzoo
Excuse me, the problem for 7039 I reported before is due to browser cache problem.
After I have cleared the cache of the browser, it works fine.

Really thank you for your time :)

Re: Quick reply for phpBB3

Posted: Tue Feb 02, 2010 3:01 pm
by naBB
Fatal error: Cannot redeclare generate_smilies() (previously declared in /var/www/vhosts/**.com/httpdocs/forum/includes/functions_posting.php:22) in /var/www/vhosts/**.com/httpdocs/forum/includes/functions_posting.php on line 142
what's this? :(

sorry i have an error... on function_posting.php:22
line: function generate_smilies($mode, $forum_id)
line n: 22

Re: Quick reply for phpBB3

Posted: Tue Feb 02, 2010 3:50 pm
by rxu
naBB wrote:what's this? sorry i have an error... on function_posting.php:22
Please read this post.

Re: Quick reply for phpBB3

Posted: Thu Feb 04, 2010 3:43 pm
by DeathAwaitsU
Quick question, how can i center the quick reply text area instead of it being aligned to the left?
Im using prosilver based theme.

And please dont just give me a new file, i want to know the actual code required as ive already edited my quick_reply.html file.

Thanks in advance.

Re: Quick reply for phpBB3

Posted: Fri Feb 05, 2010 12:12 am
by MPG187
DeathAwaitsU wrote:Quick question, how can i center the quick reply text area instead of it being aligned to the left?
Im using prosilver based theme.

And please dont just give me a new file, i want to know the actual code required as ive already edited my quick_reply.html file.

Thanks in advance.
I created a custom BB Code for centered text.

Re: Quick reply for phpBB3

Posted: Fri Feb 05, 2010 3:28 pm
by DeathAwaitsU
I meant center the actual box not the text within it :)