Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Widescreen package

    Scheduled Pinned Locked Moved pfSense Packages
    22 Posts 6 Posters 10.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      /usr/local/www/fbegin.inc

      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • L
        LostInIgnorance
        last edited by

        THANKS JIMP!!!!ย  :D ;D :D

        1 Reply Last reply Reply Quote 0
        • S
          serialdie
          last edited by

          @LostInIgnorance:

          THANKS JIMP!!!!ย  :D ;D :D

          LostInIgnorance,

          Can you share how you add the missing links?

          Thanks!

          1 Reply Last reply Reply Quote 0
          • S
            serialdie
            last edited by

            I got it.

            Thanks

            1 Reply Last reply Reply Quote 0
            • S
              serialdie
              last edited by

              Fixed :)

              I even add it phpsysinfo and it works just fine :)

              1 Reply Last reply Reply Quote 0
              • L
                LostInIgnorance
                last edited by

                Posted pull request to file on GitHub, hopefully they will be committed.

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Merged, thx.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • M
                    Matthias
                    last edited by

                    I've had a similar problem which I was discussing here: http://forum.pfsense.org/index.php/topic,40570.0.html in the IPv6 forums. I took a look at the original fbegin.inc and compared it to the one from the widescreen package. They seemed to be quite different so I modified the original file with the layout changes that make it work with the widescreen package. I've uploaded a copy to take a look at and hopefully someone will add it to the latest version of the widescreen package.

                    Edit: Sorry, the version of fbegin.inc I had didn't have the DHCPv6 Relay link in the Services menu. I've reuploaded the new version.

                    fbegin.inc.txt

                    1 Reply Last reply Reply Quote 0
                    • S
                      serialdie
                      last edited by

                      @Matthias:

                      I've had a similar problem which I was discussing here: http://forum.pfsense.org/index.php/topic,40570.0.html in the IPv6 forums. I took a look at the original fbegin.inc and compared it to the one from the widescreen package. They seemed to be quite different so I modified the original file with the layout changes that make it work with the widescreen package. I've uploaded a copy to take a look at and hopefully someone will add it to the latest version of the widescreen package.

                      Edit: Sorry, the version of fbegin.inc I had didn't have the DHCPv6 Relay link in the Services menu. I've reuploaded the new version.

                      How different is it?

                      I only found a few links missing.

                      1 Reply Last reply Reply Quote 0
                      • M
                        Matthias
                        last edited by

                        It's not just the missing links but the way the file is written. I believe it uses the old fbegin.inc from version 1.2.3.
                        There is a few changes such as in the old one a line would like like this:

                        $firewall_menu[] = array("Aliases", "/firewall_aliases.php"); 
                        

                        where as in the new one it would look like this:

                        $firewall_menu[] = array(gettext("Aliases"), "/firewall_aliases.php"); 
                        

                        There is also this part that checks if you have the correct user privileges and displays the appropriate link

                        
                        if (!isAllowedPage("system_usermanager.php*"))
                        	$system_menu[] = array(gettext("User Manager"), "/system_usermanager_passwordmg.php");
                        else
                        	$system_menu[] = array(gettext("User Manager"), "/system_usermanager.php");
                        

                        The changes aren't that big but I believe it's always good to use the most up to date version of the files.

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          That's the difference between fbegin.inc on mainline (what will be 2.1, the "ipv6" code people are using now) and 2.0 proper.
                          There isn't going to be a good way to just have one file do both without a bit of hacking things up and detecting the version.

                          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • S
                            serialdie
                            last edited by

                            @jimp:

                            That's the difference between fbegin.inc on mainline (what will be 2.1, the "ipv6" code people are using now) and 2.0 proper.
                            There isn't going to be a good way to just have one file do both without a bit of hacking things up and detecting the version.

                            jimp,

                            Do you think going away from the widescreen pkg is the best solution?

                            I am not the type that likes to look at 1000 of lines of code to try and compare and fix them :)

                            1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              Until the widescreen package has a workaround for 2.1, it would probably be best to not use it. That is, unless you don't actually need any of the menu items that are missingโ€ฆ

                              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              1 Reply Last reply Reply Quote 0
                              • M
                                Matthias
                                last edited by

                                For now I've just been uploading the modified copy of fbegin.inc after I do an update. Only takes a few seconds to ftp in.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  n00b13
                                  last edited by

                                  how do i uninstall this via CLI? i installed it and it messed the GUI.ย  Can't seem to find it on the installed packages menu.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.