[DEV] Sidebar Menu

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Sniper_E
Registered User
Posts: 722
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

[DEV] Sidebar Menu

Post by Sniper_E » Wed Apr 18, 2018 12:18 am

Extension Name: Sidebar Menu

Version: 2.0.5
Tested on phpBB 3.2.2 but this should work on earlier versions of phpBB also, I have not tested that.

Author: Sniper_E
Sidebar menu ext is based off of this phpBB Knowledge Base: Prosilver Complete Sidebar Tutorial by Christian 2.0

Extension Description: User controlled sidebars makes a perfect fit for every screen in any style.
  1. Adds a sidebar menu to your site, replaces all header navbar links.
  2. Includes an extended ucp menu and sidebar ucp / board preferences.
  3. Selections for location of menus, global, index or off.
  4. Selections to show menus on left, right or both sides.
  5. Selections to set widths on left sidebar, right sidebar and sidebar wrapper.
Extension Download: sidebarmenu_2.0.5.zip

GitHub repository: GitHub/Sniper-E/Sidebar-Menu

Update: File changes.
  1. Seeing how this is [DEV]... Disable ext, Delete data, Delete old files.
  2. Copy files to server ext/sniper/sidebarmenu/ directory.
  3. Navigate in the ACP to Customise -> Enable Sidebarmenu extension.
Install:
  1. Download the latest release.
  2. Unzip contents from download, Copy files to server ext/sniper/sidebarmenu/ directory.
  3. Navigate in the ACP to Customise -> Enable Sidebarmenu extension.
Uninstall:
  1. Navigate in the ACP to Customise -> Disable Submenu extension.
  2. To permanently uninstall, Delete Data, Delete the /ext/sniper/submenu folder.
Snapshots:
User Control Panel / Board Preferences
Image
Administration Control Panel / Extensions /Sidebar Menu
Image

Sniper wrote: New sidebar menus can use the event templates to add in a new sidebar menu on the right or left.
sniper_sidebarmenu_left.html and sniper_sidebarmenu_right.html

New links from other extensions can be adding in each of these 5 template events.
sniper_sidebarmenu_extensions.html
sniper_sidebarmenu_ucp_extensions.html
sniper_sidebarmenu_quick_links.html
sniper_sidebarmenu_staff_tools.html
sniper_sidebarmenu_user_links.html
Enjoy!
Last edited by Sniper_E on Sun May 20, 2018 3:12 pm, edited 40 times in total.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
John Rambo
Registered User
Posts: 74
Joined: Tue Jun 18, 2013 8:46 pm

Re: [BETA] Sidebar Menu

Post by John Rambo » Wed Apr 18, 2018 5:07 am

I like it :idea:

User avatar
RomaamoR
Registered User
Posts: 147
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [BETA] Sidebar Menu

Post by RomaamoR » Wed Apr 18, 2018 5:58 am

It does not work for me. No blocks are displayed. Although the settings in the personal section is.

User avatar
david63
Jr. Extension Validator
Posts: 14646
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Sidebar Menu

Post by david63 » Wed Apr 18, 2018 7:02 am

I said this in your other topic that your events are incorrectly named - they need to be preceded by the vendor name - see https://area51.phpbb.com/docs/dev/3.2.x ... ght=events
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Sniper_E
Registered User
Posts: 722
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [BETA] Sidebar Menu

Post by Sniper_E » Wed Apr 18, 2018 12:16 pm

david63 wrote:
Wed Apr 18, 2018 7:02 am
I said this in your other topic that your events are incorrectly named - they need to be preceded by the vendor name.
Thanks David... From that tutorial you sent me to, I think I see what you meant in the other topic.

These are the list of events for the main blocks and for the 5 templates.
main sidemenu blocks
{% EVENT sniper_sidebarmenu_left %}
{% EVENT sniper_sidebarmenu_right %}
extensions.html
{% EVENT sniper_sidebarmenu_extentions %}
quick_links.html
{% EVENT sniper_sidebarmenu_quick_links %}
staff_tools.html
{% EVENT sniper_sidebarmenu_staff_tools %}
ucp.html
{% EVENT sniper_sidebarmenu_ucp_extentions %}
user_links
{% EVENT sniper_sidebarmenu_user_links %}

