1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HELP Installing a PHP/HTML Facebook/Twitter Slider Sitewide!??

Discussion in 'Styling and Customization Questions' started by surfsup, Apr 19, 2012.

  1. surfsup

    surfsup Well-Known Member

    CritiKiL likes this.
  2. surfsup

    surfsup Well-Known Member

    Here is the code that needs to be placed but where do I put it at in Xenforo so it will show up every page!?
    Code:
    Below is an example - how to insert code into your site:
     
    <html>
        <head>
            ...
            <!-- jquery - add only if your site don't use jquery -->
            <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
            <script type="text/javascript">
                jQuery.noConflict();
            </script>
            <!-- END jquery -->
            <!-- arscode social slider -->
            <link rel="stylesheet" media="screen" href="arscode-social-slider/fblb.css"/>
            <!--[if lte IE 7]>
            <link rel="stylesheet" media="screen" href="arscode-social-slider/ie7.css?ver=3.2.1" />
            <![endif]-->
            <script type="text/javascript" src="arscode-social-slider/js/userscripts.js"></script>
            <!--[if lte IE 7]>
                <script type="text/javascript" src="arscode-social-slider/js/userscripts-ie7.js"></script>
            <![endif]-->
            <!-- END arscode social slider -->
        </head>
        <body>
            ...
            <?php require_once('arscode-social-slider/arscode-social-slider.php');    ?>
        </body>
    </html>
    
     
  3. yavuz

    yavuz Well-Known Member

  4. CritiKiL

    CritiKiL Active Member

    Hi! I like your tab better because the add-on looks like it posts towards the top and there is no explanation for centering it like yours is. Have you figured out 'where' to place your code yet or did you infact, use that add-on? Thanks in advance! ;-)
     
  5. CritiKiL

    CritiKiL Active Member

    I'm trying to run a social network tab (view the demo HERE:), and it needs for me to insert this html code inside of my index.php file. It doesn't work just by dropping this code into that file, so how can I get this to work? Here's the html code that is required to be inside of my site preferrably in the index.php file:
    Code:
    Below is an example - how to insert code into your site:
    <html>
        <head>
            ...
            <!-- jquery - add only if your site don't use jquery -->
            <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
            <script type="text/javascript">
                jQuery.noConflict();
            </script>
            <!-- END jquery -->
            <!-- arscode social slider -->
            <link rel="stylesheet" media="screen" href="arscode-social-slider/fblb.css"/>
            <!--[if lte IE 7]>
            <link rel="stylesheet" media="screen" href="arscode-social-slider/ie7.css?ver=3.2.1" />
            <![endif]-->
            <script type="text/javascript" src="arscode-social-slider/js/userscripts.js"></script>
            <!--[if lte IE 7]>
                <script type="text/javascript" src="arscode-social-slider/js/userscripts-ie7.js"></script>
            <![endif]-->
            <!-- END arscode social slider -->
        </head>
        <body>
            ...
            <?php require_once('arscode-social-slider/arscode-social-slider.php');    ?>
        </body>
    </html>
    Really need help on this, please respond...Thanks ;-)
     
  6. mmoore5553

    mmoore5553 Well-Known Member

    Critikil,

    This is hard to troubleshoot because i do not have the files. Also remember me from xfaddons. I do not mind looking at it PM me if you want but without the files hard to say I know I would not insert jquery twice. Where it says header put in the header template and body just depends. Sometiems that is in the footer or header include files.
     
    CritiKiL likes this.
  7. CritiKiL

    CritiKiL Active Member

    Of course I remember you mmoore5553! lol I'm PM'ing you now.
     
  8. mmoore5553

    mmoore5553 Well-Known Member

    Thanks i got the information. I will take a look at it this weekend and post a step by step instructions.
     
    CritiKiL likes this.
  9. CritiKiL

    CritiKiL Active Member

    Update: Ok, this is NOT a XenForo add-on people. It's something with javascript HERE:

    http://codecanyon.net/item/facebook-likeboxtwitter-slider/1153760

    which should work well with any php site. Me and 'Surfsup's only problem is that we don't know how to input HTML code into the PHP 'index.php' file as we are instructed to do so. We've asked the author of this script to help us with XenForo-install but HE is telling us to ask any XenForo Developer. It should be pretty straight-forward (as far as inputting this 'code' into the index.php) but I myself ran into an issue where I cannot safely put this code into that file without getting an error. Need some help on this because it's definitely possible IMO...
     
    surfsup likes this.
  10. surfsup

    surfsup Well-Known Member

    Correct.....it needs to go somewhere else.....hopefully someone will chime in and help getting it to work cause this plugin sure does blow away the resource addon thats available....
     
    CritiKiL likes this.
  11. CritiKiL

    CritiKiL Active Member

    I have a guy looking into it. If we get it I'll pass the spoils on to ya. If it wasn't for you this might never have been looked into! ;-)
     
  12. CritiKiL

    CritiKiL Active Member

    UPDATE! With the help of 'mmoore5553' we finally got this thing to work! I think it's a great add-on mod for the XenForo community so we are going to see about making it available, real soon! You can check it out here:

    http://sck-mobile.com

    And 'again', I could not have gotten this to work without the help of 'mmoore5553'. Make SURE you remember his name ;-)
     
  13. mmoore5553

    mmoore5553 Well-Known Member

    No problem at all. I am glad i got to work with getting this working for you. It is a nice addition.
     
    CritiKiL likes this.

Share This Page