[dev]Extra topic field
Posted: 04 Sep 2010, 12:15
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:
Screenshots:
[float=right] [/float] Download: 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:
adjust 'Price' to suit your needs
example:
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:
Adjust the forum id number 2 to what suits your needs.
if you want 2 forums to
use this:
If you want no restrictions for which forum it will be used in.
use this:
Remember to refresh the template,s for prosilver and subsilver2 after making any changes.
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.
- Automod:Yes.
- install database changes,permissions settings using the umil installer.
- Group permissions to use extra topic field.
- 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.
Screenshots:
[float=right] [/float] Download: 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 ',
example:
Code: Select all
'EXTRA_TOPIC_FIELD' => 'phpBB3 style ',
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 -->
if you want 2 forums to
use this:
Code: Select all
<!-- IF FORUM_ID eq 2 or 3 && U_EXTRA_TOPIC_FIELD -->
use this:
Code: Select all
<!-- IF U_EXTRA_TOPIC_FIELD -->