[ABD] Sidebar

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.
Locked
User avatar
Pixel8r
Registered User
Posts: 183
Joined: Mon Nov 30, 2009 4:39 pm
Contact:

Re: [DEV] Sidebar

Post by Pixel8r »

I have noticed a problem when your screen goes smaller. the twitter bar moves out of the container. Try changing your sidebar.css to this, upload and refresh your cache.

Code: Select all

@media screen and (min-width: 950px){

#page-body {
    margin: 4px 0;
    clear: both;
    width:77%;
    float:left;
}  

 .page-sidebar {
float:right;
width:22%;
min-width: 192px;
} 
}
24knews.com - We live on the edge of chaos.
User avatar
Dankees
Registered User
Posts: 246
Joined: Sun Jan 25, 2015 2:27 am

Re: [DEV] Sidebar

Post by Dankees »

Holy Cow!

Awesome!!! I love how the Twitter feed and Google ads go to the bottom on my phone.

Sweet!

Now, it would be cool to move the MARK FORUMS READ and all that stuff to the right, and if not, to the bottom of my forum.

What do you think?

Kudos!!!
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [DEV] Sidebar

Post by cece74 »

Work in progress..

Image
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [DEV] Sidebar

Post by Lumpy Burgertushie »

just thought I would suggest you give the option to have a sidebar on both sides. that is what the old sidebar MODs did for 3.0


robret
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
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [DEV] Sidebar

Post by cece74 »

Version: 0.0.2
Please test !
Sippan
Registered User
Posts: 177
Joined: Thu Jan 27, 2011 6:23 am
Contact:

Re: [DEV] Sidebar

Post by Sippan »

Now it works....Good Job!
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [DEV] Sidebar

Post by wkuzma »

with version 0.0.2 I get this when I enter the sidebar menu in the extensions
[phpBB Debug] PHP Notice: in file [ROOT]/ext/cece74/sidebar/acp/sidebar_module.php on line 27: Undefined index: SIDEBAR_MOD
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
User avatar
hinckley
Registered User
Posts: 91
Joined: Sat Jan 17, 2015 4:29 pm
Contact:

Re: [DEV] Sidebar

Post by hinckley »

What code do you need to make a twitter feed appear?
Hinckley Past & Present - https://www.hinckleypastpresent.org
User avatar
Dankees
Registered User
Posts: 246
Joined: Sun Jan 25, 2015 2:27 am

Re: [DEV] Sidebar

Post by Dankees »

Get the Twitter code from your Twitter account on Twitter.com - go to your Settings and make a widget.
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [DEV] Sidebar

Post by cece74 »

wkuzma wrote:with version 0.0.2 I get this when I enter the sidebar menu in the extensions
Template ?
hinckley wrote:What code do you need to make a twitter feed appear?
Dankees wrote:Get the Twitter code from your Twitter account on Twitter.com - go to your Settings and make a widget.
Give me code or link Twitter tools.
User avatar
hinckley
Registered User
Posts: 91
Joined: Sat Jan 17, 2015 4:29 pm
Contact:

Re: [DEV] Sidebar

Post by hinckley »

Dankees wrote:Get the Twitter code from your Twitter account on Twitter.com - go to your Settings and make a widget.
I have tried to put the code in but it don't work.

Code: Select all

<a class="twitter-timeline" href="https://twitter.com/HinckleyPP" data-widget-id="584052939016294403">Tweets by @HinckleyPP</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
I don't know how to fill the other areas that the sidebar give either.
Hinckley Past & Present - https://www.hinckleypastpresent.org
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [DEV] Sidebar

Post by cece74 »

The ext must NOT be modified. Tell me the widgets you want and I put them there.
User avatar
hinckley
Registered User
Posts: 91
Joined: Sat Jan 17, 2015 4:29 pm
Contact:

Re: [DEV] Sidebar

Post by hinckley »

cece74 wrote:The ext must NOT be modified. Tell me the widgets you want and I put them there.
Can you do a Twitter widget where all you would need to do is put the account name in and it will work.
Hinckley Past & Present - https://www.hinckleypastpresent.org
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [DEV] Sidebar

Post by cece74 »

Yes ! Give me code..
User avatar
hinckley
Registered User
Posts: 91
Joined: Sat Jan 17, 2015 4:29 pm
Contact:

Re: [DEV] Sidebar

Post by hinckley »

cece74 wrote:Yes ! Give me code..
The code is in a few posts above.
Hinckley Past & Present - https://www.hinckleypastpresent.org
Locked

Return to “Abandoned Extensions”