Quick reply for phpBB3

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Quick reply for phpBB3

Post 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? :)
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post 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
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Quick reply for phpBB3

Post 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 ;)
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post 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
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post 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
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Oh, not really..
Sorry that I have made some mistakes before, 7039 does not really work
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post 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 :)
naBB
Registered User
Posts: 13
Joined: Sun Jan 24, 2010 9:08 pm

Re: Quick reply for phpBB3

Post 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
Last edited by stickerboy on Tue Feb 02, 2010 3:38 pm, edited 1 time in total.
Reason: Posts merged
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Quick reply for phpBB3

Post by rxu »

naBB wrote:what's this? sorry i have an error... on function_posting.php:22
Please read this post.
DeathAwaitsU
Registered User
Posts: 10
Joined: Fri Sep 15, 2006 12:30 pm
Location: Blackpool, UK

Re: Quick reply for phpBB3

Post 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.
{1Br} Clan leader
Image
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420

Re: Quick reply for phpBB3

Post 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.
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14
DeathAwaitsU
Registered User
Posts: 10
Joined: Fri Sep 15, 2006 12:30 pm
Location: Blackpool, UK

Re: Quick reply for phpBB3

Post by DeathAwaitsU »

I meant center the actual box not the text within it :)
{1Br} Clan leader
Image
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420

Re: Quick reply for phpBB3

Post by MPG187 »

DeathAwaitsU wrote:I meant center the actual box not the text within it :)
For me it's centered.
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14
ahmedmoselhi
Registered User
Posts: 17
Joined: Wed Feb 10, 2010 12:07 pm

Re: Quick reply for phpBB3

Post by ahmedmoselhi »

This error occured to my when i tried to run install.php

Code: Select all

Warning: include(./common.php) [function.include]: failed to open stream: No such file or directory in /home/midoocr/public_html/bb3/install/install.php  on line 17

Warning: include(./common.php) [function.include]: failed to open stream: No such file or directory in /home/midoocr/public_html/bb3/install/install.php on line 17

Warning: include() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/midoocr/public_html/bb3/install/install.php on line 17

Fatal error: Call to a member function session_begin() on a non-object in /home/midoocr/public_html/bb3/install/install.php on line 20
what is the problem there?
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Quick reply for phpBB3

Post by rxu »

ahmedmoselhi wrote:This error occured to my when i tried to run install.php
Put and run it from the board's root - like /bb3/install.php

Return to “[3.0.x] MOD Database Releases”