News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

ezPortal

Started by SMFHacks.com Team, November 02, 2008, 10:10:03 AM

Previous topic - Next topic

mickjav

Quote from: vbgamer45 on March 29, 2025, 09:29:41 AMIs it working correctly with Pretty Urls installed or only when it is uninstalled?

When installed works perfectly



vbgamer45

If you haven't changed your sources/ezportal2.php file try this
I updated three spots in setupezPortal function

Unzip the file first.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav

I haven't made any changes to ez portal.

I will update file tomorrow and let you know thanks




mickjav

#2163
Uploaded the file and no change

when viewing a board where the blocks have been set to show is works as expected

Edit: Just checked, works correctly when adding, replying and modifying a topic

You cannot view this attachment.

But when viewing a topic, all the blocks are not visible.

You cannot view this attachment.



vbgamer45

So boards fixed is an improvement or no change at all with that file?
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mickjav

No Change, I just wanted to check all options.



vbgamer45

5.7
!Fixed some database errors with bad inputs, no security issue just handling failure more gracefully. Thanks to Emiliano Febbi
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

shawnb61

#2167
I just noticed there is no canonical reported on the home page.  Causing minor issues with Google Search Console - a warning that it's picking the canonical for me (poorly...).  Also the canonical on the forum index is the (now) old home page, which doesn't match the new url (w/ action=forum). 
A question worth asking is born in experience & driven by necessity. - Fripp

vbgamer45

New version released 6.0!
!SEO improvement fixed canonical used for the homepage, custom pages and ?action=forum thanks to shawnb61
SMF 2.0.x users have to uninstall ezPortal and install new version since requires edit to the Sources/BoardIndex.php


Edit for SMF 2.0.x if you can't uninstall and need to install on top of latest
Open Sources/BoardIndex.php and Find
        // EzPortal
        if (isset($_REQUEST['action']))
        {
                if ($_REQUEST['action'] == 'forum')
                {
                    $context['robot_no_index'] = false;   
                }                   
        }

   

        // End Ezportal
Change to
        // EzPortal
        if (isset($_REQUEST['action']))
        {
                if ($_REQUEST['action'] == 'forum')
                {
                    $context['robot_no_index'] = false;   
                }                   
        }

        if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'forum')
          $context['canonical_url'] = $scripturl . '?action=forum';

        // End Ezportal

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

shawnb61

Thanks for the tweaks!
A question worth asking is born in experience & driven by necessity. - Fripp

Advertisement: