[ABD] Welcome On Index

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
raykai
Registered User
Posts: 90
Joined: Tue Apr 09, 2013 5:32 am

Re: [RC] Welcome On Index

Post by raykai »

how can i get this mod to show on top of Mchat mod ?

Image

and this still needs to be fixed.
open up ext/stoker/welcomeonindex/migrations/module_data.php

Code: Select all

<?php
/**
*
* @package phpBB Extension - Welcome on Index
* @copyright (c) 2014 Stoker
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

namespace stoker\welcomeonindex\migrations;

class module_data extends \phpbb\db\migration\migration
{
	public function update_data()
	{
		return array(
			array('module.add', array(
				'acp',
				'ACP_CAT_DOT_MODS',
				'ACP_WELCOMEONINDEX'
			)),
			array('module.add', array(
				'acp',
				'ACP_WELCOMEONINDEX',
				array(
					'module_basename'	=> '\stoker\welcomeonindex\acp\welcomeonindex_module',
					'modes'				=> array('settings'),
				),
			)),
		);
	}
	
	public function revert_data()
	{
		return array(
			array('module.remove', array(
				'acp',
				'ACP_CAT_DOT_MODS',
				'ACP_WELCOMEONINDEX'
			)),
			array('module.remove', array(
				'acp',
				'ACP_WELCOMEONINDEX',
				array(
					'module_basename'	=> '\stoker\adsenseads\acp\adsenseads_module',
					'modes'				=> array('settings'),
				),
			)),
		);
	}
}
this is the code of module_data.php of the mod as you see in the revert part there is the reason why

'module_basename' => '\stoker\adsenseads\acp\adsenseads_module',

replace it with


'module_basename' => '\stoker\welcomeonindex\acp\welcomeonindex_module',

save and upload back
Thanks, will fix that as soon as i get to my computer. Can take a couple of days.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: [RC] Welcome On Index

Post by Lumpy Burgertushie »

open :

ext/stoker/welcomeonindex/styles/prosilver/template/event/

rename index_body_markforums_before.html
to
overall_header_page_body_before

see how that works.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
raykai
Registered User
Posts: 90
Joined: Tue Apr 09, 2013 5:32 am

Re: [RC] Welcome On Index

Post by raykai »

Lumpy Burgertushie wrote:open :

ext/stoker/welcomeonindex/styles/prosilver/template/event/

rename index_body_markforums_before.html
to
overall_header_page_body_before

see how that works.

robert

that adds it to all of the top pages of all the forum sub pagers and the index page,i just need it on the index page on top of Mchat.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [RC] Welcome On Index

Post by 3Di »

try index_body_markforums_after but for the secondary extension, not the present one.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Talk19Zehn
Registered User
Posts: 912
Joined: Tue Aug 09, 2011 1:10 pm

Re: [RC] Welcome On Index

Post by Talk19Zehn »

Hi, perhaps set your own EVENT:

index_body.html: search
<!-- EVENT index_body_markforums_before -->
add before
<!-- EVENT index_body_markforums_welcomeonindex_before -->

and change the HTML to
index_body_markforums_welcomeonindex_before.html

... clear all(!) caches! Test it please, this idea is also without a guarantee.

Regards
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [RC] Welcome On Index

Post by 3Di »

Talk19Zehn wrote:Hi, perhaps set your own EVENT:

index_body.html: search
<!-- EVENT index_body_markforums_before -->
add before
<!-- EVENT index_body_markforums_welcomeonindex_before -->

and change the HTML to
index_body_markforums_welcomeonindex_before.html

... clear all(!) caches! Test it please, this idea is also without a guarantee.

Regards
I do not think you know how template events (and generally speaking EVENTS) work.

The template events list for up to 3.1.9 ATM, is here and you can use ONLY those that are present into that list.

Events are released by phpBB (usually every new version gives some new event offered) and you cannot invent those as you wish, you should make a PR instead if you want to create a new one like: index_body_markforums_welcomeonindex_before.html, can you find it in that list?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
raykai
Registered User
Posts: 90
Joined: Tue Apr 09, 2013 5:32 am

Re: [RC] Welcome On Index

Post by raykai »

3Di wrote:try index_body_markforums_after but for the secondary extension, not the present one.
thx this works :)

so for any one that needs this mod to be on top of Mchat 2.0.0-RC5 try that fix in ext/dmzx/mchat/styles/(watever your style name is)/template/event/

backup the file :

Code: Select all

index_body_markforums_before.html
and then rename this file to

Code: Select all

index_body_markforums_after.html
thx 3Di for the fix
Last edited by raykai on Mon Jul 18, 2016 6:56 am, edited 1 time in total.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [RC] Welcome On Index

Post by 3Di »

raykai wrote:thx 3Di for the fix
Anytime. :)

BTW ext/dmzx/styles ? Shouldn't be ext/dmzx/[b]name of the extension[/b]/styles..
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
raykai
Registered User
Posts: 90
Joined: Tue Apr 09, 2013 5:32 am

Re: [RC] Welcome On Index

Post by raykai »

3Di wrote:
raykai wrote:thx 3Di for the fix
Anytime. :)

BTW ext/dmzx/styles ? Shouldn't be ext/dmzx/[b]name of the extension[/b]/styles..
thx ones more :D 3Di for seeing this i edited my post :mrgreen:
User avatar
Talk19Zehn
Registered User
Posts: 912
Joined: Tue Aug 09, 2011 1:10 pm

Re: [RC] Welcome On Index

Post by Talk19Zehn »

@3Di,
I do not think you know how template events (and generally speaking EVENTS) work.
:evil:
The template events list for up to 3.1.9 ATM, is here and you can use ONLY those that are present into that list.

Events are released by phpBB (usually every new version gives some new event offered) and you cannot invent those as you wish, you should make a PR instead if you want to create a new one like: index_body_markforums_welcomeonindex_before.html, can you find it in that list?

.... this is known to me! It is not forbidden to conceive own EVENTS and / or use and / or to couple to the system files. What needs to be done, I have not mentioned.

.
User avatar
RMcGirr83
Former Team Member
Posts: 22074
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Welcome On Index

Post by RMcGirr83 »

It isn't forbidden but will be removed when there is an update to the file that has a custom event.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
Miri4ever
Registered User
Posts: 618
Joined: Sat Mar 07, 2015 11:18 am

Re: [RC] Welcome On Index

Post by Miri4ever »

Webside of this Exentsion down ??
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
Talk19Zehn
Registered User
Posts: 912
Joined: Tue Aug 09, 2011 1:10 pm

Re: [RC] Welcome On Index

Post by Talk19Zehn »

Hi RMcGirr83, that´s right! And it is clear that we have self to act. That is just not always easily.
As far as we were not been indeed, because I became so stalled equal ... ;) Is no longer important to me and now not my thought in this topic. Now it´s not my task.

Regards @All



====
Edit:
BTW: A small guide for first informations ...
https://wiki.phpbb.com/Add_Events
User avatar
Stoker 4.0
Registered User
Posts: 1510
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Welcome On Index

Post by Stoker 4.0 »

Miri4ever wrote:Webside of this Exentsion down ??
No, running fine ;)
Regards Stoker
User avatar
Stoker 4.0
Registered User
Posts: 1510
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Welcome On Index

Post by Stoker 4.0 »

Updated to 1.0.5
Fixed problem when uninstalling
Regards Stoker

Return to “Abandoned Extensions”