[ABD] Form to Post

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! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
war-hawk
Registered User
Posts: 309
Joined: Sat Dec 11, 2004 4:48 pm
Contact:

[ABD] Form to Post

Post by war-hawk » Fri May 13, 2005 1:51 am

Description:You can customize a form in the ACP and have people fill it out and have it posted in a selected forum.

This mod is in its BETA stage now.

Demo

Demo Here

It doesn't have the dropdown part installed yet...I will get it on the site soon.

Well finally I have completed rewriting the new version of this mod. It has a whole new interface and more options to configure.

Here are the new features.
  • require fields
    categories(multiple forms)
    checkboxes
    textboxes(size specifiable)
    format input (put like or [img] around input)
    and many more that don't come to mind now
    dropdown boxes
    auth system


Here are screenshots:

I will add them as soon as I can.

Download
The download can be found on my website

http://cool-downloads.uni.cc

Backup link

http://cool-downloads.no-ip.org

Current Version: 0.3.3

Errors in versions:


Fix for the admin_FTP_dropdown.php file (The white column in the admin control panel)

The fix can be found here

------------------------------

Fix for this error

Error in posting

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near ' 1145256453, 51, 0, 0, 0)' at line 1

INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('testing', , 1145256453, 51, 0, 0, 0)

Line : 58
File : functions_FTP.php


Here is the Fix

http://www.phpbb.com/phpBB/viewtopic.ph ... 80#2088080

-----------------------

Fix for field list error version 0.3.1 and 0.3.2

Here
-----------------

Fix for insert error in 0.3.1-Get a SQL error when you add a category

Fix can be found here

------------------

Fix for 0.2.0/0.3.0 can be found here where it doesn't update the fields but instead make a new one.

FIX

NOTES:

I have added a lang file now. If anyone wants to translate it for me, please send me the translated file so I can add it. (I will credit you for it)
Last edited by smithy_dll on Wed Jul 26, 2006 7:01 pm, edited 21 times in total.
My Computer Help Site | Also known as Burian
No Support PMs Please UNLESS its about one of my mods!!!
THAT MEANS CONTACT THROUGH AIM AND MSN

My Mods| Member Area | Form to Post | User Message| Forum/Topic Ban |

MIS-ONE
Registered User
Posts: 82
Joined: Tue Dec 24, 2002 9:21 pm

Post by MIS-ONE » Fri May 13, 2005 2:11 am

This would definitley be interesting to see how you accomplished this. Please post!

DKing
Registered User
Posts: 751
Joined: Sat Jul 03, 2004 8:38 pm

Post by DKing » Fri May 13, 2005 6:23 am

So you basically made a form and had it post onto the forum? Sounds neat! And it could be used from anywhere, right?
-DKing
Latest phpBB Version: 2.0.21
Search For a MOD: MOD Search

war-hawk
Registered User
Posts: 309
Joined: Sat Dec 11, 2004 4:48 pm
Contact:

Post by war-hawk » Fri Jun 03, 2005 10:19 pm

Mod is completed

DEMO

Download on my website http://cool-downloads.uni.cc
Last edited by war-hawk on Tue Jan 24, 2006 12:00 am, edited 1 time in total.
My Computer Help Site | Also known as Burian
No Support PMs Please UNLESS its about one of my mods!!!
THAT MEANS CONTACT THROUGH AIM AND MSN

My Mods| Member Area | Form to Post | User Message| Forum/Topic Ban |

DKing
Registered User
Posts: 751
Joined: Sat Jul 03, 2004 8:38 pm

Post by DKing » Sat Jun 04, 2005 4:01 am

Are you gonna submit it to the DB?

-DKing
-DKing
Latest phpBB Version: 2.0.21
Search For a MOD: MOD Search

User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* » Sat Jun 04, 2005 2:39 pm

First on all war-hawk you need to make a lang file to put all the words in and your install file has errors

Code: Select all

Parse error: parse error, unexpected T_STRING in /home/******/public_html/forums/FTP_install.php on line 65

war-hawk
Registered User
Posts: 309
Joined: Sat Dec 11, 2004 4:48 pm
Contact:

Post by war-hawk » Sat Jun 04, 2005 4:14 pm

Thanks for finding that error. I have been short of time lately and didn;t have time to test out the installation on a demo board.

The download is now 0.0.2 and can be found on my website.

http://cool-downloads.uni.cc

Auto MySQL install is fixed. The code for the error portion now must be added manually. The code is in the install file.

O and for the lang files matt, I am working on them. I just wanted to see if there was any errors in the code first and if people like the mod.
My Computer Help Site | Also known as Burian
No Support PMs Please UNLESS its about one of my mods!!!
THAT MEANS CONTACT THROUGH AIM AND MSN

My Mods| Member Area | Form to Post | User Message| Forum/Topic Ban |

Serj21
Registered User
Posts: 137
Joined: Thu Apr 15, 2004 6:23 pm
Contact:

Post by Serj21 » Mon Jun 06, 2005 1:37 am

Upon installing the mods to test I got the error while viewing forum:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/username/public_html/phpbb/includes/page_header.php on line 558


Upon looking at code the following is incorrect:

Code: Select all

'U_FTP' => append_sid(FTP'.'.$phpEx),
'L_FTP' => $lang['Form to Post'],
and should be changed to:

