WXforum.net
May 21, 2013, 02:18:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6616  •  Posts: 178486  •  Topics: 18113
Please welcome TheMOX, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Alt-S to submit a post?  (Read 8395 times)
0 Members and 1 Guest are viewing this topic.
SLOweather
Administrator
Forecaster
*****
Online Online

Posts: 2342



WWW
« on: August 25, 2006, 04:39:07 PM »

Since it looks like this is the new home of the forum, could we please get alt-s for submit and alt-p for preview turned on for new posts?
Logged
SLOweather
Administrator
Forecaster
*****
Online Online

Posts: 2342



WWW
« Reply #1 on: October 31, 2006, 02:23:51 PM »

Bump.

The other forums I haunt allow alt-s to submit a post. Is it possible to activate that here?

Thanks!

Chris
Logged
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3729


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #2 on: October 31, 2006, 02:46:25 PM »

I'll take a look a the configs.. see what can be done.

Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
kray1000
Purveyor of wry
Forecaster
*****
Offline Offline

Posts: 1308



WWW
« Reply #3 on: October 31, 2006, 03:22:29 PM »

And while we're suggesting...

What's the easiest way to view the most recent posts made on this forum, not just the ones since my last visit?  I don't see a link that says "View most recent posts on this forum", or something along those lines...
Logged

Kevin Ray
Roanoke, VA

Wireless VP2, Stardot NetCam, ImageSalsa 2.0.12, MovieSalsa, Nexstorm, WASP2, Skymet, VWS14.01p33, WD 10.37N build 03
SLOweather
Administrator
Forecaster
*****
Online Online

Posts: 2342



WWW
« Reply #4 on: October 31, 2006, 03:36:00 PM »

That's a good one. The Avalanche Fan Club SMF powered site has one that adds "index.php?action=last24" to the base URL, but that trick doesn't work here (yet).
Logged
kray1000
Purveyor of wry
Forecaster
*****
Offline Offline

Posts: 1308



WWW
« Reply #5 on: October 31, 2006, 03:45:16 PM »

Quote from: "SLOweather"
The other forums I haunt...


Quote from: "SLOweather"
... that trick doesn't work here...


Been eating too many Halloween sandwitches?
Logged

Kevin Ray
Roanoke, VA

Wireless VP2, Stardot NetCam, ImageSalsa 2.0.12, MovieSalsa, Nexstorm, WASP2, Skymet, VWS14.01p33, WD 10.37N build 03
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3729


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #6 on: October 31, 2006, 04:29:37 PM »

It should be done now...

alt-p should do a preview (used to to imbed an image)
alt-s should do a submit.

At least in IE7  -- having a problem with Firefox 2.0 acting on the accesskey directive...

I used the hotkeys to preview and submit this post Smile

Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
W3DRM
Forecaster
*****
Online Online

Posts: 1345



WWW
« Reply #7 on: October 31, 2006, 05:08:29 PM »

And, another suggestion (MOD to add...).

