Search:

Type: Posts; User: jscheuer1; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.44 seconds.

  1. Replies
    27
    Views
    1,781

    OK, I worked this out last night but didn't have...

    OK, I worked this out last night but didn't have time to post it and explain what to do with it.

    First make sure you enable the edit button again on the server side.

    Then put this stylesheet in...
  2. Replies
    27
    Views
    1,781

    I agree if the goal is to limit it as much as...

    I agree if the goal is to limit it as much as possible that making the edit trick not work at least for javascript enabled browsers would be good. It really shouldn't be that hard to write. I already...
  3. Replies
    27
    Views
    1,781

    We can get the original post time from the edit...

    We can get the original post time from the edit page and determine if the user is non staff, if the page is an edit page, how old the post is and if it's too old, give an alert that the post is older...
  4. Replies
    27
    Views
    1,781

    I just tested, the trick works on both old and...

    I just tested, the trick works on both old and new posts. To disable it, one would have to do something on the server side. A complex mod-rewrite might work with the timer and non-staff. edit could...
  5. Replies
    27
    Views
    1,781

    You might want to look at and/or test this as...

    You might want to look at and/or test this as well if you haven't already:

    https://www.proboards.com/library/plugins/item/318

    I'd be interested if the url editing trick works with it or not.
  6. Replies
    27
    Views
    1,781

    That's not what I said. The post number is almost...

    That's not what I said. The post number is almost everywhere. If you go to your most recent (or go to any of your) post(s) in a thread via an internal board search or anything like that, it's even in...
  7. Replies
    27
    Views
    1,781

    OK, so it's working. I've discovered I can edit...

    OK, so it's working. I've discovered I can edit my own post at any time though if I know the post number which can be found in at least three ways. Easiest way is to just hover the quote button for...
  8. Replies
    27
    Views
    1,781

    Well, the edit button isn't there most likely...

    Well, the edit button isn't there most likely because you haven't changed:


    {if $[current_user.is_staff]}
    $[post.edit_button]
    {/if}

    to:
  9. Replies
    27
    Views
    1,781

    If you can do this: Why couldn't you do...

    If you can do this:



    Why couldn't you do something like that with the delete button?

    But since we no longer want that, could you do something like (syntax is probably wrong, but I think you...
  10. Replies
    27
    Views
    1,781

    Probably. I would need to know the text or...

    Probably. I would need to know the text or (preferably) class of the edit button and the time limit you want for it. If that class is 'edit-button' (looks that way) and 5 minutes is the time again,...
  11. Replies
    27
    Views
    1,781

    var howlongallowed = 5 * 60 * 1000; //5 minutes...

    var howlongallowed = 5 * 60 * 1000; //5 minutes in milliseconds

    The green is a comment. The red is the actual value. Time in javascript is always in milliseconds unless converted/extracted from a...
  12. Replies
    2
    Views
    310

    Resolved You've (or someone has) marked this resolved. Is...

    You've (or someone has) marked this resolved. Is it?

    Also please post javascript questions in the javascript section where I'm moving this. I just had another post of yours I answered that also...
  13. Resolved This will make it scroll: location.hash =...

    This will make it scroll:


    location.hash = 'iosdevicescroll';

    You can add it here:


    function replaceMainImage(imgSrc, partNumber, myContent) {
    location.hash =...
  14. Replies
    27
    Views
    1,781

    OK, 'works' in Chrome. But I'm not satisfied...

    OK, 'works' in Chrome. But I'm not satisfied because two situations are not yet covered. If you post and just wait with the page sitting there for 10 minutes or whatever, the delete button is still...
  15. From what you have there, sometimes...

    From what you have there, sometimes changedTouches is defined and sometimes not. This depends upon the event type. Certainly it would not be defined for a click event. In fact, every time...
  16. Add the highlighted code in the head of the page...

    Add the highlighted code in the head of the page as shown:



    <script src="js/jquery.min.js"></script>
    <script src="js/jquery.scrolly.min.js"></script>
    <script...
  17. Replies
    27
    Views
    1,781

    OK, let's try this out. First get rid of: ...

    OK, let's try this out. First get rid of:


    <script type="text/javascript">
    $(document).ready(function(){
    if(!proboards.data('user').is_staff){
    $('.options_menu li').each(function(){
    ...
  18. Replies
    27
    Views
    1,781

    Yeah, sorry. We were working together a little...

    Yeah, sorry. We were working together a little while back and I got busy with a lot on non-forum things. I'm back for now. Of the two things we were working on, this one seems easier, so let's see...
  19. Replies
    1
    Views
    261

    There are cross site restrictions on javascript....

    There are cross site restrictions on javascript. So, if one page is on one site, and the other is on another, they cannot communicate via javascript. That might play a role, as not even the...
  20. As long as there were no other errors, this...

    As long as there were no other errors, this probably means that Android follows the W3C recommendation (e.originalEvent.pageX in this case) and also doesn't have changedTouches (which may be Apple...
  21. Those examples (with the exception of...

    Those examples (with the exception of event.originalEvent.pageX) don't seem to include what I'm thinking of + I'm not sure if e and/or event was defined properly in them (including the one that looks...
  22. Great! You can just use that. And, though the...

    Great! You can just use that. And, though the problem before could be something else, I think I know what that means and how to fix the code that didn't work. In jQuery there is the jQuery passed...
  23. Replies
    4
    Views
    417

    Resolved That's easy, do two things. On the page with the...

    That's easy, do two things. On the page with the parts change:


    <!-- content area -->
    <section id="content"> <img src="m-images/dr-logo.jpg" id="mainImage" />...
  24. Replies
    4
    Views
    417

    Resolved The main problem seems to be that btnOrder2 is...

    The main problem seems to be that btnOrder2 is not the button that is seen on the page and is clicked to summon the form. In my suggested solution (works in limited testing) I select the actual...
  25. Well, before we go running around thinking this...

    Well, before we go running around thinking this is something we can fix in jQuery, let's first see if it's jQuery's fault or not. To do that - try the first code. If that works fine and I have an...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4