Code: Select all

	'U_FTP' => append_sid('FTP.'.$phpEx),
	'L_FTP' => $lang['Form to Post'],
Hope this helps if anyone else gets this error.
Serj

Serj21
Registered User
Posts: 137
Joined: Thu Apr 15, 2004 6:23 pm
Contact:

Post by Serj21 » Mon Jun 06, 2005 1:59 am

OK another problem i'm getting is:

Upon editing the Configuration in ACP for the Forum to Post mod upon setting fields as show, I submit changes but coming back the fields are now all set to: Show Field: NO so something isnt being updated in the database.

Ill look tomorrow after my exam to see if its the mod or something ive done or havnt done.

Serj

EDIT: Your version 0.0.2 download on your website has the version number 0.0.1 in the FTP.txt file. Is this the correct version and havnt updated the version number or wrong install file in 0.0.2 version zip? I'm going for forgot to update the version number as install went ok apart from not updating database correct (could be a error i did thou)

war-hawk
Registered User
Posts: 309
Joined: Sat Dec 11, 2004 4:48 pm
Contact:

Post by war-hawk » Mon Jun 06, 2005 2:19 am

EDIT: Your version 0.0.2 download on your website has the version number 0.0.1 in the FTP.txt file. Is this the correct version and havnt updated the version number or wrong install file in 0.0.2 version zip? I'm going for forgot to update the version number as install went ok apart from not updating database correct (could be a error i did thou)


Yes that is up to date. I just forgot to change the number in the txt file.
Upon installing the mods to test I got the error while viewing forum:

Quote:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/username/public_html/phpbb/includes/page_header.php on line 558


Upon looking at code the following is incorrect:
Code:
'U_FTP' => append_sid(FTP'.'.$phpEx),
'L_FTP' => $lang['Form to Post'],


and should be changed to:
Code:

'U_FTP' => append_sid('FTP.'.$phpEx),
'L_FTP' => $lang['Form to Post'],


When I origionally made the mod I called it Insert Post. But right before I released it I changed the name to Forum to Post. Thanks for catching that '. I didn't catch that when I changed names.



Thanks for finding those errors. I will change them tonight in the install file hopefully. If not tonight, I will do it tomorrow.



Sorry I have been busy lately with school and made some quick changes. So there are some errors in the files.
My Computer Help Site | Also known as Burian
No Support PMs Please UNLESS its about one of my mods!!!
THAT MEANS CONTACT THROUGH AIM AND MSN

My Mods| Member Area | Form to Post | User Message| Forum/Topic Ban |

da_badtz_one
Registered User
Posts: 376
Joined: Thu Jan 29, 2004 8:25 pm

Post by da_badtz_one » Mon Jun 06, 2005 6:39 am

This mod looks promising, I'll try it out right now. ;)

EDIT:

I've found the problem to why you select the lines you want to see, it's to do with the database, or something of a rahter which I'm fixing right now.

I've also found a bug with admin_formtopost1.php

search for

Code: Select all

	"S_CONFIG_ACTION" => append_sid("admin_formtopost.$phpEx"),
And replace with:

Code: Select all

	"S_CONFIG_ACTION" => append_sid("admin_formtopost1.$phpEx"),

Which should solve the redirecting problem if anyone has found out ;)

Serj21
Registered User
Posts: 137
Joined: Thu Apr 15, 2004 6:23 pm
Contact:

Post by Serj21 » Mon Jun 06, 2005 7:23 am

Also:

in viewonline.php change:

Code: Select all

				case PAGE_FTP:
					$location = $lang['Form to Post'];
					$location_url = "FTP.$phpEx";
					break;.
to

Code: Select all

				case PAGE_FTP:
					$location = $lang['Form to Post'];
					$location_url = "FTP.$phpEx";
					break;
ie. remove the full stop/period after break otherwise you get errors when viewing people online

war-hawk
Registered User
Posts: 309
Joined: Sat Dec 11, 2004 4:48 pm
Contact:

Post by war-hawk » Mon Jun 06, 2005 8:02 pm

File updated

Version now is 0.0.3

Download on my site http://cool-downloads.uni.cc

Fixed problem in
  • page_header.php
    viewonline.php
My Computer Help Site | Also known as Burian
No Support PMs Please UNLESS its about one of my mods!!!
THAT MEANS CONTACT THROUGH AIM AND MSN

My Mods| Member Area | Form to Post | User Message| Forum/Topic Ban |

Serj21
Registered User
Posts: 137
Joined: Thu Apr 15, 2004 6:23 pm
Contact:

Post by Serj21 » Mon Jun 06, 2005 9:39 pm

Read the FAQ in new ftp release file but the configs still dont update and when go back to config they are set to disabled.

I have disabled/enabled them etc many times and still nothing.

Going to look in database now to see if they have updated there.

Serj

war-hawk
Registered User
Posts: 309
Joined: Sat Dec 11, 2004 4:48 pm
Contact:

Post by war-hawk » Mon Jun 06, 2005 9:43 pm

did you add teh sql in the ftp.txt file also??? You need to add that. It won't let me add it in the auto sql thing.
My Computer Help Site | Also known as Burian
No Support PMs Please UNLESS its about one of my mods!!!
THAT MEANS CONTACT THROUGH AIM AND MSN

My Mods| Member Area | Form to Post | User Message| Forum/Topic Ban |

Locked

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