Advertisement:

Author Topic: ezPortal  (Read 460940 times)

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1720 on: October 18, 2017, 09:04:40 PM »
Thanks glad you enjoy. It works great for SMF 2.1 as well!
Community Suite for SMF - Take your forum to the next level built for 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

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 348
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: ezPortal
« Reply #1721 on: December 28, 2017, 02:27:53 PM »
Major update a lot of new changes/additions for ezPortal pages

3.5
+Improve the look and feel of ezPortal pages for SMF 2.0/2.1. Now includes title bar, and content area along with edit/delete links when viewing the page
+Added option to add a button to the menu when adding a page in ezPortal you can set the page title for SMF 2.0.x and SMF 2.1.x
+Added support for the Oneall Social Login mod on the login form page
!When adding a shoutbox block make sure it is enabled when they add it
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1722 on: December 28, 2017, 03:36:37 PM »
I'm moving to a new server so I can upgrade from 2.0.13 to 2.0.15   I've noticed that my Ezportal is way old. 
Your Version: 0.5.2 Latest Version: 3.5 Your EzPortal version is not up to date!
Can I update that directly without loosing my current data it contains?

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1723 on: December 28, 2017, 03:38:47 PM »
You should be able to. The upgrader handles all versions. I would do a backup of your database just in case
Community Suite for SMF - Take your forum to the next level built for 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

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1724 on: December 28, 2017, 04:46:16 PM »
Thanks, I'll be testing it when I switch servers before I actually make the final move from old to new.  Thanks again.  I didn't read back through all of the topic. I suspect I've really missed out on some things not keeping updated.

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1725 on: December 28, 2017, 05:10:48 PM »
Yes, always check or subscribe to the topic here or the modsite or ezportal.com
Community Suite for SMF - Take your forum to the next level built for 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

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 348
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: ezPortal
« Reply #1726 on: January 02, 2018, 06:06:20 PM »
New update

3.5.1
+Added new setting for blocks Show Only Mobile. Allows a block to only be shown on mobile devices.
!Fixed bug with hide mobile block setting not working correctly
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1727 on: January 12, 2018, 12:25:29 PM »
Is there a way in the newer versions to disable this by theme?  I updated my version, and the code I used long ago for disabling in smf4mobile no longer works in the newer version of ezportal

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1728 on: January 12, 2018, 12:43:43 PM »
I took over smf4mobile and have a new version posted.

But yeah it is possible.
Community Suite for SMF - Take your forum to the next level built for 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

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1729 on: January 12, 2018, 12:57:42 PM »
okay...  ;)  Hint?

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1730 on: January 12, 2018, 01:03:17 PM »
Sources/Ezportal2.php

Find
Code: [Select]
function SetupEzPortal()
{
global $sourcedir, $context, $maintenance, $user_info, $ezpSettings, $boarddir, $boardurl, $smcFunc, $settings, $disableEzPortal, $modSettings;

// If wireless skip the ezPortal stuff.
if (defined('WIRELESS'))
{
$wirelessCheck = WIRELESS;
if (!empty($wirelessCheck))
return;
}

Add after
Code: [Select]
if ($user_info['theme'] == THEMEIDHEREOFSMF4MOBILE)
return;
Community Suite for SMF - Take your forum to the next level built for 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

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1731 on: January 12, 2018, 01:18:08 PM »
no joy  Unless I'm not picking the theme id correctly

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1732 on: January 12, 2018, 01:22:25 PM »
That should do it. $user_info['theme'] if that contains the theme of the user that they are on.
Community Suite for SMF - Take your forum to the next level built for 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

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1733 on: January 12, 2018, 01:23:50 PM »
Got it! Thank you!

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1734 on: January 15, 2018, 04:26:34 PM »
I'm getting many many error in my log.


Apply Filter: Only show the error messages of this URL
http://mysite/board/index.php?action=dlattach;attach=3549;type=avatar
Apply Filter: Only show the errors with the same message
8: Undefined index: theme_id
Apply Filter: Only show the errors from this file
File: /var/www/virtual/mysite.com/htdocs/board/Sources/EzPortal2.php

any ideas?

clicking on the EZPotal error link the pop up shows this as the offending text, what I added to have smf4mobile theme opt out. It did work however, just generating a couple thousand errors

    if ($settings['theme_id'] == 10)

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1735 on: January 15, 2018, 04:29:53 PM »
THEME_ID is not defeined or you haven't added $settings in your globals
Community Suite for SMF - Take your forum to the next level built for 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

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1736 on: January 15, 2018, 04:54:47 PM »
Yer talking to a guy that knows anything you want to know about a sawmill. Php?  notsomuch :)

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1737 on: January 15, 2018, 05:06:19 PM »
Try
Code: [Select]
global $settings;
   if ($settings['theme_id'] == 10)
Community Suite for SMF - Take your forum to the next level built for 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

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1738 on: January 15, 2018, 09:03:32 PM »
Isn't that what I have?  I tried it without the  return;  and the disable did not work.

I have:

global $settings;
if ($settings['theme_id'] == 10)
 return;

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,207
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1739 on: January 15, 2018, 09:36:23 PM »
It may no work it was a guess on my end on the code that might do it.
Community Suite for SMF - Take your forum to the next level built for 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