Skip to content

Instantly share code, notes, and snippets.

@Crizz0
Crizz0 / diff_langfiles_3_3_1rc1_to_3_3_1.diff
Created August 7, 2020 21:19
diff_langfiles_3_3_1rc1_to_3_3_1.diff
diff --git a/phpBB/language/en/acp/board.php b/phpBB/language/en/acp/board.php
index 4aee52abbe..d209ee3d08 100644
--- a/phpBB/language/en/acp/board.php
+++ b/phpBB/language/en/acp/board.php
@@ -185,10 +185,10 @@ $lang = array_merge($lang, array(
'MAX_POLL_OPTIONS' => 'Maximum number of poll options',
'MAX_POST_FONT_SIZE' => 'Maximum font size per post',
'MAX_POST_FONT_SIZE_EXPLAIN' => 'Maximum font size allowed in a post. Set to 0 for unlimited font size.',
- 'MAX_POST_IMG_HEIGHT' => 'Maximum image height per post',
- 'MAX_POST_IMG_HEIGHT_EXPLAIN' => 'Maximum height of an image/flash file in postings. Set to 0 for unlimited size.',
@Crizz0
Crizz0 / prosilver_3_2_2RC1_to_3_2_2.diff
Created January 7, 2018 21:38
prosilver style changes 3.2.2-RC1 to 3.2.2
diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html
index 994d75f24..b5e12cdde 100644
--- a/phpBB/styles/prosilver/template/viewforum_body.html
+++ b/phpBB/styles/prosilver/template/viewforum_body.html
@@ -250,10 +250,10 @@
<strong>{L_NO_TOPICS}</strong>
</div>
</div>
- <!-- ELSE IF not S_USER_CAN_POST -->
+ <!-- ELSE IF not S_HAS_SUBFORUM -->
@Crizz0
Crizz0 / diff-about-us-v2.1.1-v2.1.2.diff
Created September 30, 2017 11:57
About us - Diff v2.1.1 to v2.1.2
diff --git a/README.md b/README.md
index 53757c8..567d6dd 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Author: Christian Schnegelberger
URL: http://www.crizzo.de
-Version: v2.1.x
+Version: v2.1.2
@Crizz0
Crizz0 / diff-about-us-v2.0.4-v2.0.5.diff
Created September 30, 2017 11:45
About us - Diff from 2.0.4 to 2.0.5
diff --git a/README.md b/README.md
index c868d16..6515969 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Author: Christian Schnegelberger
URL: http://www.crizzo.de
-Version: v2.0.4
+Version: v2.0.5
@Crizz0
Crizz0 / viglink_3_2_0_to_3_2_1.diff
Created July 17, 2017 10:37
phpBB VigLink Extension: Language Changes 3.2.0 to 3.2.1
public function base()
{
// Adding links to the breadcrumbs
$this->template->assign_block_vars('navlinks', array(
'FORUM_NAME' => $this->user->lang['IMPRINT'],
'U_VIEW_FORUM' => append_sid('imprint.' . $this->php_ext)));
return $this->helper->render('imprint.html', $this->user->lang('IMPRINT'));
}
public function add_simpleimprint_viewonline($event)
{
if($event['location_url'] == ('/imprint.php' || 'app.php/imprint' || '/imprint' ))
{
if ($event['row']['session_page'] === 'app.' . $this->php_ext . '/imprint' ||
$event['row']['session_page'] === 'app.' . $this->php_ext . '/imprint.php')
{
$event['location'] = $this->user->lang('VIEWONLINE_SIMPLEIMPRINT');
$event['location_url'] = $this->helper->route('crizzo_simpleimprint');
}
public function add_simpleimprint_viewonline($event)
{
global $forum_data;
$route = $this->helper->generate_router();
$event['location_url'] = $route->get_url();
if($event['location_url'] == ('/imprint.php' || 'app.php/imprint' || '/imprint' )
{
$event['location'] = $this->user->lang('VIEWONLINE_SIMPLEIMPRINT');
}