Extension name: Post new topic
Author: Anv[at]r.all, ViolaF
Extension description: With this extension users are able to create new topics from the Jumpbox (in topics/forums)
and from all genuine [New Topic] Buttons. After clicking the button a dropdown list of predefined forums is being shown.
Extension version: 1.0.2
Tested on phpBB version: 3.2.8-3.3.0
Requested:
- From: CGI1984
- Where: https://www.phpbb.com/customise/db/exte ... pic/215376
Demo: Testboard
- username: tester
- pw: tester
Download:
- 3.2.* > bb3mobi_phpBB3.2.x_CGI1984_Version_1.0.2.zip
- 3.3.* > bb3mobi_phpBB3.3.x_CGI1984_Version_1.0.2.zip
New features:
- Index Button removed
- Works with all present genuine [New Topic] Buttons
- Additional Jump-Bar, present in all topics and forums
- Postbox Forum-Pulldown is now ordered (alphabetically)
- Choosing x times other forums in postbox instead of 1 time
- Protect* of loosing your post-text by switching to another destination (except subject)
*If the post-text is empty, no confirm-box appears (whitespaces and linebreaks will be ignored)
*Note: This function is compatible with all major-browser**, (smart-devices not tested)
**FF,Chrome,Opera,Edge,IE
Screenshots:
Additional Instruction: For CGI1984-Version only
@ First: Deactivate and delete old version of this Ext
Download and Install CGI1984-Version of this Ext
then > open (bcs. of missing php-event)
includes/functions_content.php
find
Code: Select all
$tpl_ary[] = array(
'FORUM_ID' => $row['forum_id'],Code: Select all
global $phpEx; // NEW
$tpl_ary[] = array(
'FORUM_ID' => $row['forum_id'],
'U_POST_FORUM' => append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=post&f=' . $row['forum_id']), // NEWopen (bcs. of missing lang-file)
language/en/common.php
Note: This must be done in all your languages (language/your_languages/common.php)
find
Code: Select all
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(Code: Select all
'L_POST_FORUM_1' => 'Post a Topic', // NEWopen (bcs. of missing template-event)
styles/prosilver/template/jumpbox.html
find
Code: Select all
<!-- END jumpbox_forums -->
</ul>
</div>
</div>Code: Select all
<div class="jumpbox dropdown-container dropdown-container-right dropdown-up dropdown-{S_CONTENT_FLOW_BEGIN} dropdown-button-control" id="jumpbox" style="padding-right:10px;">
<span title="{L_POST_FORUM_1}" class="button button-secondary dropdown-trigger dropdown-select">
<span>{L_POST_FORUM_1}</span>
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
</span>
<div class="dropdown">
<div class="pointer"><div class="pointer-inner"></div></div>
<ul class="dropdown-contents">
<!-- BEGIN jumpbox_forums -->
<!-- IF jumpbox_forums.FORUM_ID neq -1 -->
<li><a href="{jumpbox_forums.U_POST_FORUM}" class="<!-- IF jumpbox_forums.level -->jumpbox-sub-link<!-- ELSEIF jumpbox_forums.S_IS_CAT -->jumpbox-cat-link<!-- ELSE -->jumpbox-forum-link<!-- ENDIF -->"><!-- BEGIN level --><span class="spacer"></span><!-- END level --> <span><!-- IF jumpbox_forums.level --><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->↲<!-- ELSE -->↳<!-- ENDIF --> <!-- ENDIF -->{jumpbox_forums.FORUM_NAME}</span></a></li>
<!-- ENDIF -->
<!-- END jumpbox_forums -->
</ul>
</div>
</div>Clear all Board- and Browser-Caches

