[BETA] Quick Posting MOD 3.0.B1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by Handyman` »

actually, for Beta or RC bug fixes… instead of incrementing the version number, the Beta or RC number can be incremented.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
LEW21
Registered User
Posts: 117
Joined: Sat Sep 24, 2005 11:51 am
Location: Warsaw, Poland
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by LEW21 »

When I was releasing RCs on STG, nobody has tested them, so I resigned from releasing them. But I will return to RCs system for newer versions of my MODs - maybe somebody from this site will have time to test them :)
MadMardigan
Registered User
Posts: 16
Joined: Fri Aug 06, 2004 2:18 am
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by MadMardigan »

Problem: When I go to my user control panel and try to change my preferences to show quick reply and quick topic, I get the following error:

Code: Select all

SQL ERROR [ mysql4 ]

Unknown column 'user_display_quick_topic' in 'field list' [1054]

SQL

UPDATE phpbbrc1_users SET user_allow_pm = 1, user_allow_viewemail = 1, user_allow_massemail = 1, user_allow_viewonline = 1, user_notify_type = '0', user_notify_pm = 1, user_options = '895', user_dst = 1, user_dateformat = 'D M d, Y g:i a', user_lang = 'en', user_timezone = -5, user_style = '1', user_display_quick_topic = 0, user_display_quick_reply = 0 WHERE user_id = 2

BACKTRACE

FILE: includes/db/mysql.php
LINE: 133
CALL: dbal->sql_error()

FILE: includes/ucp/ucp_prefs.php
LINE: 87
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 460
CALL: ucp_prefs->main()

FILE: ucp.php
LINE: 310
CALL: p_master->load_active()
I'm assuming that I need to run an SQL query to insert some table fields, correct? Is it also possible to put it so quick topic and quick reply are on by default?
User avatar
LEW21
Registered User
Posts: 117
Joined: Sat Sep 24, 2005 11:51 am
Location: Warsaw, Poland
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by LEW21 »

I think that you've forgotten to run SQL queries:

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) VALUES ('display_quick_topic', 1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('display_quick_reply', 1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('display_quick_reply_title', 1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('display_quick_post_options', 1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('display_quick_post_icons', 1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('display_quick_post_smilies', 1);

ALTER TABLE phpbb_users ADD user_display_quick_topic tinyint(1) UNSIGNED DEFAULT 1 NOT NULL;
ALTER TABLE phpbb_users ADD user_display_quick_reply tinyint(1) UNSIGNED DEFAULT 1 NOT NULL;
After running them, all users should have Quick Posting on.
Xabi
Registered User
Posts: 460
Joined: Wed May 23, 2007 9:04 am

Re: [DEV] Quick Posting MOD 3.0

Post by Xabi »

A bug: in IE6, you can't insert smileys. If you try to insert an smiley, IE sends you to the page top without inserting anything.
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by oddfish »

Quick post area is overlapped by quick-mod tools in viewing post.

error in install or not spaced sufficiently to include the additional area under the jump-box?

nice mod by the way.

cheers,
oddfish.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
nl2dav
Registered User
Posts: 105
Joined: Tue Jun 25, 2002 10:39 pm
Location: NOP, The Netherlands
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by nl2dav »

Great mod!

But when I disable icons the smilies disappear also :(
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by Highway of Life »

What you mean nobody tested them/it? :P

Your QR topic is one of the longest running topics on STG. :P -- very active, one of the first phpBB3 MODs, and therefore has been in development a long time, and used by many already.

My main complaints:
  • Modifies too many core files, -- could slim down even more.
  • Should auto-install
    Reasons:
    • Better use with the Database abstraction layer
    • Support for Firebird, postgres and Oracle databases.
    • Proper table prefixes.
    • Easier, less error-prone installation. ;)
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
Xabi
Registered User
Posts: 460
Joined: Wed May 23, 2007 9:04 am

Re: [DEV] Quick Posting MOD 3.0

Post by Xabi »

Another bug: "Display quick topic/reply" appears two times at UCP.
nl2dav
Registered User
Posts: 105
Joined: Tue Jun 25, 2002 10:39 pm
Location: NOP, The Netherlands
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by nl2dav »

Can't confirm that, you possibly did something wrong during install.

Image
User avatar
LEW21
Registered User
Posts: 117
Joined: Sat Sep 24, 2005 11:51 am
Location: Warsaw, Poland
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by LEW21 »

oddfish wrote:Quick post area is overlapped by quick-mod tools in viewing post.

error in install or not spaced sufficiently to include the additional area under the jump-box?
If you want, you can give Quick Posting's div bigger margin-top. I didn't do it, because I think that it looks well.
nl2dav wrote:But when I disable icons the smilies disappear also :(
Probably it's a bug - I haven't tested it on all possible configurations. I will check it, and if so, I will release new version.
Highway of Life wrote:What you mean nobody tested them/it? :P

Your QR topic is one of the longest running topics on STG. :P -- very active, one of the first phpBB3 MODs, and therefore has been in development a long time, and used by many already.
I know that you were using stable versions, but nobody has tested beta/RC versions :P
Highway of Life wrote:My main complaints:
  • Modifies too many core files, -- could slim down even more.
  • Should auto-install
    Reasons:
    • Better use with the Database abstraction layer
    • Support for Firebird, postgres and Oracle databases.
    • Proper table prefixes.
    • Easier, less error-prone installation. ;)
Quick Posting MOD 3.0 language variables will be moved to language/xx/mods/quick_posting.php, so it will modify smaller number of files. It will also contain install.php file, that will do everything on the DB.
User avatar
denity
Registered User
Posts: 3
Joined: Sat Apr 08, 2006 10:41 pm
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by denity »

Hey i'm currently using RC1 and i installed everything, cleared cache, and installed the module but on the actual forum the quick reply doesn't show at all... i enabled it through the installed module. i haven't seen any errors but it just won't show. i also refreshed the style and template but the area where the quick reply is suppose to be is still empty... can you please help me out?
User avatar
StaticFX
Registered User
Posts: 82
Joined: Mon Mar 19, 2007 2:33 pm

Re: [DEV] Quick Posting MOD 3.0

Post by StaticFX »

hey Lew... I have been using your quick reply mod on B5 for a while (no issues).. i was about to install it on rc1.
User avatar
StaticFX
Registered User
Posts: 82
Joined: Mon Mar 19, 2007 2:33 pm

Re: [DEV] Quick Posting MOD 3.0

Post by StaticFX »

ok, got it working...
the layout was odd.... but i changed it to how i liked it anyways. :)
the smiles didnt work right in IE6... made a few tweaks

added in quick_posting.html:

Code: Select all

<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>

changed this: (removed the href)

Code: Select all

<a onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
i wanted to add the posting buttons.. but it didnt want to add them... i'll have to take a look at my old hacks ;)

again.. thanks LEW!!
after some hacks, smacks, and whacks...
heres how it looks now:
(imageshack... slooooow)
Image
ecwpa
Registered User
Posts: 107
Joined: Thu Sep 25, 2003 2:13 am
Contact:

Re: [DEV] Quick Posting MOD 3.0

Post by ecwpa »

a really nice feature would be the possibility to chose the forum you want to create a quick topic for, like a radio buttom or a jumpbox, in a new file like http://localhost/forum/quick_topic.php

of course, all of this in addition to the original mod


great mod :D
carefull, not english speaker native here
Locked

Return to “[3.0.x] MODs in Development”