Announcement

Collapse
No announcement yet.

Firefox + Greasemonkey script to view 'old school' iTulip

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Firefox + Greasemonkey script to view 'old school' iTulip

    Not sure about the rest of you, but the iTulip forum skin needs some tweaks for usability.

    So for anyone who uses Firefox, you can install an add-on called "Greasemonkey" that allows you to run custom Javascript to do all kinds of neat things.

    In this case, I have used some code found here: here that will make iTulip look like this.

    Instructions:

    #1 - Download and Install (and use) Firefox. http://www.firefox.com
    #2 - Install the Greasemonkey add-on for Firefox that can be found here: https://addons.mozilla.org/en-US/firefox/addon/748
    #3 - After restarting Firefox, click the following: "Tools" -> "Greasemonkey" -> "New User Script"


    New User Script Dialog Box:

    Name: iTulip
    Namespace: (can leave blank)
    Included Pages: http://*itulip*forums/*
    Excluded Pages: (can leave blank)

    Click 'OK'

    #4 - Click "Tools" -> "Greasemonkey" -> "Manage User Scripts"


    - Check the "Enabled" button
    - Click the "Edit" button and if this is the first time you have used Greasemonkey you will have to choose an editor. For windows users, you can try: C:/Program Files/Windows NT/Accessories/wordpad.exe and that should work just fine. (You may need to double check your Windows version for the exact location of WordPad).

    #5 - In the editor window in WordPad, paste the following script.

    Code:
    function changecss(theClass,element,value) {
         var cssRules;
    
         var added = false;
         for (var S = 0; S < document.styleSheets.length; S++){
    
        if (document.styleSheets[S]['rules']) {
          cssRules = 'rules';
         } else if (document.styleSheets[S]['cssRules']) {
          cssRules = 'cssRules';
         } else {
          //no rules found... browser unknown
         }
    
          for (var R = 0; R < document.styleSheets[S][cssRules].length; R++) {
           if (document.styleSheets[S][cssRules][R].selectorText == theClass) {
            if(document.styleSheets[S][cssRules][R].style[element]){
            document.styleSheets[S][cssRules][R].style[element] = value;
            added=true;
            break;
            }
           }
          }
          if(!added){
          if(document.styleSheets[S].insertRule){
                  document.styleSheets[S].insertRule(theClass+' { '+element+': '+value+'; }',document.styleSheets[S][cssRules].length);
                } else if (document.styleSheets[S].addRule) {
                    document.styleSheets[S].addRule(theClass,element+': '+value+';');
                }
          }
         }
        }
    
    function fixitulip(){
    changecss('html', 'background-color', '#99ff99 !important');
    changecss('.body_wrapper', 'background-color', '#99FF99 !important');
    changecss('.postrow', 'background-color', '#F1F5E9 !important');
    changecss('.poston', 'background-color', 'red !important');
    changecss('.postoff', 'background-color', '#F1F5E9 !important');
    changecss('.bbcode_code', 'background-color', '#d3d3d3 !important');
    }
    
    
    fixitulip();
    #6 Click "Save" (Ctrl+S) in WordPad and then hit the close button.

    #7 Read iTulip with ease and less eye strain trying to figure out where posts/threads end and begin.

    #8 ...

    #9 Profit??


    NOTE: I have not thoroughly tested this, so it may or may not break your browser (however, it is only simple CSS overrides, so it shouldnt do too much damage). It may make the site seem 'slow' but you'll spend less time trying to figure out the layout than you will waiting on it to load. You can play around with the colors if you are comfortable with CSS to customize it however you would like. Some more savvy iTulipers may be able to come up with a more elegant solution, but for now, this makes my iTulip viewing experience 100x better.
    Last edited by ricket; May 07, 2010, 05:12 AM. Reason: added NOTE: and tweaked color of user info to gray
    Every interest bearing loan is mathematically impossible to pay back.

  • #2
    Re: Firefox + Greasemonkey script to view 'old school' iTulip

    The search and advanced search functions have several bugs. A simple search by name use to bring you to the posts by that member in the last time frame (i usually go for one week) Now you get any post that person participated in or started that has been commented on. The search function was always weak. Now it's worthless.

    Am more and more disappointed with Firefox. I now find myself using Opera for these sites, IE for these two, Mozilla for those...it's messy.

    Comment


    • #3
      Re: Firefox + Greasemonkey script to view 'old school' iTulip

      Originally posted by Thailandnotes View Post
      The search and advanced search functions have several bugs. A simple search by name use to bring you to the posts by that member in the last time frame (i usually go for one week) Now you get any post that person participated in or started that has been commented on. The search function was always weak. Now it's worthless.

      Am more and more disappointed with Firefox. I now find myself using Opera for these sites, IE for these two, Mozilla for those...it's messy.

      The browsers these days are a disaster. I started using chrome, its horrible in web based emails and printing, but great it every other respects.

      Comment


      • #4
        Re: Firefox + Greasemonkey script to view 'old school' iTulip

        Originally posted by chr5648 View Post
        The browsers these days are a disaster. I started using chrome, its horrible in web based emails and printing, but great it every other respects.
        I second that on Chrome. Lightning fast as advertised, but does lack functionality on occasion. On Pandora radio, for instance, it will not open a pop-up. Additionally, when typing, I would often use ctrl+b or the other shortcuts for bold, underline, etc. on this and other forums, but now they don't work in Chrome...

        Comment


        • #5
          Re: Firefox + Greasemonkey script to view 'old school' iTulip

          Step #3:

          I get error message:

          "Please provide a valid namespace URI for your script. (e.g. "http://userscripts.org/users/useridnumber")"
          raja
          Boycott Big Banks • Vote Out Incumbents

          Comment


          • #6
            Re: Firefox + Greasemonkey script to view 'old school' iTulip

            Originally posted by Thailandnotes View Post
            The search and advanced search functions have several bugs. A simple search by name use to bring you to the posts by that member in the last time frame (i usually go for one week) Now you get any post that person participated in or started that has been commented on. The search function was always weak. Now it's worthless.
            I don't think that's a correct statement.

            What I believe has happened is
            • that Search has more options, variants and modes now,
            • that the default behavior is what you describe (frequently worthless), and
            • that one can get the old behavior easily enough.
            So far as I can tell, everything I was ever able to do with Search, I can still do, just as well as before. I just have to click the mouse one or two more times.

            I talked cjppjc through this on my iTulip Blog post What's Changed (iTulip.com, April 17 2010 forum software upgrade).

            Take a look at the last few entries on that blog post. Perhaps your questions are already answered there. Or perhaps you'll want to extend that discussion by describing some particular Search you'd like to do that's not producing useful results for you.

            This can be slightly tedious to resolve via posting back and forth, as it usually takes a round or two before I guess -exactly- what you're trying to do, what you're seeing, and what I could say that would be useful. But I'm game for that if you are.

            In particular, notice the "Search Single Content Type" tab at the top of the "Advanced Search" page. Click on that tab to get something much closer to the old search interface.

            Apparently the main reason that Search got worse changed was that this new version of vBulletin forum software now has an integrated Member Blog facility, so the default Search tries to cover both Blog Entries and Forum Posts.
            Most folks are good; a few aren't.

            Comment


            • #7
              Re: Firefox + Greasemonkey script to view 'old school' iTulip

              Originally posted by ThePythonicCow View Post
              ... In particular, notice the "Search Single Content Type" tab at the top of the "Advanced Search" page. Click on that tab to get something much closer to the old search interface.
              TPC - thanks to you & everybody else who try to help with technical issues. Well done. :cool:

              Personally I figured the "search tab" issue out several days ago.

              However ... posting .jpg, .png & other image formats seems to be very hit and miss for me (mostly miss). Is there a link explaining that somewhere? Is it a HIP (Human Interface Problem) or a technical issue under investigation ??
              Last edited by Fiat Currency; May 07, 2010, 01:10 PM.

              Comment


              • #8
                Re: Firefox + Greasemonkey script to view 'old school' iTulip

                Originally posted by Fiat Currency View Post
                TPC - thanks from everybody who you try to help with technical issues. Well done. :cool:
                You're quite welcome.
                Originally posted by Fiat Currency View Post
                However ... posting .jpg, .png & other image formats seems to be very hit and miss for me (mostly miss). Is there a link explaining that somewhere? Is it a HIP (Human Interface Problem) or a technical issue under investigation ??
                So far, the only two substantial changes I've seen in image posting are:
                • You can post videos (e.g. YouTube), and
                • You end up with thumbnails instead of the full sized image inline.

                The thumbnails show up when you are posting an image that you've uploaded to iTulip as an attachment to your post. My guess is that this is an intentional "performance optimization", allowing the web server to download smaller images most of the time, and only downloading the full sized image on demand (when you click on the thumbnail.)

                If you link to images on some other website with IMG links, then the full sized image shows up right away. Presumably the vBulletin developers were less interested in optimizing the other guys web server ;).

                Others have reported more serious image posting drain bramage, but I haven't seen that (nor have I looked very hard yet.)

                (Well, one more glitch -- in Blog posts, rather than Forum posts, I have to post using BB codes only, as HTML codes don't seem to work. I noticed this when posting images to the Blog. But so far as I can tell, I would be the only person who would have noticed that.)

                If you're in the mood to provide more details, give it a go. Perhaps I can be of assistance.
                Most folks are good; a few aren't.

                Comment


                • #9
                  Re: Firefox + Greasemonkey script to view 'old school' iTulip

                  Originally posted by raja View Post
                  Step #3:

                  I get error message:

                  "Please provide a valid namespace URI for your script. (e.g. "http://userscripts.org/users/useridnumber")"
                  Guess you can't leave it blank after all! Maybe put in something like itulip.com? I dont think it really affects the way the script runs...when I get some time later, I will screenshot each of the configuration screens for the way it is set up (and working) for me.
                  Every interest bearing loan is mathematically impossible to pay back.

                  Comment


                  • #10
                    Re: Firefox + Greasemonkey script to view 'old school' iTulip

                    That worked . . . .
                    raja
                    Boycott Big Banks • Vote Out Incumbents

                    Comment


                    • #11
                      Re: Firefox + Greasemonkey script to view 'old school' iTulip

                      Originally posted by ThePythonicCow View Post
                      If you're in the mood to provide more details, give it a go. Perhaps I can be of assistance.
                      OK Thanks. Let's try these ...

                      JPEG image that doesn't show a thumbnail or the image when I click on it ...

                      Dow 10 Year.jpg

                      Next ... same image as an attachment ...

                      Dow 10 Year.jpg

                      ... same result - no image & attachment when you click on it is FUBAR

                      Animated GIFs seem to work - sometimes ....

                      Carrot Dangling 100x100.gif ... and not others ... Dow 10 Year.jpg

                      And here's another Animated GIF that when uploaded gets converted to a JPEG somehow (nice) ... (it's the one called "if it ain't broke")

                      0003.jpg

                      TPC ... Here's the variables that I see ...

                      - You can switch editors modes which changes a few things
                      - You can hit either the "Insert Image" button or the "Attachments" button

                      Either way I never get IMG code (which I assume is for URLs) I just get ATTACH or ATTACH=CONFIG code ...

                      PM me if you like. I can't see any of those images or thumbnails except the carrot one.

                      Before the upgrade - I just hit "Attachment", uploaded, and selected it from the dropdown. Worked every time. I'd send screenshots - but since I can't seem to post images - what's the point?

                      Any thoughts?
                      Attached Files

                      Comment


                      • #12
                        Re: Firefox + Greasemonkey script to view 'old school' iTulip

                        PM me if you like. I can't see any of those images or thumbnails except the carrot one.
                        Eh - we're already on a geek-only thread, so I'll just answer here. Perhaps someone is lurking who will find this useful.

                        You state that you can't see the images you posted, or that you can't click on the thumbnails or Attachment links and see the full images.

                        You've got me quite confused. I see the images you speak of, and can click on the thumbnails and Attachment links to get full size images, all just fine.

                        Below is a screen shot I just uploaded showing what I see viewing your last post. The carrot is animated as I view it, though it's only static in my screen shot, not surprisingly.

                        So ... is the problem posting images, or is it viewing successfully posted images?

                        Can you see my screen shot below of your last post (both as a thumbnail, and as a full image if you click on it)?
                        Here's this same screenshot, shown by linking to it in full size on my personal website:
                        So ... there should be two copies of this screenshot above, the first as a clickable thumbnail to an iTulip attachment, and the second as a full size image right in the post.
                        Last edited by ThePythonicCow; May 31, 2010, 01:04 AM. Reason: update image url
                        Most folks are good; a few aren't.

                        Comment


                        • #13
                          Re: Firefox + Greasemonkey script to view 'old school' iTulip

                          Thanks TPC. This is helpful, but a little weird. Basically you can see me but I cannot see you.

                          Can you see my screen shot below of your last post (both as a thumbnail, and as a full image if you click on it)?

                          No and No. I see a "Box" that looks like this (you can see me) ...

                          Bad Image Box.JPG

                          When I click on it, up pops a black & white media player with a spinning clock in the middle - but a file never loads. You close it.

                          Here's this same screenshot, shown by linking to it in full size on my personal website:

                          OK - from here down - I can see everything. This is coming from your server via a URL link, if I understand you correctly.

                          In fact, I can see that my post is a bit messed up. You got 2 "Dow" slides, a working "carrot" animated GIF, a nice bridge for sale, and for whatever reason the other animated GIF 'if it aint broke' looks like it is an attached thumbnail. (Side question - does it play properly?) Am I correct so far?

                          If so ... I've got some interesting problem to chase down. I've got at least 5 more PCs and 2 MACs I can check with different browsers.

                          Stay tuned. No wonder I've been very unsatisfied since the upgrade.

                          Just for fun ... here's a screenshot of what I see when I try to upload and attach/embed an image.

                          File Upload Manager.jpg

                          Comment


                          • #14
                            Re: Firefox + Greasemonkey script to view 'old school' iTulip

                            Originally posted by Fiat Currency View Post
                            Thanks TPC. This is helpful, but a little weird. Basically you can see me but I cannot see you.
                            Yup.

                            Originally posted by Fiat Currency View Post
                            Can you see my screen shot below of your last post (both as a thumbnail, and as a full image if you click on it)?

                            No and No.
                            Yup - about as I suspected. You can post images, but you can't see them when they are posted as iTulip attachments.

                            What browser are you using -- Internet Explorer (IE)? If so, what version? My guess off-hand is that you're using some old IE version, but that could just be my Microsoft hatred leaking through.

                            Originally posted by Fiat Currency View Post
                            Here's this same screenshot, shown by linking to it in full size on my personal website:

                            OK - from here down - I can see everything. This is coming from your server via a URL link, if I understand you correctly.
                            Yes - what you saw successfully came from my server via a URL link (an HTML "img" code, to be more precise.)

                            Originally posted by Fiat Currency View Post
                            In fact, I can see that my post is a bit messed up. You got 2 "Dow" slides, a working "carrot" animated GIF, a nice bridge for sale, and for whatever reason the other animated GIF 'if it aint broke' looks like it is an attached thumbnail. (Side question - does it play properly?) Am I correct so far?
                            Yes - correct so far.

                            The 'if it ain't broke' GIF is not animated for me; it does not play at all, much less "properly." Both the thumbnail and the enlarged picture I get when I click on it are static.

                            Originally posted by Fiat Currency View Post
                            If so ... I've got some interesting problem to chase down. I've got at least 5 more PCs and 2 MACs I can check with different browsers.

                            Stay tuned. No wonder I've been very unsatisfied since the upgrade.
                            Yup -- whatever browser you're using is not well suited for use with this forum software (this version of vBulletin.)
                            Originally posted by Fiat Currency View Post
                            Just for fun ... here's a screenshot of what I see when I try to upload and attach/embed an image.
                            That's the new vBulletin File Upload Manager screen. We all see that when we try to attach images to our posts. It shows us any image we've uploaded in the last couple of hours, plus any image we uploaded earlier that was actually used in some other post.
                            Most folks are good; a few aren't.

                            Comment


                            • #15
                              Re: Firefox + Greasemonkey script to view 'old school' iTulip

                              TPC - here's an update, and thanks for patiently helping out.

                              (1) The 2 MACs with Safari are basically OK. Minor issues like (a) The thumbnail images say "click" to view larger image - but when you click on them they do nothing. You have to 'right-click' them and open them in a new window/tab. (b) The 'Switch Editor Mode' button which is normally a little above & to the right of the 'smilies' does not exist under Safari. Not sure why.

                              (2) I tested 4 PCs all with IE8 (not some old version - V8.0.7600.16385). 2 of these PCs were running Win7 (Home & Pro) and 1 XP Pro and 1 XP for a netbook. ALL of those PCs are not displaying attached images properly.

                              That simply eliminates the O/S and several other things.

                              This must an IE8 issue specific to iTulip's vBulletin version or implementation. (Agree?)

                              If that's true - there must be hundreds (or possibly thousands) of iTulip users having the same issue as I. IE8 must be the browser of choice for 80% of us I'd guess.

                              (Side items) The 'if it aint broke' animated GIF was converted to a JPEG when it uploaded for no known reasons. That would mean it took the first 'still frame' as a JPEG and therefore won't play correctly. This probably happened because the file size/dimensions is larger than iTulip allows.

                              The reason I posted the 'File Upload Manager' screen shot was actually to show you that only 2 out of all those files uploaded - display correctly.

                              My Summary:

                              - iTulip.com is not working right with IE8 - mostly attachment related.
                              - This is probably a vBulletin issue.
                              - Personally this is a big issue for me, as much material is posted as attachments.
                              - Do you know if iTulip/vBulletin are working on a resolution by any chance?
                              - Surely I can't be the only IE user having this issues. Are you aware of others having similar problems?

                              I don't like cluttering my PCs with various browsers. I'll try Firefox, Chrome, Safari etc. on a PCs when I come up for air.

                              Am I missing anything, or other suggestions on something to try?

                              Comment

                              Working...
                              X