I see a MOD that shows the post subject so you don't have to stop and think about what topic you were replying to. If it's what I think it is, it would be a nice addition to have. The link is as follows:
    http://www.phpbb.com/phpBB/viewtopic.php?t=121524[/list]
    Logged

    Don - W3DRM - Minden, Nevada --- Davis Wireless VP2, VWS 14.00 p101,
    StartWatch, VirtualVP, VPLive, WL 5.9.3, Win7 Ultimate-SP1
    --- Logitech QuickCam Fusion webcam
    saratogaWX
    Administrator
    Forecaster
    *****
    Online Online

    Posts: 3729


    Saratoga, CA, USA Weather - free PHP scripts


    WWW
    « Reply #8 on: October 31, 2006, 10:27:04 PM »

    I've added two new search params:

    http://www.wxforum.net/search.php?search_id=recent  will show the last 7 days of posts

    http://www.wxforum.net/search.php?search_id=last24 will show posts in the last 24 hours

    I'll add the options to the search items available on the home screen

    Enjoy!

    Ken
    Logged

    Ken True/Saratoga, CA, USA main site: saratoga-weather.org
    Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
    Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
    SLOweather
    Administrator
    Forecaster
    *****
    Online Online

    Posts: 2342



    WWW
    « Reply #9 on: November 01, 2006, 12:31:46 AM »

    Thanks, Ken. You rock! I used alt-s to submit this! (in FF 1.5.0.7)
    Logged
    saratogaWX
    Administrator
    Forecaster
    *****
    Online Online

    Posts: 3729


    Saratoga, CA, USA Weather - free PHP scripts


    WWW
    « Reply #10 on: November 01, 2006, 01:03:22 AM »

    Don... the show subject (topic) of post when replying mod is also installed..

    When I replied to his topic, it showed the links as:
    Code:
    WXforum.net Forum Index  -> Bugs/General Suggestions  -> Alt-S to submit a post?


    Ken
    Logged

    Ken True/Saratoga, CA, USA main site: saratoga-weather.org
    Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
    Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
    W3DRM
    Forecaster
    *****
    Online Online

    Posts: 1345



    WWW
    « Reply #11 on: November 01, 2006, 10:32:00 AM »

    Thanks Ken that is great. It's not what I was exactly looking for though. Was thinking it would actually place the Subject contents in the Subject box. That would be even nicer!

    Anyway - you do ROCK!  Very Happy
    Logged

    Don - W3DRM - Minden, Nevada --- Davis Wireless VP2, VWS 14.00 p101,
    StartWatch, VirtualVP, VPLive, WL 5.9.3, Win7 Ultimate-SP1
    --- Logitech QuickCam Fusion webcam
    saratogaWX
    Administrator
    Forecaster
    *****
    Online Online

    Posts: 3729


    Saratoga, CA, USA Weather - free PHP scripts


    WWW
    « Reply #12 on: November 01, 2006, 10:49:14 AM »

    Yes, I remember that mod to auto-fill the Subject on a reply..

    I'll do some trolling for it.

    Ken
    Logged

    Ken True/Saratoga, CA, USA main site: saratoga-weather.org
    Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
    Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
    saratogaWX
    Administrator
    Forecaster
    *****
    Online Online

    Posts: 3729


    Saratoga, CA, USA Weather - free PHP scripts


    WWW
    « Reply #13 on: November 01, 2006, 03:01:10 PM »

    Ahh... found the (ancient) mod and refitted it.  Now the subject line will automatically be 'Re: <topic>' when you do a reply to a post.

    See above subject line (was automatically filled in ) Smile

    Thanks for the suggestion Don!

    Best regards,
    Ken
    Logged

    Ken True/Saratoga, CA, USA main site: saratoga-weather.org
    Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
    Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
    W3DRM
    Forecaster
    *****
    Online Online

    Posts: 1345



    WWW
    « Reply #14 on: November 01, 2006, 03:45:34 PM »

    Wow, I'm impressed. I've been wanting that mod for a long long time! That's something that should be a standard part of the phpBB software.

    Thanks for finding it and putting into effect.  Very Happy  Very Happy  Very Happy
    Logged

    Don - W3DRM - Minden, Nevada --- Davis Wireless VP2, VWS 14.00 p101,
    StartWatch, VirtualVP, VPLive, WL 5.9.3, Win7 Ultimate-SP1
    --- Logitech QuickCam Fusion webcam
    saratogaWX
    Administrator
    Forecaster
    *****
    Online Online

    Posts: 3729


    Saratoga, CA, USA Weather - free PHP scripts


    WWW
    « Reply #15 on: November 01, 2006, 04:14:28 PM »

    You're welcome Don!

    Finding the mod was an exercise.. phpBB mods directory had 'rolled it off' so it couldn't be found via that path.  I did a couple of google searches and found the text of the mod cached for a site in Taiwan.

    Here's the mod for all you phpBB admins (may need a touch of refitting) but is really simple and only changes posting.php:

    Code:
    ##############################################################
    ## MOD Title: Automatic Subject on Reply
    ## MOD Author: drathbun < drathbun@forumtopics.com > (Dave Rathbun)
    ## MOD Description: Simple mod to add a default subject on all post replies
    ## MOD Version: 1.0.1
    ##
    ## Installation Level: easy
    ## Installation Time: 5 Minutes
    ## Files To Edit: posting.php
    ## Included Files: n/a
    ##############################################################
    ## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
    ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
    ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
    ## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
    ##############################################################
    ## Author Notes:
    ## This very simple mod provides a default subject on all post replies
    ## It essentially duplicates the "Quote" function of a default subject.
    ## 2.0.4 compatible as written
    ## Installation Notes
    ## The "After, Add" operation is used in the mod notes because that's one of the
    ## available options. However, what you can really do is replace the line:
    ## $subject = '';
    ## with the "After, Add" code. The code will work if installed per these
    ## instructions, so it should be compatible with any automatic mod installers.
    ## But the reason for the mod instructions being written the way they are is
    ## there are two instances of the line
    ##
    ## $subject = '';
    ##
    ## in the code. I had to provide enough lines to be specific.
    ##
    ## 2.0.3 compatible with one additional edit, detailed here. You have to add the
    ## topic_title to the sql that retrieves the post info. In 2.0.4 this change has
    ## already been made, and therefore is not included in the standard mod install
    ## operations.
    ##
    ## OPEN posting.php
    ## FIND $sql = "SELECT f.*, t.topic_status
    ## IN-LINE AFTER, ADD , t.topic_title
    ##
    ##
    ## 1.0.1 update notes
    ## Changed initial subject to limit to 60 characters. MySQL does not
    ## require this mod, but other databases might.
    ##
    ## No language entries or template changes are required for this very simple mod.
    ##############################################################
    ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
    ##############################################################

    #
    #-----[ OPEN ]------------------------------------------
    #
    posting.php

    #
    #-----[ FIND ]------------------------------------------
    #
    else if ( $mode == 'reply' )
    {
    $user_sig = ( $userdata['user_sig'] != '' ) ? $userdata['user_sig'] : '';

    $username = ( $userdata['session_logged_in'] ) ? $userdata['username'] : '';
    $subject = '';

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    // begin Automatic Subject on Reply mod
    $subject = $post_info['topic_title'];
    if ( !preg_match('/^Re:/', $subject) && strlen($subject) > 0)
    {
    $subject = substr('Re: ' . $subject, 0, 60);
    }
    // end Automatic Subject on Reply mod


    #
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
    #
    # EoM


    Enjoy!

    Ken
    Logged

    Ken True/Saratoga, CA, USA main site: saratoga-weather.org
    Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
    Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
    Pages: [1]   Go Up
      Print  
     
    Jump to:  

    Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
    Page created in 0.085 seconds with 19 queries.