Advertisement:

Author Topic: ezPortal  (Read 491151 times)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1300 on: November 28, 2011, 01:44:41 PM »
Your next step is to find the theme id of the mobile then do the following:

Open Sources/ezPortal2.php
Find
Code: [Select]
function SetupEzPortal()
{
global $sourcedir, $context, $maintenance, $user_info, $ezpSettings, $boarddir, $boardurl, $smcFunc, $settings;

After that add the following
Code: [Select]
global $id_theme;
if ($id_theme == ###)
 return;
REPLACE ### in the above code with your theme's id
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: 419
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1301 on: November 28, 2011, 02:21:47 PM »
Well, I'm not sure I am getting the right info for the theme I.D.   First I tried going into admin and looking at the link to the theme, and it showed in part, action=admin;area=theme;th=5   So I figured the Theme I.D. was 5.  That didn't do anything, so I tried the name of the directory the theme is in, SMF4Mobile   and that did not work either.  Still see the ezblocks with either.   

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1302 on: November 28, 2011, 02:31:06 PM »
It would be 5

If not try this code instead
Code: [Select]
global $settings;
if ($settings['theme_id'] == ###)
 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: 419
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1303 on: November 28, 2011, 02:40:50 PM »
Excellent! That worked.

Now maybe an impossibility for the present. What if I did want to use a block on that theme, once created to use for only there. Is there a way to do that? or is this most likely an all or nothing type of deal.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1304 on: November 28, 2011, 02:42:22 PM »
At the moment would require more hardcoding but would would be a good feature request.
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: 419
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1305 on: November 28, 2011, 02:45:22 PM »
Where can I make the request.  ;D

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1306 on: November 28, 2011, 03:02:54 PM »
ezPortal site http://www.ezportal.com I generally try to look at the feature requests board when I make an update.
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 Adrek

  • Sophist Member
  • *****
  • Posts: 1,081
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1307 on: November 29, 2011, 10:26:12 AM »
vb, you have duplicated few strings in language file, for now i noticed only
$txt['ezp_shoutbox_refreshseconds']
$txt['ezp_shoutbox_showsmilies']
$txt['ezp_shoutbox_showbbc']

maybe there's more, if i find other I'll send it here

//
I made polish translation, but I can't find where translate block options, for example:
Board News ezBlock - where translate
Select Board for News
Number of News items to Show
etc.. ?
« Last Edit: November 29, 2011, 12:32:22 PM by phantomm »
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1308 on: November 29, 2011, 12:52:29 PM »
The block options can not yet be translated.
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 MrNicotine

  • Jr. Member
  • **
  • Posts: 100
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1309 on: December 11, 2011, 03:10:50 PM »
Hi, I am a new user of ezportal for a few weeks now. So far it's great, thanks for this mod.
One question though.
I noticed a few days ago that the folder "EZportal"wasn't transferred when I installed.
All the time it worked fine without it, so nothing serious there, just missing some images and the advanced Blockeditor.
Before I used another portal mod, so I just copied the HTML and it worked fine.

This evening I finally copied the folder to my root, and now I do have a question.
I'm using a moving imagelist on my forum which are linked to specific pages. You like the image, click it and it takes you to the topic.
It uses this line: <marquee width="100%" onmouseout="this.start()" onmouseover="this.stop()">

As I now understand this is Java (?). I've had this in a HTML block for quite some times now without any problems.
But with the folder in the root, it removes the "marquee" line and turns it into simple "<p>.
So is there a Blockform to choose that can deal with this? I don't see any blockform that I should use.

For now I've removed the folder and it works fine again, but it would be nice if I can put it back.

So this is a long story for a short question :D Which block do I need to use for this script?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1310 on: December 11, 2011, 03:12:32 PM »
I would use the html block and disable tinymce when adding the block or jump to html mode in the editor for the code to be entered correctly.
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 MrNicotine

  • Jr. Member
  • **
  • Posts: 100
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1311 on: December 11, 2011, 03:39:49 PM »
Jumping to HTML didn't work, I've tried that. I enter it correctly and as soon as I hit "save" it's wrong again.
I now have re-uploaded the folder and disabled TinyMCE.
It worked, now I have all images + a working block. Thanks ;)

Is it correct that I don't have the webpage-editor anymore? Is that because of the disabled MCE?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1312 on: December 11, 2011, 04:15:55 PM »
The webpage editor needs tinymce if you wish to use the wywsig editor otherwise you can just enter html code in the textbox
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 MrNicotine

  • Jr. Member
  • **
  • Posts: 100
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1313 on: December 11, 2011, 04:40:33 PM »
Ok, great. I'm glad it works now.

Thanks for the support

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1314 on: December 11, 2011, 08:09:14 PM »
Glad to help
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 Tonyvic

  • Jr. Member
  • **
  • Posts: 206
  • Gender: Male
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1315 on: December 13, 2011, 09:07:02 AM »
Hi,
I have an XHTML validation problem with the Shoutbox block! With it enabled I get 21 errors, see here: http://validator.w3.org/check?uri=http%3a%2f%2fwww%2enaturist%2dcorner%2eco%2euk%2fcommunity%2findex%2ephp%3faction%3dforum
Disable it & there are none, I would be very grateful for some help.

In another thread Mashby very kindly pointed out a couple of Add-On's to help solve this, unfortunately my old brain does not understand how to use them. ::) :-[

Tony

Offline PocketChange

  • Semi-Newbie
  • *
  • Posts: 14
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1316 on: December 13, 2011, 11:12:33 AM »
First I want to say that I love ezPortal!  Great work!  Sorry if this was answered somewhere in the 66 pages of this thread, but couldn't find it!

I'm using the Shout ezBlock on my v2.0.1 SMF, and from what I can see, the ability to Delete Shouts can only be done by Admins!

I would like to have my Global MODs be able to do this also!  Is this currently possible?  If not, can someone please direct me to the file(s)/code that I need to modify, to allow my GMs to see the "X" to delete a shout?

Thanks in advance!  :)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1317 on: December 13, 2011, 02:06:34 PM »
In sources/EzPortal2.php
Find
EzPortalRemoveShout()


Sources/Subs-EzPortalMain2.ph
And this
function EzBlockShoutBoxBlock
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 PocketChange

  • Semi-Newbie
  • *
  • Posts: 14
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1318 on: December 13, 2011, 03:02:20 PM »
In sources/EzPortal2.php
Find
EzPortalRemoveShout()


Sources/Subs-EzPortalMain2.ph
And this
function EzBlockShoutBoxBlock

Thanks vbgamer!

Found isAllowedTo('admin_forum'); in Sources/EzPortal2.php, and assume this sets permission for the admin!

I also assume that I need to add a line to assign permission to the Global Moderator as well.  I tried isAllowedTo('global_moderator_forum') and isAllowedTo('moderator_forum'), but neither worked!  Also added to Subs-EzPortalMain2.php, but No Joy!  :(

How is this coded to assign to the Global Moderator?

Thanks again....

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,733
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
« Reply #1319 on: December 13, 2011, 03:16:35 PM »
Try moderate_forum
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