Testing 1 2 3
  • Hello World
    photo.jpg
    155 x 210 - 9K
  • Fileiploads not attaching
  • issue
  • ThymThym
    Posts: 122,569
    what is the hook that is missing for that?
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    i just backed out the css changes
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    is it hanging?
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    ok, it hung on chrome
    The only thing between me and a train wreck is blind luck..... - Kenny
  • Ok I see when u upload an image using fileupload on our forum, it doesnt clear fileupload so a new reply has same image in it.. is this what you are referring to
    danny.jpg
    178 x 178 - 30K
  • ThymThym
    Posts: 122,569
    once you post a comment it stops with the box yellow.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • still cannot upload images
  • yes thats javascript highlighting, handled by vanilla
  • ThymThym
    Posts: 122,569

    Ok I see when u upload an image using fileupload on our forum, it doesnt clear fileupload so a new reply has same image in it.. is this what you are referring to



    no, once you post a comment using chrome rather than flashing yellow and returning to the normal theme colors, the new comment stays yellow and the post comment button is disabled.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    yes thats javascript highlighting, handled by vanilla



    the the setting of opacity at the div level is causing that javascript to fail.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • That could be a z-index issue, and overlay div problem. will try again
  • ThymThym
    Posts: 122,569

    still cannot upload images



    i just checked and you have member permission which allows attachment upload and download
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    That could be a z-index issue, and overlay div problem. will try again



    i tried using z-index to resolve it, but didn't get anywhere. im not sure exactly what the js is doing but it seems like it may be trying to capture the background color, prior to changing it, but becasue it doesnt understand the opacity decalaration, it doesn't get the object. then when it tries to set it back, the state object is null.

    this is just a wild guess at this point since i haven't looked under the hood on the j-query script
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    it seems like the issue may not exist on the opera browser
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    oops, i rescind that statement.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • why is this js loading after the input element ( button )

    < script type="text/javascript">
    $('#Form_Body').keypress(function(event){
    if((event.ctrlKey) && ((event.keyCode == 0xA)||(event.keyCode == 0xD)))
    $('#Form_PostComment').click();
    })
    < /script>
  • ThymThym
    Posts: 122,569

    why is this js loading after the input element ( button )


    < script type="text/javascript">
    $('#Form_Body').keypress(function(event){
    if((event.ctrlKey) && ((event.keyCode == 0xA)||(event.keyCode == 0xD)))
    $('#Form_PostComment').click();
    })
    < /script>


    that is the ctrl-enter quick key for submitting posts
    The only thing between me and a train wreck is blind luck..... - Kenny
  • But its ID is wrong
    It is looking for Form_Body then Form_PostComment.

    Shouldnt that be Form_Comment then Form_PostComment

    Try disabling it
  • ThymThym
    Posts: 122,569

    But its ID is wrong
    It is looking for Form_Body then Form_PostComment.

    Shouldnt that be Form_Comment then Form_PostComment

    Try disabling it



    this function continues to work even after the post comment button stop working. i think the handler is correct, the form_body line is setting up the event handler for a keypress event anywhere within the form
    The only thing between me and a train wreck is blind luck..... - Kenny
  • One mo will see if one of our guys is online
  • ThymThym
    Posts: 122,569

    One mo will see if one of our guys is online



    ok
    The only thing between me and a train wreck is blind luck..... - Kenny
  • Not sure why we are getting:

    < input id="Form_PostComment" class="Button CommentButton" type="submit" value="Post Comment" name="Comment/Post_Comment" disabled="disabled">
  • Stefan Laith and Latox who work for me but are off at the mo are not online, will get them to see what the issue is. Its not css related tho
  • ThymThym
    Posts: 122,569

    Not sure why we are getting:


    < input id="Form_PostComment" class="Button CommentButton" type="submit" value="Post Comment" name="Comment/Post_Comment" disabled="disabled">


    while it turns the new item yellow the js disables the comment button, this helps to reduce the possibility of double posting on accident. since the js is exiting before completing the transition (leaving the comment yellow) it's leaving the button disabled.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    Stefan Laith and Latox who work for me but are off at the mo are not online, will get them to see what the issue is. Its not css related tho



    what it appears to be is a bug in jquery.js that is triggered by the opacity call in the CSS.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    as soon as i remove anything like

    background-color: rgba(255, 255, 255, 0.5);

    from the mine divs the problem goes away.

    The only thing between me and a train wreck is blind luck..... - Kenny
  • vanillaSkinsvanillaSkins
    Posts: 31 Accepted Answer
    have you tried tweaking flood control in dashboard ?
  • ok give me a moment please
  • ThymThym
    Posts: 122,569
    as a workaround im using

    .Item.Comment.Mine , .Item.Mine{
    background-color: transparent;
    }
    in my install. that eliminate the issue, but doens't leave the discussions looking as nice.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    have you tried tweaking flood control in dashboard ?



    accidentally accepted this answer :) haha.

    the jquery.js is all OOTB code. I didn't touch it
    The only thing between me and a train wreck is blind luck..... - Kenny
  • thats cool we should be able to tweak another way
  • ThymThym
    Posts: 122,569

    thats cool we should be able to tweak another way



    im going to create another sand box which continues to replicate this issue, it'll be a slightly different home URL, but the content and login information will all be the same.

    this pre-prod environment will have my cheesy-poof fix applied for the guys doing testing for me.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    and you were saying something about the file upload not working as intended. can you tell me a little more about that?
    The only thing between me and a train wreck is blind luck..... - Kenny
  • I cannot uplaod files using fileupload on here
  • so you have a fix in place for the opacity issue
  • ThymThym
    Posts: 122,569

    so you have a fix in place for the opacity issue



    yes. you can add


    .Item.Comment.Mine.Alt , .Item.Mine.Alt{
    background-color: transparent;
    }

    and

    .Item.Comment.Mine , .Item.Mine{
    background-color: transparent;
    }
    to the custom css
    The only thing between me and a train wreck is blind luck..... - Kenny
  • still buggered as to why that would affect and disable the button .. unless it interferes with the js fade of the last post
  • ThymThym
    Posts: 122,569

    I cannot uplaod files using fileupload on here



    do you not see "Attach a file" under the comments box?
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    still buggered as to why that would affect and disable the button .. unless it interferes with the js fade of the last post



    yes, it's bombing out the js that does the fade
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    test file uploadimage
    CHP.jpg
    567 x 697 - 65K
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    attach a file is working normally for me.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    but i still have to manually "insert image"
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    it also isn't doing your wrapping with the little flyout box
    The only thing between me and a train wreck is blind luck..... - Kenny
  • not working for me have you edited member priveledges ?
    image
    danny.jpg
    178 x 178 - 30K
  • did you upload my version of Fileupload that was included with the theme
  • ThymThym
    Posts: 122,569

    did you upload my version of Fileupload that was included with the theme



    yes. i overwrote the version i had with yours.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    not working for me have you edited member priveledges ?



    i see that you uploaded a file, but it did not automatically get displayed (which is the default behaviour)
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    did you upload my version of Fileupload that was included with the theme



    i didn't disable then re-enable the plugin... maybe a hook didn't get registered?
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    let me try doing that.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    buzz lightyear test
    217794_1266152627_large.jpg
    1600 x 1226 - 577K
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    nope. nothing automated on the post of an attached file
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    oh, so it looks like the only thing that's not happening now is the thumbnail generation
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ahh ok
    Sorted.
    For Fileupload goto Fileupload >views>link_files.php

    line 20 should be :
     $Img = '';

    line 38
    echo ''.htmlspecialchars($Media->Name).'';


    In footer of same file, change these paths to match yours.



    < script type="text/javascript" src="http://vanillaskins.com/air-forum/themes/air/design/divbox/divbox.js">< /script>
    < link type="text/css" rel="stylesheet" href="http://vanillaskins.com/air-forum/themes/air/design/divbox/css/divbox.css" />
    < script type="text/javascript">
    $('a.lightbox1').divbox();
    < /script>


  • Your bloody editor mucks the pre code up lol
  • That should fix that ( look at those files ( filupload plugin ) within localhost editor to make sure there are no ther recurssions of absolute links, and change them accordingly.

    Now FAQS , have you checked the php include path as I suggested via email?
  • ThymThym
    Posts: 122,569

    That should fix that ( look at those files ( filupload plugin ) within localhost editor to make sure there are no ther recurssions of absolute links, and change them accordingly.

    Now FAQS , have you checked the php include path as I suggested via email?



    lines 20 and 38 were consistent with your post. i made the two script locations relative paths so it should pick up the local stuff properly.

    i've looked at the FAQS include path and it is a relative link to the file in the plugin, it should be picking that file up just fine. the two example faqs that were in the answers.php file had so i changed that to just plain to see if that resolved it. no dice.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • then the include path is wrong.

    Fileuploads still not working, have you allowed MEMBERS to upload in permissions
    danny.jpg
    178 x 178 - 30K
  • ThymThym
    Posts: 122,569

    then the include path is wrong.

    Fileuploads still not working, have you allowed MEMBERS to upload in permissions



    yes. you're actually uploading the file each time. file is danny.jpg. there is a little translucent box below the text of your post that represents the file. the thumbnails are not being created or displayed.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • not working here. Have you uploaded divbox folder to your theme>design folder ?
  • ThymThym
    Posts: 122,569
    not sure about the thumbnails. it's definitely not creating them server side
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    not working here. Have you uploaded divbox folder to your theme>design folder ?



    yes. the divbox is working now. i had a typo in the url a minute ago. should pull up in the lightbox now (refresh the page first)
    The only thing between me and a train wreck is blind luck..... - Kenny
  • Then there a issue your end.

    Regarding the FAQS, you have not done the include correctly.. in fact for some reason I can read your src and see our code:
     <? include ("themes/air/faqs/answers.php"); ?> 


    Unless I am missing something, that page should be php ( the page it renders this from is faqs.php in your CustomPages > pages folder.

    Php should be invisible. So you must have ghosted out our include script..
  • ThymThym
    Posts: 122,569
    test
    IMG00006-20110621-1750.jpg
    1792 x 1344 - 212K
    The only thing between me and a train wreck is blind luck..... - Kenny
  • No images showing for me
    kyle.jpg
    178 x 178 - 26K
  • ThymThym
    Posts: 122,569

    Then there a issue your end.

    Regarding the FAQS, you have not done the include correctly.. in fact for some reason I can read your src and see our code:

     <? include ("themes/air/faqs/answers.php"); ?> 


    Unless I am missing something, that page should be php ( the page it renders this from is faqs.php in your CustomPages > pages folder.

    Php should be invisible. So you must have ghosted out our include script..


    i saw this as well. i was trying to figure out why the php engine isnt parsing that line. this seems to be the problem. i haven't touched anything in there..
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    No images showing for me



    the image doesn't show inline because the thumbnails are not being generated on my server for some reason. i don't know where or how that is supposed to happen. there is a little empty box at the bottom of your post, click it and it will open the light box.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569
    figured out the faqs thing.

    basically <? needs to be <?php so the php parser recognizes it.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • Thats beyond my scope as to why thats an issue.

    Its all very simple stuff, and apart from the annoying rgba issue. The other issues are file path related and rewriting the urls correctly, in the theme package. You probably need to thru all files included within the zip package and check all paths.

    PHP should never be seen client side, so there is an issue.. either you have a combination of path related issues or your server isnt equipped correctly... not sure what tho
  • php5 shouldnt need the <?php bit but try that , could be your server
  • ok thats your FAQS sorted !
  • ThymThym
    Posts: 122,569

    Thats beyond my scope as to why thats an issue.

    Its all very simple stuff, and apart from the annoying rgba issue. The other issues are file path related and rewriting the urls correctly, in the theme package. You probably need to thru all files included within the zip package and check all paths.

    PHP should never be seen client side, so there is an issue.. either you have a combination of path related issues or your server isnt equipped correctly... not sure what tho



    it was a bad tag. <? should be <?php, at least for the version of php im running.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ThymThym
    Posts: 122,569

    php5 shouldnt need the <?php bit but try that , could be your server</p>



    it's likely due to the version of php im running. my server is windows based so i have to use a specific php build
    The only thing between me and a train wreck is blind luck..... - Kenny
  • ahh ok. Right im off for dinner, catch ya laterzzz :)
  • ThymThym
    Posts: 122,569

    ahh ok. Right im off for dinner, catch ya laterzzz :)



    thanks for the help.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • C_BC_B
    Posts: 88,962
    This came up in related discussions for the breaker panel thread. Funny. And weird.
    "On it. I hate software." ~Cpt Snarklepants
  • ThymThym
    Posts: 122,569
    C_dubbs said:

    This came up in related discussions for the breaker panel thread. Funny. And weird.



    Nice necro post.
    The only thing between me and a train wreck is blind luck..... - Kenny
  • C_BC_B
    Posts: 88,962
    Lakewood said:

    C_dubbs said:

    This came up in related discussions for the breaker panel thread. Funny. And weird.



    Nice necro post.

    Dang right. I like to pull one out of the cemetery urry once in a while.
    "On it. I hate software." ~Cpt Snarklepants