[RC] Topic Password 2.1.0

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!
Scam Warning
mykee
Registered User
Posts: 271
Joined: Thu Jun 07, 2007 9:46 pm

Re: [RC] Topic Password 2.0.1

Post by mykee »

Nice MOD! I use older version yet, but I have a problem with search: anyone can see posts from passworded topics without password. Can you fix it, or fixed? :roll:
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Topic Password 2.0.1

Post by Kamahl19 »

mykee wrote:Nice MOD! I use older version yet, but I have a problem with search: anyone can see posts from passworded topics without password. Can you fix it, or fixed? :roll:
good idea i have not thought about it
User avatar
kmakoto
Registered User
Posts: 234
Joined: Mon Mar 01, 2010 11:35 pm

Re: [RC] Topic Password 2.0.1

Post by kmakoto »

error in repase bbcode in stk

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_posting.php on line 2024: Undefined index: topic_password

Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/prueba/includes/functions.php:3920) in /home/****/public_html/prueba/includes/functions.php on line 2718

Code: Select all

SQL ERROR [ mysqli ]

Column 'topic_password' cannot be null [1048]

SQL

UPDATE phpbb_topics SET forum_id = '2', icon_id = '0', topic_approved = '1', topic_title = 'Bienvenidos ~ I Love Idol ~', topic_first_poster_name = 'Makoto', topic_type = '0', topic_time_limit = 0, poll_title = '', poll_start = 0, poll_max_options = 1, poll_length = 0, poll_vote_change = 0, topic_last_view_time = 1329593903, topic_attachment = 0, topic_password = NULL, topic_desc = '' WHERE topic_id = 15

BACKTRACE

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/functions_posting.php
LINE: 2244
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/stk/tools/admin/reparse_bbcode.php
LINE: 382
CALL: submit_post()

FILE: [ROOT]/stk/index.php
LINE: 296
CALL: reparse_bbcode->run_tool()
mykee
Registered User
Posts: 271
Joined: Thu Jun 07, 2007 9:46 pm

Re: [RC] Topic Password 2.0.1

Post by mykee »

Can I update to this from 1.x version? How can I update? :roll:
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Topic Password 2.0.1

Post by Kamahl19 »

mykee wrote:Can I update to this from 1.x version? How can I update? :roll:
you need to uninstall version 1 and install this version
mykee
Registered User
Posts: 271
Joined: Thu Jun 07, 2007 9:46 pm

Re: [RC] Topic Password 2.0.1

Post by mykee »

Sorry, but I cannot uninstall 1.x version, because I have many topic with passwords... :roll: Passwords have encoded in database, and I cannot rewrite again.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Topic Password 2.0.1

Post by Jessica »

mykee wrote:Sorry, but I cannot uninstall 1.x version, because I have many topic with passwords... :roll: Passwords have encoded in database, and I cannot rewrite again.
then you won't be able to update...
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
eunaumtenhoid
Registered User
Posts: 996
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [RC] Topic Password 2.0.1

Post by eunaumtenhoid »

idea:
as it does for the author of the topic does not need to enter the password to enter the own topic?
is possible?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Topic Password 2.0.1

Post by Jessica »

eunaumtenhoid wrote:idea:
as it does for the author of the topic does not need to enter the password to enter the own topic?
is possible?
I think this is a good idea
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
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC] Topic Password 2.0.1

Post by emosbat »

nice mod. can you add captcha (optional), this will prevent brute-force attacks.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Topic Password 2.0.1

Post by Jessica »

okay there's a problem...I tried submitting a test app for the mod 'Appforms' just to make sure it worked...but I got a General Error. there seems to be a conflict? (posted in both mod topics to see who can help me)

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_posting.php on line 1691: Missing argument 7 for submit_post(), called in [ROOT]/appform.php on line 214 and defined

Warning: Cannot modify header information - headers already sent by (output started at /home/jesschen/public_html/phpBB3/includes/functions.php:4097) in /home/jesschen/public_html/phpBB3/includes/functions.php on line 2728
Return to the index page
General Error
SQL ERROR [ mysql4 ]

Column 'topic_password' cannot be null [1048]

SQL

INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment, topic_password, topic_title_colour, topic_status, topic_attr_id, topic_attr_user, topic_attr_time) VALUES (2, 1345851115, 1345851115, 4, 0, 1, 'Testing app form', 'Jessica', 'e018b1', 0, 0, 0, NULL, '', NULL, 0, 0, 0)

BACKTRACE

FILE: [ROOT]/includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: [ROOT]/includes/functions_posting.php
LINE: 2298
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/appform.php
LINE: 214
CALL: submit_post()

FILE: [ROOT]/appform.php
LINE: 100
CALL: make_apply_posting()
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
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Topic Password 2.0.1

Post by Kamahl19 »

I dont know what Appforms is. I need more details
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Topic Password 2.0.1

Post by Jessica »

viewtopic.php?f=70&t=2155729


got same error on my test forum when I installed Topic Password....when I removed it, it was gone (though the error wasn't gone when removed Topic Password from my main one. oh well)
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
eric90066
Registered User
Posts: 31
Joined: Mon Aug 08, 2011 6:28 pm

Re: [RC] Topic Password 2.0.1

Post by eric90066 »

Great mod. Thanks a lot. Any chance of getting a reCaptcha icon after a number of false attempts?

Also, any chance of using the topic password on other styles like this one: https://www.phpbb.com/customise/db/styl ... er_mobile/?
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Topic Password 2.0.1

Post by Jessica »

--ignore this--
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] MODs in Development”