[dev]Extra topic field

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Locked
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

[dev]Extra topic field

Post by Steve »

Author: Steve©
Modification name: Extra topic field
Version: 1.0.0

Requirements: phpBB3 3.0.7-PL
Description:
Adds an extra topic field below the topic subject input field in whilst posting and is displayed in viewtopic and viewforum.

Styles supported: prosilver and subsilver2 styles *could easily adapted for other styles.
Support: This topic.

Features:
  • Modx:Yes.
    Image
  • Automod:Yes.
    Image
  • install database changes,permissions settings using the umil installer.
  • Group permissions to use extra topic field.
Planned features:
  • Enable/disable in different forums.
  • Use a different extra text field title eg style,mod,snippet ....
  • Possible to use more than one extra topic field ,ability to create your own.
  • If enabled the extra topic field is required on submitting a new post.
Please dont post "when will these planned features be included" because i dont know as of yet.

Screenshots:
[float=right]
sub.png
subt.png
subp.png
[/float]
prop.png
prot.png
pro.png
Download:
extra_topic_field1.0.0.zip
FAQ,s and Tips.

To set your users group permissions to use the extra topic field goto
ACP >> permissions tab >> groups permissions >> select a group to set permissins >> Advanced permsiions >> misc >> Can use extra topic field *yes *no *never >> submit

1. Naming your extra topic field.

Open language/en/common.php
find:

Code: Select all

    'EXTRA_TOPIC_FIELD'                   => 'Price  ',
adjust 'Price' to suit your needs
example:

Code: Select all

    'EXTRA_TOPIC_FIELD'                   => 'phpBB3 style ',
2. Setting up what forum to use extra topic field.

Open styles/prosilver/template/posting_editor.html
Open styles/prosilver/template/posting_body.html
find:

Code: Select all

<!-- IF FORUM_ID eq 2 && U_EXTRA_TOPIC_FIELD -->
Adjust the forum id number 2 to what suits your needs.
if you want 2 forums to
use this:

Code: Select all

<!-- IF FORUM_ID eq 2 or 3 && U_EXTRA_TOPIC_FIELD -->
If you want no restrictions for which forum it will be used in.
use this:

Code: Select all

<!-- IF U_EXTRA_TOPIC_FIELD -->
Remember to refresh the template,s for prosilver and subsilver2 after making any changes.
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: [dev]Extra topic field

Post by Stoker »

Great work Steve :thumb:
So when will the planned features be included?
Board rules! No PM support
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: [dev]Extra topic field

Post by heredia21 »

Thanks Steve!
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
User avatar
Ephemeraboy
BBCoder II
BBCoder II
Posts: 37
Joined: 09 Mar 2010, 04:03
Location: bonatius.com
Contact:

Re: [dev]Extra topic field

Post by Ephemeraboy »

doesn't this like a topic decription...??
My Personal Blog
http://www.bonatius.com
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: [dev]Extra topic field

Post by Steve »

was requested here : viewtopic.php?f=19&t=1115
and can be used in any way you like read the faqs ;)
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Locked