FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 17 users online :: 0 Registered, 0 Hidden and 17 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

installing themes from phpbb3styles.net

View previous topic View next topic Go down

celestial spirit
celestial spirit
New Member
Gender : Unspecified
Posts : 8
Points : 3273
Reputation : 2
Language : english
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other

Postcelestial spirit Fri 29 May 2015, 03:53

http://demo.phpbb3styles.net/Graand+%28Red%29
once you download the file they give you all the coding to make it work but when i put all in the css it doesn't work so there must be some work in the templates to go along with it. i just need to know where to put all the coding they gave me


Administrator
Gender : Male
Posts : 95
Points : 4117
Reputation : 26
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://github.com/SethClydesdale https://twitter.com/sethc1995

Post Fri 29 May 2015, 16:36

The themes provided there are not meant for forumotion forums, they are meant for the phpbb3 software.
https://www.phpbb.com/

Forumotion uses a modified version of the software, so the templates, css, etc.. wont work without a major overhaul, and if you don't have a knowledge of those languages you're going to have a hard time.. I recommend that you get your themes forum hitskin, as that is meant for forumotion forums.
http://en.hitskin.com/
celestial spirit
celestial spirit
New Member
Gender : Unspecified
Posts : 8
Points : 3273
Reputation : 2
Language : english
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other

Postcelestial spirit Fri 29 May 2015, 17:04

i'll just read the coding they gave me and figure it out. the css and java should still work on forumotion
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12044
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sat 30 May 2015, 17:06

While the CSS can work, there will most likely be some inconsistencies in the selectors, which means you'll have to find the correct selectors for the Forumotion version.

Just so you know ( if you don't ) :

HTML (.html or .htm) should go in --> Display > Templates

CSS (.css) should go in --> Display > Colors > CSS stylesheet

JavaScript (.js) should go in --> Modules > JS codes management

I don't specialize in converting these themes, so I cannot really be of much help. Sorry.
celestial spirit
celestial spirit
New Member
Gender : Unspecified
Posts : 8
Points : 3273
Reputation : 2
Language : english
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other

Postcelestial spirit Sat 30 May 2015, 17:28

Code:
/*!
 * Collapse plugin for jQuery
 * http://github.com/danielstocks/jQuery-Collapse/
 *
 * @author Daniel Stocks (http://webcloud.se)
 * @version 0.9.1
 * @updated 17-AUG-2010
 *
 * Copyright 2010, Daniel Stocks
 * Released under the MIT, BSD, and GPL Licenses.
 */
 
(function($) {
   
    // Use a cookie counter to allow multiple instances of the plugin
    var cookieCounter = 0;
   
    $.fn.extend({
        collapse: function(options) {
           
            var defaults = {
                head : "div.trigger",
                group : "div",
                cookieName : "collapse",
                // Default function for showing content
                show: function() {
                    this.show();
                },
                // Default function for hiding content
                hide: function() {
                    this.hide();
                }
            };
            var op = $.extend(defaults, options);
           
            // Default CSS classes
            var active = "active",
                inactive = "inactive";
           
            return this.each(function() {
               
                // Increment coookie counter to ensure cookie name integrity
                cookieCounter++;
                var obj = $(this),
                    // Find all headers and wrap them in <a> for accessibility.
                    sections = obj.find(op.head).wrapInner('<a href="#"></a>'),
                    l = sections.length,
                    cookie = op.cookieName + "_" + cookieCounter;
                    // Locate all panels directly following a header
                    var panel = obj.find(op.head).map(function() {
                        var head = $(this)
                        if(!head.hasClass(active)) {
                            return head.next(op.group).hide()[0];
                        }
                        return head.next(op.group)[0];
                    });
   
                // Bind event for showing content
                obj.bind("show", function(e, bypass) {
                    var obj = $(e.target);
                    // ARIA attribute
                    obj.attr('aria-hidden', false)
                        .prev()
                        .removeClass(inactive)
                        .addClass(active);
                    // Bypass method for instant display
                    if(bypass) {
                        obj.show();
                    } else {
                        op.show.call(obj);
                    }
                });

                // Bind event for hiding content
                obj.bind("hide", function(e, bypass) {
                    var obj = $(e.target);
                    obj.attr('aria-hidden', true)
                        .prev()
                        .removeClass(active)
                        .addClass(inactive);
                    if(bypass) {
                        obj.hide();
                    } else {
                        op.hide.call(obj);
                    }
                });
               
                // Look for existing cookies
                if(cookieSupport) {
                    for (var c=0;c<=l;c++) {
                        var val = $.cookie(cookie + c);
                        // Show content if associating cookie is found
                        if ( val == c + "open" ) {
                            panel.eq(c).trigger('show', [true]);
                        // Hide content
                        } else if ( val == c + "closed") {
                            panel.eq(c).trigger('hide', [true]);
                        }
                    }
                }
               
                // Delegate click event to show/hide content.
                obj.bind("click", function(e) {
                    var t = $(e.target);
                    // Check if header was clicked
                    if(!t.is(op.head)) {
                        // What about link inside header.
                        if ( t.parent().is(op.head) ) {
                            t = t.parent();
                        } else {
                            return;
                        }
                        e.preventDefault();
                    }
                    // Figure out what position the clicked header has.
                    var num = sections.index(t),
                        cookieName = cookie + num,
                        cookieVal = num,
                        content = t.next(op.group);
                    // If content is already active, hide it.
                    if(t.hasClass(active)) {
                        content.trigger('hide');
                        cookieVal += 'closed';
                        if(cookieSupport) {
                            $.cookie(cookieName, cookieVal, { path: '/', expires: 10 });
                        }
                        return;
                    }
                    // Otherwise show it.
                    content.trigger('show');
                    cookieVal += 'open';
                    if(cookieSupport) {
                        $.cookie(cookieName, cookieVal, { path: '/', expires: 10 });
                    }
                });
            });
        }
    });

    // Make sure can we eat cookies without getting into trouble.
    var cookieSupport = (function() {
        try {
            $.cookie('x', 'x', { path: '/', expires: 10 });
            $.cookie('x', null);
        }
        catch(e) {
            return false;
        }
        return true;
    })();
})(jQuery);]

i'm going to convert this first. shouldn't be that hard
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum