Advertisement:

Author Topic: ezPortal  (Read 455843 times)

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1740 on: January 15, 2018, 10:24:16 PM »
The code I posted works its just creating errors/

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,740
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1741 on: January 16, 2018, 09:31:52 AM »
It shouldn't work though if it is creating errors.
You can try
Code: [Select]

global $settings;
if (isset(i$settings['theme_id'] ))
if ($settings['theme_id'] == 10)
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 #1742 on: January 16, 2018, 01:49:56 PM »
That created a blank white page. No error though

Here is the error again we are getting. I flushed the errors this morning, and we have 7 pages of them already.

http://XXX.com/board/index.php?action=dlattach;attach=3312;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/XX.com/htdocs/board/Sources/EzPortal2.php
Line: 1926

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,740
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1743 on: January 16, 2018, 02:06:32 PM »
try
Code: [Select]
global $settings;
if (isset($settings['theme_id'] ))
if ($settings['theme_id'] == 10)
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 #1744 on: January 16, 2018, 08:20:22 PM »
So far so good!   It works, and no errors in the first 5 minutes, and there is currently 546 on line.  :)

Thank you!   I would imagine if I'm going to get errors, I'd see them by now. I'll update you later tonight. 
Thanks again!

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1745 on: January 17, 2018, 06:41:36 PM »
A day later and  no ezportal or smf4mobile errors!  Thank you

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 341
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: ezPortal
« Reply #1746 on: February 16, 2018, 10:40:45 AM »
Update!
3.5.2
!Fixes to the SMF Gallery Lite blocks for the category selection was 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 #1747 on: March 08, 2018, 02:40:28 PM »
Is it possible to add the visible action of notify to the list? I tired under add action and it doesn't work there. To clarify, I do not want any blocks to display when using a notify function.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,740
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1748 on: March 08, 2018, 02:44:47 PM »
Is it of the form action=notify
?
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 #1749 on: March 08, 2018, 02:52:01 PM »
I am using SMFpacks alert modification. When you choose to be notified of a topic, it takes you to a page where you can choose the notification.  The action is notify.  partial example: action=notify;sa=on;topic=32623.14025

None
Email and Alerts
Email
Alerts

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,740
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1750 on: March 08, 2018, 02:58:27 PM »
You can skip it with an edit in Sources/Ezportal2.php

Code: [Select]
// Actions that should not load EzPortal
if (isset($_REQUEST['action']))
{
if (in_array($_REQUEST['action'],array('.xml','dlattach','quotefast','findmember', 'helpadmin', 'printpage', 'spellcheck')))
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 #1751 on: March 08, 2018, 03:19:16 PM »
Excellent!  Thank you.

Offline Jeff B

  • Full Member
  • ***
  • Posts: 405
Re: ezPortal
« Reply #1752 on: March 08, 2018, 03:34:16 PM »
On a related note, how would you add the option to use blocks on action=recent ?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,740
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal
« Reply #1753 on: March 08, 2018, 03:47:36 PM »
It should be when adding the block under visibility option you have the option to add an action
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