I see now, these event names are what I have to have as template events. Fist time adding events.
I will have to change the names of the event templates in the other extensions to match these new names.
RomaamoR wrote:
Wed Apr 18, 2018 5:58 am
It does not work for me. No blocks are displayed. Although the settings in the personal section is.
All 5 blocks should show for you.
The Extensions block should not open for you until you add event templates in the other extension's event/ folder.
The same goes for the User Control Panel block / Extensions part only should not open until you add the event templates.
But all of the other links should be there. They are the default links in the phpBB forums.
Last edited by Sniper_E on Wed May 02, 2018 6:32 am, edited 1 time in total.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
</Solidjeuh>
Registered User
Posts: 956
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [BETA] Sidebar Menu

Post by </Solidjeuh> » Wed Apr 18, 2018 1:17 pm

Maybe also add JV arcade? :D
https://jv-arcade.com/index.php
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Muziek wordt ook toegevoegd in de playlist van
textradio.be!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net

User avatar
Sniper_E
Registered User
Posts: 722
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [BETA] Sidebar Menu

Post by Sniper_E » Wed Apr 18, 2018 7:31 pm

That would be no problem but I am not familiar with that ext. Can you post the codes for the link you have for that?
I can convert that into an event template format for sidebar menu.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
Sniper_E
Registered User
Posts: 722
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [BETA] Sidebar Menu

Post by Sniper_E » Wed Apr 18, 2018 8:46 pm

NEW RELEASE -> First post update with version 2.0.0

All event names have changed to their correct format.
All contrib ext event template names have changed to match.

Let me know if you see any :? problems.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
3Di
Registered User
Posts: 12893
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Sidebar Menu

Post by 3Di » Wed Apr 18, 2018 9:39 pm

Please, use github.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
Sniper_E
Registered User
Posts: 722
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [BETA] Sidebar Menu

Post by Sniper_E » Thu Apr 19, 2018 3:18 am

Sure thing 3Di, I will set that up tomorrow and post the link here.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
Sniper_E
Registered User
Posts: 722
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [BETA] Sidebar Menu

Post by Sniper_E » Thu Apr 19, 2018 6:01 am

Added GitHub/Sniper-E/Sidebar-Menu link to first post.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
RomaamoR
Registered User
Posts: 147
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [BETA] Sidebar Menu

Post by RomaamoR » Fri Apr 20, 2018 3:33 pm

The extension does not work on my site. No blocks visible. :(

Allstar86
Registered User
Posts: 2
Joined: Fri Apr 20, 2018 4:09 pm

Re: [BETA] Sidebar Menu

Post by Allstar86 » Fri Apr 20, 2018 4:26 pm

RomaamoR wrote:
Fri Apr 20, 2018 3:33 pm
The extension does not work on my site. No blocks visible. :(
i have the same problem. :(

User avatar
Sniper_E
Registered User
Posts: 722
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [BETA] Sidebar Menu

Post by Sniper_E » Fri Apr 20, 2018 5:15 pm

RomaamoR wrote:
Wed Apr 18, 2018 5:58 am
It does not work for me. No blocks are displayed. Although the settings in the personal section is.
I believe you could have a style problem.
I went to your site listed in your sig and looked at you source codes and found something very odd.

Code: Select all

</head>

<div id="wrap" class="wrap">

<body id="phpbb" class="nojs notouch section-index ltr ">
When your </head> ends then the <body> should start. Your wrap is outside of the <body> tag. Sidebars start outside of the wrap.
So when this ext is installed, does that mean the sidebars are outside of the body?
How does that style even work. You may not even have the event templates in the correct place in that style. I don't know.

I would suggest trying this on a well written released style from phpbb or fix the codes in that style of your.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
RomaamoR
Registered User
Posts: 147
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [BETA] Sidebar Menu

Post by RomaamoR » Fri Apr 20, 2018 5:29 pm

I tested on the test forum -
romaamor.zzz.com.ua

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: deanmoke, Gubkin, kamaleon, LapouX, oBot, Restless Rancor and 24 guests