Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on November 02, 2008, 10:10:03 AM

Title: ezPortal
Post by: SMFHacks.com Team on November 02, 2008, 10:10:03 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=1461)



ezPortal

By vbgamer45 (http://custom.simplemachines.org/mods/index.php?action=profile;u=24876)


Compatibility
Works with SMF 2.1.x and SMF 2.0.x and SMF 1.1.x

Description
EzPortal is a complete Portal and Webpage system for SMF.
EzPortal allows you to create your own Homepage,webpages and also allows you to create ezBlocks that shown in any location you choose on your forum.


EzBlocks can contain anything either html or php code. They can be turned on or off, custom title's, membergroup permissions, visible options (by action,or forum board and even custom actions can be added), and can be collapsed or not by default.

Custom ezBlocks can also be created a sample ezBlock is include in the ezportal/blocks folder of your install. This allows you to create your own creations and share them with other's easily. ezBlocks support unlimited number of parameters for PHP based blocks.
EzPortal has a built in webpage editor which allows you to create extra page's for your SMF site which retain the same look and feel of your forum.

Latest Updates!
5.5.2
!Fixed possible undefined errors in SMF 2.1.x with attach tags in recent post/topics ezblocks

5.5.1
!Fixed undefined error with Birthdays block SMF 2.1.x
!Fix small option for Calendar block for SMF 2.1.x

5.5
+Added BBC pages now as option in addition to normal pages
+Added random type to downloads block
!Fixed missing meta tags option for SMF 2.1 for pages

5.4.2
!Fixes links in parsebbc block in SMF 2.1

5.4.1
!Fixes for Poll block For SMF 2.1
!Fixes for Calendar block for SMF 2.1

5.4
Note: focusing on SMF 2.0,2.1 going forward
+Poll ezBlock now has the option to show a random poll, in addition to showing just a specific poll.
+Added file exist check for Arcade block to make sure it is installed. before showing the block
!Fixed bug with visible action calendar had a typo should work correctly now.

5.3
+New sticky column setting. You can now make a column sticky for SMF 2.1.x and SMF 2.0.x
To do this go to ezBlock Manager then click on the "Edit Column" link next to the column name to change the setting.
A sticky column means it will stay at the top of the page even if you scroll down on a page with a lot of content.
Useful to keep a sidebar always visible and easy to access.
!Fixed unclosed classname SMF 2.0.x on block display
!Fixed admin area column collapsed checked html

5.2
!Fixes to responsive layout for blocks for SMF 2.0
!Minor optimizations

5.1.4
+Enable/disable block now added on Add/Edi ezBlock For SMF 2.0,2.1
!Fixed enable/disable TinyMCE on Add/Edit Page  SMF 2.1
!Improve the width on the add/edit page and add/edit block on SMF 2.1
+New icon in the admin center menus for SMF 2.1

5.1.3
!Fixed undefined wireless error on 2.1
!Added more actions/subactions to the not load SetupezPortal function

5.1.2
!Add random parameter for SMF Store ezBlock
!Add extra new line for .htaccess append

5.1.1
!Fixed edit block custom css class name display for SMF 2.1
+Updated copyright links to link to https://

5.1
+You can now override the css class used for the header and body of ezblocks.
Changes the h3 and tr tags.
The h3 tag you could catbg centertext which allow you to center the title block

5.0.2
!Removed || changed to OR in SQL statements for MariaDB for SMF Gallery and Downloads ezBlocks.

5.0.1
!Fixed cache issue for columns from 5.0c for 2.0 and 2.1x

5.0c
!Fixed a couple more possible error log conditions when testing with full errors displayed.

5.0a/b
!Admins can now see blocks in Maintenance Mode
!Fix error for php 7.4 on printpage for ezportal menu

5.0
+Added support for these variables on html blocks, and custom pages: {$member.name} {$member.id} {$member.email} {$member.link} SMF 2.0.x SMF 2.1.x
+Added support for Simple Audio Video Embeder on custom page display
!Fixes for center ezblock for both the responsive mode and normal
!More fixes for PHP 7.4 and php 8.0
!Fix news ezblock to display quicker with caching enabled when a new post is made.
!Fix responsive mode bug on ezblock manager pages.
!Fix error array log for parameters on add/edit ezblock for boardnews ezblock
!Fix error log for bbc box SMF 2.1.x
!Hide center ezblock when editing blocks to make it easier to edit them instead of scrolling down.

4.5.12
!More fixes for blocks with PHP 7.4 deprecated errors

4.5.11
!Fixes for PHP 7.4 errors for null

4.5.10
!For SMF 2.1 fixed not showing the board index if you have ezPortal disabled on mobile devices
!Fixed undefined url in linktree on SMF 2.1

4.5.9
!Make sure there is a language string loaded for spam protection on shoutbox

4.5.8
!Fixed a bug with TinyMCE editor when editing blocks would strip out the base url of your main site. Which could break images when navigating to subdirectories when using mods such as prettyurls.

4.5.7
!Fixed new indicator for recent posts and recent topics block for SMF 2.0 to cache per user instead of global cached.

4.5.6
!Fixes for SMF 2.0.x and mobile detection.

4.5.5
!Fix error log for PHP 7.2/7.3 for mobile detection

4.5.4
!Disable SAVE auto embed in shoutbox

4.5.3a
!Fixed link tree in SMF 2.1 RC2

4.5.3
!Fixed SMF 2.1.x registration link to use new action=signup

4.5.2
!Fixed center column display SMF 2.1.x if using visibility options

4.5.1
!Fixed center display if center block disabled for SMF 2.1.x
!Fixes using column width/percent SMF 2.1.x thanks to Antes

4.5
+Responsive added to SMF 2.1 thanks to Antes it is default setting now
+Added page icon setting for SMF 2.1.x for extra pages
!Fixed twitter tweets embed code and restored the block in the install script
!Fixed homepage title for SMF 2.1.x
!Fixed undefined errors if not parameters set for ezBlock for PHP 7.1.x
+RSS Feed Block can now handle SSL feeds better
+SMF Gallery Block now has more options to customize
!Fixed Group By errors on strict mysql for SMF 2.1.x and SMF 2.0.x
!Fixed Smiles on Shoutbox form setting for SMF 2.1.x
!Fixed broken menu ezBlock due to cache SMF 2.0.x
!Fixed vertical menu ezBlock for SMF 1.1.x
!Solved issue with ezBlock parameter data sometimes getting messed due to cache SMF 2.0.x

4.1.1
+More changes/improvements for SMF 2.1.x

4.1
+For SMF 2.0 better caching of data for the following ezBlocks: Stats ezBlocks, Whos Online, Recent Posts, and Recent Topics


4.0.1
!Fixed visibility clearing cache issue. Which caused visibility option changes to take time to appear
!Removed old file cache functions which are not used.

4.0
+New setting for pages. Added option for SEO page urls as long as your host supports mod_rewrite

3.5.2
!Fixes to the SMF Gallery Lite blocks for the category selection was not working correctly.

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

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

3.2
+Added option on pages to enter meta tag in html.

3.1.3
!Fixed a bug for SMF 2.1 Beta 2/3 showing a template error if the portal homepage feature was disabled.

3.1.1
!Fixed bug in SMF 2.0.x responsive mode was loading the ezportal.css too early before some checks
+Added option to SMF Arcade ezblock to show the number of top scores

3.1
+ezPortal is now responsive For SMF 2.0.x. Works best if you have the responsive curve mod found here https://custom.simplemachines.org/mods/index.php?mod=4040 Thanks to Antes for the hard that went into doing this major update.
To use the responsive mode under ezportal settings check the responsive mode option
+Added new option on a block to hide on mobile devices
+Added support content encoded in the RSS feed block for atom based feeds
+ezPortal modules are now updated better in synce with latest versions on smfhacks.com
!Fixed bug if disabled ezportal for mobile not showing boardindex on mobile device - You need to uninstall ezportal and then reinstall to get this fix.

3.0.3b
+Some updates to work better with SMF 2.1 Beta 2

3.0.3
+Two new settings for the RSS Feed block. Encoding type and the order in which feed items are displayed
!Fixed RSS feed block bug when only showing one feed item

3.0.2
!Fixed undefined login_token for SMF 2.0 was meant for SMF 2.1 beta only

3.0
+Now supporting SMF 2.1 Beta 1 with hooks instead of file edits for most places.
!Fixed html issue on page add in page editor.
!Fixed bug not removing Subs-EzPortalRSS(2).php file on uninstall

2.7
!Better handling of RSS feed block if the rss feed goes down
!Fixed undefined showPrevNext for SMF 2.0 calendar block
2.6
!Fixed bug with blocks not being upgraded!
!Fixed bug with news ezblock not showing anything in certain situations

2.5
+Added Calendar Block for SMF 2.0
+Added option to delete all shoutbox entries when viewing the shoutbox history
+Added option to disable blocks when using ezPortal admin area

2.1
+Improved layout of shoutbox and RSS feed display thanks to Maxx
+Updated menu display block thanks to Maxx
!Increased max execution time for getting RSS feed information
!Fixed two missing images on some themes for SMF 2.0.x for the shoutbox  thanks to Maxx

2.0
+Board News ezBlock the title now links to the topic
+Updated TinyMCE to 3.5.10
+Added support for translating blocks and parameters
Examples:
$txt['Recent Topics ezBlock']['title'] = 'Test Random Title';
$txt['Recent Topics ezBlock']['param']['numTopics'] = 'Number of topics yah!!!';

!Fixed bug in ezPortal RSS block not showing the latest RSS feed item.
!Fixed error undefined cache error with column state in SMF 2.0
!Fixed possible undefined error when editing an ezblock if it has no parameters
!Fixed handling parameters if zero is passed as a required field.
!Twitter block removed due to Twitter api changes

1.2.1
!Fixing undefined caching error when editing an ezBlock

1.2
+Added easy to use copyright removal purchase system to allow forums to have a clean look.
!Fixed undefined errors for when adding a block if there are no parameters for that block
+Added random listing/auction block for SMF Classifieds ezBlock
+Listing date in SMF Classifieds ezBlock uses the datetime format in the classifieds settings

1.1
+Better caching of main ezPortal loading functions for block parameters, column and block collapse states, and ezPortal pages. Should be huge performance gains for sites with caching enabled.

1.0
!Fixed sharing link in the news block for Facebook and Google+
+Updated TinyMCE webpage editor/html block editor to 3.5.8
+Style updates to admin area for SMF 2.0
+Module updates new updated downloads

0.6.7
!Fixed undefined errors when adding or deleting a shoutbox message

0.6.6a
!Fix possible escape bug with add/edit block issue for SMF 2.0

0.6.6
+Random SMF Gallery Block and SMF Gallery Block now support SMF Gallery Pro category level permissions and private user gallery permissions.

0.6.5
!Fixed some formatting of some the column combinations

0.6.4
!Fixed default install for ezPortal with blocks

0.6.3
+Added Show Google+ Button option to board news ezblock
!Fixed missing div tag in the stats ezBlock
!Fixed bug with center column area
0.6.2
+Added setting to exclude boards for the Recent Posts and Recent Topics ezBlocks

0.6.1
!Fixed missing css reference for SMF 2.0 in the shoutbox
!Fixed caching bug with multiple ezboard news blocks in SMF 1.1.x
!Removed fixed layout style from the tables from SMF 1.1.x
+Added caching to boardnews block post ids for SMF 2.0.x

0.6.0
+Added hide tinymce option when adding/editing pages
!Took out warning for ezcache folder not used
+Now for new copies for ezPortal setups default blocks and enables portal homepage

0.5.2
!Fixed SMF Gallery Random ezBlock not using number of images per row settings

0.5.1
+Added ezBlock layout setting to hide the title bar of an ezBlock
!Do not load ezPortal if in maintenance mode
+Added edit icon near Edit Column Link to make it standout a little better on the ezBlocks page

0.5.0
!Fixed xhtml validation with valign="middle" fix
!Fixed layout issue with code tags in SMF 1.1.x thanks to Sinan for fix

0.4.9
!Fixed bug in which html/javascript content is displayed in html ezBlocks and webpages. Should work better now for codes that used quotes

0.4.8
+Added Twitter tweets ezBlock
+Added Facebook Comments ezBlock
+Added Like Button for Board News ezBlock
!Fix possible ezBlock update issue

0.4.7
!Fixed the rounded corners for SMF 2.0 RC5 big thanks to MrGrumpy for the fix!

0.4.6
+Added RC5 support
!Fixed bug with undecided smile in shoutbox
!Fixed with feed block grabs oldest feed items first then goes to newest

0.4.5
!Bug fix for Social Login Pro for login block for SMF 2.0 not passing to correct file
!Fixed missing text string for gallery views for SMF gallery ezBlock
+Added support for remotefilename for SMF Classifieds ezBlock and added alt tags to classifieds images.
+Added membergroup color to the poster name for the board ezBlock
!Fixed poll block image for SMF 2.0 to support left to right and right to left languages

0.4.4
!Fixed some possible layout issues depending on how columns are setup
!Moved where the collapsing of columns code is on the page to make it xhtml compliant.


0.4.3
+Added support for SMF 2.0 RC4
!Fixed bug with board news block not allowing more than one board to be selected.
+RSS Feed Block now supports ATOM based feeds

0.4.2
!Fixed two bugs with Rss Feed ezBlock in the fsockopen fetch the query string and processing the headers
!Fixed a couple bugs with column layout. If you had just the right and left block enabled but not the center block could cause the layout to appear stretched

0.4.1
!Forum button appears instantly now with SMF 2.0 if you had caching enabled when enabling/disabling the portal
+Added support for Social Login Pro in the login ezBlock
+Added for html ezBlocks a quick link to toggle TinyMce on or off in case you didn't see the html toolbar icon
!Fixed no index issue for action=forum for SMF 2.0 requires full uninstall and reinstall
!Fixed RSS Feed ezBlock not showing feed after first view

0.4.0
!Fixed bug with visible settings all visible option not staying checked
!Fixed issue with MySQL 5.5 since it no longer supports the Type for create tables uses Engine instead
!Fixed a couple of bugs with the RSS feed ezBlock should work better
+Added category level permissions check for SMF Classifieds ezBlocks
!Fixed extra </div> that was added in the stats ezBlock that causes a huge gap

0.3.9
+Updated curve style of ezBlocks for SMF 2.0
+Added caching support to the shoutbox
+Added setting to disable TinyMCE for html ezblocks
!Fixed bug with board index visibility setting

0.3.8
!Fixed bug with Recent Topics/Recent Posts ezBlock which could cause some posts/topics not to appear
+Added caching for each ezBlock query under each column which will save one query per column enabled if you have caching enabled in SMF.
+Added html editor to adding/editing the html ezblock
+Added caching for the ThemeSelect ezBlock  if you have caching enabled in SMF.
+Added caching for the menu ezBlock if you have caching enabled in SMF.

0.3.7
+Added SMF 2.0 RC3 support
!Fixed possible issue with invalid images for the Store ezBlock
+Added caching for ezPortal Columns if you caching enabled
!Removed the gzip option for tinymce caused issues on some hosts

0.3.6
+Upgraded Tiny MCE to 3.2.7 used by the page editor
!Fixed a couple possible undefined errors with the shoutbox
+Added pages visible options support for ezBlocks
+Added most downloads type to the downloads ezBlock
+Better ordering by rating for SMF Store and SMF Articles ezBlocks
+Added Top Boards ezBlock
+Added Top Topics ezBlock which can be formatted by either replies or views
+Added Today's Birthdays ezBlock

0.3.5
!Fixed bug when collapsing and expanding blocks it would take up too much space
+Updated look of login ezBlock. Added length, extra, and openid support for SMF 2.0
+Added Stats ezBlock
+Added Ad Seller Pro ezBlock

0.3.4
!Fixed a bug in the SMF Store ezBlock not working correctly
+Added thumbnails to Downloads Pro ezBlock
+Better sorting by top rated for downloads ezBlock
+Added check all function for membergroups on adding ezBlocks/pages

0.3.3
+Now supports SMF 2.0 RC2!
+Added Edit/Delete icons instead of text on edit/delete ezBlocks in the main forum layout
+Added column status indicator of Enabled or Disabled next to edit column
+Closer spacing on the installed ezBlock list
!Fixed possible undefined index for SMF Classifieds ezBlock
!Fixed bug in SMF 2.0 which could cause the module list to fail to load


0.3.2
!Fixed bug from 0.3.1 that messed up formating in Internet Explorer due to an unclosed td tag
+Added Top and Bottom Columns
!Fixed the hide says option for the shoutbox also added : spacer if you

disable it

0.3.1
+Added just board index visible option for ezBlocks
!Fixed link tree in SMF 2.0 thanks to Kinderd forgot to replace a couple more spots. Requires full uninstall then install of new version to take affect
!Added format options to the menu ezBlock for either horizontal or vertical
!Fixed bug if column is collapsed then disable collapsed column the column would not go back to uncollasped
!Fixes for undefined issues with RSS ezBlock
!Iframe was not working for shoutbox in Chrome,IE6 now detects those browsers and disables the iframe
+Added check for invalid actions when adding a new action and an example of what a custom action should be like
+Aligned the collapsing of ezBlocks all to the right of column title

0.3.0
+Redid shoutbox. Added autorefresh option, bbc codes, smiles option to the shoutbox
+Added option rss feedblock to open links in new window
+For coding ezblocks added option to specify order of the parameters listed on add/edit ezblock
+Added support for select values for coding custom ezblocks
+Collapsing of columns. Option under edit column whether column can be collapsed or not. For right and left columns
+Added checkbox parameter support for custom ezBlocks
!Fixed bug with guest ezblock collapse saving state
+Updated the example custom ezBlock file
!Fixed importing parameter type for custom ezBlocks
!Fixed default value importing for custom ezBlocks

0.2.9
+Added Menu ezBlock to allow custom menu items with permissions!
+Added RSS ezBlock. Set number of items to display, toggle body, and settings to control update time in minutes
+Added BBC Block with BBC editor
+Added to the Download EzBlock Most Downloaded option and added text on the ezBlock to show total downloads.
!Fixed bug in the PollBlock missing argument error
!Fixed link tree bug thanks SiNaN
!Upgrade now checks if menu icons already inserted so duplicate icon entries are not added.
!Fixed extra values that might be saved when editing an ezBlock

0.2.8
!Fixed xhtml validation error missing alt tags for icons for ezBlocks
!Fixed a couple missing language strings from english-utf8 file
+Added option to show member link color's for the Recent Posts and Topics ezBlocks
+Added Top Posters ezBlock - Configure number of posters to show, color, show user's avatar and layout options
+Added Recent Members ezBlock  - Configure number of members to show, color, show user's avatar and layout options
!Fixed a bug with select dropdown values for ezBlocks that have multiple select fields in the same ezBlock

0.2.7
!Fixed issued for SMF 2.0.x not showing the permission title for EzPortal under simple permissions
!Fixed shoutbox scrollbar issue.
+Now defines the action=forum in Who.english.php
+Added new feature to include a custom icon to display in the titlebar of an ezBlock

0.2.6
!Fixed issue in SMF 2.0.x with adding a shout showing a template error and a language error if spam protection is enabled.
+Added option in shoutbox to hide member name says
+Added option to hide delete option in the shoutbox for admin's
+Added option to the shoutbox to set the number of items shown per page in the shoutbox history
!Made the textarea on the shoutbox ezBlock expand to the full width of the ezBlock in cases of where the shoutbox is centered.
+Added option to hide the preview image on the theme select ezBlock
+Added option to the Board News EzBlock to control the number of characters shown on a news post.
!Fixed bug in random SMF Gallery Random Image ezBlock was not using the number of random images to show parameter

0.2.5
!Fixed one more bug in classifieds ezBlock
!Fixed Advanced Search link was hardcoded to ezportal.com
+Added option to member's ezBlock to format it horizontal or vertical
+Added option on EzPortal settings page to hide the edit/delete links on the layout of the ezBlocks
!Changed a couple things with the board news ezBlock should help fix some issues.
+Added multiboard select for the BoardNews ezBlock. Allows you to select unlimited number of boards for boardnews

0.2.4
!Fixed a couple xml validation issues with the theme select ezBlock
!Fixed bug in SMF Classifieds ezBlock for undefined function
!Fixed shoutbox ezBlock when making a shout to redirect to the page that you were on.
+Added option to shoutbox ezBlock to turn off the date/time of the shout. Under EzPortal Settings
+Added option to view the shoutbox history. Adds a link that allows everyone to access it. Under EzPortal Settings


Second Release of EzPortal now Supports SMF 2.0 as well as SMF 1.1.x

Adds many new ezBlocks!
Including Board News, ShoutBox, Recent Topics, Recent Posts, User infobox, Theme Select, User Online, Poll ezBlock, SMF Gallery ezBlock, SMF Arcade ezBlock, SMF Classifieds EzBlock, SMF Store EzBlock, SMF Links ezBlock, SMF Articles EzBlock, Recent Webpages and SMF Downloads ezBlock!

New module section to find new additions for your forum, new mods that work well with EzPortal!

Support Links
SMF Package Parser (http://sleepycode.com/PackageParser/)
Manual Installation Of Mods (https://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (https://www.simplemachines.org/community/index.php?topic=24110.0)
Title: Re: ezPortal
Post by: Marcus Forsberg on November 02, 2008, 10:13:06 AM
Wow, great mod!
This will probalby be one of the big portals, SimplePortal and TinyPortal. :)
Title: Re: ezPortal - Portal System for SMF
Post by: Nibogo on November 02, 2008, 05:35:15 PM
Another great mod , thanks vbgamer ;)
Title: Re: ezPortal - Portal System for SMF
Post by: genieuk on November 02, 2008, 07:25:53 PM
Wow! Very nice, i may change to yours, do you possibly have a demo?

Bookmarked to remember to check it out.

Thanks
Mathew
Title: Re: ezPortal - Portal System for SMF
Post by: vbgamer45 on November 02, 2008, 08:05:28 PM
Check out http://www.ezportal.com

I plan on getting converters and a lot of premade blocks in the next update.

And of course getting ready for SMF 2.0 support
Title: Re: ezPortal - Portal System for SMF
Post by: Antechinus on November 02, 2008, 09:10:37 PM
What's the advantage over Simple Portal or Tiny Portal? 
Title: Re: ezPortal - Portal System for SMF
Post by: vbgamer45 on November 02, 2008, 09:14:39 PM
EzBlocks are extremely customizable they can be created as xml files and shared with others. Supports unlimited parameters for PHP blocks. Built in webpage system. Works on any theme with out modifying the theme. Pretty much all the standard features for the other portals.

Modules coming soon to tie more components together.
Title: Re: ezPortal - Portal System for SMF
Post by: Bancherd on November 03, 2008, 12:17:13 AM
Sounds interesting, but I am all set for SMF1.1.x.

I really need a good and easy to use portal for SMF2.  :D
Title: Re: ezPortal - Portal System for SMF
Post by: Antechinus on November 03, 2008, 12:28:15 AM
I don't. I've already got one. :D
Title: Re: ezPortal - Portal System for SMF
Post by: Sabre™ on November 03, 2008, 04:44:24 AM
wOOt!! Looking good mate!!
Top job as always vbgamer

Keep it up!!

*set to notify
Title: Re: ezPortal - Portal System for SMF
Post by: [SiNaN] on November 03, 2008, 09:04:09 AM
Another great mod vbgamer45. The block system is amazing. Can't wait to see modules.
Title: Re: ezPortal - Portal System for SMF
Post by: vbgamer45 on November 03, 2008, 07:31:46 PM
Quote from: Bancherd on November 03, 2008, 12:17:13 AM
Sounds interesting, but I am all set for SMF1.1.x.

I really need a good and easy to use portal for SMF2.  :D
2.0 support is coming shortly after I add a few more things and waiting for feedback for the first release.
Title: Re: ezPortal - Portal System for SMF
Post by: chris71823 on November 04, 2008, 09:53:13 PM
I uploaded the zip into my forums but the tables do now show properly any suggestions?

www.eazyeffectz.com
Title: Re: ezPortal - Portal System for SMF
Post by: vbgamer45 on November 04, 2008, 09:59:38 PM
What columns do you have enabled? Such as left,right center?
Title: Re: ezPortal - Portal System for SMF
Post by: chris71823 on November 04, 2008, 10:01:18 PM
Right now only Center for the portal only and the right column for my donate button displayed on all pages.
Title: Re: ezPortal - Portal System for SMF
Post by: Apllicmz on November 04, 2008, 10:50:08 PM
Nice work
when have time update portuguese

<file name="$languagedir/Modifications.portuguese.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>



<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>


Title: Re: ezPortal - Portal System for SMF
Post by: vbgamer45 on November 04, 2008, 10:59:48 PM
Quote from: chris71823 on November 04, 2008, 10:01:18 PM
Right now only Center for the portal only and the right column for my donate button displayed on all pages.
With check it out.



Thanks! joomlamz for the translation created a package for it and posted it on the EzPortal site.
Title: Re: ezPortal - Portal System for SMF
Post by: [SiNaN] on November 05, 2008, 03:28:12 AM
Quote from: chris71823 on November 04, 2008, 09:53:13 PM
I uploaded the zip into my forums but the tables do now show properly any suggestions?

www.eazyeffectz.com

It's because total width is smaller than the width of the page. You may increase the width of the center column (Admin CP >> EzBlock Manager >> Center - Edit Column) and also align the main table to center like this:

../Themes/default/EzPortal.template.php

Find:

echo '<table>

Replace:

echo '<table style="margin: 0 auto;">
Title: Re: ezPortal - Portal System for SMF
Post by: ccbtimewiz on November 05, 2008, 12:28:46 PM
Impressive. Congrats on the release. :)
Title: Re: ezPortal - Portal System for SMF
Post by: Reverend Jeremiah on November 06, 2008, 01:57:41 PM
Nice work. It looks very simple to use.
Title: Re: ezPortal - Portal System for SMF
Post by: Dazza0101 on November 08, 2008, 12:05:04 AM
Hi,

I'm having a problem after installing this mod, I end up with a wide empty space on the right-hand side.

After uninstalling it returns back to normal.

Any help is greatly appreciated.
Title: Re: ezPortal - Portal System for SMF
Post by: vbgamer45 on November 08, 2008, 12:29:23 AM
Do you have a screenshot of how it looks?
Title: Re: ezPortal - Portal System for SMF
Post by: Dazza0101 on November 08, 2008, 01:29:29 AM
Hi vbgamer45, thank you for your reply,

The same problem appears in admin.

Title: Re: ezPortal - Portal System for SMF
Post by: vbgamer45 on November 08, 2008, 01:44:58 AM
What columns do you have enabled? And what ezblocks under what columns?
Title: Re: ezPortal - Portal System for SMF
Post by: Dazza0101 on November 08, 2008, 01:52:59 AM
I have nothing at all enabled, this problem appears immediately after it is installed.
Title: Re: ezPortal - Portal System for SMF
Post by: [SiNaN] on November 08, 2008, 04:30:41 AM
Quote from: Dazza0101 on November 08, 2008, 01:52:59 AM
I have nothing at all enabled, this problem appears immediately after it is installed.

By default, center column width is 600px and it is aligned to left. It is not a problem actually. But I'd expect center column to span all the area possible in the center.

Quote from: [SiNaN] on November 05, 2008, 03:28:12 AM
It's because total width is smaller than the width of the page. You may increase the width of the center column (Admin CP >> EzBlock Manager >> Center - Edit Column) and also align the main table to center like this:

../Themes/default/EzPortal.template.php

Find:

echo '<table>

Replace:

echo '<table style="margin: 0 auto;">
Title: Re: ezPortal - Portal System for SMF
Post by: Dazza0101 on November 08, 2008, 04:59:20 AM
Thank you [SiNaN] I appreciate your help, I will try what you have suggested and post back here the results.

Is this a problem with this mod, or maybe a conflict with other packages that I have installed?

I have installed quite a few and so far founder a minor problem only with one, that is it won't uninstall unless another mod is uninstall first.

Thank you,

Dazza0101.
Title: Re: ezPortal - Portal System for SMF
Post by: Dazza0101 on November 08, 2008, 06:28:26 AM
Thank you so much problem solved, I installed 10 mods I really didn't expect everything to go so smoothly.  8) 8)
Title: Re: ezPortal - Portal System for SMF
Post by: haito on November 08, 2008, 07:51:27 AM
i had installed it...
but i dont now,  where is teh panel for editing thr portal??
Title: Re: ezPortal - Portal System for SMF
Post by: vmgamer on November 29, 2008, 04:04:33 AM
Thanks
my forum has ezportal-ed,
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on November 30, 2008, 03:17:54 PM
New major release for EzPortal


Latest Updates!

Second Release of EzPortal now Supports SMF 2.0 as well as SMF 1.1.x

Adds many new ezBlocks!
Including Board News, ShoutBox, Recent Topics, Recent Posts, User infobox, Theme Select, User Online, Poll ezBlock, SMF Gallery ezBlock, SMF Arcade ezBlock, SMF Classifieds EzBlock, SMF Store EzBlock, SMF Links ezBlock, SMF Articles EzBlock, Recent Wepages and SMF Downloads ezBlock!

New module section to find new additions for your forum, new mods that work well with EzPortal!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: JOSHSKORN on November 30, 2008, 05:19:13 PM
I had considered learning how to program in PHP and learning the SMF system, only because I was displeased at the flexibility of what was out there and wanted to make my own portal system for SMF to be more gamer friendly, and to idiot-proof things, as well.  I couldn't tell you how much frustration I went through at times trying to add more and more modifications to my SMF software.

Anyhow, do you have plans in the future to add the following modules:
There's probably a whole slew of other modifications I'd like to see integrated but I can't think of any others right now.  You've done quite a few too, right?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on November 30, 2008, 11:56:50 PM
Yup you can create as many as you want. I have some other ezBlocks planned to get the ball rolling.
I have a custom system that allows you to create your own EzBlocks then import them into the system and share with others.
Basic format I have posted so far
http://www.ezportal.com/ezblock-coding-forums/ezblock-format-creating-custom-ezblocks/msg4/#new

Going to be expanding as I add more features.

Basically you can create custom ezBlocks with as many parameters as you want which can be edited using the ezBlock manager.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Bancherd on December 01, 2008, 03:35:28 AM
I have the 0.2 version installed on SMF2beta4 on a localhost(XP+xampp).

No problems with the installation, but in the portal setup, it warned me that the cache-folder was NOT writable.  ???   In spite of the warning, I went through and played around with blocks without any problems....so far.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 01, 2008, 08:19:57 AM
Cache folder is not really used yet. Later on I am going to be storing more information in the cache folder to make the portal faster for performance.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: rparlett on December 01, 2008, 10:31:27 AM
I use a dynamic width theme. It looks like ezPortal only supports fixed width themes at this point?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on December 01, 2008, 02:05:45 PM
Hey vbgamer45,

On my test site the first mod I installed was EZ Portal 0.1 . And now you have anew version out and my old version will not uninstall, do to other mods I have installed.
Think it was three or four files.What I would like to know is does the EZP Mod have a built-in up-grade whatever you call it, or am I going to have to try to do all this by hand?
Realy hope not, as i'm a blind SMF user.

     Thanks for any help you can provide
     Flip - KE4OBT
     The Blind Ham
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vivithemage on December 01, 2008, 04:21:03 PM
looks good so far!

but I am wondering : will I have the option to have my board/forums in a seperate directory?

like this ..

root/board

and within the board, is obviously, my SMF installation, and in root, would have my index and portal files? Is this possible?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sakura1998 on December 01, 2008, 05:33:37 PM
HELP!!!!!

This totally broke my forum!  (look at this http://www.besteikaiwa.com/forum/index.php)

It installed with no apparent errors - I got the admin screen and when I complete the step in the attached image, I totally broke my forum.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: DeviDarkL on December 01, 2008, 06:32:49 PM
Quote from: sakura1998 on December 01, 2008, 05:33:37 PM
HELP!!!!!

This totally broke my forum!  (look at this http://www.besteikaiwa.com/forum/index.php)

It installed with no apparent errors - I got the admin screen and when I complete the step in the attached image, I totally broke my forum.

Admin CP >> EzBlock Manager >> Center - Edit Column and put width 900 instead of 600. Should do the trick.

Now, It's my turn  :P:

How can I change the background of ezblocks? In the attachment 1 the block is gray. How can i change it to orange (like in attachment 2) [i thinks that is the titlebg by the way]
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 01, 2008, 08:31:44 PM
Quote from: vivithemage on December 01, 2008, 04:21:03 PM
looks good so far!

but I am wondering : will I have the option to have my board/forums in a seperate directory?

like this ..

root/board

and within the board, is obviously, my SMF installation, and in root, would have my index and portal files? Is this possible?
Not currently maybe in the future if I create a version that does not require SMF but intergrate's with various forum software.

Quote from: rparlett on December 01, 2008, 10:31:27 AM
I use a dynamic width theme. It looks like ezPortal only supports fixed width themes at this point?
Correct right now ezColumns are fixed width, percent based would make a good feature request/idea for next version
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 02, 2008, 04:00:09 AM
i just installed on local, smf beta 4.0 and this is what i get (see attached)

source code showing, and nothing was active.. i went to the error log and it showed the same thing..

didnt want to push things, so killed the tables in the db, and run a fresh upgraded pack of smf files..

is what im seeing normal for the beta? should i try it again or??

just wondering..  ;)

easyphp 2.0 if that helps and again i get the cache-folder was NOT writable, as you can see in the screen shot i took.. all files should be writeable when using a local environment.. btw.. do you have a viewing for the way your beta looks vbgamer?  :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 02, 2008, 08:22:30 AM
open up ezportal.template.php find <? change to <?php
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 02, 2008, 05:39:17 PM
thanks vbgamer.. i knew there was something off and at 4am, im not digging  :P

will give it a run for the money and see..

thanks!  ;)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sakura1998 on December 02, 2008, 06:39:23 PM
Thanks all - I'm fixed for this one (I got the guys who are building the sites for my schools to fix it for me :))

That was a pretty scary one, though...  (for a noob - I thought I'd done everything right and backed up the forum beforehand, but then I found that the backup/restore utility won't work right with my flavor of dbase - postgreSQL - either)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 02, 2008, 07:45:25 PM
same thing vbgamer..  :o

anything else you can think of??  :)

going to have to do the same thing i did for removal as well.. i cant get to the packages either and the folder isnt writeable still.. so guess i will wait a while, like tp.. no biggie, i need to get my other customers taken care of, so.. maybe later..  :'(
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 02, 2008, 09:20:37 PM
That should fix that issue if you edit the ezportal.template.php Posting an update tonight
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 02, 2008, 09:35:20 PM
Minor bug fix release
0.2.1
!Fixed bug with with template files using <? instead of <?php causing error in some installs
!Fixed bug with ratings text for some ezBlocks were there is no rating yet
!Fixed SMF Arcade ezBlock for SMF 2.0
!Fixed undefined error $forum_version for 1.1.x
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 02, 2008, 09:50:35 PM
that didnt fix it vbgamer..

i wish it had as i have a client that wants it on his site..

he is a big fan of yours.. ;)

Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 02, 2008, 09:58:01 PM
Can you try deleting those template files and see what happens.

Then if you get unable to load template
Then copy the new files from the zip file to the themes folder.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 03, 2008, 12:21:06 AM
will try in the am.. and let you know..  ;)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Dazza0101 on December 04, 2008, 05:50:42 AM
Hi vbgamer45,

Sorry but there seems to be a problem with your mod, if you see this thread it may be more helpful to understand the problems I am having http://www.simplemachines.org/community/index.php?topic=170813.new;topicseen#new

My site is here http://www.silicontronics.com

Thank you for any help, please let me know if there's anything I can do to assist, :D

Dazza0101. :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 04, 2008, 07:49:42 PM
Quote from: Dazza0101 on December 04, 2008, 05:50:42 AM
Hi vbgamer45,

Sorry but there seems to be a problem with your mod, if you see this thread it may be more helpful to understand the problems I am having http://www.simplemachines.org/community/index.php?topic=170813.new;topicseen#new

My site is here http://www.silicontronics.com

Thank you for any help, please let me know if there's anything I can do to assist, :D

Dazza0101. :)
Will work on a fix for it this weekend.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Dazza0101 on December 04, 2008, 09:34:44 PM
That's great I will patiently await a fix, :D I have found this mob to be the most useful to me. ;)

Oh I probably should have mentioned, I have the previous version installed on my live site, the same problem exists on my test site using the latest version, I am not sure if this is important to know or not.

I am unable to uninstall the old version to install the new, because I receive error messages when trying to uninstall, I don't mind keeping the old version installed it does all that I need.

Dazza0101. :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 04, 2008, 09:50:28 PM
QuoteCan you try deleting those template files and see what happens.

Then if you get unable to load template
Then copy the new files from the zip file to the themes folder.


tried that and same thing vbgamer.. will play with it..  ;)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 06, 2008, 01:45:29 PM
Update!

0.2.2
!Fixed bug with xml functions in the forum
!Fixed shoutbox expanding if someone inputs a long text such as a link
+Added Column Percent option for column width
+Added Tag Cloud ezBlock uses Tagging System for Topics
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 06, 2008, 02:02:51 PM
will try again vbgamer... once im finished with a few more clients..

thanks for working on this..  ;)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Dazza0101 on December 07, 2008, 08:23:29 PM
Do I have to uninstall the old version first before installing the new?, as I cannot uninstall the old version without receiving error messages.

Thank you for any help,

Dazza0101.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 07, 2008, 08:24:00 PM
Nope you can just install the latest version it contains built in upgrade
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Bulakbol on December 13, 2008, 04:26:21 PM
I was making my SuperAdmin (http://custom.simplemachines.org/mods/area51/index.php?mod=1306) mod to support SimplePortal (http://custom.simplemachines.org/mods/index.php?mod=1104) and ezPortal (http://ezportal) (this mod) and found an extra dollar sign attached to one of ezPortal's variables. It will log an error if a member choose to be invisible online. Subs-ezPortalMain.php (line 894) and Subs-ezPortalMain2.php (line 895).
$$totalHiddenMembers++;
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 13, 2008, 05:06:31 PM
Thanks for finding that issue! Have it fixed for the next update.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on December 16, 2008, 12:36:44 PM

Hey VBGamer,

I tryed to make a custom block and realy messed up my site, in fact i locked up my site.
what i need to know is there a way to go to the database and drop that patickuler block. the block in question is a custom php block in the center collum in fact it's the only block in the center, so i need to know where to go to edit the db.
thanks for any help, as a blind user i can use all the help i can get.

flip

ps. what's bad is that i'm the only one who sees the erar as the block is visable to me only as admin.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 16, 2008, 01:10:37 PM
Open up the database and check  and look in the ezp_block_layout  should be the very last entry in that table.

What type of error did you make was it a php syntax error? Or something else?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on December 16, 2008, 01:30:21 PM
Hey VBGamer,

This is the error that i'm getting :
Fatal error: require_once() [function.require]: Failed opening required 'home/content/m/i/c/mickeymaam/html/ke4obt/SSI.php"' (include_path='.:/usr/local/php5/lib/php') in /home/content/m/i/c/mickeymaam/html/ke4obt/Sources/Load.php(1796) : eval()'d code(1060) : eval()'d code on line 1

and i'll get back with you on the mod that i was useing and maybe you can tell me what to do for the block.
wife is on the way in to help with the db.

flip 
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on December 16, 2008, 01:58:34 PM
Gamer,
to start with, this is Mickey, Flip's wife. He asked me to apologize for his spelling, but he has NEVER been good with spelling. :D
I deleted the last TWO entries into that table because they were both for ezblock php. The first one had the "require once" stuff, the second one was blank when it came to the blockdata. Now the site works just fine again. THANK YOU!!!
This is the mod Flip was working with: http://custom.simplemachines.org/mods/index.php?mod=654 (http://custom.simplemachines.org/mods/index.php?mod=654). He was wanting to make a block that works with this mod, but that didn't quite work the way he wanted it to. :(
We use several of your mods and right now, we're trying to figure out how to use the ezportal page thing. I haven't really looked at it, I work midnights and don't have much time during the day to work on the site. Flip has "read" over the info on it and doesn't understand exactly how to work with the pages. I say "read" because actually it's his screen reader that reads it for him. So, any hints or perhaps a text tutorial (something the screen reader can read) that could help would be wonderful!! The main thing is figuring out what each item in the tool bar is and does.
Thanks for your help,
Mickey
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on December 22, 2008, 12:01:29 PM
Hey, Gamer (or whoever can help me),
got a question - I'm working with a stand-alone weather program Ham Weather (http://www.hamweather.com), and would like to be able to have a block for it that would show the site's default weather settings for guest/unlogged users and logged users who have not set up a default weather yet. Alternatively, it would show the customized weather for the users who have customized their weather settings. I'm not sure how to pull this off, but if someone could please take a peek at the above site, that would be great. We haven't even figured out how to get a link to the site in yet.
Obviously (I hope), the block would be for EZ Portal, with SMF 2.0 b4. (if the smf version really makes a difference)  :)

As always, lots of thanks,
Flip
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Simplemind on December 23, 2008, 01:03:03 PM
Hello,
Last night I remove ezblocks it was ok but this morning i got this message ???
and just a blank page with that message on top Link:http://warlockshood.net/index.php (http://warlockshood.net/index.php)
Fatal error: require_once() [function.require]: Failed opening required '/home/warlocks/public_html/Sources/EzPortal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/warlocks/public_html/index.php on line 175



I use smf 1.1.7  package remove ezportal : Mod Name:
ezPortal
Created By:
vbgamer45
Type:
New Feature
First Created:
October 12, 2008, 10:27:49 PM
Last Modified:
December 06, 2008, 01:44:03 PM
Latest Version:
0.2.2
Compatible With:
1.1.6, 1.1.7, 2.0 Beta 4
HELP :
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Smoky "Rider" Blue on December 23, 2008, 01:09:05 PM
you removed the mod last night?

then i suggest you might have to go thru your files and do a remove manually..

to do that, open the package and read the xml file that has the edits in it..  ;)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 23, 2008, 08:29:41 PM
Download ezportal extract the zip. Copy EzPortal.php to your Sources folder to fix that issue
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on December 28, 2008, 05:12:51 AM
http://www.wewantsport.com/ is my website and i had ezportal on it but tried to remove it and now my website does not even show up.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on December 28, 2008, 12:58:17 PM
Nice work!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 28, 2008, 09:47:23 PM
Released an update!

0.2.3
+Default install now uses columns widths of 15% for left and right and center is 70%
!Fixed a couple issues with forum being small if no columns are present
+Added option to delete shoutbox entries for Admins on the forum
!Fixed expanding shoutbox for some browsers new fix
!Fixed a bug in SMF 2.0 version of the gallery blocks url.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Özgür on December 29, 2008, 07:40:45 PM
hey vbgamer! i used simple ssi portal. only my subdomain. i need some code for ezportal. i need recent downloads ezblock and recent articles ezblock php code.  can you help me ?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 29, 2008, 07:54:53 PM
Those ezBlocks are already built into ezPortal recent downloads and recent articles
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Özgür on December 29, 2008, 08:06:29 PM
i know this. but im not used ezportal. im used ssi portal (mine). i want use this two block code for my ssi portal.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 29, 2008, 08:14:03 PM
Please convert to ezPortal in order to use those blocks.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Özgür on December 29, 2008, 08:20:01 PM
Ok. =) but i have one question. can i use ezportal in subfolder or subdomain.

forum : site.com/forum
portal : site.com/portal or portal.site.com
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 29, 2008, 08:23:12 PM
Not yet but I planning on making a standalone version of ezportal soon!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Özgür on December 29, 2008, 08:28:39 PM
thanks for to spare the time. i wait this version.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Bob461 on December 30, 2008, 07:52:31 PM
Hello there,

I'm currently using ver 0.2.2 and would like to upgrade to 0.2.3.  How do I upgrade the mod?  I still very new to this and don't want to crash my site.

Thanks,
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 30, 2008, 08:16:58 PM
To upgrade just upload the new version and install it has built in upgrade feature.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Bob461 on December 30, 2008, 08:59:17 PM
Ok, thanks...
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on December 30, 2008, 09:16:56 PM
I just installed this mod and don't really have a clue what to do.
Are there any tutorials for using this mod?
And if I enable portal Homepage, how do customize that page? Can you add your own background to it? If so, how?
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 30, 2008, 09:21:25 PM
Don't have any guides yet.

Main settings are setup via the settings page To enable the portal homepage.

To create layouts for the main home page you would do so under Admin -> EzPortal -> ezBlock Manager

The ezBlock Manager controls the creation of ezBlocks which you can use to form your layout for your forum. Wether you want a one, two or three column site page.

EzBlocks have many different functions and we have premade blocks that you can load into your forum.

The main settings for ezBlocks is the visible settings and permissions since that decides what page on your site the ezBlock appears and who can see it.

Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on December 30, 2008, 09:43:48 PM
I'll have to play around with it and see what I can figure out.
At this point, I'm not sure what to ask since I'm not really sure what all this means but when I figure something out, I may be back.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 30, 2008, 09:45:57 PM
I will try get some guides that explain more of EzPortal and include some screenshots as well for each step.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on December 30, 2008, 10:00:32 PM
Oh thanks. That would be great.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on December 31, 2008, 09:18:40 AM
Just thought I'd tell you that I'm starting to figure some things out.
Now that I've played around with it a little it's starting to make sense but I do have one question.
What exactly is the shout box?
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on December 31, 2008, 09:40:26 AM
A shoutbox is a ezBlock like a mini chatroom instead of creating a form post. It is meant for a quick chat for short sentences and only shows the recent chats.

Meant for example if you see someone online you can make a quick chat in the shoutbox and hope they would see instead of creating a forum post to say or whats up.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on December 31, 2008, 10:47:37 AM
Ok. thanks.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: bkilla on January 02, 2009, 02:57:31 PM
Hello i'm using the updated version of ezportal i like the new layout which makes my forums fullscreen again but how can i change the size of the blocks the right side is a little bigger than the left side shotgunmafia.com/sgmforums thnx :D
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: bkilla on January 02, 2009, 03:00:39 PM
One more ? also in the blocks i have a game server which uses a delyed tv in it is there a way to post the tv through the block connecting only through an ip example 72.249.10.198:27020
   
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 02, 2009, 03:54:40 PM
Quote from: bkilla on January 02, 2009, 02:57:31 PM
Hello i'm using the updated version of ezportal i like the new layout which makes my forums fullscreen again but how can i change the size of the blocks the right side is a little bigger than the left side shotgunmafia.com/sgmforums thnx :D
To do this go to the ezBlock Manager then click on the edit column link that controls the width of each column. YOu can either do a percent or a pixel width. If you do percent make sure all the other columns are set to percent as well.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 02, 2009, 05:18:21 PM
I have two questions.
First of all, if I add HTML ezblock to the left side, can I customize it by adding buttons and links to the message boards or links to all the tabs that show on a default layout? I'm not sure what I'm suppose to call this area so I hope you know what links I'm talking about.
At this site, it starts with Home, Help, Search, Profile.....
Second, if I add the ezblock recently posted messages and some of the messages are from a board that's only viewable by administrator or global monitors, will anyone be able to see these messages if they're listed on the ezportal Homepage?
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 02, 2009, 05:24:42 PM
Yes with an html ezBlock you can any html/javascript code you wish.

The recent posted messages ezBlock respects access permissions set on each board. You can verify by either creating a test user account or logging out and use a guest account.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 02, 2009, 05:41:30 PM
Ok. thanks. BTW, I love this mod and now that I've played around with it, I realize someone who said it was easy to figure out was right.
It just all looked like Greek when I first opened it.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 03, 2009, 12:45:13 AM
Quote from: sheryltoo on January 02, 2009, 05:41:30 PM
Ok. thanks. BTW, I love this mod and now that I've played around with it, I realize someone who said it was easy to figure out was right.
It just all looked like Greek when I first opened it.
Sheryl
Thanks,
I have some cool updates planned to make even easier to use ezBlocks and organize the homepage and columns.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 03, 2009, 03:06:14 PM
I can't wait to see these updates.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: scsmilin on January 04, 2009, 03:06:04 PM
Hello! and thank YOU! for a wonderful mod!! I know it has to be something very simple but I just don't know where exactly to look.... I have put the shout box in my left column. But by default the text box to enter your shout is below the shouts..... I really want that at the top... how can I do that ?  again, thank YOU!!!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 04, 2009, 03:09:06 PM
Currently it would require an edit to the fix. Check out Subs-EzPortalMain.php
Search for the shoutbox and you can just move that code to the start of the form.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: scsmilin on January 04, 2009, 03:14:36 PM
ok thank YOU! Also is there a way to view 'archived' or the shout history? again, thank YOU!!!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 04, 2009, 03:16:42 PM
Quote from: scsmilin on January 04, 2009, 03:14:36 PM
ok thank YOU! Also is there a way to view 'archived' or the shout history? again, thank YOU!!!
That is something I want to add. Good idea. Easy to do since all shouts are saved.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: scsmilin on January 04, 2009, 03:22:39 PM
cool i will watch for that addition! and I'm sorry for being a ninny but I'm not sure where to find Subs-EzPortalMain.php ?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: scsmilin on January 04, 2009, 03:42:06 PM
ok I found it in my boards Sources folder and again thank YOU!!! very much!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 04, 2009, 03:45:22 PM
Can you use css style in the html ezblock?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 04, 2009, 03:53:49 PM
yes you can
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 04, 2009, 04:12:58 PM
Thanks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: scsmilin on January 04, 2009, 04:58:48 PM
Also as a feature to the shout box, it would be nice if you could easily ban peeps as well- usually loud mouth guests aka spammers and such.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: scsmilin on January 04, 2009, 09:51:35 PM
OK I have a weird problem with the shout box. When I go to the 'forum' area and use the shout, clicking add shout returns me EVERY TIME back to the Home page. How do I make it 'stay still?' and thank YOU! again!!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 04, 2009, 10:20:42 PM
Quote from: scsmilin on January 04, 2009, 09:51:35 PM
OK I have a weird problem with the shout box. When I go to the 'forum' area and use the shout, clicking add shout returns me EVERY TIME back to the Home page. How do I make it 'stay still?' and thank YOU! again!!
Fixed for next update. Will try to get that out tomorrow night.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 05, 2009, 08:10:52 PM
New Update!

0.2.4
!Fixed a couple xml validation issues with the theme select ezBlock
!Fixed bug in SMF Classifieds ezBlock for undefined function
!Fixed shoutbox ezBlock when making a shout to redirect to the page that you were on.
+Added option to shoutbox ezBlock to turn off the date/time of the shout. Under EzPortal Settings
+Added option to view the shoutbox history. Adds a link that allows everyone to access it. Under EzPortal Settings
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: RoarinRow on January 06, 2009, 01:20:13 AM
Works great on my test SMF 2.0 forum.  The only thing I had to do was re-download the 'blocks', 'ezcache', and 'tiny_mce' folder and it's contents.  Somehow it didn't copy over during the install.  Otherwise, it looks good!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 06, 2009, 09:19:32 AM
This might seem like a stupid question but where do I put <style type="text/css"> , </style> and  my style rules?
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 06, 2009, 08:23:28 PM
I would place them in an html ezBlock. Unless it is a global style then i would place  the css portion in the themes/themename/style.css file

Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 06, 2009, 08:47:58 PM
Sorry, I should have been more clear with my question.
I was planning on putting the codes in the html ezblock but I wasn't sure if they <style> </style> tags went at the very top along with the rules.
I know I don't set this page up like a normal html page with <html> <title> <head> and I learned the <style> tags went between the head tags but since I don't include those tags, I wasn't sure where the style tags should go.
This is probably not much clearer, lol, but hopefully you understand what I'm trying to ask.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 06, 2009, 08:55:21 PM
They would go at the top of the ezBlock before all your html code. This works since the style is loaded before any of your html code that you have below.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 06, 2009, 09:11:02 PM
ok. thanks.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 06, 2009, 11:24:45 PM
STYLE type="text/css">

p, td {FONT-family: "comic sans ms," arial, sans-serif; COLOR: #355d80 font-size: 14pt; font-weight: 100;}
h1 {font-family: "comic sans ms", arial, sans-serif; color: #355d80; strong;}


</style>


<body background="http
[/size]


I tried to add this to the top of the page but the page didn't read my css rules.
Did I do something wrong?
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mikeric on January 07, 2009, 11:02:51 PM
I just added this tonight and got it all set up no problem. The shoutbox is a very good start, other than taking a little to refresh. Just wanted to say this was easy and added a ton to my site. Thanks for the great mod.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 07, 2009, 11:40:10 PM
Quote from: sheryltoo on January 06, 2009, 11:24:45 PM
STYLE type="text/css">

p, td {FONT-family: "comic sans ms," arial, sans-serif; COLOR: #355d80 font-size: 14pt; font-weight: 100;}
h1 {font-family: "comic sans ms", arial, sans-serif; color: #355d80; strong;}


</style>


<body background="http
[/size]


I tried to add this to the top of the page but the page didn't read my css rules.
Did I do something wrong?
Sheryl

I think I see the issue. I think SMF overrides those global selectors like p,td h1 by default

What is the rest of your html code?


Quote from: Mikeric on January 07, 2009, 11:02:51 PM
I just added this tonight and got it all set up no problem. The shoutbox is a very good start, other than taking a little to refresh. Just wanted to say this was easy and added a ton to my site. Thanks for the great mod.
Thanks! Let me know if you have any feature requests or ideas and I can add them to the next release.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 07, 2009, 11:58:33 PM
Here are the codes for the entire page. Mind you, I'm not that experienced when it comes to using html or Css so some of my codes may be wrong.
And I thought I'd too say that having this mod has done a lot for my forum. I've had a lot of compliments on how nice the site looks.
I love making graphics and designing web pages. I just wish I understood coding better.

<STYLE type="text/css">

p, td {FONT-family: "comic sans ms," arial, sans-serif; COLOR: #355d80 font-size: 14pt; font-weight: 100;}
h1 {font-family: "comic sans ms", arial, sans-serif; color: #355d80; strong;}


</style>


<body background="http://img.photobucket.com/albums/v200/sheryltoo/backgrounds/smf02.jpg" link="#46312c" vlink="#171509" text="#355d80">

<table width="100%" align="center" background="http://img.photobucket.com/albums/v200/sheryltoo/backgrounds/blstrps02.jpg"
cellspacing="0" border="2" bordercolor="#355d80">



<tr>
<td align="center" height="175">
<br>
<br>
<img src="http://img.photobucket.com/albums/v200/sheryltoo/Headers/ejolerami1.jpg" width="480" height="160" border="0" alt="days banner">

</td>
</tr>
</table>

<table align="center" background="http://img.photobucket.com/albums/v200/sheryltoo/backgrounds/blstrps02.jpg"  cellpadding="20" cellspacing="0" width="100%"
border="2" bordercolor="#355d80">
<tr>
<td>
<TABLE borderColor=#355d80 cellSpacing=0 cellPadding=10 width="100%" background="http://img.photobucket.com/albums/v200/sheryltoo/backgrounds/smf03.jpg" border=1>
<tr>
<td>
<TABLE borderColor=#355d80 cellSpacing=0 cellPadding=10 width="100%" background="http://img.photobucket.com/albums/v200/sheryltoo/backgrounds/smf01.jpg" border=1>

<tr>
<td valign="top" width="25%" align="center">


<br />
<a href="http://daysofourlives.sherylspage.com/smf1/index.php?action=forum">
<img src="http://img.photobucket.com/albums/v200/sheryltoo/forum.jpg" width="96" height="44" alt="forum" border="0">
</a>

<br>
<a href="http://daysofourlives.sherylspage.com/smf1/index.php?topic=18.0">
<img src="http://img.photobucket.com/albums/v200/sheryltoo/rules.jpg" width="96" height="44" alt="rules" border="0"></a>



<br>
<a href="http://doolscreencaps.multiply.com">
<img src="http://img.photobucket.com/albums/v200/sheryltoo/screencaps.jpg" width="96" height="44" alt="screencaps" border="0"></a>

<br>
<br>
<br>


</td>
<td align="center">
<h1>
Welcome to
<br>Days of our Lives</h1>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P align=center><FONT face="comic sans ms" color=#495c86 size=4><STRONG>This is an extremely friendly group
<br>where you can talk about our favorite soap,
<br>Days of our Lives.
<br>
<br>After joining, please
<a href="http://daysofourlives.sherylspage.com/smf1/index.php?action=forum">Enter</a>
<br>
the forum to join in our conversations.
<br>
<br>
&nbsp;
&nbsp;
&nbsp;
&nbsp;

I am just a fan of Days of our Lives and&nbsp; not affiliated with the show<BR>&nbsp;or NBC.
<br>
No copyright infringement is intended.
&nbsp;
&nbsp;</P>
<P align=center><FONT face="comic sans ms" color=#495c86 size=4>Graphics © Sheryl<BR>Please do not remove anything from this site and claim it as your own.</STRONG></FONT></P>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on January 08, 2009, 11:50:40 AM
I have another question and I hope there's a way to change what's happening.
I've set up 3 catergories at my site and if I open a thread on one of the boards in the catergory, and then click the link above the board that has the name for the catergory, it takes me back to the Ezportal homepage.
Is there a way to make it so it takes me back to the catergory or the forum page that shows all the catergories and message board?
The address I get at the bottom of the screen says either index.php#1, #2, or #3 when I hover over a catergory.
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on January 09, 2009, 10:51:31 AM
Got an error/bug report, not sure if your aware of it.

In SMF 2.0, when going to "Modules", I get this error.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [OMITTED]/Sources/Class-Package.php on line 75


I was going to reply a few days ago, but I just got through a huge wave of homework. Didn't have any time.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 09, 2009, 07:52:39 PM
Will take a look at that might be an SMF 2.0 issue.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Özgür on January 13, 2009, 09:54:36 PM
Quote from: vbgamer45 on December 29, 2008, 08:23:12 PM
Not yet but I planning on making a standalone version of ezportal soon!

Hi vbgamer.
Any changes for this?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 13, 2009, 09:57:50 PM
It is going to be a while months away.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: FireDitto on January 14, 2009, 03:51:16 AM
Question - Would it be possible to adjust the % of space the blocks take up?

Maybe the center piece, when used, could be put above the link tree? Or offer an option of above/below said links?

Also, the Member's Online, when centered, seems to be listing the members vertically, which would become irritating with a large group, and make more sense if they were in a horizontal manner... Unless I myself have done something to cause this.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: SB1 on January 15, 2009, 01:21:18 PM
I've got my site set up so that SMF is located at www.mydomain.com/forum, is there any way to set ezportal up so that it creates a homepage in www.mydomain.com/ but when I go to www.mydomain.com/forum the forum appears as normal?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: bidawinner on January 18, 2009, 11:23:43 AM
Vbgamer ..small but irritating"issue"  when Logged in a I see edit/delete on all the Blocks   .. which file controls that and is there a 0/1 off on in the code somewhere  so I can turn that off .. I basically want to see the Forum "clean" while logged in as Admin

btw Fantastic portal .. I disabled the Portal view.. I added all the blocks to Forum view ..then changed the "Home" menu button to link to the forum so the blocks are always showing including all categories/threads

Thank You !

Here is a look http://e85vehicles.com/e85/index.php?action=forum
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 18, 2009, 03:20:10 PM
Quote from: FireDitto on January 14, 2009, 03:51:16 AM
Question - Would it be possible to adjust the % of space the blocks take up?

Maybe the center piece, when used, could be put above the link tree? Or offer an option of above/below said links?

Also, the Member's Online, when centered, seems to be listing the members vertically, which would become irritating with a large group, and make more sense if they were in a horizontal manner... Unless I myself have done something to cause this.
You can control the size of column by editing the column and setting it either to a pixel specific width or a percent based width which should limit the size of the ezBlock

Quote from: bidawinner on January 18, 2009, 11:23:43 AM
Vbgamer ..small but irritating"issue"  when Logged in a I see edit/delete on all the Blocks   .. which file controls that and is there a 0/1 off on in the code somewhere  so I can turn that off .. I basically want to see the Forum "clean" while logged in as Admin

btw Fantastic portal .. I disabled the Portal view.. I added all the blocks to Forum view ..then changed the "Home" menu button to link to the forum so the blocks are always showing including all categories/threads

Thank You !

Here is a look http://e85vehicles.com/e85/index.php?action=forum
Good Idea I can do a setting to turn off admin options showing on blocks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: bidawinner on January 18, 2009, 03:42:31 PM
That would be great..Thank You
[/quote]
Good Idea I can do a setting to turn off admin options showing on blocks
[/quote]
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: bidawinner on January 18, 2009, 03:59:05 PM
Vbgamer.. See my" Recent Posts" Ez Block..How can I center the text ..it's left aligned inside the EzBlock
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 18, 2009, 04:03:16 PM
Currently you would have to edit. Sources/Subs-Ezportal-Main.php and go to the ezblocks recent posts function and add a div to align it center.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: bidawinner on January 18, 2009, 10:07:58 PM
Quote from: vbgamer45 on January 18, 2009, 04:03:16 PM
Currently you would have to edit. Sources/Subs-Ezportal-Main.php and go to the ezblocks recent posts function and add a div to align it center.

Thanks Vb..  actually decided to remove the left column..because people are grumpy about losing forum space ..with the forum on the left the "recent topics" looks better on the left as well

Appreciate your help..
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on January 19, 2009, 08:11:51 AM
Quote from: lax.slash on January 09, 2009, 10:51:31 AM
Got an error/bug report, not sure if your aware of it.

In SMF 2.0, when going to "Modules", I get this error.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [OMITTED]/Sources/Class-Package.php on line 75


I was going to reply a few days ago, but I just got through a huge wave of homework. Didn't have any time.

Any updates on this yet? :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 19, 2009, 08:42:16 AM
Haven't been able to reproduce it on my test forum.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: nevoomatse on January 19, 2009, 08:57:16 AM
Hi there,

Can't create/write to file 'E:\DONNEES\kobc1g\APPDATA\xampplite mp\#sql_664_0.MYI' (Errcode: 22)
File: E:\DONNEES\kobc1g\APPDATA\xampplite\htdocs\smfportal\Packages\temp\EzPortalInstall.php
Line: 181

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.


I get this on a fresh 1.1.7 install with no mods, nana, niet, nothing. Strange ?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 19, 2009, 08:22:21 PM
That's a temp file from Mysql i would suggest to reinstall again.

And check permissions on that folder for MySQL.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: minos on January 19, 2009, 09:31:13 PM
is there a way to show multiple board news instead of 1 ?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 19, 2009, 09:38:24 PM
Quote from: minos on January 19, 2009, 09:31:13 PM
is there a way to show multiple board news instead of 1 ?
Not yet but will soon have that feature. Planned for next release.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: warlock1663 on January 20, 2009, 07:56:03 PM
Hey guys,

I am using Gothic Rose theme and ezportal. I do not see any catagories or boards on my site. Can someone take a look. I have tried everthing to get them to show up, maybe I'm doing something wrong.

www.whatscaredme.com

Thanks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on January 20, 2009, 09:36:14 PM
First thing I can see is that you installed it twice... you'll have to manually uninstall it. Then, we'll go from there.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 20, 2009, 09:42:41 PM
Ezportal is installed twice.
The forum looks fine just looks like either the boards/categories are hidden from guests
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on January 20, 2009, 10:00:37 PM
Quote from: vbgamer45 on January 20, 2009, 09:42:41 PM
Ezportal is installed twice.
The forum looks fine just looks like either the boards/categories are hidden from guests

Yes, that does appear to be the case. I registered, and was able to see the boards.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: fn2play on January 20, 2009, 10:38:27 PM
Great Mod, just got done installing it on my new board, I am using SMF 2.0 Beta 4 and Black Rain V2 skin, everything went in with zero problems. Shoutbox looks good too, wish there was a way to add a Smiley pack to it though. :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 20, 2009, 11:45:45 PM
Quote from: fn2play on January 20, 2009, 10:38:27 PM
Great Mod, just got done installing it on my new board, I am using SMF 2.0 Beta 4 and Black Rain V2 skin, everything went in with zero problems. Shoutbox looks good too, wish there was a way to add a Smiley pack to it though. :)
Planned in the future as a feature request. Supports all bbcode already though
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: fn2play on January 21, 2009, 04:54:02 PM
It sure does, my members will just have to learn the BB Codes for the Smileys. ;)

Thanks for the Mod, vbgamer45, it sure is easy to use, I really am liking it.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on January 22, 2009, 01:15:41 AM
Installed on a test forum running 2.0RC1 Dev...

I seem to be having an issue with the boardnews block.
I set the board that the block should be pulling posts from, but there is no content in the block.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 22, 2009, 08:30:31 AM
Quote from: Kindred on January 22, 2009, 01:15:41 AM
Installed on a test forum running 2.0RC1 Dev...

I seem to be having an issue with the boardnews block.
I set the board that the block should be pulling posts from, but there is no content in the block.

What kind of permissions are set on that board? Anything in the error log?
Title: Re: ezPortal - Portal System for SMF
Post by: IndigoStar on January 22, 2009, 03:17:09 PM
Quote from: vbgamer45 on November 02, 2008, 09:14:39 PM
EzBlocks are extremely customizable they can be created as xml files and shared with others. Supports unlimited parameters for PHP blocks. Built in webpage system. Works on any theme with out modifying the theme. Pretty much all the standard features for the other portals.

Modules coming soon to tie more components together.

Sorry newbie question here

How do i write articles ? are they pulled from a certain forum ?

Does exPortal take on the theme of the forum ? I like the fact you don't have to edit anything for it to work

Thanks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on January 22, 2009, 05:44:37 PM
Quote from: vbgamer45 on January 22, 2009, 08:30:31 AM
Quote from: Kindred on January 22, 2009, 01:15:41 AM
Installed on a test forum running 2.0RC1 Dev...

I seem to be having an issue with the boardnews block.
I set the board that the block should be pulling posts from, but there is no content in the block.

What kind of permissions are set on that board? Anything in the error log?


nope, nothing in the error log...   permissions for the board are anyone can post, no one can reply
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 22, 2009, 08:15:06 PM
Quote from: IndigoStar on January 22, 2009, 03:17:09 PM
Quote from: vbgamer45 on November 02, 2008, 09:14:39 PM
EzBlocks are extremely customizable they can be created as xml files and shared with others. Supports unlimited parameters for PHP blocks. Built in webpage system. Works on any theme with out modifying the theme. Pretty much all the standard features for the other portals.

Modules coming soon to tie more components together.

Sorry newbie question here

How do i write articles ? are they pulled from a certain forum ?

Does exPortal take on the theme of the forum ? I like the fact you don't have to edit anything for it to work

Thanks

EzPortal has a built in webpage creator to create webpage for your forum.

If you need an Article System search the mod site for my article system mod.


It takes on the theme of the forum.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: IndigoStar on January 23, 2009, 04:13:13 AM
Thats what the portal is going to be my homepage with posts down one side and top poster and such down the centre my articles

A donation button just that kinda thing

Thanks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: IndigoStar on January 23, 2009, 04:19:27 AM
Sorry to reply again,

Would i log in seperate to add things to this portal or  something ?

Star
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 23, 2009, 08:33:51 AM
You would go to the EzBlock Manager to setup blocks.

You would set the visible options on the ezBlocks to the homepage.

Then make sure under ezPortal settings you have enabled the homepage feature.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: IndigoStar on January 23, 2009, 08:52:02 AM
Sounds easy enough

Just like that fact you don't have to edit any code to get the portal to work

Is there options built in that show users posts and whos online etc

Is there a button added to the menu bar like forum or home so members can access both easily

Sorry to be a pain your portal looks great and would be a great addition to my psychic website


Indigo
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on January 23, 2009, 03:37:26 PM
{holding my tongue on the obvious comments...}

Indigo, Have you tried playing around with the available blocks?  there is  recent posts, users online, etc all built in as available blocks.

Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: IndigoStar on January 23, 2009, 04:42:58 PM
Sorry,

Thats all i need to know so thankyou

Star
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: flamechica on January 25, 2009, 12:02:50 AM
I see that there is a way to play with the width of the boxes, but I was wondering if there was a way to play with the height? I am using a default based theme, SMF 1.1.7 and a shoutbox of my own from shoutmix.com. I like their features better. Anyways, I loaded the shoutbox into a block and it has cut part of my shoutbox off. I have tried to play with the code of the shoutbox to make it smaller, but it still does it. 
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 25, 2009, 01:36:17 AM
Quote from: flamechica on January 25, 2009, 12:02:50 AM
I see that there is a way to play with the width of the boxes, but I was wondering if there was a way to play with the height? I am using a default based theme, SMF 1.1.7 and a shoutbox of my own from shoutmix.com. I like their features better. Anyways, I loaded the shoutbox into a block and it has cut part of my shoutbox off. I have tried to play with the code of the shoutbox to make it smaller, but it still does it. 
No way to set the height the box should expand to the size of whatever html code is inside it. Height is not a supported property for a table data html element.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: flamechica on January 25, 2009, 12:13:28 PM
Bummer. For some reason it is cutting it off and I don't know why....No matter how big or small I make my shoutbox it cuts it off every time. Thanks for the response
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kneeki on January 27, 2009, 01:32:55 PM
Hello, and thanks so much for this mod!

I'm sure that this mod is exactly what I need, but I cannot seem to get it working the way I want. I would like it to have a 'home' page when first hitting my forums (which it does, after I enabled the 'ezPortal home page'). However, I cannot seem to figure out how to edit that page. Currently, it's blank. What I would like most is to just create a new board on my forums, and have any post entered there be the latest 'home' page on my forums. You can see what I have accomplished so far by clicking here (http://www.geekbocks.com).

I've looked high and low for any guides to walk me through this process, but I've yet to find a single one. =(
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: I AM Legend on January 27, 2009, 05:11:05 PM
Hi all,
I have just installed ezportal 0.2.4 on my SMF 1.1.7 forum, love it but I have a question.
I never noticed this before on my forum, on the link tree, when you press on any of the links between Forum and the board you are on, it takes you to the portal page.
What would be the reason for this ???

one other question on this mod, how do I get resent posts to show on the portal page when I am logged out of the forum?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kneeki on January 27, 2009, 05:48:05 PM
Quote from: I AM Legend on January 27, 2009, 05:11:05 PM
Hi all,
I have just installed ezportal 0.2.4 on my SMF 1.1.7 forum, love it but I have a question.
I never noticed this before on my forum, on the link tree, when you press on any of the links between Forum and the board you are on, it takes you to the portal page.
What would be the reason for this ???

one other question on this mod, how do I get resent posts to show on the portal page when I am logged out of the forum?
Have you double checked the link locations?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on January 27, 2009, 06:59:21 PM
Quote from: I AM Legend on January 27, 2009, 05:11:05 PM
Hi all,
I have just installed ezportal 0.2.4 on my SMF 1.1.7 forum, love it but I have a question.
I never noticed this before on my forum, on the link tree, when you press on any of the links between Forum and the board you are on, it takes you to the portal page.
What would be the reason for this ???

one other question on this mod, how do I get resent posts to show on the portal page when I am logged out of the forum?

I have this problem too...

When the link in the screenshot is clicked, it just goes back to the portals home page.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kneeki on January 28, 2009, 12:02:17 AM
Update on my issue above. I got it figured out exactly like I thought it would. Looks great!

Thanks for the mod!!!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: I AM Legend on January 28, 2009, 10:48:40 AM
Sorry for bumping for Myself and lax.slash who both have the same issue, any ideas anyone?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ohioreef on January 28, 2009, 02:25:18 PM
I installed the EzPortal mod on my forum. I have created several pages using the Page Manager of that mod.

Now whenever someone goes to one of those internal pages the forum registers a "Unable to load 'main' template" error, however the page looks fine and all the buttons still seem to work fine.

What does the 'main' template do? Is this something that is likely a forum issue or mod issue?


Thanks,

Gary
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mdk001 on January 29, 2009, 11:54:51 AM
I just started testing out ezportal before I actually move it to the online forum (I'll have to adapt it to the custom theme and all) so I've been wondering a few things:

- is there a way to have a Board news block display a board's posts as well as its child's ones too?
- is there a way to have stickied topics show up at the top of Board news blocks?
- hopefully, there'll be a way to have a Board news block display more than a board, even if they're not related?

When's the next update coming? Could you manage to fullfill those requests in it?
I'd sure love to finally get rid of the old homepage and use EP to have it linked to the news I'll post on the forum
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 29, 2009, 09:20:05 PM
Will checkout all requests and new features this weekend.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mr_Lon on January 29, 2009, 10:26:22 PM
One quick question...
Is this a mod or option that I can install, work on then turn it on for the members maybe using permissions when I have it ready?

Lon
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 29, 2009, 10:30:47 PM
Quote from: Mr_Lon on January 29, 2009, 10:26:22 PM
One quick question...
Is this a mod or option that I can install, work on then turn it on for the members maybe using permissions?

Lon
Yes it is.
It is all permission based for all ezBlocks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mr_Lon on January 29, 2009, 10:31:46 PM
Thankyou I will give it a try. :D
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on January 31, 2009, 11:14:19 AM
Is their any way to make the poll block select a random poll?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on January 31, 2009, 11:18:01 AM
Quote from: lax.slash on January 31, 2009, 11:14:19 AM
Is their any way to make the poll block select a random poll?
Not yet
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 04, 2009, 12:44:32 AM
Ok...   now that I am using this on a fully functional and active site (2.0 RC1), I have the following notes:

The "active tab" incorrectly indicates that the HOME is active, even though I am in the forum

There does not seem to be a way to add blocks to appear UNDER the displayed forum, only ABOVE.

The members online list is always a vertical list with a line break after each name...   I want a simple list with no line breaks

Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: I AM Legend on February 04, 2009, 09:47:42 AM
Quote from: I AM Legend on January 27, 2009, 05:11:05 PM
Hi all,
I have just installed ezportal 0.2.4 on my SMF 1.1.7 forum, love it but I have a question.
I never noticed this before on my forum, on the link tree, when you press on any of the links between Forum and the board you are on, it takes you to the portal page.
What would be the reason for this ???

one other question on this mod, how do I get resent posts to show on the portal page when I am logged out of the forum?

Hey all,
anyone have any answers to my 2 questions?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 04, 2009, 06:20:39 PM
Ah...   yes, the category link should be index.php?action=forum#c9 instead of index.php#c9


question 2:  Give permissions for guests to see that ezblock
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: I AM Legend on February 04, 2009, 06:38:44 PM
Quote from: Kindred on February 04, 2009, 06:20:39 PM
Ah...   yes, the category link should be index.php?action=forum#c9 instead of index.php#c9


question 2:  Give permissions for guests to see that ezblock

cool, now any ideas as to how I fix the link tree problem?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 04, 2009, 10:39:06 PM
Updates and Fixes and User requests in this new release!

0.2.5
!Fixed one more bug in classifieds ezBlock
!Fixed Advanced Search link was hardcoded to ezportal.com
+Added option to member's ezBlock to format it horizontal or vertical
+Added option on EzPortal settings page to hide the edit/delete links on the layout of the ezBlocks
!Changed a couple things with the board news ezBlock should help fix some issues.
+Added multiboard select for the BoardNews ezBlock. Allows you to select unlimited number of boards for boardnews
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: I AM Legend on February 05, 2009, 08:04:23 AM
Awesome ty very much
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on February 05, 2009, 08:18:59 PM
Cool... will install this weekend... :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 05, 2009, 08:41:51 PM
Quick Update! Added support for SMF 2.0 RC1!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: IndigoStar on February 06, 2009, 06:08:49 AM
I added ezportal to my site all is well just one problem i havent got a forum header on my website anyone know how to add a header ?


Star
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 06, 2009, 10:04:32 AM
If I'm upgrading this mod, do I have to uninstall my present version?
Sheryl
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 06, 2009, 08:31:07 PM
Quote from: sheryltoo on February 06, 2009, 10:04:32 AM
If I'm upgrading this mod, do I have to uninstall my present version?
Sheryl
No just install the latest version and it will autoupgrade
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 06, 2009, 11:29:40 PM
minor glitch...

In the user's online block:   if I choose horizontal and save... then come in, make an edit and save again, it keeps adding another "format: Horizontal" choice box every time I save.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 07, 2009, 01:29:30 AM
which file to I need to check to fix this error in my error log?

Quote
8: Undefined index: color
File: /hraregular/test2/Themes/default/EzPortal.template.php(1120) : eval()'d code
Line: 466

This is the only error I've had so far. I get this error every time the home "portal" page is reloaded - not on any other pages that I've notice. (SMF 1.1.8, EZportal 0.2.5) I think I need to check index.template.php, but I've forgotten. Not sure what to look for on that line either.

also, 
QuoteI added ezportal to my site all is well just one problem i havent got a forum header on my website anyone know how to add a header ?


Star
I'd like to be able to use header rotator on my site. Is this possible? That way I could use custom pictures in my header.
If it's possible, which file would I need to insert the code into? I tried it once before, it said it was installed, didn't get any errors - just didn't have anything in my header.

Thanks,
Flip

ps - vbgamer - You da man!!!  :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on February 07, 2009, 01:23:15 PM
Quote from: ke4obt on February 07, 2009, 01:29:30 AM
I'd like to be able to use header rotator on my site. Is this possible? That way I could use custom pictures in my header.
If it's possible, which file would I need to insert the code into? I tried it once before, it said it was installed, didn't get any errors - just didn't have anything in my header.

Thanks,
Flip

ps - vbgamer - You da man!!!  :)
Try this:
http://www.simplemachines.org/community/index.php?topic=191122.msg1217068#msg1217068

Only difference, you would use a little bit bigger images, lol. Put the "image" code in your themes index.template.php file, put the images you want in a seperate folder, and your set!  :)


EDIT:
Oh yeah, this is important to. Make sure that the .jpeg file and image files are in the SAME folder, or else it won't work. If there not in the same file, change:

$dp=opendir(".");


to


$dp=opendir("YOUR_DIRECTORY_LOCATION_HERE");



Hope this helps. :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Naveeddil on February 10, 2009, 03:38:31 AM
i have just added this mot to SMF but it got errored because on the Top of every page there it says

// Begin EzPortal Text Strings $txt['ezp_forum_tab'] = 'Forum'; $txt['ezportal_admin'] = 'EzPortal'; $txt['ezportal_settings'] = 'Settings'; $txt['ezportal_block_manager'] = 'ezBlock Manager'; $txt['ezportal_page_manager'] = 'Page Manager'; // Permissions $txt['permissiongroup_ezportal'] = 'EzPortal'; $txt['permissionname_ezportal_page'] = 'Manage Pages'; $txt['permissionhelp_ezportal_page'] = 'Allows adding,editing,and deleting of pages.'; $txt['cannot_ezportal_page'] = 'You are not allowed to manage EzPortal pages.'; $txt['permissionname_ezportal_blocks'] = 'Manage ezBlocks'; $txt['permissionhelp_ezportal_blocks'] = 'Allows adding,editing,and deleting of ezBlocks.'; $txt['cannot_ezportal_blocks'] = 'You are not allowed to manage ezBlocks.'; $txt['permissionname_ezportal_manage'] = 'Admin EzPortal'; $txt['permissionhelp_ezportal_manage'] = 'Allows full control of EzPortal'; $txt['cannot_ezportal_manage'] = 'You are not allowed to manage EzPortal.'; // END EzPortal Text Strings

On admin and Home PAge including all

I dont know there maybe some function Disabled or IDK
Please Help
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 10, 2009, 07:38:47 AM
check modifications.english.php.

Make sure that the ?> is the very last object ion the file and that it does not appear anywhere else.
Title: Re: ezPortal
Post by: quietstorm on February 11, 2009, 01:18:47 AM
This is a great mod..but it lacks a block for the calendar!  :(
Does anyone know how to add one?

It would be greatly appreciative


TIA
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 11, 2009, 04:19:03 AM
Hello
I do not understand a lot of this, I installed Ezportal im my forum but I can not go to the portal from the forum because I do not see the homepage of the Portal,what I am doing wrong?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 11, 2009, 07:08:34 AM
Please Someone help,
Still need help with this error

'8: Undefined index: color
File:
/Themes/default/EzPortal.template.php(1120) :
eval()'d code
Line: 466' (

Still have no clue what to do or what file to look into to try to fix this problem.
Now geting about 7 pages worth every 12 hours, realy need help.

Thanks Flip
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 11, 2009, 08:23:30 AM
Quote from: filipes on February 11, 2009, 04:19:03 AM
Hello
I do not understand a lot of this, I installed Ezportal im my forum but I can not go to the portal from the forum because I do not see the homepage of the Portal,what I am doing wrong?

You can enable the portal homepage under admin -> ezPortal Settings
From there you would add ezBlocks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 11, 2009, 11:27:07 AM
Please, please, purty please - will someone give me a clue what to do about the errors I'm getting??
*on my knees begging*

These errors are driving me batty!!!

If I keep getting them, I'm afraid I'll have to dump the mod until it gets fixed. Hate to do that, but so many pages - all the same thing.

HEEEEEELLLLLLLPPPPPP!!!!!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 11, 2009, 01:09:27 PM
ke4obt,

multiple posting just annoys people. Please don't.

You error is likely due to an undefined array definition in one of your blocks. I bumped into this when I tried pasting code form something else into an EZportal block.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mikeric on February 11, 2009, 01:20:55 PM
I just updated to RC1 and installed the newest version and now whenever anyone says anythign in the shoutbox they get this error.

QuoteAn Error Has Occurred!
Unable to load the 'main' template.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 11, 2009, 07:28:19 PM
Hey Kindred,

Sorry about that, whip me with a wet noodle.

Now if I could get you or someone to take a looksee at my 2 php custom blocks code it would be great, I figure it will end up being the calendar but not sure

code for calendar


/******************************************************************************************
*                                                                                         *
* 'Mini' Calendar in phpblock -                                                           *
*                                                                                         *
* Program Parameters/Switches can be specified to change what is displayed and how.       *
*   If highlighting is turned on, only the types of entries which are selected to         *
*   be shown will be highlighted (and have to be shown to guests for guests to see        *
*   highlights). If option of linking the day numbers to calendar event posting form      *
*   is chosen ($date_links_to_posting = true), SMF permissions are in effect and only     *
*   those allowed to post events to the calendar will have this link in effect. For       *
*   $date_links_to_posting = false, and for those not permitted to post events, day       *
*   numbers will link to the full SMF Calendar page. Additionally, if option to show      *
*   a separate 'Post Event' button is chosen ($show_post_event_button = true), it will    *
*   only show for those permitted to post events to the calendar.                         *
*                                                                                         *
* Look for 'NON-ENGLISH' to see section for changing language. This is actually more      *
*   correctly referred to as 'language other than server default' as this Calendar will   *
*   use the server's default LOCALE language for Month and Day names unless overides      *
*   are specified in the code section labeled 'NON-ENGLISH  LABELS, MONTH & DAY NAMES',   *
*   below.                                                                                *
*                                                                                         *
* Once a given day is highlighted, the highlight will not be supplanted. That means       *
*   you may want to modify the order in which highlights are applied in order to set      *
*   desired 'precedence' (i.e. if b-days highlights are applied first, once a given       *
*   day is highlighted with b-day color, it will not be changed to be highlighted         *
*   with event color if an event occurs on the same day; you need to choose an order      *
*   of precedence and sequence the highlighting accordingly by changing the sequence      *
*   of sections in the $order_hilites array. Highlighting will be done in the given       *
*   order.                                                                                *
*                                                                                         *
* Also, if you want the individual B-day/Event/Holiday sections to be ordered in a        *
*   different sequence, you need to change the sequence of entries in the $order_lists    *
*   array.                                                                                *
*                                                                                         *
* Examples of highlighting can be seen in the section 'Highlight colors & backgrounds'    *
*   below. As given, highlighting is done by applying the admin specified calendar        *
*   entry color to the date, bolded, on the default background. Commented example given   *
*   of using bold white on a background box of the admin specified calendar entry color.  *
*                                                                                         *
******************************************************************************************/
global $scripturl, $modSettings, $context, $db_prefix, $user_profile, $user_info, $sourcedir;

///////////////////////////////////////////////////////////////////////////////////////////////////

//////
//
//  Program Paramters/Switches Section
//

// use forum's date/time
//$now = mktime() + $modSettings['time_offset'] * 3600;                                 
// include user's time offset to forum date/time
$now = mktime() + (($user_info['time_offset'] + $modSettings['time_offset']) * 3600);

// Order to do highlightling - earlier have precedence
$order_hilites = array('Birthdays', 'Events', 'Holidays');

// Order to show calendar entry lists
$order_lists = array('Birthdays', 'Events', 'Holidays');

// Alignment of calendar entry lists
// $align_list_entries = 'left';
$align_list_entries = 'center';

// Use 'bordercolor' class for 'gridlines' (table background)
$bordercolor_gridlines = true; // Will 'show through' between table cells to act as 'grid lines'
$gridlines_thickness = 5;       // Pixel thickness for table "cellspacing" - only used w/

$bordercolor_gridlines = true;

// Letters to show on calendar for names of each of the days
$day_name_length = 3;

// Selection for first day of the week: 0-Sunday; 1-Monday
$first_day = 0;

// Show B-Day list at all / to guests
$show_bdays = true;
$show_bdays_to_guests = false;

// Show Event list at all / to guests
$show_events = true;
$show_events_to_guests = true;

// Show Holiday list at all / to guests
$show_hdays = true;
$show_hdays_to_guests = true;

// If true, calendar date numbers link to calendar event posting form
//    if not, links to full calendar page
$date_links_to_posting = true;

// Adds 'Post Event' button to bottom of block
$show_post_event_button = true; 

// Highlight events, b-days, holidays (only if they're selected to show at all)
$show_hilites = true;         

$color_sunday = '#D00000';    // comment out to use default text colors -
$color_saturday = '#D00000';  //   can use hex codes with leading '#'
$color_today = 'steelblue';   //   or color names
$bkgrd_today = 'white';

// Default class to use when no other class specified
$class_default = '';
// $class_default = 'smalltext';
// $class_default = 'windowbg2';

// Class to use for column top day names
// $class_day_names = 'titlebg';  // Ex.: titlebg, catbg, catbg2, catbg3, windowbg, windowbg2,

windowbg3

// Class to use for 'Today' highlight
$class_today = 'windowbg2';

// Text Labels to use for calendar entry lists
$list_label_bdays =  '__Birthdays__';
$list_label_events = '____Events___';
$list_label_hdays =  '__ Holidays___';

// Colors for text labels on calendar entry lists
$list_label_bdays_color = '#'.$modSettings['cal_bdaycolor'];
$list_label_events_color = '#'.$modSettings['cal_eventcolor'];
$list_label_hdays_color = '#'.$modSettings['cal_holidaycolor'];

// Choose to show 'look-behind' for the various entry types
$show_bdays_past = true;
$show_events_past = true;
$show_hdays_past = true;

// For any of the above chosen, days prior to today to display -
//    use '0' (zero) to use beginning of current month
$past_look_behind_period = 7;

// Class for 'cells' holding text labels on calendar entry lists
// $list_label_class = 'titlebg'; // Ex.: titlebg, catbg, catbg2, catbg3, windowbg, windowbg2,

windowbg3

// Class for 'cells' holding calendar entry lists
//   use regular variable for all same class
//   use two-member array to alternate between the two
$list_entry_class = '';
// $list_entry_class = 'windowbg';
// $list_entry_class = array('windowbg2','windowbg3');

///////////////////////////////
//   Highlight colors & backgrounds
//
//   Admin-specified birthday color: $modSettings['cal_bdaycolor']
//   Admin-specified event color:    $modSettings['cal_eventcolor']
//   Admin-specified holiday color:  $modSettings['cal_holidaycolor']

// Highlight bold white on backgound of forum's defined color for date entry type
//
// $hilite_bday_color = 'white';
// $hilite_bday_bkgrd = '#'.$modSettings['cal_bdaycolor'];
// $hilite_bday_bold = true;
// $hilite_bday_class = '';
//
// $hilite_event_color = 'white';
// $hilite_event_bkgrd = '#'.$modSettings['cal_eventcolor'];
// $hilite_event_bold = true;
// $hilite_event_class = '';
//
// $hilite_hday_color = 'white';
// $hilite_hday_bkgrd = '#'.$modSettings['cal_holidaycolor'];
// $hilite_hday_bold = true;
// $hilite_hday_class = '';
////////////////////////////////

// Highlight bolded color for date entry type on default backgound
//
$hilite_bday_color = '#'.$modSettings['cal_bdaycolor'];
// $hilite_bday_bkgrd = '';
$hilite_bday_bold = true;
// $hilite_bday_class = 'windowbg3';
//
$hilite_event_color = '#'.$modSettings['cal_eventcolor'];
// $hilite_event_bkgrd = '';
$hilite_event_bold = true;
// $hilite_event_class = 'windowbg3';
//
$hilite_hday_color = '#'.$modSettings['cal_holidaycolor'];
// $hilite_hday_bkgrd = '';
$hilite_hday_bold = true;
// $hilite_hday_class = 'windowbg3';
////////////////////////////////

/////////////////////////////////////////////// NON-ENGLISH  LABELS, MONTH & DAY //NAMES (start)
//
// Non-English Labels, Month and Day Names
//
// To use Month and Day names other than the default on your server,
//   remove the two asterisk '*******' lines (the first starts with '/***'
//   and the second ends '***/') and supply the List Section Labels and the
//   Month and Day names to use per instructions below.
//
/***
$list_label_bdays = '-----Cumpleaños-----';  // Change to labels in language of choice
$list_label_events = '----Fiestas----';
$list_label_hdays = '----Festivos----';
***/
/***
// specify all the day names in desired language
//   if you specify "$first_day = 1;" above, first entry below must be for Monday; e.g:
//      when $first_day = 0;  then $day_names =

array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
//      when $first_day = 1;  then $day_names =

array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
//   
$day_names = array('Lunes','Martes','Miercoles','Jueves','Viernes','Sabado','Domingo');
***/
/***
// specify the month names in desired language
//   
$month_nam = array();
$month_nam['01'] = 'Enero';       
$month_nam['02'] = 'Febrero';
$month_nam['03'] = 'Marzo';
$month_nam['04'] = 'Abril';
$month_nam['05'] = 'Mayo';
$month_nam['06'] = 'Junio';
$month_nam['07'] = 'Julio';
$month_nam['08'] = 'Agosto';
$month_nam['09'] = 'Septiembre';
$month_nam['10'] = 'Octubre';
$month_nam['11'] = 'Noviembre';
$month_nam['12'] = 'Diciembre';
$month_name = $month_nam[date('m',$now)];
/////////////////////////////// NON-ENGLISH  LABELS, MONTH & DAY
//NAMES (end)
***/
//
//  Program Paramters/Switches Section - End
//    (modify below at your own risk!!!)
//
///////////////////////////////////////////////////////////////////////////////////////////////////

//////

$hi_bday_color = '';
if (isset($hilite_bday_color)) $hi_bday_color = 'color:'.$hilite_bday_color.'; ';
$hi_bday_bkgrd = '';
if (isset($hilite_bday_bkgrd)) $hi_bday_bkgrd = 'background-color: '.$hilite_bday_bkgrd.'; ';
$hi_bday_fontwt = '';
if (isset($hilite_bday_bold) && $hilite_bday_bold) $hi_bday_fontwt = 'font-weight:bold; ';

$hi_event_color = '';
if (isset($hilite_event_color)) $hi_event_color = 'color:'.$hilite_event_color.'; ';
$hi_event_bkgrd = '';
if (isset($hilite_event_bkgrd)) $hi_event_bkgrd = 'background-color: '.$hilite_event_bkgrd.'; ';
$hi_event_fontwt = '';
if (isset($hilite_event_bold) && $hilite_event_bold) $hi_event_fontwt = 'font-weight:bold; ';

$hi_hday_color = '';
if (isset($hilite_hday_color)) $hi_hday_color = 'color:'.$hilite_hday_color.'; ';
$hi_hday_bkgrd = '';
if (isset($hilite_hday_bkgrd)) $hi_hday_bkgrd = 'background-color: '.$hilite_hday_bkgrd.'; ';
$hi_hday_fontwt = '';
if (isset($hilite_hday_bold) && $hilite_hday_bold) $hi_hday_fontwt = 'font-weight:bold; ';

if (!isset($class_default)) $class_default = 'windowbg';
if ($class_default == '') $class_default = 'windowbg';

$table_bkgrd = 'class="'.$class_default.'" cellspacing="1"';
if ($bordercolor_gridlines) $table_bkgrd = 'class="bordercolor"

cellspacing="'.$gridlines_thickness.'"';

$today = strftime('%d', $now);
$year = date('Y',$now);
$month = date('n',$now);
$nowdate = strftime('%Y-%m-%d', $now);

$month_href = $scripturl . '?action=calendar;year='.$year.';month='.$month;

require_once($sourcedir . '/Calendar.php');

$low_date_base = strftime('%Y-%m-%d', $now - 24 * 3600);
$high_date_base = strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600);

$low_date = ($show_bdays_past || $show_events_past || $show_hdays_past) ? (

($past_look_behind_period == 0) ? date('Y',$now).'-'.date('m',$now).'-01' : strftime('%Y-%m-%d',

$now - (($past_look_behind_period + 1) * 24 * 3600)) ) : $low_date_base;
$high_date = $high_date_base;

$low_date_ts = strtotime($low_date);

if ($show_bdays) {
    $bdays = $show_bdays_past ? calendarBirthdayArray($low_date, $high_date) :

calendarBirthdayArray($low_date_base, $high_date);
    ksort($bdays); }

if ($show_events) {
    $events = $show_events_past ? calendarEventArray($low_date, $high_date, false) :

calendarEventArray($low_date_base, $high_date, false);
    ksort($events); }

if ($show_hdays) {
    $holidays = $show_hdays_past ? calendarHolidayArray($low_date, $high_date) :

calendarHolidayArray($low_date_base, $high_date);
    ksort($holidays); }

$todays_color = isset($color_today) ?'color:'.$color_today.'; ' : '';
$todays_bkgrd = isset($bkgrd_today) ?'background-color:'.$bkgrd_today.'; ' : '';

$stub = '<a class="smalltext" style="'.$todays_color.'font-weight:bold; border:solid 1px black;

'.$todays_bkgrd.'padding: 0px 2px 0px 2px;"';

// Highlighted 'Today' Box
if ($date_links_to_posting && allowedTo('calendar_post')) {
    $days = array($today=>array(NULL,$class_today,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$today.'"

target="_self">'.date('j',$now).'</a>'));}
else {
    $days = array($today=>array(NULL,$class_today,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.date('j',$now).'</a>'));}

////////////////////////////////////////////////////////////////////////////// HIGHLIGHTING (start)
//
if ($show_hilites) {
    foreach($order_hilites as $hilite_to_do){
        $flag = strtoupper(substr($hilite_to_do,0,1));

///////////////////////////////////////////////// B-Day Highlighting
        if ($flag == 'B') {
            if ($show_bdays) {
                if ($show_bdays_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_bday_color . $hi_bday_bkgrd .

$hi_bday_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_bday_class)) $hilite_bday_class = $class_default;
                    if ($hilite_bday_class == '') $hilite_bday_class = $class_default;
                    foreach($bdays as $startdate => $value)
                        if(!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_bday_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_bday_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////// Event Highlighting
        if ($flag == 'E') {
            if ($show_events) {
                if ($show_events_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_event_color . $hi_event_bkgrd .

$hi_event_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_event_class)) $hilite_event_class = $class_default;
                    if ($hilite_event_class == '') $hilite_event_class = $class_default;
                    foreach($events as $startdate => $value)
                        if(!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_event_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_event_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////// Holiday Highlighting
        if ($flag == 'H') {
            if ($show_hdays) {
                if ($show_hdays_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_hday_color . $hi_hday_bkgrd .

$hi_hday_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_hday_class)) $hilite_hday_class = $class_default;
                    if ($hilite_hday_class == '') $hilite_hday_class = $class_default;
                    foreach($holidays as $startdate => $value)
                        if (!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_hday_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_hday_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////
    }
}

////////////////////////////////////////////////////////////////////////////// HIGHLIGHTING (end)

$first_of_month = gmmktime(0,0,0,$month,1,$year);
list($month, $year, $weekday) = explode(',',gmstrftime('%m,%Y,%w',$first_of_month));

if (!isset($month_nam['12'])) {
    $day_names = array();                                      // generate all the day names

according to the current locale
    for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400)    // January 4, 1970 was a Sunday
        $day_names[$n] = ucfirst(gmstrftime('%A',$t));         // %A means full textual day name
    list($month, $year, $month_name, $weekday) =

explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month));
}

$weekday = ($weekday + 7 - $first_day) % 7;                // adjust for $first_day
$title   = htmlentities(ucfirst($month_name)).' '.$year;   // note that some locales don't

capitalize month and day names

$calendar = '<table '.$table_bkgrd.' align="center">'.'<caption >'.($month_href ? '<a

href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).'</caption><tr>';

if (!isset($class_day_names)) $class_day_names = $class_default;
if ($class_day_names == '') $class_day_names = $class_default;
if($day_name_length){                                      #if the day names should be shown

($day_name_length > 0)
    foreach($day_names as $d)
    $calendar .= '<th class="'.$class_day_names.'" align="center" valign="middle"

style="padding-left: 0px; padding-right: 0px;font-size: x-small;"

abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) :

$d).'</th>';
    $calendar .= '</tr><tr style="text-align:right;">';
    }

if($weekday > 0) $calendar .= '<td class="'.$class_default.'" colspan="'.$weekday.'"> </td>';

#initial 'empty' days

for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){
    if($weekday == 7){
        $weekday   = 0; #start a new week
        $calendar .= '</tr><tr style="text-align:right;">';
        }

    $daynow = sprintf('%02d',$day);
    $col_width = ' width="14%"';
    if ( ((($weekday+$first_day) % 7) == 0) || ((($weekday+$first_day) % 7) == 0) ) $col_width = '

width="15%"';

    if(isset($days[$daynow]) and is_array($days[$daynow])){
        @list($link, $classes, $content) = $days[$daynow];
        if(is_null($content))  $content  = $daynow;
        $calendar .= '<td'.$col_width.' align="center" valign="middle" '.($classes ? '

class="'.htmlspecialchars($classes).'" style="padding: 0px 0px 0px 0px;font-size: x-small;">' :

'>').($link ? '<a href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content).'</td>';
        }
    else
        {
        $calendar .= '<td'.$col_width.' class="'.$class_default.'" align="center" valign="middle"

style="padding: 0px 0px 0px 0px;font-size: x-small;"><a class="smalltext"';
        if (((($weekday+$first_day) % 7) == 0) && isset($color_sunday))
            $calendar .= ' style="color:'.$color_sunday.';"';
        if (((($weekday+$first_day) % 7) == 6) && isset($color_saturday))
            $calendar .= ' style="color:'.$color_saturday.';"';
        if ($date_links_to_posting && allowedTo('calendar_post')) {
            $calendar .= '

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$day.'"

target="_self">'.$day.'</a></td>';}
        else {
            $calendar .= ' href="'.htmlspecialchars($month_href).'"

target="_self">'.$day.'</a></td>';}
        }
    }

if($weekday != 7) $calendar .= '<td class="'.$class_default.'" colspan="'.(7-$weekday).'"> </td>';

#remaining "empty" days

echo $calendar.'</tr>';

foreach($order_lists as $list_to_do){
    $flag = strtoupper(substr($list_to_do,0,1));

if (!isset($align_list_entries)) $align_list_entries = 'center';
if (isset($align_list_entries))
    if ($align_list_entries <> 'left') $align_list_entries = 'center';

if (!isset($list_label_class)) $list_label_class = $class_default;
if ($list_label_class == '') $list_label_class = $class_default;

if (!isset($list_entry_class)) $list_entry_class = $class_default;
if ($list_entry_class == '') $list_entry_class = $class_default;

/////////////////////////////////////////////////////////////////
//   BIRTHDAY SECTION
//
if(($flag == 'B') and $show_bdays) {
    if($show_bdays_to_guests or !$user_info['is_guest']) {
        if (!empty($bdays))
        {
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_bdays_color . ';">'.$list_label_bdays.'</td></tr>';
            $ctr = 0;

            foreach($bdays as $startdate => $bday_date)
            {

                if (($startdate >= strftime('%Y-%m-%d', $low_date_ts)) && ($startdate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))

                foreach ($bday_date as $member)
                {
                    $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ? '

class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';
                    $birthdate = strtotime($startdate);
                    $text_start = !isset($month_nam['12']) ? date("M j",$birthdate) :

substr($month_nam[strftime('%m', $birthdate)],0,3) . date(" j",$birthdate);

                    echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext" style="padding:

0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                    echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month='

. substr($startdate,5,2) . '"><strong>' . $text_start . '</strong></a>';
                    echo ' - ';
                    echo '<a href="' . $scripturl . '?action=profile;u=' . $member['id'] . '"

title="' . $txt[92] . ' ' . $member['name'] . '">' . '<font color="'. $member['color']  .'">' . (

($nowdate == $startdate) ? '<b>' : '') . $member['name'] . (isset($member['age']) ? '(' .

$member['age'] . ')' : '') . ( ($nowdate == $startdate) ? '</b>' : '') . '</font>' . '</a>';
                    echo '</td></tr>';
                }

            }
        }
    }
}

/////////////////////////////////////////////////////////////////
//   EVENTS SECTION
//
if(($flag == 'E') and $show_events) {
    if($show_events_to_guests or !$user_info['is_guest']) {

        if (!empty($events))
        {
            $events_printed = array();
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_events_color . ';">'.$list_label_events.'</td></tr>';
            $ctr = 0;

            foreach ($events as $startdate => $evt_date)
            {

                if (($startdate >= strftime('%Y-%m-%d', $low_date_ts)) && ($startdate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))

                foreach ($evt_date as $event)
                {
                    if (!in_array($event['id'],$events_printed)) {
                        $events_printed[] = $event['id'];
                        $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ?

' class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';

                        $evt_start = strtotime($event['start_date']);
                        $evt_end = strtotime($event['end_date']);
                        $text_start = !isset($month_nam['12']) ? date("M j",$evt_start) :

substr($month_nam[strftime('%m', $evt_start)],0,3) . date(" j",$evt_start);
                        $text_end = ($event['start_date'] == $event['end_date'] ? '' : '-'.

(substr($event['start_date'],5,2) == substr($event['end_date'],5,2) ? date("j",$evt_end) :

(!isset($month_nam['12']) ? date("M j",$evt_end) : substr($month_nam[strftime('%m',

$evt_start)],0,3) . date(" j",$evt_start))));

                        $link = $event['topic'] == 0 ? $event['title'] : '<a href="' . $scripturl .

'?topic=' . $event['topic'] . '.0' . '">' . $event['title'] . '</a>';
     
                        echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext"

style="padding: 0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") .

';month=' . substr($startdate,5,2) . '"><strong>' . $text_start . $text_end . '</strong></a>';
                        echo ' - ';
                        echo  ( ($nowdate >= $event['start_date']) && ($event['end_date'] >=

$nowdate) ) ? '<b>'.$link.'</b>' : $link  ;
                        echo '</td></tr>';
                   }
                }


            }
        }
    }
}

/////////////////////////////////////////////////////////////////
//   HOLIDAY SECTION
//
if(($flag == 'H') and $show_hdays) {
    if($show_hdays_to_guests or !$user_info['is_guest']) {

        if (!empty($holidays))
        {
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_hdays_color . ';">'.$list_label_hdays.'</td></tr>';
            $ctr = 0;

            foreach ($holidays as $hDate => $hday)
            {

                if (($hDate >= strftime('%Y-%m-%d', $low_date_ts)) && ($hDate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))
                {
                $eventdate = strtotime(date("Y").substr($hDate, 4));
                foreach ($hday as $holiday)
                {
                    $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ? '

class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';
                    $text_start = !isset($month_nam['12']) ? date("M j",$eventdate) :

substr($month_nam[strftime('%m', $eventdate)],0,3) . date(" j",$eventdate);

                    echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext" style="padding:

0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                    echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month='

. substr($startdate,5,2) . '"><strong>' . $text_start . '</strong></a>';
                    echo ' - ';
                    echo $holiday;
                    echo '</td></tr>';
                }

                }

            }
        }
    }
}
}

if ($show_post_event_button) {
        if (allowedTo('calendar_post')) {
            echo '<tr><td colspan="7" class="'.$class_default.'" align="center" valign="middle">';
            echo '<hr/ >';
            echo '<a href="', $scripturl,  '?action=calendar;sa=post;month=', $month, ';year=',

$year, ';sesc=', $context['session_id'], '">','<br />', create_button('calendarpe.gif',

'calendar23', 'calendar23', 'align="middle"'), '</a>';
            echo '</td></tr>';
    }
}


my code for SMF affiliates


global $context, $settings, $options, $txt, $scripturl, $modSettings;
                      echo '<marquee direction="up" loop="true" behavior="scroll"

onmouseover="this.stop()" onmouseout="this.start()"  scrolldelay="500"><span

style="text-align:center;" class="smalltext">' . parse_bbc($modSettings['affiliates']) .

'</span></marquee>';
.

What's bad is that both seem to work with-out any problems
but sence I have not learned enough about codeing in php it does me no good to look.

Thanks to all for any help
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 11, 2009, 07:44:17 PM
yup... here's your problem:

<font color="'. $member['color']  .'">

I would bet that $member['color'] is never actually set, hence the error message
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 11, 2009, 08:32:53 PM
Quote from: Mikeric on February 11, 2009, 01:20:55 PM
I just updated to RC1 and installed the newest version and now whenever anyone says anythign in the shoutbox they get this error.

QuoteAn Error Has Occurred!
Unable to load the 'main' template.
I see that issue will work on a fix
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 11, 2009, 09:16:36 PM
Thanks Kindred,

Now for the hard part, where can I find a color chart that is done in text format, i.e. "red = #00000 or eeffee", sence I beleave you need to do the colors other than just writing down a color i.e. "blue, green or red" or am I wrong about that.
Also where do I need to change these, under member groups or sence I've got MC Color ledgened II id this where I need to do the changes or better yet do I need to do this in both places or what.
As one of my instructors in school would say:
ABAPITA
Aint
Blindness
A
Paine
In
The
As*

Thanks Again Flip
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 11, 2009, 09:24:45 PM
Couple examples of color charts
http://www.web-source.net/216_color_chart.htm
http://www.liu.edu/cwis/cwp/library/colors.htm
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: quietstorm on February 12, 2009, 09:27:59 AM
Quote from: quietstorm on February 11, 2009, 01:18:47 AM
This is a great mod..but it lacks a block for the calendar!  :(
Does anyone know how to add one?

It would be greatly appreciative


TIA

It is a shame no one knows how to do this?  :(

Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 12, 2009, 09:42:04 AM
Quote from: quietstorm on February 12, 2009, 09:27:59 AM
Quote from: quietstorm on February 11, 2009, 01:18:47 AM
This is a great mod..but it lacks a block for the calendar!  :(
Does anyone know how to add one?

It would be greatly appreciative




TIA

It is a shame no one knows how to do this?  :(

Try this if you are using SMF 1.1.x, apparently it doesn't work with 2.x. Just follow the directions in the top of the code. Hope it helps.
/
******************************************************************************************
*                                                                                         *
* 'Mini' Calendar in phpblock -                                                           *
*                                                                                         *
* Program Parameters/Switches can be specified to change what is displayed and how.       *
*   If highlighting is turned on, only the types of entries which are selected to         *
*   be shown will be highlighted (and have to be shown to guests for guests to see        *
*   highlights). If option of linking the day numbers to calendar event posting form      *
*   is chosen ($date_links_to_posting = true), SMF permissions are in effect and only     *
*   those allowed to post events to the calendar will have this link in effect. For       *
*   $date_links_to_posting = false, and for those not permitted to post events, day       *
*   numbers will link to the full SMF Calendar page. Additionally, if option to show      *
*   a separate 'Post Event' button is chosen ($show_post_event_button = true), it will    *
*   only show for those permitted to post events to the calendar.                         *
*                                                                                         *
* Look for 'NON-ENGLISH' to see section for changing language. This is actually more      *
*   correctly referred to as 'language other than server default' as this Calendar will   *
*   use the server's default LOCALE language for Month and Day names unless overides      *
*   are specified in the code section labeled 'NON-ENGLISH  LABELS, MONTH & DAY NAMES',   *
*   below.                                                                                *
*                                                                                         *
* Once a given day is highlighted, the highlight will not be supplanted. That means       *
*   you may want to modify the order in which highlights are applied in order to set      *
*   desired 'precedence' (i.e. if b-days highlights are applied first, once a given       *
*   day is highlighted with b-day color, it will not be changed to be highlighted         *
*   with event color if an event occurs on the same day; you need to choose an order      *
*   of precedence and sequence the highlighting accordingly by changing the sequence      *
*   of sections in the $order_hilites array. Highlighting will be done in the given       *
*   order.                                                                                *
*                                                                                         *
* Also, if you want the individual B-day/Event/Holiday sections to be ordered in a        *
*   different sequence, you need to change the sequence of entries in the $order_lists    *
*   array.                                                                                *
*                                                                                         *
* Examples of highlighting can be seen in the section 'Highlight colors & backgrounds'    *
*   below. As given, highlighting is done by applying the admin specified calendar        *
*   entry color to the date, bolded, on the default background. Commented example given   *
*   of using bold white on a background box of the admin specified calendar entry color.  *
*                                                                                         *
******************************************************************************************/
global $scripturl, $modSettings, $context, $db_prefix, $user_profile, $user_info, $sourcedir;

///////////////////////////////////////////////////////////////////////////////////////////////////

//////
//
//  Program Paramters/Switches Section
//

// use forum's date/time
//$now = mktime() + $modSettings['time_offset'] * 3600;                                 
// include user's time offset to forum date/time
$now = mktime() + (($user_info['time_offset'] + $modSettings['time_offset']) * 3600);

// Order to do highlightling - earlier have precedence
$order_hilites = array('Birthdays', 'Events', 'Holidays');

// Order to show calendar entry lists
$order_lists = array('Birthdays', 'Events', 'Holidays');

// Alignment of calendar entry lists
// $align_list_entries = 'left';
$align_list_entries = 'center';

// Use 'bordercolor' class for 'gridlines' (table background)
$bordercolor_gridlines = true; // Will 'show through' between table cells to act as 'grid lines'
$gridlines_thickness = 5;       // Pixel thickness for table "cellspacing" - only used w/

$bordercolor_gridlines = true;

// Letters to show on calendar for names of each of the days
$day_name_length = 3;

// Selection for first day of the week: 0-Sunday; 1-Monday
$first_day = 0;

// Show B-Day list at all / to guests
$show_bdays = true;
$show_bdays_to_guests = false;

// Show Event list at all / to guests
$show_events = true;
$show_events_to_guests = true;

// Show Holiday list at all / to guests
$show_hdays = true;
$show_hdays_to_guests = true;

// If true, calendar date numbers link to calendar event posting form
//    if not, links to full calendar page
$date_links_to_posting = true;

// Adds 'Post Event' button to bottom of block
$show_post_event_button = true; 

// Highlight events, b-days, holidays (only if they're selected to show at all)
$show_hilites = true;         

$color_sunday = '#D00000';    // comment out to use default text colors -
$color_saturday = '#D00000';  //   can use hex codes with leading '#'
$color_today = 'steelblue';   //   or color names
$bkgrd_today = 'white';

// Default class to use when no other class specified
$class_default = '';
// $class_default = 'smalltext';
// $class_default = 'windowbg2';

// Class to use for column top day names
// $class_day_names = 'titlebg';  // Ex.: titlebg, catbg, catbg2, catbg3, windowbg, windowbg2,

windowbg3

// Class to use for 'Today' highlight
$class_today = 'windowbg2';

// Text Labels to use for calendar entry lists
$list_label_bdays =  '__Birthdays__';
$list_label_events = '____Events___';
$list_label_hdays =  '__ Holidays___';

// Colors for text labels on calendar entry lists
$list_label_bdays_color = '#'.$modSettings['cal_bdaycolor'];
$list_label_events_color = '#'.$modSettings['cal_eventcolor'];
$list_label_hdays_color = '#'.$modSettings['cal_holidaycolor'];

// Choose to show 'look-behind' for the various entry types
$show_bdays_past = true;
$show_events_past = true;
$show_hdays_past = true;

// For any of the above chosen, days prior to today to display -
//    use '0' (zero) to use beginning of current month
$past_look_behind_period = 7;

// Class for 'cells' holding text labels on calendar entry lists
// $list_label_class = 'titlebg'; // Ex.: titlebg, catbg, catbg2, catbg3, windowbg, windowbg2,

windowbg3

// Class for 'cells' holding calendar entry lists
//   use regular variable for all same class
//   use two-member array to alternate between the two
$list_entry_class = '';
// $list_entry_class = 'windowbg';
// $list_entry_class = array('windowbg2','windowbg3');

///////////////////////////////
//   Highlight colors & backgrounds
//
//   Admin-specified birthday color: $modSettings['cal_bdaycolor']
//   Admin-specified event color:    $modSettings['cal_eventcolor']
//   Admin-specified holiday color:  $modSettings['cal_holidaycolor']

// Highlight bold white on backgound of forum's defined color for date entry type
//
// $hilite_bday_color = 'white';
// $hilite_bday_bkgrd = '#'.$modSettings['cal_bdaycolor'];
// $hilite_bday_bold = true;
// $hilite_bday_class = '';
//
// $hilite_event_color = 'white';
// $hilite_event_bkgrd = '#'.$modSettings['cal_eventcolor'];
// $hilite_event_bold = true;
// $hilite_event_class = '';
//
// $hilite_hday_color = 'white';
// $hilite_hday_bkgrd = '#'.$modSettings['cal_holidaycolor'];
// $hilite_hday_bold = true;
// $hilite_hday_class = '';
////////////////////////////////

// Highlight bolded color for date entry type on default backgound
//
$hilite_bday_color = '#'.$modSettings['cal_bdaycolor'];
// $hilite_bday_bkgrd = '';
$hilite_bday_bold = true;
// $hilite_bday_class = 'windowbg3';
//
$hilite_event_color = '#'.$modSettings['cal_eventcolor'];
// $hilite_event_bkgrd = '';
$hilite_event_bold = true;
// $hilite_event_class = 'windowbg3';
//
$hilite_hday_color = '#'.$modSettings['cal_holidaycolor'];
// $hilite_hday_bkgrd = '';
$hilite_hday_bold = true;
// $hilite_hday_class = 'windowbg3';
////////////////////////////////

/////////////////////////////////////////////// NON-ENGLISH  LABELS, MONTH & DAY //NAMES (start)
//
// Non-English Labels, Month and Day Names
//
// To use Month and Day names other than the default on your server,
//   remove the two asterisk '*******' lines (the first starts with '/***'
//   and the second ends '***/') and supply the List Section Labels and the
//   Month and Day names to use per instructions below.
//
/***
$list_label_bdays = '-----Cumpleaños-----';  // Change to labels in language of choice
$list_label_events = '----Fiestas----';
$list_label_hdays = '----Festivos----';
***/
/***
// specify all the day names in desired language
//   if you specify "$first_day = 1;" above, first entry below must be for Monday; e.g:
//      when $first_day = 0;  then $day_names =

array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
//      when $first_day = 1;  then $day_names =

array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
//   
$day_names = array('Lunes','Martes','Miercoles','Jueves','Viernes','Sabado','Domingo');
***/
/***
// specify the month names in desired language
//   
$month_nam = array();
$month_nam['01'] = 'Enero';       
$month_nam['02'] = 'Febrero';
$month_nam['03'] = 'Marzo';
$month_nam['04'] = 'Abril';
$month_nam['05'] = 'Mayo';
$month_nam['06'] = 'Junio';
$month_nam['07'] = 'Julio';
$month_nam['08'] = 'Agosto';
$month_nam['09'] = 'Septiembre';
$month_nam['10'] = 'Octubre';
$month_nam['11'] = 'Noviembre';
$month_nam['12'] = 'Diciembre';
$month_name = $month_nam[date('m',$now)];
/////////////////////////////// NON-ENGLISH  LABELS, MONTH & DAY
//NAMES (end)
***/
//
//  Program Paramters/Switches Section - End
//    (modify below at your own risk!!!)
//
///////////////////////////////////////////////////////////////////////////////////////////////////

//////

$hi_bday_color = '';
if (isset($hilite_bday_color)) $hi_bday_color = 'color:'.$hilite_bday_color.'; ';
$hi_bday_bkgrd = '';
if (isset($hilite_bday_bkgrd)) $hi_bday_bkgrd = 'background-color: '.$hilite_bday_bkgrd.'; ';
$hi_bday_fontwt = '';
if (isset($hilite_bday_bold) && $hilite_bday_bold) $hi_bday_fontwt = 'font-weight:bold; ';

$hi_event_color = '';
if (isset($hilite_event_color)) $hi_event_color = 'color:'.$hilite_event_color.'; ';
$hi_event_bkgrd = '';
if (isset($hilite_event_bkgrd)) $hi_event_bkgrd = 'background-color: '.$hilite_event_bkgrd.'; ';
$hi_event_fontwt = '';
if (isset($hilite_event_bold) && $hilite_event_bold) $hi_event_fontwt = 'font-weight:bold; ';

$hi_hday_color = '';
if (isset($hilite_hday_color)) $hi_hday_color = 'color:'.$hilite_hday_color.'; ';
$hi_hday_bkgrd = '';
if (isset($hilite_hday_bkgrd)) $hi_hday_bkgrd = 'background-color: '.$hilite_hday_bkgrd.'; ';
$hi_hday_fontwt = '';
if (isset($hilite_hday_bold) && $hilite_hday_bold) $hi_hday_fontwt = 'font-weight:bold; ';

if (!isset($class_default)) $class_default = 'windowbg';
if ($class_default == '') $class_default = 'windowbg';

$table_bkgrd = 'class="'.$class_default.'" cellspacing="1"';
if ($bordercolor_gridlines) $table_bkgrd = 'class="bordercolor"

cellspacing="'.$gridlines_thickness.'"';

$today = strftime('%d', $now);
$year = date('Y',$now);
$month = date('n',$now);
$nowdate = strftime('%Y-%m-%d', $now);

$month_href = $scripturl . '?action=calendar;year='.$year.';month='.$month;

require_once($sourcedir . '/Calendar.php');

$low_date_base = strftime('%Y-%m-%d', $now - 24 * 3600);
$high_date_base = strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600);

$low_date = ($show_bdays_past || $show_events_past || $show_hdays_past) ? (

($past_look_behind_period == 0) ? date('Y',$now).'-'.date('m',$now).'-01' : strftime('%Y-%m-%d',

$now - (($past_look_behind_period + 1) * 24 * 3600)) ) : $low_date_base;
$high_date = $high_date_base;

$low_date_ts = strtotime($low_date);

if ($show_bdays) {
    $bdays = $show_bdays_past ? calendarBirthdayArray($low_date, $high_date) :

calendarBirthdayArray($low_date_base, $high_date);
    ksort($bdays); }

if ($show_events) {
    $events = $show_events_past ? calendarEventArray($low_date, $high_date, false) :

calendarEventArray($low_date_base, $high_date, false);
    ksort($events); }

if ($show_hdays) {
    $holidays = $show_hdays_past ? calendarHolidayArray($low_date, $high_date) :

calendarHolidayArray($low_date_base, $high_date);
    ksort($holidays); }

$todays_color = isset($color_today) ?'color:'.$color_today.'; ' : '';
$todays_bkgrd = isset($bkgrd_today) ?'background-color:'.$bkgrd_today.'; ' : '';

$stub = '<a class="smalltext" style="'.$todays_color.'font-weight:bold; border:solid 1px black;

'.$todays_bkgrd.'padding: 0px 2px 0px 2px;"';

// Highlighted 'Today' Box
if ($date_links_to_posting && allowedTo('calendar_post')) {
    $days = array($today=>array(NULL,$class_today,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$today.'"

target="_self">'.date('j',$now).'</a>'));}
else {
    $days = array($today=>array(NULL,$class_today,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.date('j',$now).'</a>'));}

////////////////////////////////////////////////////////////////////////////// HIGHLIGHTING (start)
//
if ($show_hilites) {
    foreach($order_hilites as $hilite_to_do){
        $flag = strtoupper(substr($hilite_to_do,0,1));

///////////////////////////////////////////////// B-Day Highlighting
        if ($flag == 'B') {
            if ($show_bdays) {
                if ($show_bdays_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_bday_color . $hi_bday_bkgrd .

$hi_bday_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_bday_class)) $hilite_bday_class = $class_default;
                    if ($hilite_bday_class == '') $hilite_bday_class = $class_default;
                    foreach($bdays as $startdate => $value)
                        if(!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_bday_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_bday_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////// Event Highlighting
        if ($flag == 'E') {
            if ($show_events) {
                if ($show_events_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_event_color . $hi_event_bkgrd .

$hi_event_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_event_class)) $hilite_event_class = $class_default;
                    if ($hilite_event_class == '') $hilite_event_class = $class_default;
                    foreach($events as $startdate => $value)
                        if(!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_event_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_event_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////// Holiday Highlighting
        if ($flag == 'H') {
            if ($show_hdays) {
                if ($show_hdays_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_hday_color . $hi_hday_bkgrd .

$hi_hday_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_hday_class)) $hilite_hday_class = $class_default;
                    if ($hilite_hday_class == '') $hilite_hday_class = $class_default;
                    foreach($holidays as $startdate => $value)
                        if (!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_hday_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_hday_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////
    }
}

////////////////////////////////////////////////////////////////////////////// HIGHLIGHTING (end)

$first_of_month = gmmktime(0,0,0,$month,1,$year);
list($month, $year, $weekday) = explode(',',gmstrftime('%m,%Y,%w',$first_of_month));

if (!isset($month_nam['12'])) {
    $day_names = array();                                      // generate all the day names

according to the current locale
    for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400)    // January 4, 1970 was a Sunday
        $day_names[$n] = ucfirst(gmstrftime('%A',$t));         // %A means full textual day name
    list($month, $year, $month_name, $weekday) =

explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month));
}

$weekday = ($weekday + 7 - $first_day) % 7;                // adjust for $first_day
$title   = htmlentities(ucfirst($month_name)).' '.$year;   // note that some locales don't

capitalize month and day names

$calendar = '<table '.$table_bkgrd.' align="center">'.'<caption >'.($month_href ? '<a

href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).'</caption><tr>';

if (!isset($class_day_names)) $class_day_names = $class_default;
if ($class_day_names == '') $class_day_names = $class_default;
if($day_name_length){                                      #if the day names should be shown

($day_name_length > 0)
    foreach($day_names as $d)
    $calendar .= '<th class="'.$class_day_names.'" align="center" valign="middle"

style="padding-left: 0px; padding-right: 0px;font-size: x-small;"

abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) :

$d).'</th>';
    $calendar .= '</tr><tr style="text-align:right;">';
    }

if($weekday > 0) $calendar .= '<td class="'.$class_default.'" colspan="'.$weekday.'"> </td>';

#initial 'empty' days

for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){
    if($weekday == 7){
        $weekday   = 0; #start a new week
        $calendar .= '</tr><tr style="text-align:right;">';
        }

    $daynow = sprintf('%02d',$day);
    $col_width = ' width="14%"';
    if ( ((($weekday+$first_day) % 7) == 0) || ((($weekday+$first_day) % 7) == 0) ) $col_width = '

width="15%"';

    if(isset($days[$daynow]) and is_array($days[$daynow])){
        @list($link, $classes, $content) = $days[$daynow];
        if(is_null($content))  $content  = $daynow;
        $calendar .= '<td'.$col_width.' align="center" valign="middle" '.($classes ? '

class="'.htmlspecialchars($classes).'" style="padding: 0px 0px 0px 0px;font-size: x-small;">' :

'>').($link ? '<a href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content).'</td>';
        }
    else
        {
        $calendar .= '<td'.$col_width.' class="'.$class_default.'" align="center" valign="middle"

style="padding: 0px 0px 0px 0px;font-size: x-small;"><a class="smalltext"';
        if (((($weekday+$first_day) % 7) == 0) && isset($color_sunday))
            $calendar .= ' style="color:'.$color_sunday.';"';
        if (((($weekday+$first_day) % 7) == 6) && isset($color_saturday))
            $calendar .= ' style="color:'.$color_saturday.';"';
        if ($date_links_to_posting && allowedTo('calendar_post')) {
            $calendar .= '

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$day.'"

target="_self">'.$day.'</a></td>';}
        else {
            $calendar .= ' href="'.htmlspecialchars($month_href).'"

target="_self">'.$day.'</a></td>';}
        }
    }

if($weekday != 7) $calendar .= '<td class="'.$class_default.'" colspan="'.(7-$weekday).'"> </td>';

#remaining "empty" days

echo $calendar.'</tr>';

foreach($order_lists as $list_to_do){
    $flag = strtoupper(substr($list_to_do,0,1));

if (!isset($align_list_entries)) $align_list_entries = 'center';
if (isset($align_list_entries))
    if ($align_list_entries <> 'left') $align_list_entries = 'center';

if (!isset($list_label_class)) $list_label_class = $class_default;
if ($list_label_class == '') $list_label_class = $class_default;

if (!isset($list_entry_class)) $list_entry_class = $class_default;
if ($list_entry_class == '') $list_entry_class = $class_default;

/////////////////////////////////////////////////////////////////
//   BIRTHDAY SECTION
//
if(($flag == 'B') and $show_bdays) {
    if($show_bdays_to_guests or !$user_info['is_guest']) {
        if (!empty($bdays))
        {
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_bdays_color . ';">'.$list_label_bdays.'</td></tr>';
            $ctr = 0;

            foreach($bdays as $startdate => $bday_date)
            {

                if (($startdate >= strftime('%Y-%m-%d', $low_date_ts)) && ($startdate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))

                foreach ($bday_date as $member)
                {
                    $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ? '

class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';
                    $birthdate = strtotime($startdate);
                    $text_start = !isset($month_nam['12']) ? date("M j",$birthdate) :

substr($month_nam[strftime('%m', $birthdate)],0,3) . date(" j",$birthdate);

                    echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext" style="padding:

0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                    echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month='

. substr($startdate,5,2) . '"><strong>' . $text_start . '</strong></a>';
                    echo ' - ';
                    echo '<a href="' . $scripturl . '?action=profile;u=' . $member['id'] . '"

title="' . $txt[92] . ' ' . $member['name'] . '">' . '<font color="'. $member['color']  .'">' . (

($nowdate == $startdate) ? '<b>' : '') . $member['name'] . (isset($member['age']) ? '(' .

$member['age'] . ')' : '') . ( ($nowdate == $startdate) ? '</b>' : '') . '</font>' . '</a>';
                    echo '</td></tr>';
                }

            }
        }
    }
}

/////////////////////////////////////////////////////////////////
//   EVENTS SECTION
//
if(($flag == 'E') and $show_events) {
    if($show_events_to_guests or !$user_info['is_guest']) {

        if (!empty($events))
        {
            $events_printed = array();
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_events_color . ';">'.$list_label_events.'</td></tr>';
            $ctr = 0;

            foreach ($events as $startdate => $evt_date)
            {

                if (($startdate >= strftime('%Y-%m-%d', $low_date_ts)) && ($startdate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))

                foreach ($evt_date as $event)
                {
                    if (!in_array($event['id'],$events_printed)) {
                        $events_printed[] = $event['id'];
                        $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ?

' class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';

                        $evt_start = strtotime($event['start_date']);
                        $evt_end = strtotime($event['end_date']);
                        $text_start = !isset($month_nam['12']) ? date("M j",$evt_start) :

substr($month_nam[strftime('%m', $evt_start)],0,3) . date(" j",$evt_start);
                        $text_end = ($event['start_date'] == $event['end_date'] ? '' : '-'.

(substr($event['start_date'],5,2) == substr($event['end_date'],5,2) ? date("j",$evt_end) :

(!isset($month_nam['12']) ? date("M j",$evt_end) : substr($month_nam[strftime('%m',

$evt_start)],0,3) . date(" j",$evt_start))));

                        $link = $event['topic'] == 0 ? $event['title'] : '<a href="' . $scripturl .

'?topic=' . $event['topic'] . '.0' . '">' . $event['title'] . '</a>';
     
                        echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext"

style="padding: 0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") .

';month=' . substr($startdate,5,2) . '"><strong>' . $text_start . $text_end . '</strong></a>';
                        echo ' - ';
                        echo  ( ($nowdate >= $event['start_date']) && ($event['end_date'] >=

$nowdate) ) ? '<b>'.$link.'</b>' : $link  ;
                        echo '</td></tr>';
                   }
                }


            }
        }
    }
}

/////////////////////////////////////////////////////////////////
//   HOLIDAY SECTION
//
if(($flag == 'H') and $show_hdays) {
    if($show_hdays_to_guests or !$user_info['is_guest']) {

        if (!empty($holidays))
        {
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_hdays_color . ';">'.$list_label_hdays.'</td></tr>';
            $ctr = 0;

            foreach ($holidays as $hDate => $hday)
            {

                if (($hDate >= strftime('%Y-%m-%d', $low_date_ts)) && ($hDate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))
                {
                $eventdate = strtotime(date("Y").substr($hDate, 4));
                foreach ($hday as $holiday)
                {
                    $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ? '

class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';
                    $text_start = !isset($month_nam['12']) ? date("M j",$eventdate) :

substr($month_nam[strftime('%m', $eventdate)],0,3) . date(" j",$eventdate);

                    echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext" style="padding:

0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                    echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month='

. substr($startdate,5,2) . '"><strong>' . $text_start . '</strong></a>';
                    echo ' - ';
                    echo $holiday;
                    echo '</td></tr>';
                }

                }

            }
        }
    }
}
}

if ($show_post_event_button) {
        if (allowedTo('calendar_post')) {
            echo '<tr><td colspan="7" class="'.$class_default.'" align="center" valign="middle">';
            echo '<hr/ >';
            echo '<a href="', $scripturl,  '?action=calendar;sa=post;month=', $month, ';year=',

$year, ';sesc=', $context['session_id'], '">','<br />', create_button('calendarpe.gif',

'calendar23', 'calendar23', 'align="middle"'), '</a>';
            echo '</td></tr>';
    }
}
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: quietstorm on February 12, 2009, 10:28:01 AM
Quote from: ke4obt on February 12, 2009, 09:42:04 AM
Quote from: quietstorm on February 12, 2009, 09:27:59 AM
Quote from: quietstorm on February 11, 2009, 01:18:47 AM
This is a great mod..but it lacks a block for the calendar!  :(
Does anyone know how to add one?

It would be greatly appreciative




TIA

It is a shame no one knows how to do this?  :(

Try this if you are using SMF 1.1.x, apparently it doesn't work with 2.x. Just follow the directions in the top of the code. Hope it helps.
/
******************************************************************************************
*                                                                                         *
* 'Mini' Calendar in phpblock -                                                           *
*                                                                                         *
* Program Parameters/Switches can be specified to change what is displayed and how.       *
*   If highlighting is turned on, only the types of entries which are selected to         *
*   be shown will be highlighted (and have to be shown to guests for guests to see        *
*   highlights). If option of linking the day numbers to calendar event posting form      *
*   is chosen ($date_links_to_posting = true), SMF permissions are in effect and only     *
*   those allowed to post events to the calendar will have this link in effect. For       *
*   $date_links_to_posting = false, and for those not permitted to post events, day       *
*   numbers will link to the full SMF Calendar page. Additionally, if option to show      *
*   a separate 'Post Event' button is chosen ($show_post_event_button = true), it will    *
*   only show for those permitted to post events to the calendar.                         *
*                                                                                         *
* Look for 'NON-ENGLISH' to see section for changing language. This is actually more      *
*   correctly referred to as 'language other than server default' as this Calendar will   *
*   use the server's default LOCALE language for Month and Day names unless overides      *
*   are specified in the code section labeled 'NON-ENGLISH  LABELS, MONTH & DAY NAMES',   *
*   below.                                                                                *
*                                                                                         *
* Once a given day is highlighted, the highlight will not be supplanted. That means       *
*   you may want to modify the order in which highlights are applied in order to set      *
*   desired 'precedence' (i.e. if b-days highlights are applied first, once a given       *
*   day is highlighted with b-day color, it will not be changed to be highlighted         *
*   with event color if an event occurs on the same day; you need to choose an order      *
*   of precedence and sequence the highlighting accordingly by changing the sequence      *
*   of sections in the $order_hilites array. Highlighting will be done in the given       *
*   order.                                                                                *
*                                                                                         *
* Also, if you want the individual B-day/Event/Holiday sections to be ordered in a        *
*   different sequence, you need to change the sequence of entries in the $order_lists    *
*   array.                                                                                *
*                                                                                         *
* Examples of highlighting can be seen in the section 'Highlight colors & backgrounds'    *
*   below. As given, highlighting is done by applying the admin specified calendar        *
*   entry color to the date, bolded, on the default background. Commented example given   *
*   of using bold white on a background box of the admin specified calendar entry color.  *
*                                                                                         *
******************************************************************************************/
global $scripturl, $modSettings, $context, $db_prefix, $user_profile, $user_info, $sourcedir;

///////////////////////////////////////////////////////////////////////////////////////////////////

//////
//
//  Program Paramters/Switches Section
//

// use forum's date/time
//$now = mktime() + $modSettings['time_offset'] * 3600;                                 
// include user's time offset to forum date/time
$now = mktime() + (($user_info['time_offset'] + $modSettings['time_offset']) * 3600);

// Order to do highlightling - earlier have precedence
$order_hilites = array('Birthdays', 'Events', 'Holidays');

// Order to show calendar entry lists
$order_lists = array('Birthdays', 'Events', 'Holidays');

// Alignment of calendar entry lists
// $align_list_entries = 'left';
$align_list_entries = 'center';

// Use 'bordercolor' class for 'gridlines' (table background)
$bordercolor_gridlines = true; // Will 'show through' between table cells to act as 'grid lines'
$gridlines_thickness = 5;       // Pixel thickness for table "cellspacing" - only used w/

$bordercolor_gridlines = true;

// Letters to show on calendar for names of each of the days
$day_name_length = 3;

// Selection for first day of the week: 0-Sunday; 1-Monday
$first_day = 0;

// Show B-Day list at all / to guests
$show_bdays = true;
$show_bdays_to_guests = false;

// Show Event list at all / to guests
$show_events = true;
$show_events_to_guests = true;

// Show Holiday list at all / to guests
$show_hdays = true;
$show_hdays_to_guests = true;

// If true, calendar date numbers link to calendar event posting form
//    if not, links to full calendar page
$date_links_to_posting = true;

// Adds 'Post Event' button to bottom of block
$show_post_event_button = true; 

// Highlight events, b-days, holidays (only if they're selected to show at all)
$show_hilites = true;         

$color_sunday = '#D00000';    // comment out to use default text colors -
$color_saturday = '#D00000';  //   can use hex codes with leading '#'
$color_today = 'steelblue';   //   or color names
$bkgrd_today = 'white';

// Default class to use when no other class specified
$class_default = '';
// $class_default = 'smalltext';
// $class_default = 'windowbg2';

// Class to use for column top day names
// $class_day_names = 'titlebg';  // Ex.: titlebg, catbg, catbg2, catbg3, windowbg, windowbg2,

windowbg3

// Class to use for 'Today' highlight
$class_today = 'windowbg2';

// Text Labels to use for calendar entry lists
$list_label_bdays =  '__Birthdays__';
$list_label_events = '____Events___';
$list_label_hdays =  '__ Holidays___';

// Colors for text labels on calendar entry lists
$list_label_bdays_color = '#'.$modSettings['cal_bdaycolor'];
$list_label_events_color = '#'.$modSettings['cal_eventcolor'];
$list_label_hdays_color = '#'.$modSettings['cal_holidaycolor'];

// Choose to show 'look-behind' for the various entry types
$show_bdays_past = true;
$show_events_past = true;
$show_hdays_past = true;

// For any of the above chosen, days prior to today to display -
//    use '0' (zero) to use beginning of current month
$past_look_behind_period = 7;

// Class for 'cells' holding text labels on calendar entry lists
// $list_label_class = 'titlebg'; // Ex.: titlebg, catbg, catbg2, catbg3, windowbg, windowbg2,

windowbg3

// Class for 'cells' holding calendar entry lists
//   use regular variable for all same class
//   use two-member array to alternate between the two
$list_entry_class = '';
// $list_entry_class = 'windowbg';
// $list_entry_class = array('windowbg2','windowbg3');

///////////////////////////////
//   Highlight colors & backgrounds
//
//   Admin-specified birthday color: $modSettings['cal_bdaycolor']
//   Admin-specified event color:    $modSettings['cal_eventcolor']
//   Admin-specified holiday color:  $modSettings['cal_holidaycolor']

// Highlight bold white on backgound of forum's defined color for date entry type
//
// $hilite_bday_color = 'white';
// $hilite_bday_bkgrd = '#'.$modSettings['cal_bdaycolor'];
// $hilite_bday_bold = true;
// $hilite_bday_class = '';
//
// $hilite_event_color = 'white';
// $hilite_event_bkgrd = '#'.$modSettings['cal_eventcolor'];
// $hilite_event_bold = true;
// $hilite_event_class = '';
//
// $hilite_hday_color = 'white';
// $hilite_hday_bkgrd = '#'.$modSettings['cal_holidaycolor'];
// $hilite_hday_bold = true;
// $hilite_hday_class = '';
////////////////////////////////

// Highlight bolded color for date entry type on default backgound
//
$hilite_bday_color = '#'.$modSettings['cal_bdaycolor'];
// $hilite_bday_bkgrd = '';
$hilite_bday_bold = true;
// $hilite_bday_class = 'windowbg3';
//
$hilite_event_color = '#'.$modSettings['cal_eventcolor'];
// $hilite_event_bkgrd = '';
$hilite_event_bold = true;
// $hilite_event_class = 'windowbg3';
//
$hilite_hday_color = '#'.$modSettings['cal_holidaycolor'];
// $hilite_hday_bkgrd = '';
$hilite_hday_bold = true;
// $hilite_hday_class = 'windowbg3';
////////////////////////////////

/////////////////////////////////////////////// NON-ENGLISH  LABELS, MONTH & DAY //NAMES (start)
//
// Non-English Labels, Month and Day Names
//
// To use Month and Day names other than the default on your server,
//   remove the two asterisk '*******' lines (the first starts with '/***'
//   and the second ends '***/') and supply the List Section Labels and the
//   Month and Day names to use per instructions below.
//
/***
$list_label_bdays = '-----Cumpleaños-----';  // Change to labels in language of choice
$list_label_events = '----Fiestas----';
$list_label_hdays = '----Festivos----';
***/
/***
// specify all the day names in desired language
//   if you specify "$first_day = 1;" above, first entry below must be for Monday; e.g:
//      when $first_day = 0;  then $day_names =

array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
//      when $first_day = 1;  then $day_names =

array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
//   
$day_names = array('Lunes','Martes','Miercoles','Jueves','Viernes','Sabado','Domingo');
***/
/***
// specify the month names in desired language
//   
$month_nam = array();
$month_nam['01'] = 'Enero';       
$month_nam['02'] = 'Febrero';
$month_nam['03'] = 'Marzo';
$month_nam['04'] = 'Abril';
$month_nam['05'] = 'Mayo';
$month_nam['06'] = 'Junio';
$month_nam['07'] = 'Julio';
$month_nam['08'] = 'Agosto';
$month_nam['09'] = 'Septiembre';
$month_nam['10'] = 'Octubre';
$month_nam['11'] = 'Noviembre';
$month_nam['12'] = 'Diciembre';
$month_name = $month_nam[date('m',$now)];
/////////////////////////////// NON-ENGLISH  LABELS, MONTH & DAY
//NAMES (end)
***/
//
//  Program Paramters/Switches Section - End
//    (modify below at your own risk!!!)
//
///////////////////////////////////////////////////////////////////////////////////////////////////

//////

$hi_bday_color = '';
if (isset($hilite_bday_color)) $hi_bday_color = 'color:'.$hilite_bday_color.'; ';
$hi_bday_bkgrd = '';
if (isset($hilite_bday_bkgrd)) $hi_bday_bkgrd = 'background-color: '.$hilite_bday_bkgrd.'; ';
$hi_bday_fontwt = '';
if (isset($hilite_bday_bold) && $hilite_bday_bold) $hi_bday_fontwt = 'font-weight:bold; ';

$hi_event_color = '';
if (isset($hilite_event_color)) $hi_event_color = 'color:'.$hilite_event_color.'; ';
$hi_event_bkgrd = '';
if (isset($hilite_event_bkgrd)) $hi_event_bkgrd = 'background-color: '.$hilite_event_bkgrd.'; ';
$hi_event_fontwt = '';
if (isset($hilite_event_bold) && $hilite_event_bold) $hi_event_fontwt = 'font-weight:bold; ';

$hi_hday_color = '';
if (isset($hilite_hday_color)) $hi_hday_color = 'color:'.$hilite_hday_color.'; ';
$hi_hday_bkgrd = '';
if (isset($hilite_hday_bkgrd)) $hi_hday_bkgrd = 'background-color: '.$hilite_hday_bkgrd.'; ';
$hi_hday_fontwt = '';
if (isset($hilite_hday_bold) && $hilite_hday_bold) $hi_hday_fontwt = 'font-weight:bold; ';

if (!isset($class_default)) $class_default = 'windowbg';
if ($class_default == '') $class_default = 'windowbg';

$table_bkgrd = 'class="'.$class_default.'" cellspacing="1"';
if ($bordercolor_gridlines) $table_bkgrd = 'class="bordercolor"

cellspacing="'.$gridlines_thickness.'"';

$today = strftime('%d', $now);
$year = date('Y',$now);
$month = date('n',$now);
$nowdate = strftime('%Y-%m-%d', $now);

$month_href = $scripturl . '?action=calendar;year='.$year.';month='.$month;

require_once($sourcedir . '/Calendar.php');

$low_date_base = strftime('%Y-%m-%d', $now - 24 * 3600);
$high_date_base = strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600);

$low_date = ($show_bdays_past || $show_events_past || $show_hdays_past) ? (

($past_look_behind_period == 0) ? date('Y',$now).'-'.date('m',$now).'-01' : strftime('%Y-%m-%d',

$now - (($past_look_behind_period + 1) * 24 * 3600)) ) : $low_date_base;
$high_date = $high_date_base;

$low_date_ts = strtotime($low_date);

if ($show_bdays) {
    $bdays = $show_bdays_past ? calendarBirthdayArray($low_date, $high_date) :

calendarBirthdayArray($low_date_base, $high_date);
    ksort($bdays); }

if ($show_events) {
    $events = $show_events_past ? calendarEventArray($low_date, $high_date, false) :

calendarEventArray($low_date_base, $high_date, false);
    ksort($events); }

if ($show_hdays) {
    $holidays = $show_hdays_past ? calendarHolidayArray($low_date, $high_date) :

calendarHolidayArray($low_date_base, $high_date);
    ksort($holidays); }

$todays_color = isset($color_today) ?'color:'.$color_today.'; ' : '';
$todays_bkgrd = isset($bkgrd_today) ?'background-color:'.$bkgrd_today.'; ' : '';

$stub = '<a class="smalltext" style="'.$todays_color.'font-weight:bold; border:solid 1px black;

'.$todays_bkgrd.'padding: 0px 2px 0px 2px;"';

// Highlighted 'Today' Box
if ($date_links_to_posting && allowedTo('calendar_post')) {
    $days = array($today=>array(NULL,$class_today,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$today.'"

target="_self">'.date('j',$now).'</a>'));}
else {
    $days = array($today=>array(NULL,$class_today,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.date('j',$now).'</a>'));}

////////////////////////////////////////////////////////////////////////////// HIGHLIGHTING (start)
//
if ($show_hilites) {
    foreach($order_hilites as $hilite_to_do){
        $flag = strtoupper(substr($hilite_to_do,0,1));

///////////////////////////////////////////////// B-Day Highlighting
        if ($flag == 'B') {
            if ($show_bdays) {
                if ($show_bdays_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_bday_color . $hi_bday_bkgrd .

$hi_bday_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_bday_class)) $hilite_bday_class = $class_default;
                    if ($hilite_bday_class == '') $hilite_bday_class = $class_default;
                    foreach($bdays as $startdate => $value)
                        if(!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_bday_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_bday_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////// Event Highlighting
        if ($flag == 'E') {
            if ($show_events) {
                if ($show_events_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_event_color . $hi_event_bkgrd .

$hi_event_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_event_class)) $hilite_event_class = $class_default;
                    if ($hilite_event_class == '') $hilite_event_class = $class_default;
                    foreach($events as $startdate => $value)
                        if(!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_event_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_event_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////// Holiday Highlighting
        if ($flag == 'H') {
            if ($show_hdays) {
                if ($show_hdays_to_guests or !$user_info['is_guest']) {
                    $stub = '<a class="smalltext" style="'. $hi_hday_color . $hi_hday_bkgrd .

$hi_hday_fontwt .'padding: 0px 2px 0px 2px;"';
                    if (!isset($hilite_hday_class)) $hilite_hday_class = $class_default;
                    if ($hilite_hday_class == '') $hilite_hday_class = $class_default;
                    foreach($holidays as $startdate => $value)
                        if (!isset($days[substr($startdate,8)]) or

!is_array($days[substr($startdate,8)])) {
                            if (substr($startdate,0,7) == substr($nowdate,0,7)) {
                                if ($date_links_to_posting && allowedTo('calendar_post')) {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_hday_class,$stub.'

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.substr($startdat

e,8).'" target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                                else {
                                    $days[substr($startdate,8)] =

array(NULL,$hilite_hday_class,$stub.' href="'.htmlspecialchars($month_href).'"

target="_self">'.sprintf('%d',substr($startdate,8)).'</a>');}
                            }
                        }
                }
            }
        }
////////////////////////////////////////////////////////////////////
    }
}

////////////////////////////////////////////////////////////////////////////// HIGHLIGHTING (end)

$first_of_month = gmmktime(0,0,0,$month,1,$year);
list($month, $year, $weekday) = explode(',',gmstrftime('%m,%Y,%w',$first_of_month));

if (!isset($month_nam['12'])) {
    $day_names = array();                                      // generate all the day names

according to the current locale
    for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400)    // January 4, 1970 was a Sunday
        $day_names[$n] = ucfirst(gmstrftime('%A',$t));         // %A means full textual day name
    list($month, $year, $month_name, $weekday) =

explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month));
}

$weekday = ($weekday + 7 - $first_day) % 7;                // adjust for $first_day
$title   = htmlentities(ucfirst($month_name)).' '.$year;   // note that some locales don't

capitalize month and day names

$calendar = '<table '.$table_bkgrd.' align="center">'.'<caption >'.($month_href ? '<a

href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).'</caption><tr>';

if (!isset($class_day_names)) $class_day_names = $class_default;
if ($class_day_names == '') $class_day_names = $class_default;
if($day_name_length){                                      #if the day names should be shown

($day_name_length > 0)
    foreach($day_names as $d)
    $calendar .= '<th class="'.$class_day_names.'" align="center" valign="middle"

style="padding-left: 0px; padding-right: 0px;font-size: x-small;"

abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) :

$d).'</th>';
    $calendar .= '</tr><tr style="text-align:right;">';
    }

if($weekday > 0) $calendar .= '<td class="'.$class_default.'" colspan="'.$weekday.'"> </td>';

#initial 'empty' days

for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){
    if($weekday == 7){
        $weekday   = 0; #start a new week
        $calendar .= '</tr><tr style="text-align:right;">';
        }

    $daynow = sprintf('%02d',$day);
    $col_width = ' width="14%"';
    if ( ((($weekday+$first_day) % 7) == 0) || ((($weekday+$first_day) % 7) == 0) ) $col_width = '

width="15%"';

    if(isset($days[$daynow]) and is_array($days[$daynow])){
        @list($link, $classes, $content) = $days[$daynow];
        if(is_null($content))  $content  = $daynow;
        $calendar .= '<td'.$col_width.' align="center" valign="middle" '.($classes ? '

class="'.htmlspecialchars($classes).'" style="padding: 0px 0px 0px 0px;font-size: x-small;">' :

'>').($link ? '<a href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content).'</td>';
        }
    else
        {
        $calendar .= '<td'.$col_width.' class="'.$class_default.'" align="center" valign="middle"

style="padding: 0px 0px 0px 0px;font-size: x-small;"><a class="smalltext"';
        if (((($weekday+$first_day) % 7) == 0) && isset($color_sunday))
            $calendar .= ' style="color:'.$color_sunday.';"';
        if (((($weekday+$first_day) % 7) == 6) && isset($color_saturday))
            $calendar .= ' style="color:'.$color_saturday.';"';
        if ($date_links_to_posting && allowedTo('calendar_post')) {
            $calendar .= '

href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$day.'"

target="_self">'.$day.'</a></td>';}
        else {
            $calendar .= ' href="'.htmlspecialchars($month_href).'"

target="_self">'.$day.'</a></td>';}
        }
    }

if($weekday != 7) $calendar .= '<td class="'.$class_default.'" colspan="'.(7-$weekday).'"> </td>';

#remaining "empty" days

echo $calendar.'</tr>';

foreach($order_lists as $list_to_do){
    $flag = strtoupper(substr($list_to_do,0,1));

if (!isset($align_list_entries)) $align_list_entries = 'center';
if (isset($align_list_entries))
    if ($align_list_entries <> 'left') $align_list_entries = 'center';

if (!isset($list_label_class)) $list_label_class = $class_default;
if ($list_label_class == '') $list_label_class = $class_default;

if (!isset($list_entry_class)) $list_entry_class = $class_default;
if ($list_entry_class == '') $list_entry_class = $class_default;

/////////////////////////////////////////////////////////////////
//   BIRTHDAY SECTION
//
if(($flag == 'B') and $show_bdays) {
    if($show_bdays_to_guests or !$user_info['is_guest']) {
        if (!empty($bdays))
        {
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_bdays_color . ';">'.$list_label_bdays.'</td></tr>';
            $ctr = 0;

            foreach($bdays as $startdate => $bday_date)
            {

                if (($startdate >= strftime('%Y-%m-%d', $low_date_ts)) && ($startdate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))

                foreach ($bday_date as $member)
                {
                    $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ? '

class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';
                    $birthdate = strtotime($startdate);
                    $text_start = !isset($month_nam['12']) ? date("M j",$birthdate) :

substr($month_nam[strftime('%m', $birthdate)],0,3) . date(" j",$birthdate);

                    echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext" style="padding:

0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                    echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month='

. substr($startdate,5,2) . '"><strong>' . $text_start . '</strong></a>';
                    echo ' - ';
                    echo '<a href="' . $scripturl . '?action=profile;u=' . $member['id'] . '"

title="' . $txt[92] . ' ' . $member['name'] . '">' . '<font color="'. $member['color']  .'">' . (

($nowdate == $startdate) ? '<b>' : '') . $member['name'] . (isset($member['age']) ? '(' .

$member['age'] . ')' : '') . ( ($nowdate == $startdate) ? '</b>' : '') . '</font>' . '</a>';
                    echo '</td></tr>';
                }

            }
        }
    }
}

/////////////////////////////////////////////////////////////////
//   EVENTS SECTION
//
if(($flag == 'E') and $show_events) {
    if($show_events_to_guests or !$user_info['is_guest']) {

        if (!empty($events))
        {
            $events_printed = array();
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_events_color . ';">'.$list_label_events.'</td></tr>';
            $ctr = 0;

            foreach ($events as $startdate => $evt_date)
            {

                if (($startdate >= strftime('%Y-%m-%d', $low_date_ts)) && ($startdate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))

                foreach ($evt_date as $event)
                {
                    if (!in_array($event['id'],$events_printed)) {
                        $events_printed[] = $event['id'];
                        $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ?

' class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';

                        $evt_start = strtotime($event['start_date']);
                        $evt_end = strtotime($event['end_date']);
                        $text_start = !isset($month_nam['12']) ? date("M j",$evt_start) :

substr($month_nam[strftime('%m', $evt_start)],0,3) . date(" j",$evt_start);
                        $text_end = ($event['start_date'] == $event['end_date'] ? '' : '-'.

(substr($event['start_date'],5,2) == substr($event['end_date'],5,2) ? date("j",$evt_end) :

(!isset($month_nam['12']) ? date("M j",$evt_end) : substr($month_nam[strftime('%m',

$evt_start)],0,3) . date(" j",$evt_start))));

                        $link = $event['topic'] == 0 ? $event['title'] : '<a href="' . $scripturl .

'?topic=' . $event['topic'] . '.0' . '">' . $event['title'] . '</a>';
     
                        echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext"

style="padding: 0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") .

';month=' . substr($startdate,5,2) . '"><strong>' . $text_start . $text_end . '</strong></a>';
                        echo ' - ';
                        echo  ( ($nowdate >= $event['start_date']) && ($event['end_date'] >=

$nowdate) ) ? '<b>'.$link.'</b>' : $link  ;
                        echo '</td></tr>';
                   }
                }


            }
        }
    }
}

/////////////////////////////////////////////////////////////////
//   HOLIDAY SECTION
//
if(($flag == 'H') and $show_hdays) {
    if($show_hdays_to_guests or !$user_info['is_guest']) {

        if (!empty($holidays))
        {
            echo '<tr'. (isset($list_label_class) ? ' class="'.$list_label_class.'"' : '') .'><td

colspan="7" class="smalltext" align="center" style="font-weight: bold; color: ' .

$list_label_hdays_color . ';">'.$list_label_hdays.'</td></tr>';
            $ctr = 0;

            foreach ($holidays as $hDate => $hday)
            {

                if (($hDate >= strftime('%Y-%m-%d', $low_date_ts)) && ($hDate <=

strftime('%Y-%m-%d', $now + $modSettings['cal_days_for_index'] * 24 * 3600)))
                {
                $eventdate = strtotime(date("Y").substr($hDate, 4));
                foreach ($hday as $holiday)
                {
                    $class_to_use = isset($list_entry_class) ? ( !is_array($list_entry_class) ? '

class="'.$list_entry_class.'"' : ' class="'.$list_entry_class[($ctr++) %

count($list_entry_class)].'"') : '';
                    $text_start = !isset($month_nam['12']) ? date("M j",$eventdate) :

substr($month_nam[strftime('%m', $eventdate)],0,3) . date(" j",$eventdate);

                    echo '<tr'.$class_to_use.'><td colspan="7" class="smalltext" style="padding:

0px 0px 0px 0px;" width="100%" align="'.$align_list_entries.'">';
                    echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month='

. substr($startdate,5,2) . '"><strong>' . $text_start . '</strong></a>';
                    echo ' - ';
                    echo $holiday;
                    echo '</td></tr>';
                }

                }

            }
        }
    }
}
}

if ($show_post_event_button) {
        if (allowedTo('calendar_post')) {
            echo '<tr><td colspan="7" class="'.$class_default.'" align="center" valign="middle">';
            echo '<hr/ >';
            echo '<a href="', $scripturl,  '?action=calendar;sa=post;month=', $month, ';year=',

$year, ';sesc=', $context['session_id'], '">','<br />', create_button('calendarpe.gif',

'calendar23', 'calendar23', 'align="middle"'), '</a>';
            echo '</td></tr>';
    }
}



Sorry..I should have mention I am using SMF 2.0RC1   :(
Can anyone else help out> This is would great!  :)

TIA
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 12, 2009, 12:32:19 PM
Sorry, forgot to let you know just paste the above code into a custom php block. That's it.

Flip
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 12, 2009, 06:27:56 PM
I'm working on a calendar mod right now...   After I am done that, I will look at an SSI mini-calendar block for 2.0
(I made one for 1.1.x in mambo/joomla)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Isaiahs Grandma on February 13, 2009, 01:27:59 AM
I have installed it and could see what I put in just fine,
but I am unclear on how to change the it in my template
so it creates my home and forum tabs to seperate it.
I want the portal to be my home page, and to set the forum index
as the second tab. If someone could help me I would appreciate it.
I am wanting to have a home and a foum tab similar to what i have on
my old site  http://ourhangout.smfforfree4.com/index.php
This is what I have in my template now.

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'managegames', 'arcadesettings', 'arcadecategory', 'managegames', 'arcadesettings', 'arcadecategory', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'arcade', 'arcade', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   // Are we using right-to-left orientation?
   if ($context['right_to_left'])
   {
      $first = 'last';
      $last = 'first';
   }
   else
   {
      $first = 'first';
      $last = 'last';
   }

   // Show the start of the tab section.
   echo '
         <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
            <tr>
               <td class="maintab_' , $first , '"> </td>';

   // Show the [home] button.
   echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '">' , $txt[103] , '</a>
            </td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

   // Show the [help] button.
   echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
            </td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

       echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
         <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
            <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
         </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '"> </td>' : '';// How about the [search] button?
   if ($context['allow_search'])
      echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
            </td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
            </td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
            </td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
            </td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

   // The [calendar]!
   if ($context['allow_calendar'])
      echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
            </td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
            </td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


   // If the user is a guest, show [login] button.
   if ($context['user']['is_guest'])
      echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
            </td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


   // If the user is a guest, also show [register] button.
   if ($context['user']['is_guest'])
      echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
            </td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


   // Otherwise, they might want to [logout]...
   if ($context['user']['is_logged'])
      echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
            </td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

   // The end of tab section.
   echo '
            <td class="maintab_' , $last , '"> </td>
         </tr>
      </table>';

}
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: LT07 on February 13, 2009, 02:50:23 AM
Hey great mod, love it ;D

But unfortunately I have a couple of problems :-X

On SMF 1.1.8 the forum crashes (badly) if I enable the home page feature, but only if I actually visit the home page i.e.. mydomain/index.php ... all other pages are unaffected as far as I could tell

My SMF 1.1.8 is installed in the root directory of the domain.

My SMF 2.0 RC1 is installed in a subdomain (forum.mydomain.com) and every time anybody uses the shoutbox ( which is waaaay cool ) gives an error "Unable to load the 'main' template." ... its driving everybody nuts :-*

A fix for the shoutbox would be awesome, I've tried changing themes but it doesn't seem to be theme related as it happens on the default one. any ideas where I should look ?

Cheers <insert missing thumbs up smiley here>
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on February 13, 2009, 03:34:49 AM
great mod but it need a block where you can put it at the bottom of the forum  there's only center left and right so a bottom choice would be great
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 13, 2009, 01:10:34 PM
Quote from: Kindred on February 11, 2009, 07:44:17 PM
yup... here's your problem:

<font color="'. $member['color']  .'">

I would bet that $member['color'] is never actually set, hence the error message

Hey Kindred,
OK, set all the member group colors and I still have the same error,
Was there another place I need to go and change setings?
If not, what am I missing?
Should I just deal with-it till a calendar block is ready  for EZ Portal?

Thanks Flip
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 13, 2009, 01:27:39 PM
Hello
I have a problem, I made a Portal and I want to install four EzBlock in the Portal, the problem is when I do that it is in the homepage that they are install, why?
thank you
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ~Killer~ on February 13, 2009, 01:34:25 PM
How would I center all chat in the shoutbox?
Also, how exactly could I, or maybe in your next release, in the ShoutBox, if you press [Enter], it posts that text, not does a linebreak, it's very annoying. Maybe an option?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: I AM Legend on February 13, 2009, 03:06:01 PM
This is a reply to the same question asked by me on SMF Helper from ccbtimewiz,

ccbtimewiz: Alright, I went through and fixed EzPortal's theme_linktree() issue.

Open ./Sources/Load.php

Find:

   // Robots shouldn't be logging in or registering.  So, they aren't a bot.  Better to be wrong than sorry (or people won't be able to log in!), anyway.
   if ((isset($_REQUEST['action']) && in_array($_REQUEST['action'], array('login', 'login2', 'register'))) || !$context['user']['is_guest'])
      $context['browser']['possibly_robot'] = false;

   // Set the top level linktree up.
   array_unshift($context['linktree'], array(
      'url' => $scripturl,
      'name' => $context['forum_name_html_safe']
   ));


Replace with

   // Robots shouldn't be logging in or registering.  So, they aren't a bot.  Better to be wrong than sorry (or people won't be able to log in!), anyway.
   if ((isset($_REQUEST['action']) && in_array($_REQUEST['action'], array('login', 'login2', 'register'))) || !$context['user']['is_guest'])
      $context['browser']['possibly_robot'] = false;

   // -----------------------------------------------------------------------------------------------
   // + EzPortal v0.2.4 linktree() fix by ccbtimewiz [2/12/09] (http://jeunosky.net/)

   # Just in case... making this a global.
   global $ezpSettings;

   # Does $ezpSettings exist?! If not, set it to false and log NO errors.
   if (empty($ezpSettings))
    {
      $ezpSettings = array();
      $ezpSettings['ezp_portal_enable'] = 0;
    }

   # Are they perhaps running SMF 1.1.x and forum_name_html_safe doesn't exist? If so, let's fix 'em up.
   if (empty($context['forum_name_html_safe']))
      $forum_title = $context['forum_name'];
   else
      $forum_title = $context['forum_name_html_safe'];

   // This contains the "home" of the theme_linktree(). This is set first if no portal page is active.
   # @example: My Website
   if (empty($ezpSettings['ezp_portal_enable']))
      array_unshift($context['linktree'], array(
         'url' => $scripturl,
         'name' => $forum_title
      ));
   // And finally, if the portal IS set, show the forum name and then "forum".
   # @example: My Website => Forum
   else
      array_unshift($context['linktree'],
         array(
            'url' => $scripturl,
            'name' => $forum_title
         ),
         array(
            'url' => $scripturl . '?action=forum',
            'name' => 'Forum'
         )
      );
   unset($ezpSettings);
   unset($forum_title);
   // -----------------------------------------------------------------------------------------------


Issue Solved.


On a personal note from me, I was wondering, can this be incorporated into the mod for new people downloading it  ??? so they don't encounter the issue ever again.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Isaiahs Grandma on February 13, 2009, 03:58:52 PM
Can someone tell me how to add a tab for my portal to my
template?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Marsh on February 13, 2009, 04:09:25 PM
Quote from: vbgamer45 on February 11, 2009, 08:32:53 PM
Quote from: Mikeric on February 11, 2009, 01:20:55 PM
I just updated to RC1 and installed the newest version and now whenever anyone says anythign in the shoutbox they get this error.

QuoteAn Error Has Occurred!
Unable to load the 'main' template.
I see that issue will work on a fix

Any estimated time on the fix? i really need it. Thanks
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 13, 2009, 07:26:56 PM
Hi Flip,

I think the problem is not that $member['color'] is not set, but that the $member array is not defined (hence the system tries to call something that does not exist.

I bumped into the same problem with my list events block when I tried to define the colors.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 13, 2009, 09:10:59 PM
Quote from: Kindred on February 13, 2009, 07:26:56 PM
Hi Flip,

I think the problem is not that $member['color'] is not set, but that the $member array is not defined (hence the system tries to call something that does not exist.

I bumped into the same problem with my list events block when I tried to define the colors.


ok. so, is there any way to "fake" the calendar out by commenting out that line? Or adding a call so that it thinks it's actually there? Or adding something to SMF so that string sees what it's looking for? If so, where and how would I go about doing that?
Otherwise, any clue as to when a calendar block will be available for EZPortal and SMF 1.1.x? (I know that you've been working on one)
Maybe I missed it, but what's the difference between EZP 0.2.5 and EZP 0.2.5.1?

Thanks again,
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 13, 2009, 11:28:44 PM
hey flip...   try adding

global $member;

near the top of the function.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 14, 2009, 12:03:37 AM
Quote from: I AM Legend on February 13, 2009, 03:06:01 PM
This is a reply to the same question asked by me on SMF Helper from ccbtimewiz,

ccbtimewiz: Alright, I went through and fixed EzPortal's theme_linktree() issue.

Open ./Sources/Load.php
...

Issue Solved.


I am not sure what issue you think this is supposed to fix... but it does not fix the only issues that I currently have with the link tree.

Currently, in the linktree: CATEGORIES link to index.php#6 instead of index.php?action=forum#6
which means that clicking on a category in the linktree causes the system to send you back to the EZportal hompage.

Adding your code causes the linktree to duplicate itself i.e.  forumname > forum > forumname > forum > category > board and does NOT fix the category bug.
Actually, the version of EZPortal that I have tells me to completely REMOVE the linktree code from that section of load.php
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 14, 2009, 04:24:01 AM
Quote from: filipes on February 13, 2009, 01:27:39 PM
Hello
I have a problem, I made a Portal and I want to install four EzBlock in the Portal, the problem is when I do that it is in the homepage that they are install, why?
thank you
Do not forget me please, thank you? I need help!!!!!
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 14, 2009, 07:43:57 AM
did you set the vissable options for witch pages your blocks show on?
if not right under the block data and vissable options, editor and weather or not the users can colaps the block is a button labeled:
Update Visible Options,
after clicking that you should see something like this:

Visible Areas

All Actions and Boards
Forum
Portal Homepage

Visible Actions
Help
Search
Profile
My Messages
Members
Unread Posts
Unread Replies
Login
Posting Page
Register
Calender
Stats
Who is Online
Admin
Modifications Actions
These work if the modification is installed
SMF Gallery [Delete]
SMF Arcade [Delete]
SMF Links [Delete]
Downloads System [Delete]
SMF Classifieds [Delete]
SMF Store [Delete]
Add New Action 
Visible Boards

here you can select the pages the blocks are vissable on and by default:
" All Actions and Boards"
located at the top of the list
is checked, there are several other options avaleble in that area.

hope this is what you are in need of.

TTYL Flip   
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 14, 2009, 08:38:05 AM
Quote from: ke4obt on February 14, 2009, 07:43:57 AM
did you set the vissable options for witch pages your blocks show on?
if not right under the block data and vissable options, editor and weather or not the users can colaps the block is a button labeled:
Update Visible Options,
after clicking that you should see something like this:

Visible Areas

All Actions and Boards
Forum
Portal Homepage

Visible Actions
Help
Search
Profile
My Messages
Members
Unread Posts
Unread Replies
Login
Posting Page
Register
Calender
Stats
Who is Online
Admin
Modifications Actions
These work if the modification is installed
SMF Gallery [Delete]
SMF Arcade [Delete]
SMF Links [Delete]
Downloads System [Delete]
SMF Classifieds [Delete]
SMF Store [Delete]
Add New Action 
Visible Boards

here you can select the pages the blocks are vissable on and by default:
" All Actions and Boards"
located at the top of the list
is checked, there are several other options avaleble in that area.

hope this is what you are in need of.

TTYL Flip

Hello
Thanks for you help, but I have the same problem, I understand what you say, it works in the forum, in the page of the Portal nothing at all, one question where can I find the adress of my Portal I think the problem comes from this, I think that I do not have the wright adress of the Portal, is the adress of the Page Manager is the same of the Portal?
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 14, 2009, 09:06:17 AM
no, what you should have is:
EzPortal Url: http://www.yoursite.com/ezportal/
EzPortal Path: whatever the full path to the ezportal is (e.g. /host/abc/def/ghi/html/forum_root/ezportal/)
check box: Enable Portal Homepage
make sure the box is checked 

well i hope this helps, as i'm still learning.
just let me know and if we can't figure it out then we'll both learn together, how's that?

TTYL Flip
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 14, 2009, 09:56:29 AM
Quote from: ke4obt on February 14, 2009, 09:06:17 AM
no, what you should have is:
EzPortal Url: http://www.yoursite.com/ezportal/
EzPortal Path: whatever the full path to the ezportal is (e.g. /host/abc/def/ghi/html/forum_root/ezportal/)
check box: Enable Portal Homepage
make sure the box is checked 

well i hope this helps, as i'm still learning.
just let me know and if we can't figure it out then we'll both learn together, how's that?

TTYL Flip
Hello
The problem is when I check the box that you speak I do not see the Forum any more only the Portal, the link of my Portal gives me this that I think it is not good, I am sorry for my English because I am Portuguese 
http://www.forumemigrante.com/forum/ezportal/
Very happy with your help thanks ;)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 14, 2009, 10:17:40 AM
filipes,
I just registered on your site as ke4obt.
Just to let you know, this is Mickey - Flip's wife. I speak a little Brazilian Portuguese and some Spanish, so Flip asked me to come and help him translate. :)
Please approve the registration so I can see a little more on your site.

Thanks,
Mickey
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 14, 2009, 10:41:04 AM
Quote from: Kindred on February 13, 2009, 11:28:44 PM
hey flip...   try adding

global $member;

near the top of the function.

ok, Kindred,
This is the wife - Mickey
can you give me the "dummies" version? Which file do I need to edit and where should I look for the function?
Flip gets me into a lot of coding I have NO clue where to start :)
I'm learning quickly (I hope). But there are still some things I don't know yet. (just act like I know everything and try to fool everybody - he he). Flip's learning to code too, but since he has to rely on his screen reader, it's taking him a lot longer. (he just called me a name because I said "a lot longer" - but he'll get over it. *evil grin*)
So, if you can please walk me through where to put the code, I will be VERY grateful.

Thanks,
Mickey

ps - Flip guesses at the top of the ezportal.template.php with the other global calls. I have no guess. Just to be on the safe side, I don't let him do any "real" editing of files unless I'm home to eyeball it. :)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 14, 2009, 11:03:00 AM
filipes,
thanks for approving me. After I log in, and try to go to the portal, it tells me "Ocorreu um erro!
You do not have permission to access this page"
How do you have your permissions set up?
How many pages are you trying to get set up? The reason why is we need to know what all the buttons say. For example, on our site, the Portal is the "main" page. The second button is the forum home.
On our site, the buttons are Home (which is the Portal), Forum (which is the forum index page, of course), help (which is the help section) - those are the 3 "default" links in our menu.
It looks like you have those 3 links and then a link to a totally different forum in your menu. When I click on the portal link, I think the link is wrong - I think it should be http://www.forumemigrante.com/forum/ and that's it.
Do you have the SEF URLs activated in your site?
QuoteI think that I do not have the wright adress of the Portal, is the adress of the Page Manager is the same of the Portal?
No, in your admin area ez portal admin setings your portal url should be: http://www.forumemigrante.com/forum/ezportal/  .
the url in your button pointing to your portal in your menu should be:
http://www.forumemigrante.com/forum/index.php
and as far as i can tell the portal button is being directed tworeds this url:
http:/   /www.forumemigrante.com/forum/index.php?action=ezportal;sa=page;p=1
and the button in your menu labled Início     is pointing to:
: http://www.forumemigrante.com/forum/index.php
do you have the check box under the portal settings checked
to show the portal home-page?
and can you tell me witch blocks you have active,
so i know what should be there?

Flip


if you are still haveing trouble when she gets up we will take another look.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 14, 2009, 11:14:23 AM
thanks for approving me. After I log in, and try to go to the portal, it tells me "Ocorreu um erro!
You do not have permission to access this page"
How do you have your permissions set up?
(You have permission to access to the page that you speak.....)
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Marsh on February 14, 2009, 12:04:28 PM
goto modify on your ez portal block and there will be checkboxes with membergroups.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 14, 2009, 01:23:09 PM
Quote from: ke4obt on February 14, 2009, 10:41:04 AM
Quote from: Kindred on February 13, 2009, 11:28:44 PM
hey flip...   try adding

global $member;

near the top of the function.

ok, Kindred,
This is the wife - Mickey
can you give me the "dummies" version? Which file do I need to edit and where should I look for the function?
Flip gets me into a lot of coding I have NO clue where to start :)
I'm learning quickly (I hope). But there are still some things I don't know yet. (just act like I know everything and try to fool everybody - he he). Flip's learning to code too, but since he has to rely on his screen reader, it's taking him a lot longer. (he just called me a name because I said "a lot longer" - but he'll get over it. *evil grin*)
So, if you can please walk me through where to put the code, I will be VERY grateful.

Thanks,
Mickey

ps - Flip guesses at the top of the ezportal.template.php with the other global calls. I have no guess. Just to be on the safe side, I don't let him do any "real" editing of files unless I'm home to eyeball it. :)


nope.... you should add the $global statement INSIDE the php block with the calendar function.  I am betting that the bad index is coming up because the variable is not intialized within the calendar function.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 14, 2009, 09:22:18 PM
Kindred,
thanks, but that didn't work.
I added the function at the top of the code where the other global things are. I still get this error in my error log:
Quote8: Undefined index: color
File: /Themes/default/EzPortal.template.php(1120) : eval()'d code
Line: 466
.
:(
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 15, 2009, 11:43:39 AM
For some reason I couldn't upgrade to the latest ezportal version using smf 1.1.7 so I decided to uninstall everything and start over.
I still can't seem to get it installed and right now I've uninstalled everything from my downloaded packages yet my forum still says it's being powered by ezportal.
What do I have to do to  make my forum understand I don't have ezportal on it any more?
Sheryl
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 15, 2009, 09:56:37 PM
New update and release 0.2.6

0.2.6
!Fixed issue in SMF 2.0.x with adding a shout showing a template error and a language error if spam protection is enabled.
+Added option in shoutbox to hide member name says
+Added option to hide delete option in the shoutbox for admin's
+Added option to the shoutbox to set the number of items shown per page in the shoutbox history
!Made the textarea on the shoutbox ezBlock expand to the full width of the ezBlock in cases of where the shoutbox is centered.
+Added option to hide the preview image on the theme select ezBlock
+Added option to the Board News EzBlock to control the number of characters shown on a news post.
!Fixed bug in random SMF Gallery Random Image ezBlock was not using the number of random images to show parameter
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: ke4obt on February 15, 2009, 11:07:52 PM
I have v 0.2.5 installed on a highly-modified default theme. I seem to be having a problem doing the upgrade - it keeps timing out. What do I need to do to upgrade to 0.2.6 manually?
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 15, 2009, 11:27:24 PM
It probably is timing out doing the backup of the entire site before applying the mod.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on February 16, 2009, 01:53:23 AM
Quote from: filipes on February 14, 2009, 09:56:29 AM
Quote from: ke4obt on February 14, 2009, 09:06:17 AM
no, what you should have is:
EzPortal Url: http://www.yoursite.com/ezportal/
EzPortal Path: whatever the full path to the ezportal is (e.g. /host/abc/def/ghi/html/forum_root/ezportal/)
check box: Enable Portal Homepage
make sure the box is checked 

well i hope this helps, as i'm still learning.
just let me know and if we can't figure it out then we'll both learn together, how's that?

TTYL Flip
Hello
The problem is when I check the box that you speak I do not see the Forum any more only the Portal, the link of my Portal gives me this that I think it is not good, I am sorry for my English because I am Portuguese 
http://www.forumemigrante.com/forum/ezportal/
Very happy with your help thanks ;)

click on parent directory,that will take you to your forum
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Paragaya on February 16, 2009, 01:59:42 AM
Verry Nice :)
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 16, 2009, 06:29:45 AM
Hello
I am having this problem, when I click here http://www.forumemigrante.com/forum/ezportal/
this is what I get, Index of /forum/ezportal
Parent Directory
blocks/
ezcache/
icons/
jquery-1.2.6.pack.js
jquery-ui-personalized-1.6rc2.min.js
tiny_mce/
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_bwlimited/1.4 PHP/5.2.6 Server at www.forumemigrante.com Port 80, where is the problem?
Thanks for your help
Filipe
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: LT07 on February 16, 2009, 07:08:53 AM
Just a heads up, the upgrade install was perfect.
The post error has gone but not for deleting posts (that's not important)

Only one tiny problem :)

Internet Explorer is perfect but in FireFox the shoutbox text area is a few pixels too wide causing a scrollbar to appear underneath, probably set to 100% whereas in my case something like 95% would be better.

Is there any file I can edit to reduce the textbox by a few percent?

This really is a great mod, cheers :)
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 16, 2009, 08:39:21 AM
Quote from: filipes on February 16, 2009, 06:29:45 AM
Hello
I am having this problem, when I click here http://www.forumemigrante.com/forum/ezportal/
this is what I get, Index of /forum/ezportal
Parent Directory
blocks/
ezcache/
icons/
jquery-1.2.6.pack.js
jquery-ui-personalized-1.6rc2.min.js
tiny_mce/
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_bwlimited/1.4 PHP/5.2.6 Server at www.forumemigrante.com Port 80, where is the problem?
Thanks for your help
Filipe
That is not how to access the portal. The portal will add admin options under the admin section of your forum where you can set it up.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: filipes on February 16, 2009, 12:43:23 PM
Quote from: vbgamer45 on February 16, 2009, 08:39:21 AM
Quote from: filipes on February 16, 2009, 06:29:45 AM
Hello
I am having this problem, when I click here http://www.forumemigrante.com/forum/ezportal/
this is what I get, Index of /forum/ezportal
Parent Directory
blocks/
ezcache/
icons/
jquery-1.2.6.pack.js
jquery-ui-personalized-1.6rc2.min.js
tiny_mce/
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_bwlimited/1.4 PHP/5.2.6 Server at www.forumemigrante.com Port 80, where is the problem?
Thanks for your help
Filipe
That is not how to access the portal. The portal will add admin options under the admin section of your forum where you can set it up.
Can you tell me how do I have access to da Portal because I do not really no how to do it....thnks for your help
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 16, 2009, 02:32:25 PM
go to smf admin
look for the ezportal option in the admin fucntions list
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 17, 2009, 08:58:14 AM
Would someone "please" tell me how I can get ezportal off my site and completely out of my files.
I enjoyed using this mod but ran into a problem when I tried to upgrade. For some reason my site kept giving me critical errors and wouldn't let me install any mod, so it wasn't just because of ezportal. Just something wasn't and still isn't working right on my site so I really need to clean things up but in order to do that, I need to get ezportal off my site and out of my files.

I thought I accomplished it yesterday when I tried to manually remove all the codes that were added to my files.
I tried to remove ezportal.template.php but it took away all the message boards so I put it back and decided I better leave it alone along with  subs-ezportal-convert.php and subs-ezportal-main.php.
There may have been some other files named ezportal but I can't say for sure.
All I did was take out the codes mentioned on the manual install page for smf 1.1.7 and put back the ones I replaced.

After removing codes, my site no longer said it was powered by ezportal but now today it says it again so I have no idea  how to get this off my site.
Would someone please tell me what to do and take into consideration, I don't understand php?
Sheryl
Title: Re: ezPortal - Portal System for SMF
Post by: filipes on February 17, 2009, 11:42:47 AM
Quote from: joomlamz on November 04, 2008, 10:50:08 PM
Nice work
when have time update portuguese

<file name="$languagedir/Modifications.portuguese.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>



<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings           
]]></add>
    </operation>
</file>


Can any one tell me where I can find the file where I change to Portuguese, the name of the file...
thnks
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on February 17, 2009, 04:37:19 PM
You have to create a file called modifications.portuguese.php (or modifications.portuguese-utf8.php, depending on whether or not your forum uses utf-8)

Then paste the following into that file.
modifications.portuguese.php

<?php
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings            
?>



Modifications.portuguese_pt.php

<?php
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings            
?>



Modifications.portuguese-utf8.php

<?php
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings
?>



Modifications.portuguese_pt-utf8.php

<?php
// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Defini&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'P&aacute;gina Manager';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';

$txt['permissionname_ezportal_page'] = 'Gerenciar p&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir das p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal p&aacute;ginas.';

$txt['permissionname_ezportal_blocks'] = 'Gerenciar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e apagar da ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controlo total da EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir EzPortal.';

// END EzPortal Text Strings
?>




Save to theme_dir/languages
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on February 17, 2009, 04:40:42 PM
Quote from: filipes on February 16, 2009, 06:29:45 AM
Hello
I am having this problem, when I click here http://www.forumemigrante.com/forum/ezportal/
this is what I get, Index of /forum/ezportal
Parent Directory
blocks/
ezcache/
icons/
jquery-1.2.6.pack.js
jquery-ui-personalized-1.6rc2.min.js
tiny_mce/
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_bwlimited/1.4 PHP/5.2.6 Server at www.forumemigrante.com Port 80, where is the problem?
Thanks for your help
Filipe



Shouldn't there be an index file of some sort? ???
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 17, 2009, 07:42:13 PM
no... this uses the SMF index...     the /ezportal directory is used for blocks, etc, but should not be accessed directly.

by installing ezportal, and configuring it, your FORUM index becomes the ezportal homepage and action=forum becomes your boardindex.

sheryltoo:    Did you try using the uninstall from the package manager?
you can't just remove files and expect it to stop...   because there are a fair number of code changes in the SMF files. If you have messed with things enough so that you can not auto-un-install, then you will have to manually uninstall...    go to the mod site and follow the manual installation directions in reverse.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: lax.slash on February 17, 2009, 10:07:21 PM
^ no... what I mean is preventing the user from being able to view the file driectory.  For example, if you go to /sources, /theme, /avatars or something like that, you get redirected to the forum index. If you type /ezportal, you can see the directory contents.

I removed a quote in my earlier post to hopefully clear confusion.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 17, 2009, 10:12:31 PM
We could do a index page. Not like there is much hidden stuff there anyway
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 17, 2009, 10:57:21 PM
Kindred, I tried that and thought I got rid of ezportal but the next day it was back.
I'm wondering if it's because there's files for ezportal still on my site.
One of them is themes/default/ezportal.template.php and I tried to delete it but then lost all my message boards so I put it back.
There's also files under Sources/ezportal.php
Sources/subs.ezportal-convert.php
Sources/subs.ezportal-main.php
And I noticed there's some language files for ezportal.english-utf8.php and english.php.
There could be other files I don't know about.
These must be files that ezportal installs in separate files so I'm not sure if it's safe to just delete them after what happened when I tried deleting the template.php file.

And I really don't remember how I tried to remove this.
I believe I did an uninstall since I was trying to get the latest update installed and that wasn't working so I thought I'd uninstall the old version and start new but everything seemed to have gone wrong.

I'd like to upgrade smf 1.1.7 to RC1 but I'm wondering what's going to happen with all those ezportal files.
I really don't want to carry them over to RC1 until I get everything straightened out.
Sheryl
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 17, 2009, 11:15:34 PM
if you are upgrading to 2.0RC1, then just replace all forum files with the upgrade files. It will remove all mods by doing so.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 18, 2009, 07:12:24 AM
Hopefully that will work.
Thanks for trying to help me.
Sheryl
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 18, 2009, 03:02:59 PM
I just thought I'd tell you I decided to try installing ezportal again and then uninstalling it to see if it would take everything off my site and it worked.
It's too bad I couldn't do this right from the beginning but I kept getting fatal errors when trying to install any mod.
Maybe things are finally looking up.
Sheryl
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mikeric on February 18, 2009, 09:57:02 PM
Quote from: LT07 on February 16, 2009, 07:08:53 AM
Just a heads up, the upgrade install was perfect.
The post error has gone but not for deleting posts (that's not important)

Only one tiny problem :)

Internet Explorer is perfect but in FireFox the shoutbox text area is a few pixels too wide causing a scrollbar to appear underneath, probably set to 100% whereas in my case something like 95% would be better.

Is there any file I can edit to reduce the textbox by a few percent?

This really is a great mod, cheers :)

Im having the same  problem with the scroll bars. I was  wondering how to fix that, and make it so the shoutbox refreshes faster. Other than that This is one of the best mods i have on my site.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 18, 2009, 09:59:57 PM
Checkout the shoutbox hotfix
http://www.ezportal.com/support/shoutbox-scrollbar
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: indestopable on February 21, 2009, 12:52:00 AM
Hi I just installed a fresh SMF2 RC1 test board and the latest version of Ezportal. I have already come across a problem that, for the life of me, couldnt find any other posts about or a solution to on my own. I added a Shoutbox to the left, and Members Online to the left. My center column seems to span like 3 19" monitors worth of scrolling before I see the right blocks. I tried toying with the center column width/percent settings, and nothing seemed to change it. I have not added/modified any of the themes *using default with install).  When I'm in Admin section, the columns show correctly, but when I go to forum index, the long column comes back.  It almost seems as though my percent settings are not working when I am looking at the regular forums. The problem goes away when I remove EITHER the left or the right block, but when I have a left, center, AND right it goes way off.
Any answers? Thanks in advance.
Title: MISSING FUNCTIONS AFTER PORTAL INSTALL...
Post by: lou-in-usa on February 21, 2009, 11:31:28 AM
I installed EZ portal recently but now in the Admin area I am missing is the reverse posting order option and manage boards returns only a blank page. I upgraded to SMF v1.1.8 and these problems did not change.  Has anyone else encountered this after portal install? What's the problem? I like the left, right and center "block" options of EZ Portal but can another portal integrate as easily with these similar options.
Thanks for the help...
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 21, 2009, 11:33:18 AM
Quote from: lou-in-usa on February 21, 2009, 11:31:28 AM
I installed EZ portal recently but now in the Admin area I am missing is the reverse posting order option and manage boards returns only a blank page. I upgraded to SMF v1.1.8 and these problems did not change.  Has anyone else encountered this after portal install? What's the problem? I like the left, right and center "block" options of EZ Portal but can another portal integrate as easily with these similar options.
Thanks for the help...

EzPortal doesn't touch those pages. Check your error log for details.
Title: Poll - how to make it work?
Post by: PerryM on February 22, 2009, 01:43:24 AM
Trying to get the Poll module working - I assign it to the left column but can't add the questions.

What am I missing?

Thanks,
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 22, 2009, 01:47:17 AM
The poll module currently only takes a poll topic id. You would first create a poll topic in the forum. Then grab the topic id of that topic and place that id inside poll ezBlock
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: PerryM on February 22, 2009, 01:57:07 AM
Quote from: vbgamer45 on February 22, 2009, 01:47:17 AM
The poll module currently only takes a poll topic id. You would first create a poll topic in the forum. Then grab the topic id of that topic and place that id inside poll ezBlock

Thanks.
Title: Poll problems
Post by: PerryM on February 22, 2009, 02:19:12 AM
Created a poll in the forum and added the ezmodule on the left with the poll number - shows up ok.

However a regular user sees the poll but can't make a selection - the radio buttons don't work.

Thanks

P.S.
Now I realize that the poll is not a voting poll but just reports the results of the real poll in the forum - my mistake.  Thanks for all the help.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: indestopable on February 22, 2009, 11:25:38 AM
I seem to have fixed my issue with column width after adding left/right blocks. I have shoutbox on right. Anyway to remove the scroll bar on shoutbox? It only scrolls about 2 pixels and looks tacky with no use. My percentages are left-10%, center-75%, right-15%.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: PerryM on February 22, 2009, 01:27:13 PM
I really like this module - congratulations!

I am trying to use the Tag Cloud but am confused as to what Tags it is looking for - it says they are not installed.

Thanks
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 22, 2009, 02:11:10 PM
Quote from: indestopable on February 22, 2009, 11:25:38 AM
I seem to have fixed my issue with column width after adding left/right blocks. I have shoutbox on right. Anyway to remove the scroll bar on shoutbox? It only scrolls about 2 pixels and looks tacky with no use. My percentages are left-10%, center-75%, right-15%.
Known issue check a couple posts back for a fix.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 22, 2009, 02:12:11 PM
Quote from: PerryM on February 22, 2009, 01:27:13 PM
I really like this module - congratulations!

I am trying to use the Tag Cloud but am confused as to what Tags it is looking for - it says they are not installed.

Thanks
Requires the tagging module found at
http://mods.simplemachines.org/index.php?mod=579
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: PerryM on February 22, 2009, 04:06:41 PM
Quote from: vbgamer45 on February 22, 2009, 02:12:11 PM
Quote from: PerryM on February 22, 2009, 01:27:13 PM
I really like this module - congratulations!

I am trying to use the Tag Cloud but am confused as to what Tags it is looking for - it says they are not installed.

Thanks
Requires the tagging module found at
http://mods.simplemachines.org/index.php?mod=579 (http://mods.simplemachines.org/index.php?mod=579)

Thanks that's what I thought - that mod hasn't been released for RC1 yet.

Thanks for the reply..
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: jossanaijr on February 22, 2009, 05:11:37 PM
Hi,
just installed it and have this warning:
Warning your ezcache folder is not writable! For best performance we suggest having the cache folder writable.

but cannot find where to change it.

Also have this error when in Modules:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mysite/public_html/Sources/Class-Package.php on line 75

Is this because of the permission error or another?
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: indestopable on February 22, 2009, 09:40:10 PM
Quote from: jossanaijr on February 22, 2009, 05:11:37 PM
Hi,
just installed it and have this warning:
Warning your ezcache folder is not writable! For best performance we suggest having the cache folder writable.

but cannot find where to change it.

Also have this error when in Modules:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mysite/public_html/Sources/Class-Package.php on line 75

Is this because of the permission error or another?

Your ezcache folder is in your Ezportal main directory. It can be CHMOD'd to '755' permissions.
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on February 23, 2009, 07:19:31 PM
Need help urgently,i went to add a block of html a news feed and something happened to my site,now i can't get in admin to delete the block of news thing i was adding,please help me

website is http://wewantsport.com

this was the code i was adding to the block

http://janim.net/free-content/add-news-to-your-site/news-index-ticker.php
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 23, 2009, 07:40:29 PM
Still having issues? Looks ok from what I can see in firefox. You can click the delete link on the block itself if you can't click on the admin
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on February 23, 2009, 07:47:26 PM
Quote from: vbgamer45 on February 23, 2009, 07:40:29 PM
Still having issues? Looks ok from what I can see in firefox. You can click the delete link on the block itself if you can't click on the admin

i fixed it,in explorer i couldnt access the admin area,but in firefox i could and i was able to delete the block that was causing the trouble,thank god i worked it out :D,also any plans to make a bottom block ? one that goes below the forum ? just wondering
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 23, 2009, 07:49:27 PM
Good news.

Yes I do have plans for a bottom block level
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on February 23, 2009, 08:24:11 PM
Quote from: vbgamer45 on February 23, 2009, 07:49:27 PM
Good news.

Yes I do have plans for a bottom block level

Awesome,i have somehow configured a block to display google ads,without adding the ad management mod,is this normal ?,also how do i change the background colour of a block title ?
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 23, 2009, 09:26:29 PM
Yes that is normal you can add any html or php code using ezBlocks.

Background color/css class changes are not supported yet.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 25, 2009, 11:01:25 PM
New Update
0.2.7
!Fixed issued for SMF 2.0.x not showing the permission title for EzPortal under simple permissions
!Fixed shoutbox scrollbar issue.
+Now defines the action=forum in Who.english.php
+Added new feature to include a custom icon to display in the titlebar of an ezBlock
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 25, 2009, 11:11:43 PM
hey Vbgamer,

I haven't installed the new version yet, but did you fix the problem with categories links in the breadcrumbs? (they do not link to the index.php?action=forum#category, but instead link to the index.php#category

Also, when I am viewing a post, the topnav tab indicates "Home", not "forum" (boardindex displays as forum, as does messageindex, but display does not)
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 25, 2009, 11:13:17 PM
Haven't fixed it yet but it is on my to fix list.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on February 25, 2009, 11:24:13 PM
hey mate i want to update my ezportal to the one but got these problems when unistalling the old one

5. Execute Modification ./Sources/ManagePermissions.php Test failed
6. Execute Modification ./Themes/default/index.template.php Test failed
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 25, 2009, 11:25:35 PM
You don't have to uninstall to update
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Killer-B on February 26, 2009, 03:24:59 AM
Quote from: indestopable on February 21, 2009, 12:52:00 AM
My center column seems to span like three 19" monitors worth of scrolling before I see the right blocks.

I don't know if you got your problem solved here or at the ezportal.com site, but I had the same problem - and was happening only in Google Chrome and Mac Safari - though I could reproduce it in all browsers - and here's what I found -

It's the "recent posts" count, at the bottom of the page... if you have that enabled, it will jettison your FORUM menu off about 9000 pixels wide right... Go into your theme set up (it's specific for EACH and EVERY theme - so you have to toggle the one you're using) and turn that feature OFF - and your forum will go back to "normal"...

Question for Gamer - since the SMF site seems to get more action than the Mod site...

I am trying to either uninstall, or upgrade ezportal with the latest release from yesterday - and when I go to execute - it just brings me to the .zip URL and times out on my server.... like so:

http://mysite.com/forum/index.php?action=admin;area=packages;sa=uninstall2;package=ezPortal0.2.6.1.zip;pid=24

*Server timesout)

Anyone ever had this happen? It still shows it being installed and active in Admin... and I really need to remove this - or upgrade - to see about these bug fixes...

TIA -

KB

PS: I'm too friggin tired, grouchy, lazy and blurry-eyed to read 15 pages on this one tonight - Plus SMF "search" is not working either  - so will also ask: Has the Forum Index/Tree issue been raised and/or solved? Meaning, If I'm reading a post, and then click on the tree menu to "go back" (or "up") one level... it takes me to the ezportal menu page... not the forum index page or the "link" I was trying to get at within the tree view...

And speaking of /directories... because ezforum calls out the forum via an action e.g /forum/index.php?action=forum  does this not mess up your SEO??? I only ask, because i recently googled my site name, and it has the ROOT indexed - not the /forum/index.php?action=forum part... and goes into my host ISP "page not found"... kinda odd :(
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: dwd2000 on February 26, 2009, 11:31:54 PM
Nice portal. I was using another portal but got too many errors, so I uninstalled it.

3 requests:

Calendar Block (or code to put in a php block) - I am using the calendar as a "Today in History" type of thing and would like to have it shown in a block.

Random News Block - I filled the news with Quotes (rather than site news) and would like the quotes to be displayed randomly in a block.

As the admin, I see [Edit] and [Delete] on the actual blocks. I can't find a way for me to disable seeing it. I just prefer to do my edits via the admin only. No big deal, just personal preference.

Again, very nice. Thanks.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 26, 2009, 11:38:55 PM
First two requests are planned in future updates.

Third request is built in as a setting.
EzPortal -> Settings -> "Hide edit/delete options on ezBlocks for Admin's and ezBlock Manager's"
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: dwd2000 on February 26, 2009, 11:56:44 PM
Quote from: vbgamer45 on February 26, 2009, 11:38:55 PM
First two requests are planned in future updates.

Third request is built in as a setting.
EzPortal -> Settings -> "Hide edit/delete options on ezBlocks for Admin's and ezBlock Manager's"

1 - Thanks
2 - Thanks
3 - OOPS
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: victoryrock on February 27, 2009, 07:56:38 PM
I need help!!!

So I installed and it was awesome.  Then I added the Arcade Block and in that block it said:

Fatal error: require_once() [function.require]: Failed opening required '/home/.sites/143/site2/web/forum/Sources/EzPortal.php' (include_path='.:/php/includes:/home/solarspeed/php/share/pear') in /home/.sites/143/site2/web/Sources/Subs-EzPortalMain.php on line 1967

Becasue I couldn't reverse things, I ended up deleting my whole forum folder and re-installing my back up.

Then I tried to install eZ Portal again, but then it memorized the setting and it said the same thing.

I will upload my .php file noted above.  Can someone edit the Arcade part of it out for me?

Thanks SO much.  I really want to use this MOD.
victoryrock
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 27, 2009, 08:30:07 PM
the problem is in your database, not your files...   go into phpmyadmin and remove the arcade block from your displayed blocks
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: victoryrock on February 27, 2009, 09:32:40 PM
I am not too skilled at databases yet, but do you mean anything that says smf_arcade_/... I simply click the red "X"?

Attached screen shot.

Quote from: Kindred on February 27, 2009, 08:30:07 PM
the problem is in your database, not your files...   go into phpmyadmin and remove the arcade block from your displayed blocks
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 27, 2009, 09:58:15 PM
It would found ezp_layout  table I believe.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: victoryrock on February 27, 2009, 10:09:57 PM
attached is all i have for ezp tables
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 27, 2009, 10:31:52 PM
Yup it is in the ezp_block_layout table most likely the last entry
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: victoryrock on February 27, 2009, 10:48:20 PM
OK, so now what do I do with this?

Sorry, I am a beginner.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on February 27, 2009, 11:21:06 PM
Click on the browse tab and locate the arcade block in the list. and click the delete icon.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: victoryrock on February 27, 2009, 11:32:50 PM
Awesome!! It's fixed...but now that I got that fixed, how/where do I get the MOD/block for the arcade to work?

Thanks for ALL your help!!!
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: wickedstangs on February 28, 2009, 02:52:15 AM
how do you remove the portal from the admin section?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 28, 2009, 09:36:52 AM
How do you remove the Ezportal tables once you've uninstalled this mod?
Sheryl
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on February 28, 2009, 09:50:19 AM
you will have to use phpmyadmin to remove the tables... but leaving them won't hurt anything
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: sheryltoo on February 28, 2009, 11:25:38 AM
Alright, thanks.
Sheryl
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: [SiNaN] on March 02, 2009, 07:08:39 AM
Just to remind, it is better to use loadClassFile() to include class files, for compatibility with older versions of PHP.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mikeric on March 03, 2009, 12:34:08 PM
I was making some changes to some blocks and then afterwards I started getting this error. Does anyone know what could cause this?

QuoteInternal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.southshorestangs.com Port 80
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: wickedstangs on March 03, 2009, 12:59:43 PM
Did you try and remove the block you just made?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Killer-B on March 03, 2009, 01:10:14 PM
Quote from: Killer-B on February 26, 2009, 03:24:59 AM


Question for Gamer - since the SMF site seems to get more action than the Mod site...

I am trying to either uninstall, or upgrade ezportal with the latest release from yesterday - and when I go to execute - it just brings me to the .zip URL and times out on my server.... like so:

http://mysite.com/forum/index.php?action=admin;area=packages;sa=uninstall2;package=ezPortal0.2.6.1.zip;pid=24

*Server timesout)

Anyone ever had this happen? It still shows it being installed and active in Admin... and I really need to remove this - or upgrade - to see about these bug fixes...

TIA -

KB


Anyone have any ideas about this? I'm STILL trying to either upgrade or de-install ezportal - and it just goes to the aforementioned zip URL and stalls out... Blank page -

I've tried it on 2 PC's with 5 different browsers - all the same results - Any ideas???

Thanks -
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Mikeric on March 03, 2009, 01:23:13 PM
Quote from: wickedstangs on March 03, 2009, 12:59:43 PM
Did you try and remove the block you just made?

The block works on all other pages other than the portal main page. I tried to remove it and im still getting the same thing. I was moving blocks from the right to the left when this happened.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on March 03, 2009, 10:49:13 PM
Could be either mod_security or a webserver permission issue.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: IndigoStar on March 04, 2009, 10:20:45 AM
I installed this portal and when activated there is no way to get to the forum or to get back to the homepage how could this problem be solved ?  I know adding something like a forum button could help but dont know how to do it myself ?


Any advice or help much appreciated link to forum http://www.psychicgift.net/forum/ ezportal not activated atm


*
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on March 04, 2009, 07:41:49 PM
For custom themes we need to make an edit to the index.template.php for SMF 1.1.x
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on March 05, 2009, 12:35:04 AM
Quote from: IndigoStar on March 04, 2009, 10:20:45 AM
I installed this portal and when activated there is no way to get to the forum or to get back to the homepage how could this problem be solved ?  I know adding something like a forum button could help but dont know how to do it myself ?


Any advice or help much appreciated link to forum http://www.psychicgift.net/forum/ ezportal not activated atm


*
create a links block on the side with links around your site,like i made on mine here http://wewantsport.com/index.php?action=forum
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: minos on March 07, 2009, 07:37:26 PM
i cant select multiple boards for  board news block .. how to dow it?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on March 07, 2009, 07:53:26 PM
With the latest version you should be able by using the control key and then clicking on each board
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: minos on March 07, 2009, 08:11:02 PM
that's excatly what i do  but  notting happen even remove old db tables and re-install it
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on March 07, 2009, 08:31:02 PM
What SMF version? Did you have an older version of EzPortal before?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: minos on March 07, 2009, 08:39:14 PM
8.     EzPortal      0.2.7       [ Uninstall ]  [ List Files ]  [ Delete

and smf 2.0 RC1
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on March 15, 2009, 12:49:53 PM
Love the icon idea,but when you go to use some of them they don't show up in the list,like the link icon,it does not show in the list you choose from,can you fix this ?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on March 15, 2009, 12:55:37 PM
Quote from: kingkingston on March 15, 2009, 12:49:53 PM
Love the icon idea,but when you go to use some of them they don't show up in the list,like the link icon,it does not show in the list you choose from,can you fix this ?
What version of SMF are you using?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on March 15, 2009, 02:28:28 PM
Quote from: vbgamer45 on March 15, 2009, 12:55:37 PM
Quote from: kingkingston on March 15, 2009, 12:49:53 PM
Love the icon idea,but when you go to use some of them they don't show up in the list,like the link icon,it does not show in the list you choose from,can you fix this ?
What version of SMF are you using?

1.1.8
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: computel on March 19, 2009, 12:47:17 AM
I get this error as well on 1.1.8. do I have to do a manual install of this?

Thanks

Quote from: kingkingston on February 25, 2009, 11:24:13 PM
hey mate i want to update my ezportal to the one but got these problems when unistalling the old one

5. Execute Modification ./Sources/ManagePermissions.php Test failed
6. Execute Modification ./Themes/default/index.template.php Test failed

Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on March 19, 2009, 01:14:48 AM
You can do a full install but you will have to make some manually changes to those two files with ezPortal
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: computel on March 19, 2009, 09:08:43 AM
and if I unistall it I can do it via the admin and just manually remove the stuff from those two files?

Thanks
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on March 19, 2009, 09:09:06 AM
That's what I would do.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Yahmez on March 25, 2009, 07:29:45 PM
I cannot figure out how to display portals exclusively on the board index. I have a calendar block that I want in the board index and other boards too, but don't want it in the main calender page. When I turn off the 'all boards and posts' option I can turn off the portal display on the calender page but lose all portals on the board index.  ???
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: JOSHSKORN on March 27, 2009, 04:59:18 AM
Sorry if I've missed this somewhere in the thread.  I'm wondering if ezPortal has, or will ever have a server query built into it for Team Speak and/or the various game servers.  I'd rather not have to create separate pages, and I'm not a fan of the 'look' of GSC.  There might be options to customize the look of GSC but it'd be easier if something was built in to take on the same theme as the rest of the site.  It's been a long time since I've messed with GSC.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Kindred on March 27, 2009, 08:26:08 AM
you can code any custom block that you want...
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Yahmez on March 30, 2009, 06:24:09 PM
Quote from: Yahmez on March 25, 2009, 07:29:45 PM
I cannot figure out how to display portals exclusively on the board index. I have a calendar block that I want in the board index and other boards too, but don't want it in the main calender page. When I turn off the 'all boards and posts' option I can turn off the portal display on the calender page but lose all portals on the board index.  ???

Still trying to figure this one out.
Also, I cannot vote from the poll block and do not have any buttons/edtiing tools in my Admin/page manager area. I can create pages there but not editing tools like shown in the ezportal site's gallery. Hmmmm....
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: kingkingston on April 02, 2009, 12:25:07 AM
Just wondering when the next update will be and if a bottom centre block will be included :)
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on April 02, 2009, 12:26:20 AM
Quote from: kingkingston on April 02, 2009, 12:25:07 AM
Just wondering when the next update will be and if a bottom centre block will be included :)
Might been a little busy lately
Title: Re: ezPortal - Portal System for SMF
Post by: KirkhamsEbooks on April 02, 2009, 06:22:06 PM
Quote from: vbgamer45 on November 02, 2008, 09:14:39 PM
EzBlocks are extremely customizable they can be created as xml files and shared with others. Supports unlimited parameters for PHP blocks. Built in webpage system. Works on any theme with out modifying the theme. Pretty much all the standard features for the other portals.

Modules coming soon to tie more components together.

Does this mean I can parse an xml file such as clickbanks?

Rick
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on April 02, 2009, 08:32:21 PM
No that means you can create custom ezBlocks using our xml format then submit to the ezPortal ezBlock website
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: berrylife on April 03, 2009, 11:12:13 AM
Quote from: vbgamer45 on April 02, 2009, 12:26:20 AM
Quote from: kingkingston on April 02, 2009, 12:25:07 AM
Just wondering when the next update will be and if a bottom centre block will be included :)
Might been a little busy lately

i second that :) will keep an eye out for it
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: Eddy Matthews on April 04, 2009, 12:37:07 PM
Is there a way to get Ezportal to work when the mod_security parameter is turned on?

My host uses this and won't disable it :(

Regards
Eddy
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on April 04, 2009, 04:40:14 PM
What part does not with mod_security in ezportal?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: nafseislam on April 07, 2009, 01:56:17 AM
Well i installed the eZportal. and now i uninstalled it already. but its still in the Admin panel. how to remove it from AdminCP?

when i go to the AdminCP there is EZportal but it dont give any error. when i click on it, it redirects to the forum index.

I just wanna remove the un-necessary Tabs from AdminCP.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: casevos on April 08, 2009, 10:46:01 AM
Hi, For some reason I am not seeing a topic id when I create a post. Is this a setting that needs to be enabled.
Thanks
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on April 08, 2009, 07:40:58 PM
Quote from: casevos on April 08, 2009, 10:46:01 AM
Hi, For some reason I am not seeing a topic id when I create a post. Is this a setting that needs to be enabled.
Thanks
Is this part of EzPortal or is is part of the SMF forum?
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: TheListener on April 18, 2009, 09:07:17 AM
Is this mod ok for 1.1.8?

Can the tinyporal be used with this mod?

What are the differences between this mod and the smfportal?

if I add a list of all the mods we have currently installed would someoone be able to let me know if they are compatible with ezportal?

Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: vbgamer45 on April 18, 2009, 09:35:09 AM
Yes works fine for 1.1.8
Tinyportal can't be used with this mod
Alll mods should work with ezPortal except for other portal mods.
Title: Re: ezPortal 0.2.7 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: TheListener on April 18, 2009, 10:07:58 AM
I installed ezportal yet the only failure was the index.

Had looked at tiny portal but had 4 errors.

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on April 18, 2009, 11:32:34 AM
EzPortal 0.2.8 Released

Two new built in ezBlocks to use top posters, and recent members. Complete changelog below.

Changelog
0.2.8
!Fixed xhtml validation error missing alt tags for icons for ezBlocks
!Fixed a couple missing language strings from english-utf8 file
+Added option to show member link color's for the Recent Posts and Topics ezBlocks
+Added Top Posters ezBlock - Configure number of posters to show, color, show user's avatar and layout options
+Added Recent Members ezBlock  - Configure number of members to show, color, show user's avatar and layout options
!Fixed a bug with select dropdown values for ezBlocks that have multiple select fields in the same ezBlock
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: TheListener on April 18, 2009, 12:22:02 PM
When using SimplePortal theres a seperate forum button but not for ezportal  :(
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on April 18, 2009, 12:52:04 PM
Quote from: TheListener on April 18, 2009, 12:22:02 PM
When using SimplePortal theres a seperate forum button but not for ezportal  :(
That is a feature of EzPortal. You need to enable the homepage. Under EzPortal -> Settings
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: TheListener on April 18, 2009, 03:34:47 PM
Thanks Vgamer

Will have another play with ezportal.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Filipina on April 19, 2009, 01:14:16 PM
Can a few people using ezPortal give me a link to their site so I can see how it looks. Especially if you have customized it in some way. Thanks in advance.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: kingkingston on April 20, 2009, 09:12:42 AM
Quote from: Filipina on April 19, 2009, 01:14:16 PM
Can a few people using ezPortal give me a link to their site so I can see how it looks. Especially if you have customized it in some way. Thanks in advance.

here

http://www.wewantsport.com
Title: theme adaptation
Post by: cubetgio on April 20, 2009, 02:08:10 PM
Hello,

Thanks for this wonderfull mod.

Nevertheless, Who can help me to make forum tab (on menu bar) working with other theme than default one.

Forum tab is not displayed on the menu bar when using another theme.

Thank you !

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: TheListener on April 20, 2009, 02:12:26 PM
What is the difference between ezportal and the smf portal?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Chopper on April 20, 2009, 03:30:59 PM
Hi,

I have installed ezPortal and after install i have a big chunk of code at the very top of my forum. Also the size of texts is much larger than before i installed this and nothing appears in admin. Any ideas how to remedy this? I am running SMF 1.1.8.

Thanks
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on April 20, 2009, 07:47:29 PM
Do you have a link to where this is occuring on?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: cubetgio on April 22, 2009, 02:33:10 AM
Quote from: cubetgio on April 20, 2009, 02:08:10 PM
Hello,

Thanks for this wonderfull mod.

Nevertheless, Who can help me to make forum tab (on menu bar) working with other theme than default one.

Forum tab is not displayed on the menu bar when using another theme.

Thank you !


Cool Gamer! :P

I found a solution following this link related to a user who had the same problem.

http://www.simplemachines.org/community/index.php?topic=271882.msg1961327#msg1961327

Have a nice day !
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on April 22, 2009, 08:41:03 AM
Glad you were able to figure it out. With SMF 2.0 forum tabs are automatically added to any theme.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on April 24, 2009, 10:30:50 PM
one issue and one request...

issue:   in the breadcrumbs list, the categories link to: site.com/index.php#c6 which is not valid, and takes me back to the EZportal page. It should link to site.com/index.php?action=forum#c6

Reqeust:   I'd like for the left column (and potentially the right column) to be collapsible to the left or right as COLUMNS rather than each module collapsing upward into its header.

(i.e. someone can opt to collapse the left column to give themselves a full screen of forum.)

edit: second request:   an EZblock pre-defined for a vertical ul/li of the topnav menu?   I am currently doing it with SSI, but an integral version would be sweet.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on April 24, 2009, 11:09:31 PM
Quote
edit: second request:   an EZblock pre-defined for a vertical ul/li of the topnav menu?   I am currently doing it with SSI, but an integral version would be sweet.
How does this work with SSI? Is this an SMF 2.0 only option?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on April 25, 2009, 12:46:23 AM
Hmmm....   I forgot, I was originally using ssi_menubar(), but it used all of the CSS that made it display horizonal...   so what I ended up doing was the following:


global $context;
  foreach ($context['menu_buttons'] as $act => $button)
  {
    echo '
      <li id="button_', $act, '">
        <a', $button['active_button'] ? ' class="active"' : '', ' title="', $act , '" href="', $button['href'], '">
          <span', isset($button['is_last']) ? ' class="last"' : '', '>', ($button['active_button'] ? '<em>' : ''), $button['title'], ($button['active_button'] ? '</em>' : ''), '</span>
        </a>
      </li>';
  }
echo '</ul>';
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on April 26, 2009, 12:02:25 AM
double hmmmmm....

Ok, Installed EZPortal on a new forum... along with several other mods.
For some reason, the breadcrumbs are duplicated in mod pages...

i.e.
Community > Forum > Articles > Networking Safety

Community > Forum > Articles > Networking Safety
(Same thing happens for glossary and several other mods.)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on April 26, 2009, 12:09:35 AM
Quote from: Kindred on April 26, 2009, 12:02:25 AM
double hmmmmm....

Ok, Installed EZPortal on a new forum... along with several other mods.
For some reason, the breadcrumbs are duplicated in mod pages...

i.e.
Community > Forum > Articles > Networking Safety

Community > Forum > Articles > Networking Safety
(Same thing happens for glossary and several other mods.)

I have seen this happen with SMF 2.0 you no longer need to call the theme_linktree function inside a mod such as for 1.1.x I will check out SMF Articles for the 2.0 function and see if the theme_linktree is present in the mod files.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Neverhurry on April 28, 2009, 02:43:38 AM
hello vbgamer45,

you made a wonderful portal, i love it.
i am using in the central main content area the broad news block. Is it possible to show the first attached picture of that topic floated to the right side of the area?
that will be really something!

is it too difficult to make?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on April 28, 2009, 07:07:52 AM
I could do that if there is an image in the attachment.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Neverhurry on April 28, 2009, 01:05:54 PM
Quote from: vbgamer45 on April 28, 2009, 07:07:52 AM
I could do that if there is an image in the attachment.

WOW, you could do that!
Yes, there IS indeed an image in the attachment. 
Picturs are so important to the portal, that will be a major improvement to ezportal, i just hope it won't take too long time. thank you!
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Zero3X on May 03, 2009, 09:13:23 PM
Nice mod but one problem (the page one).

I created a new page in the page manager bit and I've got a link but it show up in the nav bar. How can I make it visible?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 03, 2009, 10:42:25 PM
The page currently is only a link. If you want to add a link you need to modify a template or add it into an ezblock
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on May 04, 2009, 08:40:53 AM
Or get one of the "add a menu item" mods...
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: cubetgio on May 05, 2009, 11:43:13 AM
Hello,

I'm working with smf 2.0 RC1. I installed ez-portal with some other mods.

My problem is that when i create another links blocks. Every links placed in a block is rewrited automaticaly in the other brand new block just created.

Is there already a solution to that.

Giovanni
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 05, 2009, 08:23:04 PM
Is this using the SMF Links ezBlock that is built in?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Killer-B on May 05, 2009, 08:26:35 PM
Quote from: Filipina on April 19, 2009, 01:14:16 PM
Can a few people using ezPortal give me a link to their site so I can see how it looks. Especially if you have customized it in some way. Thanks in advance.

To be honest... as much as I liked this mod, I think SimplePortal has a "smoother" appearance - You can see it here on 2.0RC1 www.f-1chat.com
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 05, 2009, 08:34:27 PM
What's missing? I can probably change it. I am not a designer I can do so much.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on May 06, 2009, 12:15:33 AM
two things that I would like to see...

a mini-calendar. (I need to look through 2.0 and recreate the mini calendar that I used to use on joomla modules.... or have someone else do the work. :P)

A module to display the contents of an incoming RSS feed.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 06, 2009, 12:19:01 AM
Good ideas will try to get though all them this weekend.
I planning on getting the ezportal ezBlock submission system coded as well.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: cubetgio on May 06, 2009, 02:10:52 AM
Quote from: vbgamer45 on May 05, 2009, 08:23:04 PM
Is this using the SMF Links ezBlock that is built in?

Damn !!!!, %´$$*-!§,   your are right, It's not ...
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: cubetgio on May 07, 2009, 11:12:56 AM
Hi,

I have tried to upload with ezportal built loader but it don't work.

It 's looking like link module loaded is version 1. ...

The problem remain : links in blocks are duplicated from the first block created to the new one ?


Giovanni
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: kingkingston on May 11, 2009, 11:25:21 PM
hi vb gamer your number 2 fan here any time frame on another update with maybe a bottom block added on the the next update :),also what else do you think you can add to this very fine mod,i want to see it make all other portals seem irrelevant  ;) :D
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: diaperingdiva on May 12, 2009, 03:16:03 PM
Quote from: I AM Legend on February 13, 2009, 03:06:01 PM
This is a reply to the same question asked by me on SMF Helper from ccbtimewiz,

ccbtimewiz: Alright, I went through and fixed EzPortal's theme_linktree() issue.

Open ./Sources/Load.php

Find:

   // Robots shouldn't be logging in or registering.  So, they aren't a bot.  Better to be wrong than sorry (or people won't be able to log in!), anyway.
   if ((isset($_REQUEST['action']) && in_array($_REQUEST['action'], array('login', 'login2', 'register'))) || !$context['user']['is_guest'])
      $context['browser']['possibly_robot'] = false;

   // Set the top level linktree up.
   array_unshift($context['linktree'], array(
      'url' => $scripturl,
      'name' => $context['forum_name_html_safe']
   ));


Replace with

   // Robots shouldn't be logging in or registering.  So, they aren't a bot.  Better to be wrong than sorry (or people won't be able to log in!), anyway.
   if ((isset($_REQUEST['action']) && in_array($_REQUEST['action'], array('login', 'login2', 'register'))) || !$context['user']['is_guest'])
      $context['browser']['possibly_robot'] = false;

   // -----------------------------------------------------------------------------------------------
   // + EzPortal v0.2.4 linktree() fix by ccbtimewiz [2/12/09] (http://jeunosky.net/)

   # Just in case... making this a global.
   global $ezpSettings;

   # Does $ezpSettings exist?! If not, set it to false and log NO errors.
   if (empty($ezpSettings))
    {
      $ezpSettings = array();
      $ezpSettings['ezp_portal_enable'] = 0;
    }

   # Are they perhaps running SMF 1.1.x and forum_name_html_safe doesn't exist? If so, let's fix 'em up.
   if (empty($context['forum_name_html_safe']))
      $forum_title = $context['forum_name'];
   else
      $forum_title = $context['forum_name_html_safe'];

   // This contains the "home" of the theme_linktree(). This is set first if no portal page is active.
   # @example: My Website
   if (empty($ezpSettings['ezp_portal_enable']))
      array_unshift($context['linktree'], array(
         'url' => $scripturl,
         'name' => $forum_title
      ));
   // And finally, if the portal IS set, show the forum name and then "forum".
   # @example: My Website => Forum
   else
      array_unshift($context['linktree'],
         array(
            'url' => $scripturl,
            'name' => $forum_title
         ),
         array(
            'url' => $scripturl . '?action=forum',
            'name' => 'Forum'
         )
      );
   unset($ezpSettings);
   unset($forum_title);
   // -----------------------------------------------------------------------------------------------


Issue Solved.


On a personal note from me, I was wondering, can this be incorporated into the mod for new people downloading it  ??? so they don't encounter the issue ever again.
I tried using this fix, and it had no change with our link tree, it still took us to the same page.  Our forum runs on 1.1.8 and we are using easy portal version 0.2.8 does anyone else have a fix or idea to try?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: cubetgio on May 15, 2009, 07:06:48 AM
Hello

I'm testing links permissions with 1.1.8.

It seems that it's not working when you deny access to a category of links to a specific member group(guest).

The link is opening independently of the fact that you deny access to.

G.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 16, 2009, 11:10:18 PM
Which block is this for?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: cubetgio on May 18, 2009, 12:03:34 PM
I'm testing SMF Links ezBlock.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Yahmez on May 18, 2009, 04:59:58 PM
Quote from: Kindred on May 06, 2009, 12:15:33 AM
two things that I would like to see...

a mini-calendar. (I need to look through 2.0 and recreate the mini calendar that I used to use on joomla modules.... or have someone else do the work. :P )

A module to display the contents of an incoming RSS feed.
I  use this slightly modified code that I found on another portal website... Tiny Portal maybe? Anyway just edit the options as needed and put it into a php block. *I take no credit for this code*



Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on May 18, 2009, 07:54:03 PM
thanks Yahmez,

but I suspect that is code for SMF 1.1.x...
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Yahmez on May 18, 2009, 08:27:03 PM
That it is  ;)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 18, 2009, 09:00:46 PM
I'm trying to figure out how to edit the look of my EZblock.

In this image:


I wan to get rid of the "header" block (See arrow)

I also want to change the background color of the block. Right now it's a very light blue. I want it to be white.

Can anyone show me where yo edit to make these changes?

Thank you.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 18, 2009, 09:52:59 PM
Good ideas will try to add them to the next release. It is going to be a big one. Calender block, Rss block, menu block a lot of other cool stuff.
Title: Re: ezPortal for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: diaperingdiva on May 19, 2009, 02:29:10 PM
Quote from: diaperingdiva on May 12, 2009, 03:16:03 PM
Quote from: I AM Legend on February 13, 2009, 03:06:01 PM
This is a reply to the same question asked by me on SMF Helper from ccbtimewiz,

ccbtimewiz: Alright, I went through and fixed EzPortal's theme_linktree() issue.

Open ./Sources/Load.php

Find:

   // Robots shouldn't be logging in or registering.  So, they aren't a bot.  Better to be wrong than sorry (or people won't be able to log in!), anyway.
   if ((isset($_REQUEST['action']) && in_array($_REQUEST['action'], array('login', 'login2', 'register'))) || !$context['user']['is_guest'])
      $context['browser']['possibly_robot'] = false;

   // Set the top level linktree up.
   array_unshift($context['linktree'], array(
      'url' => $scripturl,
      'name' => $context['forum_name_html_safe']
   ));


Replace with

   // Robots shouldn't be logging in or registering.  So, they aren't a bot.  Better to be wrong than sorry (or people won't be able to log in!), anyway.
   if ((isset($_REQUEST['action']) && in_array($_REQUEST['action'], array('login', 'login2', 'register'))) || !$context['user']['is_guest'])
      $context['browser']['possibly_robot'] = false;

   // -----------------------------------------------------------------------------------------------
   // + EzPortal v0.2.4 linktree() fix by ccbtimewiz [2/12/09] (http://jeunosky.net/)

   # Just in case... making this a global.
   global $ezpSettings;

   # Does $ezpSettings exist?! If not, set it to false and log NO errors.
   if (empty($ezpSettings))
    {
      $ezpSettings = array();
      $ezpSettings['ezp_portal_enable'] = 0;
    }

   # Are they perhaps running SMF 1.1.x and forum_name_html_safe doesn't exist? If so, let's fix 'em up.
   if (empty($context['forum_name_html_safe']))
      $forum_title = $context['forum_name'];
   else
      $forum_title = $context['forum_name_html_safe'];

   // This contains the "home" of the theme_linktree(). This is set first if no portal page is active.
   # @example: My Website
   if (empty($ezpSettings['ezp_portal_enable']))
      array_unshift($context['linktree'], array(
         'url' => $scripturl,
         'name' => $forum_title
      ));
   // And finally, if the portal IS set, show the forum name and then "forum".
   # @example: My Website => Forum
   else
      array_unshift($context['linktree'],
         array(
            'url' => $scripturl,
            'name' => $forum_title
         ),
         array(
            'url' => $scripturl . '?action=forum',
            'name' => 'Forum'
         )
      );
   unset($ezpSettings);
   unset($forum_title);
   // -----------------------------------------------------------------------------------------------


Issue Solved.


On a personal note from me, I was wondering, can this be incorporated into the mod for new people downloading it  ??? so they don't encounter the issue ever again.
I tried using this fix, and it had no change with our link tree, it still took us to the same page.  Our forum runs on 1.1.8 and we are using easy portal version 0.2.8 does anyone else have a fix or idea to try?
any takers?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 20, 2009, 07:43:32 PM
Will look into that issue for the next release havent' been able to figure it out myself yet.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 21, 2009, 01:29:42 PM
First of all. Great mod! I got it working great now.

I'm trying to install a banner rotator that displays a new banner on each page load or page reload. THe banner shows up but it doesn't link to where I set it to link to and the banner images don't change on reload. It always show the first banner and when I click the link it just reloads the page.

I have 3 different banners and 3 different links and they are all set to the right location. But it still won't work. Any idea what the problem is?

Here's my code.


<script type="text/javascript">
var imgs1 = new Array("http://www.magictalk.com/images/mtbanner.jpg","http://www.magictalk.com/images/mtbanner2.jpg","http://www.magictalk.com/images/mtbanner3.jpg");
var lnks1 = new Array("http://www.magicjax.com","http://www.streetofcard.com","http://www.magictalk.com");
var alt1 = new Array("Banner 1","Banner 2","Banner 3");
var currentAd1 = 0;
var imgCt1 = 3;
function cycle1() {
  if (currentAd1 == imgCt1) {
    currentAd1 = 0;
  }
var banner1 = document.getElementById('adBanner1');
var link1 = document.getElementById('adLink1');
  banner1.src=imgs1[currentAd1]
  banner1.alt=alt1[currentAd1]
  document.getElementById('adLink1').href=lnks1[currentAd1]
  currentAd1++;
}
  window.setInterval("cycle1()",10000);
</script>
<a href=""http://www.magictalk.com"" id="adLink1" target="_top">
<img src="http://www.magictalk.com/images/mtbanner.jpg" id="adBanner1" border="0" width="468" height="60"></a>

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 23, 2009, 03:09:24 PM
It's been quite a while with no reply to my issue. So am I to take it that it's not possible to install a javascript in a Box?

Just to show you what I need to work out. If you look at my forum here:
http://magictalk.com/forum/index.php

You'll see I have two boxes. One on the right and one centered at the top.

The one on the top I need to put a banner rotator that will load a new banner when the page reloads.

The box on the right I need a script that will place the images in random order.

I've found scripts that do what I need to do. But none of them will work in the EzPortal boxes.

We're about to launch this forum so I really need to find a way to figures these out. Any help would be greatly appreciated.

Ron
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 23, 2009, 07:19:37 PM
What does the code of the page look like we boxes included?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: cubetgio on May 24, 2009, 10:37:40 AM
Quote from: cubetgio on May 15, 2009, 07:06:48 AM
Hello

I'm testing links permissions with 1.1.8.

It seems that it's not working when you deny access to a category of links to a specific member group(guest).

The link is opening independently of the fact that you deny access to.

G.

Hello VBgamer,

any idea on what is wrong with ezlinks box permission and duplication of links when creating a second links box
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 24, 2009, 10:52:52 AM
The permission issue was not built into the ezBlock which is why it did not work.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Fat_Man on May 24, 2009, 08:03:24 PM

Big thumbs up to this Modification.

Works well with the Dilber theme (just in case anybody else is using this theme)

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 24, 2009, 08:50:43 PM
Thanks for the support!
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Yahmez on May 25, 2009, 10:10:50 AM
1st off, Great portal!
I have a question though. I edited the poll block code to work with the colored bars mod. I have it set up and it works for me exactly how I want it, BUT it fills my error log up very quickly. Is there any way you could help me figure out where the error is?

This is what the error log keeps showing:
2: Missing argument 2 for EzBlockPollBlock()File: /xxxx/xxxxxx/xxxxx/Sources/Subs-EzPortalMain.phpLine: 972

Here is the edited portion of code from subs-ezportalmain file. function EzBlockPollBlock($paramters = array(), $pollTopicID, $startHtml = '', $endHtml = '')
{
    global $db_prefix, $txt, $ID_MEMBER, $settings, $boardurl, $sc, $user_info;
    global $context;
   

    // Pass all the parematers
    foreach($paramters as $myparam)
    {
        if ($myparam['parameter_name'] == 'pollTopicID')
            $pollTopicID = (int) $myparam['data'];

       
    }
   
    $topic = (int) $pollTopicID;
   
    // Html Header
    echo $startHtml;


    $boardsAllowed = boardsAllowedTo('poll_view');

    if (empty($boardsAllowed))
        return array();



    $request = db_query("
        SELECT
            p.ID_POLL, p.question, p.votingLocked, p.hideResults, p.expireTime, p.maxVotes
        FROM ({$db_prefix}topics AS t, {$db_prefix}polls AS p, {$db_prefix}boards AS b)
        WHERE p.ID_POLL = t.ID_POLL
            AND t.ID_TOPIC = $topic
            AND b.ID_BOARD = t.ID_BOARD
            AND $user_info[query_see_board]" . (!in_array(0, $boardsAllowed) ? "
            AND b.ID_BOARD IN (" . implode(', ', $boardsAllowed) . ")" : '') . "
        LIMIT 1", __FILE__, __LINE__);

    // Either this topic has no poll, or the user cannot view it.
    if (mysql_num_rows($request) == 0)
        return array();

    $row = mysql_fetch_assoc($request);
    $pollinfo = $row;
    mysql_free_result($request);

    // Check if they can vote.
    if (!empty($row['expireTime']) && $row['expireTime'] < time())
        $allow_vote = false;
    elseif ($user_info['is_guest'] || !empty($row['votingLocked']) || !allowedTo('poll_vote'))
        $allow_vote = false;
    else
    {
        $request = db_query("
            SELECT ID_MEMBER
            FROM {$db_prefix}log_polls
            WHERE ID_POLL = $row[ID_POLL]
                AND ID_MEMBER = $ID_MEMBER
            LIMIT 1", __FILE__, __LINE__);
        $allow_vote = mysql_num_rows($request) == 0;
        mysql_free_result($request);
    }

    $request = db_query("
        SELECT COUNT(DISTINCT ID_MEMBER)
        FROM {$db_prefix}log_polls
        WHERE ID_POLL = $row[ID_POLL]", __FILE__, __LINE__);
    list ($total) = mysql_fetch_row($request);
    mysql_free_result($request);

    $request = db_query("
        SELECT ID_CHOICE, label, votes
        FROM {$db_prefix}poll_choices
        WHERE ID_POLL = $row[ID_POLL]", __FILE__, __LINE__);
    $options = array();
    $total_votes = 0;
    while ($rowChoice = mysql_fetch_assoc($request))
    {
        censorText($rowChoice['label']);

        $options[$rowChoice['ID_CHOICE']] = array($rowChoice['label'], $rowChoice['votes']);
        $total_votes += $rowChoice['votes'];
    }
    mysql_free_result($request);

    $return = array(
        'id' => $row['ID_POLL'],
        'image' => empty($pollinfo['votingLocked']) ? 'poll' : 'locked_poll',
        'question' => $row['question'],
        'total_votes' => $total,
        'is_locked' => !empty($pollinfo['votingLocked']),
        'allow_vote' => $allow_vote,
        'topic' => $topic
    );

    // Calculate the percentages and bar lengths...
    $divisor = $total_votes == 0 ? 1 : $total_votes;
    foreach ($options as $i => $option)
    {
        $bar = floor(($option[1] * 100) / $divisor);
        $barWide = $bar == 0 ? 1 : floor(($bar * 5) / 6);
        $return['options'][$i] = array(
            'id' => 'options-' . $i,
            'percent' => $bar,
            'votes' => $option[1],
            'bar' => '<span style="white-space: nowrap;"><img src="' . $settings['images_url'] . '/poll/poll_left_c' . $i%10 . '.gif" alt="" /><img src="' . $settings['images_url'] . '/poll/poll_middle_c' . $i%10 . '.gif" width="' . $barWide . '" height="12" alt="-" /><img src="' . $settings['images_url'] . '/poll/poll_right_c' . $i%10 . '.gif" alt="" /></span>',
            'option' => parse_bbc($option[0]),
            'vote_button' => '<input type="' . ($row['maxVotes'] > 1 ? 'checkbox' : 'radio') . '" name="options[]" id="options-' . $i . '" value="' . $i . '" class="check" />'
        );
    }

    $return['allowed_warning'] = $row['maxVotes'] > 1 ? sprintf($txt['poll_options6'], $row['maxVotes']) : '';


    if ($return['allow_vote'])
    {
        echo '
            <form action="', $boardurl, '/SSI.php?ssi_function=pollVote" method="post" accept-charset="', $context['character_set'], '">
                <input type="hidden" name="poll" value="', $return['id'], '" />
                <table border="0" cellspacing="1" cellpadding="0">
                    <tr>
                        <td><b>', $return['question'], '</b></td>
                    </tr>
                    <tr>
                        <td>', $return['allowed_warning'], '</td>
                    </tr>';
        foreach ($return['options'] as $option)
            echo '
                    <tr>
                        <td><label for="', $option['id'], '">', $option['vote_button'], ' ', $option['option'], '</label></td>
                    </tr>';
        echo '
                    <tr>
                        <td><input type="submit" value="', $txt['ezp_built_submitvote'], '" /></td>
                    </tr>
                </table>
                <input type="hidden" name="sc" value="', $sc, '" />
            </form>';
    }
    else
    {
        echo '
                <table border="0" cellspacing="1" cellpadding="0">
                    <tr>
                        <td colspan="2"><a href="', $boardurl, '/index.php?topic=', $return['topic'], '"><small><b>', $return['question'], '</b></a></td>
                    </tr>
', $return['question'], '</b></small></td>
                    </tr>';
        foreach ($return['options'] as $option)
            echo '
                    <tr>
                        <td align="left" valign="top"><small>', $option['option'], ' (', $option['percent'], '%)</small></td>
                    </tr>
                    <tr>
                        <td align="left"><small>', $option['bar'], ' ', $option['votes'], ' </small><hr /></td>                   
                    </tr>';
        echo '
                    <tr>
                        <td colspan="2"><b>', $txt['ezp_built_totalvoters'], ': ', $return['total_votes'], '</b></td>
                    </tr>
                </table>';
    }
       
    // Html Footer
    echo $endHtml;
}
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 25, 2009, 01:50:31 PM
Fix Change

function EzBlockPollBlock($paramters = array(), $pollTopicID, $startHtml = '', $endHtml = '')

To

function EzBlockPollBlock($paramters = array(), $pollTopicID = 0, $startHtml = '', $endHtml = '')
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Yahmez on May 25, 2009, 04:26:35 PM
Thanks a million vbagamer45!! You fixed my error.
Now my top posters block and my newest members blocks don't work but that's ok as long as the poll block still works. Thanks!
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 26, 2009, 06:33:23 PM
My new forum opens this coming Monday so I really need to work out the issue I've been asking for help with for last 2 weeks in this post.

Banner Rotator on page reload
First, I need my box that is centered on the top of the forum to show a different banner when the page is reloaded. Here's the script I'm trying to use:

Link to Script (http://www.designerwiz.com/JavaScripts/bannereffects/single_banner_rotator_on_refresh.htm)

Or this one:

Link to Script (http://javascript.internet.com/miscellaneous/random-image.html)


Random Ordered Image Links

I have a Box on the right side of my forum with smaller Ad images. I need to make the show up in a random order.

Link to Script (With example) (http://ebusinesshelpcenter.com/sitetools/image-random-order-content-free-javascript.php)

These scripts require you to put a code in the HEAD section as well as the BODY of a document. I've tried all the methods I know and so far none work.

I'm willing to use any method to get the job done. I'm just hoping that I can finally get some "Support" for this. I know I'm coming across as desperate but time is running out and this needs to be worked out by this coming monday for the launch of the site.

You can see the forum in question here:
http://magictalk.com/forum/

Can someone please fill me in on how I can get these types of scripts to work in the EzPortal. It's a great mod but if I can't get this worked out I'll have to find something else.

Thanks for your time.

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on May 26, 2009, 07:29:39 PM
Anything that modifies the head of the template is a theme issue and needs to be placed in the theme files in order to work.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 26, 2009, 07:40:08 PM
Thank you very much for the reply.

I'm afraid I need a little more specific though. Which template file should I put the code in and how/where?

Thanks again for the reply.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on May 26, 2009, 08:31:44 PM
index.template.php
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 27, 2009, 01:34:10 PM
Thank you very much. I think I'm getting very close here.

In my index.template.php file I found the fallowing code that is the block that I need to apply one of the scripts to. It looks like this.


  // Show the [Advertising] button.
   echo '<li><a href="http://magictalk.com/forum/index.php?action=ezportal;sa=page;p=1"><span>Advertising</span></a></li>';


The script I need to put in the "Head" section of the html looks like this:

To go in HEAD:

<script>

/*
Random-Order content script
By JavaScript Kit (http://www.javascriptkit.com)
This notice must stay intact for use
*/

//1) Specify content(s) to display and rotate
//   You can specify multiple "sets", each displayed in diff. areas of your page

var content=new Array() //sample set 1
content[0]='<a href="http://www.dynamicdrive.com"><img src="http://www.javascriptkit.com/dynamic.gif" border=0></a>'
content[1]='<a href="http://cooltext.com"><img src="http://www.cooltext.com/images/ctb4.gif" border=0></a>'
content[2]='<a href="http://thefreesite.com"><img src="http://www.thefreesite.com/free88.gif" border=0></a>'

var diffcontent=new Array() //sample set 2
diffcontent[0]='<a href="http://www.google.com">Google Search Engine</a>'
diffcontent[1]='<a href="http://news.bbc.co.uk">BBC News</a>'
diffcontent[2]='<a href="http://www.msnbc.com">MSNBC News</a>'


function randomorder(targetarray, spacing){

var randomorder=new Array()
var the_one
var z=0
for (i=0;i<targetarray.length;i++)
randomorder[i]=i

while (z<targetarray.length){
the_one=Math.floor(Math.random()*targetarray.length)
if (targetarray[the_one]!="_selected!"){
document.write(targetarray[the_one]+spacing)
targetarray[the_one]="_selected!"
z++
}
}
}

</script>


To go in BODY:

<script>
//2) Call function randomorder(arrayname, space_between_content)
randomorder(content, '<br><br>')
randomorder(diffcontent, '<br>')
</script>


I understand the BODY part will just go in the EzBox.

But how do I put this HEAD code in the index.template.php

I'm afraid I'll need a walk through on this. I've never done this before. I now HTML pretty well but not much about PHP.

Thanks again for your help so far. I feel I'm getting warmer. LOL

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 28, 2009, 11:31:08 PM
I found a solution to my problem and I'm wondering if there is any reason I should do it this way. I just went old school and put an iFrame in the EzBlock.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on May 29, 2009, 12:24:14 AM
well, apart from the fact that iframes are ugly, bad process and will not maintain sessions? :)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 29, 2009, 01:31:50 PM
I agree. I really want to find out how to just put the javascript in the EzBlock but so far no one has been able to tell me how to do it.

I put a No border on it so no one can even tell that it is an iframe. I don't want to use this solution because I can't figure out how to put a javascript in the ezblock (This part in HEAD and this part i BODY). I can't think of anything else to do.

You can see what I did here. No one can tell it's an iFrame.
http://magictalk.com/forum/
(It's the banner on top. Reload page to see it change)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [SiNaN] on May 30, 2009, 02:47:42 AM
What you are trying to do can be done by PHP already.

$banners = array(
array('url_to_banner_image_1', 'url_to_site_1'),
array('url_to_banner_image_2', 'url_to_site_2'),
array('url_to_banner_image_3', 'url_to_site_3'),
);

$rand = mt_rand(0, count($banners) - 1);
echo '<a href="', $banners[$rand][1], '" target="_blank"><img src="', $banners[$rand][0], '" alt="" /></a>';
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 30, 2009, 08:52:10 PM
Quote from: [SiNaN] on May 30, 2009, 02:47:42 AM
What you are trying to do can be done by PHP already.

$banners = array(
array('url_to_banner_image_1', 'url_to_site_1'),
array('url_to_banner_image_2', 'url_to_site_2'),
array('url_to_banner_image_3', 'url_to_site_3'),
);

$rand = mt_rand(0, count($banners) - 1);
echo '<a href="', $banners[$rand][1], '" target="_blank"><img src="', $banners[$rand][0], '" alt="" /></a>';


Can you elaborate on that please? Where to I put this code and what do I put in the ezblock to display it on my forum. I'm not a professional developer and I don't know much about PHP.

Thanks for any help.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [SiNaN] on May 31, 2009, 03:36:38 AM
You have to use those codes in a PHP block. Just change 'url_to_banner_image_xx with URL to the banner image and url_to_site_xx with the URL to the web site.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 31, 2009, 01:00:27 PM
Thanks again.

What the heck is a PHP block and where do I put it?

What I think this means is I go to admin/ezblock manager and add the code you gave me there. Is that right?

Believe me, I'm not as stupid as I seem here. But assume I know nothing about PHP because I don't. I do understand how to alter that code for my images and links. But I have no idea what a "PHP block" is.

Thanks again
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [SiNaN] on May 31, 2009, 02:09:51 PM
Ummm, I believe there is a PHP code block or something similar that parses PHP. I'm sure you will see it if you read each block type title.

An example of how to use it:

$banners = array(
array('http://www.simplemachines.org/community/Themes/smsite/images/background_logo.jpg', 'http://www.simplemachines.org'),
array('http://somelink.to/a/site/image.gif', 'http://anexample.site'),
array('http://wehavealink.here/and/an/image.png', 'http://this.is/the/url.php'),
);

$rand = mt_rand(0, count($banners) - 1);
echo '<a href="', $banners[$rand][1], '" target="_blank"><img src="', $banners[$rand][0], '" alt="" /></a>';
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on May 31, 2009, 07:55:18 PM
Ahhhh. Now I do feel stupid. I didn't see the "PHP Block" choice there. It doesn't show up when you Edit a block. Only when you create one.

Thanks so much SiNaN. It's working great now.

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [SiNaN] on May 31, 2009, 10:27:31 PM
You're welcome. Glad that you could sort out the issue.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on June 01, 2009, 04:39:43 PM
Is it possible to post in image in the Shoutbox ezblock. Just me (The admin)?

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 04, 2009, 01:33:21 PM
Any user can place any bbc code in their shout
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Fat_Man on June 05, 2009, 12:09:20 AM
If i only want the portal blocks on the main page of the forum ie.. the index.php page..
What do i do?
I can't seem to get on that page only.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 05, 2009, 11:28:14 AM
Do you want a main portal page or do you want them to only show on the board index?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Fat_Man on June 06, 2009, 12:38:09 AM
Quote from: vbgamer45 on June 05, 2009, 11:28:14 AM
Do you want a main portal page or do you want them to only show on the board index?

Only on the Board Index for the moment VbGamer45.

I'm still tinkering with it at the moment.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Fat_Man on June 07, 2009, 08:34:45 PM
I still can't seem to get this to work only on the board index.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 07, 2009, 08:49:06 PM
Yeah I think that is something I need to fix I have it working on action=forum but not just the board index
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Chas Large on June 08, 2009, 04:20:26 PM
Hi vbGamer, thanks for ezPortal, have been experimenting with it on my test forum prior to installing on the live site. It's great and works well. Am using 1.1.9 and there were no install issues.

I have set up some Left and Centre blocks and made a web page to show in the webpages block.

My question is, can a webpage be set as the default to show for the Portal HOME page? So far it just shows as a link in the centre block. See below.



It would be nice to have the page open as the default or when the home page is clicked in the menu.

I dd a quick scan through this topic and could not find it mentioned elsewhere, sorry if I did miss it.

Cheers

Chas
Title: Re: ezPortal 0.2.6 for SMF (Now Suppots SMF 2.0) 18+ New Blocks
Post by: fwgmc on June 09, 2009, 10:04:46 PM
Quote from: indestopable on February 22, 2009, 09:40:10 PM
Quote from: jossanaijr on February 22, 2009, 05:11:37 PM
Hi,
just installed it and have this warning:
Warning your ezcache folder is not writable! For best performance we suggest having the cache folder writable.

but cannot find where to change it.

Also have this error when in Modules:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mysite/public_html/Sources/Class-Package.php on line 75

Is this because of the permission error or another?

Your ezcache folder is in your Ezportal main directory. It can be CHMOD'd to '755' permissions.

I did a search on this before asking and this was the best I come up with. Now, I spent about 45 minutes on the phone with my hosting service to figure out why 1) I was being denied permission to change the ezcache folder to writable as it stated in my warning, and 2) what the purpose of this file/folder was for. They helped me to change my file permissions via the file manager center since my FTP wasn't allowing me to do so, I was getting some kind of 500 CHMOD error saying command could not be understood. Once I changed it, I was still seeing that red warning. I tried clearing my files/cookies, doing a HARD refresh right down to rebooting and doing a system quickie clean up, nothing was working to change this even though I've changed that folders permissions. So I asked if it was because the ezcache folder was a sub directory of the ezportal folder and if I needed to change the permissions on the ezportal folder too. My hosting company said that was not advised as they weren't sure how vulnerable this would make me to hackers and wrong-doers looking to experiment on my site. I heeded that warning. Now I want to know what the folder is for and why I need it to be writable. I'm slightly ignorant to this, so explain to me as well as you can, if you do not mind (analogies work really great for me to grasp a concept). It would appear as though the portal is functioning, but I am not sure if I am neglecting some important kind of feature by not fully troubleshooting this problem I am having or not. I appreciate any help on this matter I can get. Thanks!   :)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 09, 2009, 10:14:46 PM
The ezcache folder is not used for too much right now and is not needed for the operation for ezportal
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: fwgmc on June 10, 2009, 12:53:31 AM
Quote from: vbgamer45 on June 09, 2009, 10:14:46 PM
The ezcache folder is not used for too much right now and is not needed for the operation for ezportal

Thanks so much. I really love this modification. It's allowed me to do a great deal more than I thought possible. :) Thank you for your hard work and quick reply.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Fat_Man on June 10, 2009, 08:14:50 AM
Quote from: vbgamer45 on June 07, 2009, 08:49:06 PM
Yeah I think that is something I need to fix I have it working on action=forum but not just the board index

Cool - I couldn't friggin work out that if I only wanted the main board index to have the portal features.  Lol.
I look forward to an update Vbgamer - its great the way it is, its just i want to limit to just the main index.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: qtime on June 10, 2009, 12:05:23 PM
About the attached pictures: I like to have the code to display the thumbnails in stead of the full pictures size. Who can help me?
something like this
if ($attachment['thumbnail']['has_thumb'])...
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on June 11, 2009, 01:21:50 PM
Would anyone know a script that will accomplish what this script (http://ebusinesshelpcenter.com/sitetools/image-random-order-content-free-javascript.php) does that will work in an ezblock?

The script displays a set of images and when the page is reloaded the order of the images change randomly. If you look at the block on the right side of my forum (http://magictalk.com/forum/index.php) you'll see what I'm trying to do. I want those ad images to show up in random order.

The script I linked to above won't work (As far as I know) because you have to add a part of the script to the head section of a page. There is no "head" section on the ezblock to put that is there?

siNaN. Thank you for the script you gave me that changed the image on reload. Would you know a similar one that serves this purpose as well?

Thanks
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on June 14, 2009, 09:28:33 PM
In the Ezportal settings there's a check box that says, "Enable Portal Homepage" and under it there's a text box titled "Custom Homepage Title".

I'm wondering what this is about. Does that mean that it can be my index page? In other words mydomain.com can take them to this ezportal page rather then mydmain.com/index.php?

Thanks.

Ron
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 14, 2009, 09:32:09 PM
Quote from: Magicjax on June 14, 2009, 09:28:33 PM
In the Ezportal settings there's a check box that says, "Enable Portal Homepage" and under it there's a text box titled "Custom Homepage Title".

I'm wondering what this is about. Does that mean that it can be my index page? In other words mydomain.com can take them to this ezportal page rather then mydmain.com/index.php?

Thanks.

Ron
The custom Homepage title is the title of the window in your browser when you load that page.
It works by changing the text for <title> tag in html
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Magicjax on June 14, 2009, 09:41:20 PM
Ah, I get it. So if I was just reading the HTML it would be:

<html>
<head>
<title>THIS TEXT</title>
</head>


Ok, thanks for clarifying that for me.

Is there a way to make my index page an ezportal page?

Let me explain why. Right now my index page looks like the forum to some degree. You can take a look here:
www.magictalk.com

As you can see there's the "Sign in" box on the top.

But the "Ad" images don't show up.

I would like my index page (magictalk.com) to look more like this ezportal page (http://magictalk.com/forum/index.php?action=ezportal;sa=page;p=1).

Another problem is if they sign in to the index page I have now it doesn't always work. They go to the forum and they aren't signed in.

Is there a way to do this?

Thanks again.

Ron
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on June 14, 2009, 11:15:25 PM
???   mydomain.com is the same as mydomain.com/index.php

so, yes...   if you have your forum in the root directory, then the EZportal page can be your site's homepage.

see 40konline.com/community
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Caeser on June 16, 2009, 01:10:50 PM
On the links block is there a way to separate my links so when you look at the page the links are broken down into categories and sub categories?


Link Category
Link 1
Link 2
Link 3

Link Category
Link 1
Link 2
Link 3

Link Category
Link 1
Link 2
Link 3


Something like what I have posted, at the moment I can create catalogues but they are not displayed and it groups all my links into one big clump with no organization.

any help would be appreciated.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 16, 2009, 02:01:14 PM
Not currently with the links block but you could make a html block and code the links in that way
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: djmentos on June 17, 2009, 08:35:35 AM
Hi.

Im trying to install EzPortal 0.2.8 at SMF 2.0 RC1-1

I have uploaded packet and after click on install button, im waiting long time (about 2 minutes) and after i see a blank page and mod is not installed.

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 17, 2009, 09:06:57 AM
Does it happen each time? I would try to install it a couple times
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: djmentos on June 17, 2009, 04:16:56 PM
heh. now it's all right. thx.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: KensonPlays on June 22, 2009, 12:16:48 PM
can someone help with getting it to work on the "Efsane" theme? plz?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 22, 2009, 01:23:45 PM
Quote from: Kcmartz on June 22, 2009, 12:16:48 PM
can someone help with getting it to work on the "Efsane" theme? plz?
What code do you need added to the theme.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: chrissfife on June 23, 2009, 04:46:09 PM
Is there any documentation or comments somewhere on how to use ezPortal Page Manager? I can add pages but I don't know how to display them in a block or in the menu so that people can get to them.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 23, 2009, 07:59:07 PM
No documentation yet. You just use the links it generates and put them in blocks or in posts anywhere
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: KensonPlays on June 23, 2009, 11:36:55 PM
@chrissfife:

I use the Custom HTML block and copy and paste the links into it linking them.

---------------------------

@vbgamer45:
I need help. I have the Poll EzBlock installed and can't figure out how to add to it, I mean creating a poll! Help anyone?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on June 24, 2009, 09:08:50 PM
Just edit the ezPoll block and include the poll topic id from the poll you created in a forum.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: xkytsunex on July 03, 2009, 09:14:39 PM
Okay, you're my hero, seriously.  This is so easy to use, and so customizable!  Way awesome!
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 05, 2009, 09:17:42 PM
Quote from: xkytsunex on July 03, 2009, 09:14:39 PM
Okay, you're my hero, seriously.  This is so easy to use, and so customizable!  Way awesome!
Thanks for the support! Working on an awesome new version with many features coming soon!
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: spaceboy on July 08, 2009, 01:01:21 AM
Just installed ezPortal and I love it.  I'm still learning, but the learning curve is pretty quick.  What a great job.  Thanks.  What is the recommended way to start using Google Ads with 2.0 RC1-1 and ezPortal?  I am new to all of this.  Would I just use html blocks or use something like the mod on this site Ad Management Mod http://custom.simplemachines.org/mods/index.php?mod=255.

Thanks again for any suggestions and for this great portal mod.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 08, 2009, 08:41:55 AM
I would use html blocks and put the adsense code inside the block that would work the best.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: spaceboy on July 08, 2009, 09:33:30 AM
perfect.  Thanks.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Fat_Man on July 08, 2009, 08:07:26 PM
Quote from: vbgamer45 on July 05, 2009, 09:17:42 PM
Thanks for the support! Working on an awesome new version with many features coming soon!

New features?? Damn.. this is already feature packed.
Gonna give us hint whats coming? 

Hope I can set the portal to just the index page Vbgamer45.   :)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: septa/njt rider on July 09, 2009, 01:04:42 AM
I don't know if this was reported or not, but when you try to view a specific category while the portal home page is enabled, it just redirects you to the portal home page, example:

http://njtransitforums.talk4fun.net/index.php#c7

Is there anyway to make this point to:

http://njtransitforums.talk4fun.net/index.php?action=forum#c7

That'll help alot, but i dunno what to edit
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on July 09, 2009, 01:10:36 AM
it's been reported 4 or 5 times...   (try using search or reading the previous posts?)

VBgamer.... Any update on correcting that?

I figured a way around it by installing the categories mod (it changes the category links into actual pages instead of anchors on the main page) but that's a work-around, not actually a fix.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: septa/njt rider on July 09, 2009, 01:24:51 AM
Quote from: Kindred on July 09, 2009, 01:10:36 AM
it's been reported 4 or 5 times...   (try using search or reading the previous posts?)

Sorry, i started reading the topic, but after the first three pages, i just skipped to the last one, which is why i posted that i wasn't sure, sorry i didn't pay close enough attention  :-[ :-[ :-[ :-[
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Bluey on July 10, 2009, 12:17:28 AM
Hi
I am trying to get a time and date block working in the left column.  I have this working on another forum using tiny portal but want to get it working on a new one using ezportal.  I set it up in a php block and it centers itself on the page and overrides everything else.  If I just use the clock part of the php it will display fine in the right column but as soon as you put the calendar php in it throws a wobbly. Here is the code. Any ideas?


echo '<div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="135" height="40">
  <param name="movie" value="http://www.lgapa.com.au/SMF/Themes/default/images/clock14.swf ">
  <param name="quality" value="high">
  <param name="menu" value="false">
  <embed src="http://www.lgapa.com.au/SMF/Themes/default/images/clock14.swf " quality="high"  menu=false pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="135" height="40">
  </embed>
  </object></div>';

global $scripturl, $modSettings, $context, $db_prefix, $user_profile;

smf_loadCalendarInfo();

$now = mktime() + $modSettings['time_offset'] * 3600;

$today = date('j',$now);
$year = date('Y',$now);
$month = date('n',$now);

$days = array($today=>array(NULL,NULL,'<a class="smalltext" style="color:steelblue; font-weight:bold; border:solid 1px black; background-color: white; padding: 0px 4px 0px 4px;" href="'.$scripturl.'?action=calendar;month='.$month.';year='.$year.';day='.$today.'" target="_self">'.$today.'</a>'));

$day_name_length = 2;

$month_href = $scripturl . '?action=calendar&month=' . $month;
$first_day = 0;
$pn = array();

$first_of_month = gmmktime(0,0,0,$month,1,$year);

$day_names = array();                                      #generate all the day names according to the current locale
for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400)    #January 4, 1970 was a Sunday
    $day_names[$n] = ucfirst(gmstrftime('%A',$t));         #%A means full textual day name

list($month, $year, $month_name, $weekday) = explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month));

$weekday = ($weekday + 7 - $first_day) % 7;                #adjust for $first_day
$title   = htmlentities(ucfirst($month_name)).' '.$year;   #note that some locales don't capitalize month and day names

@list($p, $pl) = each($pn); @list($n, $nl) = each($pn); #previous and next links, if applicable
if($p) $p = '<span class="smalltext">'.($pl ? '<a href="'.htmlspecialchars($pl).'">'.$p.'</a>' : $p).'</span> ';
if($n) $n = ' <span class="smalltext">'.($nl ? '<a href="'.htmlspecialchars($nl).'">'.$n.'</a>' : $n).'</span>';
$calendar = '<table align="center">'.'<caption >'.$p.($month_href ? '<a href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).$n.'</caption><tr>';

if($day_name_length){                                      #if the day names should be shown ($day_name_length > 0)
    foreach($day_names as $d)
    $calendar .= '<th class="smalltext" abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) : $d).'</th>';
    $calendar .= '</tr><tr style="text-align:right;">';
    }

if($weekday > 0) $calendar .= '<td class="smalltext" colspan="'.$weekday.'"> </td>'; #initial 'empty' days

for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){
    if($weekday == 7){
        $weekday   = 0; #start a new week
        $calendar .= '</tr><tr style="text-align:right;">';
        }

    if(isset($days[$day]) and is_array($days[$day])){
        @list($link, $classes, $content) = $days[$day];
        if(is_null($content))  $content  = $day;
        $calendar .= '<td '.($classes ? ' class="'.htmlspecialchars($classes).'">' : '>').($link ? '<a href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content).'</td>';
        }
    else
        {
        $calendar .= '<td class="smalltext" style="padding-right:4px;"><a';
        if(((($weekday+$first_day) % 7)==0)||((($weekday+$first_day) % 7)==6))
            {
            $calendar .= ' style="color:#C00000;"';
            }
        $calendar .= ' href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$day.'" target="_self">'.$day.'</a></td>';
        }
    }

if($weekday != 7) $calendar .= '<td class="smalltext" colspan="'.(7-$weekday).'"> </td>'; #remaining "empty" days

echo $calendar.'</tr>';

/////////////////////////////////////////////////////////////////
//   BIRTHDAY SECTION
//
if (!empty($context['calendar_birthdays']))
{
    echo '<tr><td colspan="2"><hr></td><td colspan="3" class="smalltext" align="center" style="font-weight: bold; color: #' . $modSettings['cal_bdaycolor'] . ';">Birthdays</td><td colspan="2"><hr></td></tr><td colspan="7" class="smalltext">';

    foreach ($context['calendar_birthdays'] as $member)
    {
        $query = db_query(
            "SELECT birthdate
            FROM {$db_prefix}members
            WHERE ID_MEMBER='".$member['id']."'", __FILE__, __LINE__);

        $row = mysql_fetch_assoc($query);
list ($uyear, $umonth, $uday) = explode('-', $row['birthdate']);
        $birthdate = strtotime(sprintf('%04d-%02d-%02d', date("Y"), $umonth, $uday));
        mysql_free_result($query);

        $dummy = array();
        $dummy[] = $member['id'];
        loadMemberData($dummy);
        $profile = &$user_profile[$member['id']];

        echo '<div align="center">';
        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month=' . date("n",$birthdate) . '"><strong>' . date("M j",$birthdate) . '</strong></a>';
        echo ' - ';
        echo '<a href="', $scripturl, '?action=profile;u=', $member['id'], '">';
        if (!empty($profile['member_group_color']))
        {
        echo '<font color="' . $profile['member_group_color'] . '">' . $member['name'] . (isset($member['age']) ? '(' . $member['age'] . ')' : '') . '</font>';
        }
        else
        {
        echo $member['name'] . (isset($member['age']) ? '(' . $member['age'] . ')' : '');
        }
        echo '</a>';
        echo '</div>';
    }
    echo '</td></tr>';
}

/////////////////////////////////////////////////////////////////
//   EVENTS SECTION
//
if (!empty($context['calendar_events']))
{
    echo '<tr><td colspan="2"><hr></td><td colspan="3" class="smalltext" align="center" style="font-weight: bold; color: #' . $modSettings['cal_eventcolor'] . ';">Events</td><td colspan="2"><hr></td></tr><td colspan="7" class="smalltext">';

    foreach ($context['calendar_events'] as $event)
    {
        $query = db_query(
            "SELECT startDate
            FROM {$db_prefix}calendar
            WHERE ID_EVENT='".$event['id']."'", __FILE__, __LINE__);

        $row = mysql_fetch_assoc($query);
        $startdate = strtotime($row['startDate']);

        mysql_free_result($query);

        echo '<div align="center">';
        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month=' . date("n",$startdate) . '"><strong>' . date("M j",$startdate) . '</strong></a>';
        echo ' - ';
        echo $event['link'] ;
        echo '</div>';
    }
    echo '</td></tr>';
}

/////////////////////////////////////////////////////////////////
//   HOLIDAY SECTION
// WHERE title='".str_replace("'","''",$holiday)."'
if (!empty($context['calendar_holidays']))
{
    echo '<tr><td colspan="2"><hr></td><td colspan="3" class="smalltext" align="center" style="font-weight: bold; color: #' . $modSettings['cal_holidaycolor'] . ';">Holidays</td><td colspan="2"><hr></td></tr><td colspan="7" class="smalltext">';

    foreach ($context['calendar_holidays'] as $holiday)
    {
        $query = db_query(
            "SELECT eventDate
            FROM {$db_prefix}calendar_holidays
            WHERE title='".str_replace("'","''",$holiday)."'
            AND (eventDate LIKE '".date("Y")."-%' OR eventDate LIKE '0004-%')", __FILE__, __LINE__);

        $row = mysql_fetch_assoc($query);
        $eventdate = strtotime(date("Y").substr($row['eventDate'], 4));

        mysql_free_result($query);

        echo '<div align="center">';
        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month=' . date("n",$eventdate) . '"><strong>' . date("M j",$eventdate) . '</strong></a>';
        echo ' - ';
        echo $holiday;
        echo '</div>';
    }
    echo '</td></tr>';
}

echo '</table>';



edit-please use the CODE BBC tags!
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 19, 2009, 02:27:39 AM
Hi there,

I made a new EzBlock with EzPortal on my website, and I got the PHP Code wrong.

I only made the permissions for Admins to be able to see the EzBlock.

Now, on my website, all that the Admins can see is that EzBlock and nothing else appears accept for the header, footer and navigation bar.

Everyone else can use the website just as normal.

Is there any way I can manually delete this EzBlock without going via the Admin Panel so I can use my website?

Or do I have to uninstall EzPortal all together and start again? How would I do this?

Thanks!

Any fast responses are appreciated as we have tournaments running and I can't update the website.

Link: www.ausblueseals.com
SMF: 1.1.9
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [RedDevil] on July 19, 2009, 02:37:45 AM
Isn't there an option on the Ezblock to remove it?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 19, 2009, 03:25:10 AM
No there isn't. I can't even access the site when I'm logged in as an admin. All I see is the error message of it.

I just want to know how I can manually uninstall EzPortal without going to the Admin Panel so I can reinstall it again.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 19, 2009, 09:36:38 AM
You will need to go into phpMyAdmin  inside you databse find the smf_ezp_block_layout  table and most likely delete the last entry of that table to fix the issue
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 19, 2009, 09:53:56 AM
Alright thanks. That fixed it! YAY!

I now have a question.

With the 'Board News' EzBlock, how can I get the title of the post to link to the forum topic, instead of just that little picture doing it?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 19, 2009, 09:56:39 AM
Open Sources/Subs-EzPortalMain.php
Find

<a href="', $news['href'], '">', $news['icon'], '</a> <b>', $news['subject'], '</b>

Change to

<a href="', $news['href'], '">', $news['icon'], ' <b>', $news['subject'], '</b></a>
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 19, 2009, 10:16:23 AM
Alright thanks I got that to work.

Now. How can I remove the '0 comments | Write Comment' and replace it with something like 'Continue Reading...' which has a link to the topic?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 19, 2009, 10:18:59 AM
Oh and also how can I get rid of the 'Powered by EzPortal' in the bottom of the pages so I can move it to underneath 'Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC'?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 22, 2009, 08:11:37 PM
Can anyone help me?  ???
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 22, 2009, 08:15:53 PM
I don't support moving the copyright for portal needs to stay where it is at.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 22, 2009, 08:20:15 PM
What about the comments thing?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 22, 2009, 08:21:03 PM
Sources/Subs-EzPortalMain.php you can find the code for newsblock function
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 22, 2009, 08:22:50 PM
What part of the code do i need to change?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 22, 2009, 08:25:26 PM
That i don't know you will have to check it out to find out what to change.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 22, 2009, 08:28:49 PM
You made the mod and you don't know which part of the code to change?  ::)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 22, 2009, 08:42:17 PM
I do but not offhand without looking and I don't have time to do custom things for people
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 23, 2009, 07:11:47 AM
I've read through all the pages, but I couldn't find a fix for clicking on the Forum Categories leading you back to the Portal Homepage.

E.G.

A-US Blue Seals > Forum > News Forums > Clan News & Rules (Link - http://ausblueseals.com/index.php?board=2.0)

And you click News Forums (Link - http://ausblueseals.com/index.php#8) it just takes you back to the HomePage.

Any way to fix this somehow? It's quite annoying.

Thanks.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on July 23, 2009, 08:43:36 PM
known issue. no fix yet.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 24, 2009, 02:19:41 AM
Well that is quite annoying.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: septa/njt rider on July 24, 2009, 08:00:36 AM
Quote from: [A-US]James246 on July 24, 2009, 02:19:41 AM
Well that is quite annoying.
welcome to the club, lol, members on my site were getting mad at me about that so i had to switch portals....
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 24, 2009, 08:05:16 AM
Is there anyway that I can back up all of my web pages from the Page Manager?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [SiNaN] on July 24, 2009, 08:19:05 AM
Quote from: [A-US]James246 on July 23, 2009, 07:11:47 AM
I've read through all the pages, but I couldn't find a fix for clicking on the Forum Categories leading you back to the Portal Homepage.

E.G.

A-US Blue Seals > Forum > News Forums > Clan News & Rules (Link - http://ausblueseals.com/index.php?board=2.0)

And you click News Forums (Link - http://ausblueseals.com/index.php#8) it just takes you back to the HomePage.

Any way to fix this somehow? It's quite annoying.

Thanks.

This should fix it:

Sources/EzPortal.php

Code (Find) Select
// Setup template layer

Code (Replace) Select
if (!empty($context['linktree']))
foreach ($context['linktree'] as $key => $tree)
if (strpos($tree['url'], '#') !== false && strpos($tree['url'], 'action=forum#') === false)
$context['linktree'][$key]['url'] = str_replace('#', '?action=forum#', $tree['url']);

// Setup template layer
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 24, 2009, 11:34:11 PM
Thank you very much than fixed it.  :)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: mgburks on July 25, 2009, 03:23:01 AM
This is probably a stupid question, but where is poll topic ID to be found? For the life of me I can't figure it out.

I take it is a number? I tried adding the topic's name text into the field but it did not work.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on July 25, 2009, 04:17:32 AM
Hey Sinan,

I don't have an EZPortal.php.... I only have EZPortal2.php...   and when I ad that code, there is no difference at all. Categories still go back to the frontpage. :(
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [SiNaN] on July 25, 2009, 05:42:50 AM
That code was for SMF 1.1 Kindred. For 2.0 just change all # chars as #c in the code.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 25, 2009, 08:24:35 AM
Is there anywhere I can backup all of my pages to move them to a new server?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 25, 2009, 03:04:43 PM
Quote from: [SiNaN] on July 25, 2009, 05:42:50 AM
That code was for SMF 1.1 Kindred. For 2.0 just change all # chars as #c in the code.
Thanks SiNan I have been looking for a fix for this issue for a long time.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [SiNaN] on July 25, 2009, 04:00:44 PM
You're welcome. ;)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: septa/njt rider on July 26, 2009, 12:56:54 AM
Quote from: mgburks on July 25, 2009, 03:23:01 AM
This is probably a stupid question, but where is poll topic ID to be found? For the life of me I can't figure it out.

I take it is a number? I tried adding the topic's name text into the field but it did not work.

if the url to the topic with the poll is this:

http://www.simplemachines.org/community/index.php?topic=293441.0

Then the poll ID is: 293441

just look for the number after the "topic=" part of the url, but stop after the number ends, everything from the after the "." is unnecessary for finding the ID
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 26, 2009, 08:09:41 AM
Quote from: [A-US]James246 on July 25, 2009, 08:24:35 AM
Is there anywhere I can backup all of my pages to move them to a new server?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 26, 2009, 09:34:16 AM
All the pages are stored inside your database.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 26, 2009, 05:59:24 PM
Where can i acccess them to back them up?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 26, 2009, 06:17:25 PM
You can use phpmyadmin to access them inside your database.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 27, 2009, 02:12:21 AM
Alright so I got into phpmyadmin and saw all of my pages in there, but now how can I export them say to my local disk so I can move them to another website?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on July 27, 2009, 07:54:26 AM
use the export command in mySQL?


mind you, you will have to do some editing to get each from a mySQL table to be a stand-alone page.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: septa/njt rider on July 27, 2009, 06:15:04 PM
Quote from: Kindred on July 27, 2009, 07:54:26 AM
use the export command in mySQL?


mind you, you will have to do some editing to get each from a mySQL table to be a stand-alone page.
or... you could go into the webpage editor for the specific page(s) and click the "html" button, then copy the code, paste it into a notepad (for MAC users it's called "text editor") document and save it as whatever, then to import it, you could copy the code from the note pad doc and paste it into the new editor for the new site (basically, sorta kinda follow the instructions in reverse )
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on July 27, 2009, 09:11:17 PM
you should never use notepad or any other built in windows program to edit html or php.

get one of the text editor programs...
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: septa/njt rider on July 27, 2009, 10:13:44 PM
Quote from: Kindred on July 27, 2009, 09:11:17 PM
you should never use notepad or any other built in windows program to edit html or php.

get one of the text editor programs...
yikes... i've been doing it for a while with no issues....

I thought notepad was a text editor.... it doesn't do all that formatting stuff so i thought it would be best to use it... and it works
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on July 28, 2009, 01:15:13 AM
although noepad does sort of work, there is a chance of getting some windows character in there...


I recommend ultraedit, conText, notepad++ or EditPlus
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Bluey on July 28, 2009, 08:36:31 AM
Quote from: Bluey on July 10, 2009, 12:17:28 AM
Hi
I am trying to get a time and date block working in the left column.  I have this working on another forum using tiny portal but want to get it working on a new one using ezportal.  I set it up in a php block and it centers itself on the page and overrides everything else.  If I just use the clock part of the php it will display fine in the right column but as soon as you put the calendar php in it throws a wobbly. Here is the code. Any ideas?


echo '<div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="135" height="40">
  <param name="movie" value="http://www.lgapa.com.au/SMF/Themes/default/images/clock14.swf ">
  <param name="quality" value="high">
  <param name="menu" value="false">
  <embed src="http://www.lgapa.com.au/SMF/Themes/default/images/clock14.swf " quality="high"  menu=false pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="135" height="40">
  </embed>
  </object></div>';

global $scripturl, $modSettings, $context, $db_prefix, $user_profile;

smf_loadCalendarInfo();

$now = mktime() + $modSettings['time_offset'] * 3600;

$today = date('j',$now);
$year = date('Y',$now);
$month = date('n',$now);

$days = array($today=>array(NULL,NULL,'<a class="smalltext" style="color:steelblue; font-weight:bold; border:solid 1px black; background-color: white; padding: 0px 4px 0px 4px;" href="'.$scripturl.'?action=calendar;month='.$month.';year='.$year.';day='.$today.'" target="_self">'.$today.'</a>'));

$day_name_length = 2;

$month_href = $scripturl . '?action=calendar&month=' . $month;
$first_day = 0;
$pn = array();

$first_of_month = gmmktime(0,0,0,$month,1,$year);

$day_names = array();                                      #generate all the day names according to the current locale
for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400)    #January 4, 1970 was a Sunday
    $day_names[$n] = ucfirst(gmstrftime('%A',$t));         #%A means full textual day name

list($month, $year, $month_name, $weekday) = explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month));

$weekday = ($weekday + 7 - $first_day) % 7;                #adjust for $first_day
$title   = htmlentities(ucfirst($month_name)).' '.$year;   #note that some locales don't capitalize month and day names

@list($p, $pl) = each($pn); @list($n, $nl) = each($pn); #previous and next links, if applicable
if($p) $p = '<span class="smalltext">'.($pl ? '<a href="'.htmlspecialchars($pl).'">'.$p.'</a>' : $p).'</span> ';
if($n) $n = ' <span class="smalltext">'.($nl ? '<a href="'.htmlspecialchars($nl).'">'.$n.'</a>' : $n).'</span>';
$calendar = '<table align="center">'.'<caption >'.$p.($month_href ? '<a href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).$n.'</caption><tr>';

if($day_name_length){                                      #if the day names should be shown ($day_name_length > 0)
    foreach($day_names as $d)
    $calendar .= '<th class="smalltext" abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) : $d).'</th>';
    $calendar .= '</tr><tr style="text-align:right;">';
    }

if($weekday > 0) $calendar .= '<td class="smalltext" colspan="'.$weekday.'"> </td>'; #initial 'empty' days

for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){
    if($weekday == 7){
        $weekday   = 0; #start a new week
        $calendar .= '</tr><tr style="text-align:right;">';
        }

    if(isset($days[$day]) and is_array($days[$day])){
        @list($link, $classes, $content) = $days[$day];
        if(is_null($content))  $content  = $day;
        $calendar .= '<td '.($classes ? ' class="'.htmlspecialchars($classes).'">' : '>').($link ? '<a href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content).'</td>';
        }
    else
        {
        $calendar .= '<td class="smalltext" style="padding-right:4px;"><a';
        if(((($weekday+$first_day) % 7)==0)||((($weekday+$first_day) % 7)==6))
            {
            $calendar .= ' style="color:#C00000;"';
            }
        $calendar .= ' href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$day.'" target="_self">'.$day.'</a></td>';
        }
    }

if($weekday != 7) $calendar .= '<td class="smalltext" colspan="'.(7-$weekday).'"> </td>'; #remaining "empty" days

echo $calendar.'</tr>';

/////////////////////////////////////////////////////////////////
//   BIRTHDAY SECTION
//
if (!empty($context['calendar_birthdays']))
{
    echo '<tr><td colspan="2"><hr></td><td colspan="3" class="smalltext" align="center" style="font-weight: bold; color: #' . $modSettings['cal_bdaycolor'] . ';">Birthdays</td><td colspan="2"><hr></td></tr><td colspan="7" class="smalltext">';

    foreach ($context['calendar_birthdays'] as $member)
    {
        $query = db_query(
            "SELECT birthdate
            FROM {$db_prefix}members
            WHERE ID_MEMBER='".$member['id']."'", __FILE__, __LINE__);

        $row = mysql_fetch_assoc($query);
list ($uyear, $umonth, $uday) = explode('-', $row['birthdate']);
        $birthdate = strtotime(sprintf('%04d-%02d-%02d', date("Y"), $umonth, $uday));
        mysql_free_result($query);

        $dummy = array();
        $dummy[] = $member['id'];
        loadMemberData($dummy);
        $profile = &$user_profile[$member['id']];

        echo '<div align="center">';
        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month=' . date("n",$birthdate) . '"><strong>' . date("M j",$birthdate) . '</strong></a>';
        echo ' - ';
        echo '<a href="', $scripturl, '?action=profile;u=', $member['id'], '">';
        if (!empty($profile['member_group_color']))
        {
        echo '<font color="' . $profile['member_group_color'] . '">' . $member['name'] . (isset($member['age']) ? '(' . $member['age'] . ')' : '') . '</font>';
        }
        else
        {
        echo $member['name'] . (isset($member['age']) ? '(' . $member['age'] . ')' : '');
        }
        echo '</a>';
        echo '</div>';
    }
    echo '</td></tr>';
}

/////////////////////////////////////////////////////////////////
//   EVENTS SECTION
//
if (!empty($context['calendar_events']))
{
    echo '<tr><td colspan="2"><hr></td><td colspan="3" class="smalltext" align="center" style="font-weight: bold; color: #' . $modSettings['cal_eventcolor'] . ';">Events</td><td colspan="2"><hr></td></tr><td colspan="7" class="smalltext">';

    foreach ($context['calendar_events'] as $event)
    {
        $query = db_query(
            "SELECT startDate
            FROM {$db_prefix}calendar
            WHERE ID_EVENT='".$event['id']."'", __FILE__, __LINE__);

        $row = mysql_fetch_assoc($query);
        $startdate = strtotime($row['startDate']);

        mysql_free_result($query);

        echo '<div align="center">';
        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month=' . date("n",$startdate) . '"><strong>' . date("M j",$startdate) . '</strong></a>';
        echo ' - ';
        echo $event['link'] ;
        echo '</div>';
    }
    echo '</td></tr>';
}

/////////////////////////////////////////////////////////////////
//   HOLIDAY SECTION
// WHERE title='".str_replace("'","''",$holiday)."'
if (!empty($context['calendar_holidays']))
{
    echo '<tr><td colspan="2"><hr></td><td colspan="3" class="smalltext" align="center" style="font-weight: bold; color: #' . $modSettings['cal_holidaycolor'] . ';">Holidays</td><td colspan="2"><hr></td></tr><td colspan="7" class="smalltext">';

    foreach ($context['calendar_holidays'] as $holiday)
    {
        $query = db_query(
            "SELECT eventDate
            FROM {$db_prefix}calendar_holidays
            WHERE title='".str_replace("'","''",$holiday)."'
            AND (eventDate LIKE '".date("Y")."-%' OR eventDate LIKE '0004-%')", __FILE__, __LINE__);

        $row = mysql_fetch_assoc($query);
        $eventdate = strtotime(date("Y").substr($row['eventDate'], 4));

        mysql_free_result($query);

        echo '<div align="center">';
        echo '<a href="', $scripturl, '?action=calendar;year=' . date("Y") . ';month=' . date("n",$eventdate) . '"><strong>' . date("M j",$eventdate) . '</strong></a>';
        echo ' - ';
        echo $holiday;
        echo '</div>';
    }
    echo '</td></tr>';
}

echo '</table>';



edit-please use the CODE BBC tags!

No replies on this. Can anyone help?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: spaceboy on July 28, 2009, 09:30:35 AM
Quote from: Kindred on July 28, 2009, 01:15:13 AM
although noepad does sort of work, there is a chance of getting some windows character in there...


I recommend ultraedit, conText, notepad++ or EditPlus

Hey thanks, I am in need of finding a simple editor, hopefully free or cheap.  Out of these which one is best for novices?  I was using the trial of coffeecup and it worked pretty good, but my free trial ran out  :o
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 28, 2009, 10:29:52 AM
I use textpad. For php I used ZendStudio
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on July 28, 2009, 05:54:52 PM
Any chance on someone helping me on how to backup all my pages so I can move to new server?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on July 28, 2009, 05:56:52 PM
For backup support please post in the general smf support forum
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on August 02, 2009, 08:46:53 AM
Is it possible to have the News Block just display the topic of the news post with a link to the topic?

Thank you. I really like EzPortal. :) Good Job.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: [A-US]James246 on August 05, 2009, 04:18:48 AM
Anyone?
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: Kindred on August 05, 2009, 07:25:28 AM
James....

To do that, you would have to modify the code.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: fluffmama on August 10, 2009, 02:11:47 PM
Hi!  I've recently installed this mod (yesterday). It is the first mod I've ever installed.  Everything went fine...EXCEPT, I don't have options in my admin panel to do anything with it.  It seems the mod made an empty box for options, but it's empty.  So I really have no way of accessing ezportal, unless I'm really doing something wrong.

I am using "innocence" as my theme.  Is there some code somewhere I need to add maybe to make it show up?  Any help would be appreciated.  Thank you!!  :)

See pic.........

Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on August 10, 2009, 02:19:10 PM
Check under Admin -> Server Settings
Make sure you language is set to english and not english utf8 or anything else
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: fluffmama on August 10, 2009, 02:31:56 PM
Yes sir...English is the ONLY option.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on August 10, 2009, 04:37:22 PM
Copy text strings from
themes/default/languages/modifications.english.php
To
themes/yourthemename/languages/modifications.english.php
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: fluffmama on August 10, 2009, 04:40:59 PM
Sorry to be dense, but do you mean the whole file?

Not sure what "text strings" means.  :-[


EDIT: sorry, should have looked at the file....got it handled...thank you so much!!!  :D  I'll be outa your hair now.  ;)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on August 10, 2009, 05:35:27 PM
No problem glad you got it working
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: oskrsaul1 on August 11, 2009, 01:33:07 PM
Hello!! Does Ez support spanish? where can i download the language package??

Thanks  ;)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on August 11, 2009, 02:06:15 PM
Yes it supports any language you will need to translate the following files
themes/default/languages/modifications.english.php
themes/default/languages/Ezportal.english.php
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: oskrsaul1 on August 11, 2009, 07:47:44 PM
Quote from: vbgamer45 on August 11, 2009, 02:06:15 PM
Yes it supports any language you will need to translate the following files
themes/default/languages/modifications.english.php
themes/default/languages/Ezportal.english.php

Thanks, i guess that u have to do a copy of those files but with spanish_latin.php at the end?? (sry for my english but i only speak spanish LOL)
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: vbgamer45 on August 11, 2009, 07:56:54 PM
Yes that is what you need to do.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 11, 2009, 09:37:47 PM
New ezPortal release!

0.2.9
+Added Menu ezBlock to allow custom menu items with permissions!
+Added RSS ezBlock. Set number of items to display, toggle body, and settings to control update time in minutes
+Added BBC Block with BBC editor
+Added to the Download EzBlock Most Downloaded option and added text on the ezBlock to show total downloads.
!Fixed bug in the PollBlock missing argument error
!Fixed link tree bug thanks SiNaN
!Upgrade now checks if menu icons already inserted so duplicate icon entries are not added.
!Fixed extra values that might be saved when editing an ezBlock
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Fat_Man on August 12, 2009, 04:22:15 AM
Thanks VBGamer45.   :D

Can the portal be applied to just the main page now?
Link is your reply to my question - http://www.simplemachines.org/community/index.php?topic=271882.msg2099187#msg2099187


Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 12, 2009, 08:30:33 AM
Not yet
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: oskrsaul1 on August 12, 2009, 06:02:51 PM
Thanks  ;)
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: oskrsaul1 on August 14, 2009, 05:45:42 PM
Wow thanks i already installed it and is easy to use and i translate to spanish and so far "0" problems, with other portals i had a lot lot lot of troubles!!!

One litle question, how can add a "calendar" block??
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 14, 2009, 08:36:37 PM
A calender  block is still in development but I belive someone posted one on www.ezportal.com in the forums
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: oskrsaul1 on August 16, 2009, 01:07:27 AM
Ok thanks!!!
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 19, 2009, 08:44:29 PM
I'm trying to add an ezblock to a Page i created through the portal.  doesn't seem to work.  Am I messing it up or is it not possible?

Oh, and I added the URL of the page I created as an Action in the ezblocks.

Thanks.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 19, 2009, 08:53:31 PM
Quote from: spaceboy on August 19, 2009, 08:44:29 PM
I'm trying to add an ezblock to a Page i created through the portal.  doesn't seem to work.  Am I messing it up or is it not possible?

Oh, and I added the URL of the page I created as an Action in the ezblocks.

Thanks.
Yeah that won't work at the moment yet.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 19, 2009, 09:18:23 PM
thanks for the quick reply.  cheers.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 19, 2009, 11:20:57 PM
another question on the RSS block.

I had the feed going to a center block and it really looked nice, like it would on a regular web page.  The only thing I didn't like was the links actually redirect your browser to the target instead of opening a new window with the target URL.  I'd prefer to have the member stay on my site (once I get members lol). 

I had been testing the RSS feeder mod that posts into a topic and for some reason the same feed produced links that opened new windows.  I abandoned the RSS feeder mod for the portal solution because I didn't like all the RSS feed posts showing up in Unread topics.

Any help to get the links to open a new window would be much appreciated.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 19, 2009, 11:23:12 PM
Sounds like a good idea will add it to the next release as option
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 19, 2009, 11:40:59 PM
hey, that's awesome.  Thanks.

Ok, one more.  Is there a way to make the shoutbox block have a little definition between each shout?  It seems to all run together, and even the text input box is quite thin (height).

Please don't take these as complaints.  The portal (and Articles) seems to be giving me what I want for my site.  And I will send you some support if my proof of concept here gets rolling  ::)
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on August 20, 2009, 12:09:54 AM
well, I will say that the web standard these days to to keep using the same browser window.  It is typically considered bad form to force new windows. (if a user wants a new window, they right-click and select "open link in new window"
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 20, 2009, 12:33:23 AM
Quote from: Kindred on August 20, 2009, 12:09:54 AM
well, I will say that the web standard these days to to keep using the same browser window.  It is typically considered bad form to force new windows. (if a user wants a new window, they right-click and select "open link in new window"

oh, I guess I hadn't realized.  It makes sense I guess from the standpoint of normal surfing.  I know when I was testing the feeds myself and of course I wanted to stay on my site, I liked the new window because I could stay on my site, and then just kill the window I was reading.  I can honestly say I hadn't specifically thought about until the new method changed the link type.  From a user standpoint I can see your point.  hmmm. 

Now I'm perplexed, I like the new window option but don't want to look bad.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on August 20, 2009, 12:51:43 AM
:)   It's up to each admin and each site, of course...   just presenting you with the facts so you can make an informed decision.


VB....  I love the new stuff...

suggestions:

menu block: allow sub-nav menus (i.e. additional indent)
Menu block: Possibly build a dhtml version of the block (i.e. shrink and expand sub menus, hover over effects, etc)

RSS: a scroller? maybe.... lol.   10 feeds on my site takes up a large chunk of space.

left column/right column: Allow for hiding the column, not just the individual blocks.
I.e. I am viewing a post and want to see it whole screen, I can shrink out the left column that has the menus...   I'd suggest using the SMF standard collapse function, so the cookie remembers the setting.

Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 20, 2009, 12:21:22 PM
Yeah, I appreciate that.  I guess I'd like the option because for what its meant to be (an rss feed) I like to offer the content as something to peruse while on the site, but I'm assuming they want to stay on the site primarily so a new window makes that easier in my mind like "here read this and close it" you still within the site.  Obviously they could be getting that news elsewhere (from the source) so my assumption they want to stay on my site seems reasonable.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 20, 2009, 08:30:45 PM


left column/right column: Allow for hiding the column, not just the individual blocks.
I.e. I am viewing a post and want to see it whole screen, I can shrink out the left column that has the menus...   I'd suggest using the SMF standard collapse function, so the cookie remembers the setting

Planned for next release going to be a lot faster now.
Title: Re: ezPortal 0.2.9 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: jani01 on August 21, 2009, 02:39:16 AM
great work.  Looks really nice.  Keep it up
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 25, 2009, 08:27:22 PM
Large update! Many user requests added. Focusing on getting better support for custom ezBlocks

0.3.0
+Redid shoutbox. Added autorefresh option, bbc codes, smiles option to the shoutbox
+Added option rss feedblock to open links in new window
+For coding ezblocks added option to specify order of the parameters listed on add/edit ezblock
+Added support for select values for coding custom ezblocks
+Collapsing of columns. Option under edit column whether column can be collapsed or not. For right and left columns
+Added checkbox parameter support for custom ezBlocks
!Fixed bug with guest ezblock collapse saving state
+Updated the example custom ezBlock file
!Fixed importing parameter type for custom ezBlocks
!Fixed default value importing for custom ezBlocks
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on August 26, 2009, 08:57:55 AM
so, I was still having issues with the linktree pointing to categories and I finally realized why.

EZPortal2.php
line 1752

if (!empty($context['linktree']))
      foreach ($context['linktree'] as $key => $tree)
         if (strpos($tree['url'], '#c') !== false && strpos($tree['url'], 'action=forum#') === false)
            $context['linktree'][$key]['url'] = str_replace('#c', '?action=forum#', $tree['url']);

should be

if (!empty($context['linktree']))
      foreach ($context['linktree'] as $key => $tree)
         if (strpos($tree['url'], '#c') !== false && strpos($tree['url'], 'action=forum#c') === false)
            $context['linktree'][$key]['url'] = str_replace('#c', '?action=forum#c', $tree['url']);


the forum# needs to be forum#c for smf 2.0
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 26, 2009, 07:52:30 PM
Thanks for the fix Kindred. Will get that added quickly my power supply on my development pc died some have a new one come in tomorrow.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 27, 2009, 12:05:36 AM
Great stuff, but only a couple of requests if you could adjust.

1) The open new window link on the RSS only works on the lead link for each news story, the subsequent links all still open in the same window.  Thanks by the way for adding this feature, I really like it, but I was hoping ALL link on the page would react the same way.

2) The shoutbox could really benefit from a line or something that separates each shout.  They are really running together. 

Thanks again.

Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on August 27, 2009, 12:06:39 AM
1. So like the links inside the posted RSS feed should be parsed then make them open in new window? That can be a little tricky will see what I can do.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on August 27, 2009, 12:29:08 AM
Um,  I guess.  I don't know how to describe.  I'm attaching a screen shot to this message.  The first link Xbox 360 Price Drop.... (above the picture) opens in a new window now.  However, the rest in that section open in the same window. 

Then the next main link PS3 slims selling early... opens in a new window, and the cycle starts over.

Sorry for asking so much, it's just so close to what I'm hoping for...

Thanks.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on August 27, 2009, 08:23:04 AM
the thing is, spaceboy....    the lead link is parsed by the system when the feed is grabbed....     the other links are part of the content and are not identified specifically as "links" in the RSS/XML, they are just part of the body of the feed.

what you are asking is for the receiving system to alter the content of the incoming feed.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on September 01, 2009, 12:57:13 PM
Thanks.  I've decided to go ahead and post the feeds without the body.  the pics in the body looked nice, but this gives a nice clean list of links and works the way I'd like them to.  In fact, it allows me to put them into a smaller block which I'm excited about.  Thanks for all the help guys.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Dream of Omnimaga on September 01, 2009, 01:13:11 PM
Ok, I found a bug with the new collumn collapsing feature.

In edit columns options, even thought the option to enable the collapsing of columns is disabled, the feature will remain enabled anyway, and regardless of if I check/uncheck the feature checkbox, the setting change will not be saved. In other words, if I go in "Edit Columns" options again, the checkbox will still be unchecked.

Also, I'm not sure if it was intended to be this way, but on the portal main page, the Collapse buttons for columns appears right above the middle column and I find this look awful. Idk if this is because I don't use the default theme (I use a theme that is modified directly from SMF default except the user info below the banner/logo was disabled), and It wouldn't affect me much since if I could, I would disable columns collapsing, but this is something you might want to look into

Basically, I tried Ezportal 0.3.0, then I had to revert back to 0.2.9 because I did not want columns collapsing and was unable to disable it
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on September 01, 2009, 01:23:24 PM
DJ, I just tested it and yes even when it is not enabled, a user account can still collapse.  Good find, yes I don't want them to be able to be collapsed, especially since it could happen accidentally and the user may not know exactly what they did.  However, my collapse buttons were over the left column - left aligned.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on September 01, 2009, 07:28:31 PM
interesting... because it works on my two systems.
Although the ADMIN tool does not change state, the system DOES seem to remember the setting.

i.e. I allow the left column to be collapsed, but not the right column. The left column [-] appears, and is usable, the right column [-] does not.
http://www.40konline.com/community
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: spaceboy on September 01, 2009, 07:41:03 PM
I went in and checked the settings - still blank for allow user and this time after clicking Edit Block, I then clicked the Save Blocks (sorry if i'm forgetting the actual button name)  from the main block manager space and then yes it does work.  So i guess even though they were defaulted to "not allow" i still had to save my settings for it to take effect.

SO, I think it's all good - I did this on my test site, will install and try on my live site now. 

Thanks Kindred for the reply - made me realize I must be missing something.  :)
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 01, 2009, 08:23:25 PM
Quote from: Kindred on August 26, 2009, 08:57:55 AM
so, I was still having issues with the linktree pointing to categories and I finally realized why.

EZPortal2.php
line 1752

if (!empty($context['linktree']))
      foreach ($context['linktree'] as $key => $tree)
         if (strpos($tree['url'], '#c') !== false && strpos($tree['url'], 'action=forum#') === false)
            $context['linktree'][$key]['url'] = str_replace('#c', '?action=forum#', $tree['url']);

should be

if (!empty($context['linktree']))
      foreach ($context['linktree'] as $key => $tree)
         if (strpos($tree['url'], '#c') !== false && strpos($tree['url'], 'action=forum#c') === false)
            $context['linktree'][$key]['url'] = str_replace('#c', '?action=forum#c', $tree['url']);


the forum# needs to be forum#c for smf 2.0
Thanks fixed for next update
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 01, 2009, 09:17:37 PM
Quote from: DJ Omnimaga on September 01, 2009, 01:13:11 PM
Ok, I found a bug with the new collumn collapsing feature.

In edit columns options, even thought the option to enable the collapsing of columns is disabled, the feature will remain enabled anyway, and regardless of if I check/uncheck the feature checkbox, the setting change will not be saved. In other words, if I go in "Edit Columns" options again, the checkbox will still be unchecked.

Also, I'm not sure if it was intended to be this way, but on the portal main page, the Collapse buttons for columns appears right above the middle column and I find this look awful. Idk if this is because I don't use the default theme (I use a theme that is modified directly from SMF default except the user info below the banner/logo was disabled), and It wouldn't affect me much since if I could, I would disable columns collapsing, but this is something you might want to look into

Basically, I tried Ezportal 0.3.0, then I had to revert back to 0.2.9 because I did not want columns collapsing and was unable to disable it
Haven't been able to repeat this issue with my test forum.
What version of SMF and what browser are you using?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on September 01, 2009, 11:35:39 PM
actually, VBgamer, I noticed that the admin does not actually save/show the current state of the column option...   for my system, it always displays as OFF (unchecked) after I save it.   The state IS correctly stored and usable on the front-end, but the admin state is always off when I view the column settings.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 02, 2009, 12:18:10 AM
Is saving the can collapse column when you editing a column? I can repeat this issue in my test forum as of yet.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Dream of Omnimaga on September 02, 2009, 04:16:48 AM
I am using SMF 1.1.10 and my browser is Opera.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on September 02, 2009, 08:27:17 AM
yes, I meant the state of the "can collapse" selection. :)
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: CoderHead on September 03, 2009, 08:09:45 AM
Do you have to uninstall 0.2.9 first or will this just merge over top?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 03, 2009, 08:48:08 AM
Quote from: CoderHead on September 03, 2009, 08:09:45 AM
Do you have to uninstall 0.2.9 first or will this just merge over top?
This will merge over the top. There should be an upgrade link
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: CoderHead on September 03, 2009, 09:04:01 AM
Quote from: vbgamer45 on September 03, 2009, 08:48:08 AM
Quote from: CoderHead on September 03, 2009, 08:09:45 AM
Do you have to uninstall 0.2.9 first or will this just merge over top?
This will merge over the top. There should be an upgrade link
Awesome! I appreciate it, and all the hard work you've done.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Bears-world on September 03, 2009, 10:23:24 AM
Hey, just wanted to thank you for a great mod! 

I have been using it for a while with no problems.

Bearsworld
hxxp://bearsworld.byethost7.com/
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Magicjax on September 06, 2009, 08:59:07 PM
I'm having a problem with using EzPortal shoutbox. When I install it in a block on either the right or left side it places two shoutboxes on my forum.

Here's a screen shot.



If I click "delete" on either they both go away.

Any idea what to do to fix this?

Version: 1.1.10

Ron
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 06, 2009, 09:13:55 PM
Did you install ezportal twice?  Does this occur with any other block or just the shoutbox?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Magicjax on September 07, 2009, 02:51:23 PM
I think you're right because I looked at the bottom of my forum and it said "Powered by EzPortal" twice.

But now I've got an even worse problem with it.

I went into packages and uninstalled the EzPortal with the intention of trying to reinstall it. But now my forum doesn't work at all!

Check it out:
http://www.magicjax.com/subtitle/

HELP. :)
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on September 07, 2009, 04:30:37 PM
when you get a double install, the only way to fix it is to MANUALLY remove the duplicated code.

At ths point, the only way to fix your forum is going to be to manually correct the files in question.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 07, 2009, 08:59:38 PM
It is hard to see what is wrong looks like php errors are disabled.
You can try opening the index.php in the root of your forum
Find

<?php

Add after

ini_set("display_errors",1);


Should at least then tell you what to fix or repair.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Dream of Omnimaga on September 12, 2009, 06:16:35 PM
Also another bug:

0.2.9
[...]
+Added to the Download EzBlock Most Downloaded option and added text on the ezBlock to show total downloads.
[...]

I do not see such option. I only see Recent, most viewed, most commented and top rated. No most downloaded option and I tried in 0.2.9 and 0.3.0

As for columns collapsing, I reinstalled 0.3.0 and now the option is saved. It's just when going back in the options, the box will always be unchecked no matter what.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: [A-US]James246 on September 12, 2009, 09:26:51 PM
If you look at my website (www.ausblueseals.com) there are some problems displaying some of the pages with Internet Explorer.

If you look at the 'About Us' page, it only shows up in Firefox and the other browsers, but not Internet Explorer...

It doesn't do this on all pages, though.

Can you help me?

Page Link: http://ausblueseals.com/index.php?action=ezportal;sa=page;p=1
Page Link that shows up in Firefox and Internet Explorer: http://ausblueseals.com/index.php?action=ezportal;sa=page;p=5
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 12, 2009, 09:33:28 PM
Quote from: [A-US]James246 on September 12, 2009, 09:26:51 PM
If you look at my website (www.ausblueseals.com) there are some problems displaying some of the pages with Internet Explorer.

If you look at the 'About Us' page, it only shows up in Firefox and the other browsers, but not Internet Explorer...

It doesn't do this on all pages, though.

Can you help me?

Page Link: http://ausblueseals.com/index.php?action=ezportal;sa=page;p=1
Page Link that shows up in Firefox and Internet Explorer: http://ausblueseals.com/index.php?action=ezportal;sa=page;p=5
I think this is because you tried to copy and paste text from a word document code behind that page

<p><span style="font-size: large;"><strong>About Us</strong></span></p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} --> <!--[endif]--></p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} --> <!--[endif]--></p>
<p><span style="font-size: small;">Thank you for visiting us! We started as an Age of Empires III entry level training clan in February 2007. Our intention was to provide free basic training to attract new players that have been kicked off from games to games due to their low ranking.</span></p>
<p><span style="font-size: small;">Due to the overwhelming request for informal trainings, we added a website to help us organize our training and training materials.&nbsp; We recruited and trained our officers to handle more training requests.&nbsp; Then the unexpected happen, we were getting massive requests to join our clan.&nbsp; The majority of these requests were from our loyal trainees who wanted to join a clan that does something good for the new players because they understood what it was like to be rejected from a game.&nbsp; They wanted to help the clan train other new players.</span></p>
<p><span style="font-size: small;">This vast growth has opened doors to other exciting opportunities and challenges. To meet these new challenges we have recruited and/or promoted more specialized skill officers, defined and standardized our training procedure to optimize the needs of our trainees, added specialized training tasks for our officers, and in March 2009 we expanded to hosting online tournament with monetary prizes. We will continue to host this successful online tournament.</span></p>
<p><span style="font-size: small;">We are currently researching and working out our new professional league.&nbsp; In January 2010, we will start our first ever Professional Online Gaming League for Age of Empires III series.&nbsp; We are researching three other online games to add to our newly developed professional league.&nbsp; In January 2010, we will research ways to incorporate Star Craft 2 to add to our online gaming league.</span></p>
<p><span style="font-size: small;">It is with this online hosting prospect that has our clan very excited about the future. We are currently researching for ways to be a major player in the online gaming industry. We are in the process of adding a research and marketing team that will explore all avenues of the online tournament and professional league.</span></p>
<p><span style="font-size: small;">In March 2010, we will be operating as a Limited Liability Corporation as we research for suitable sponsorships, affiliates, and advertisement deals.</span></p>
<p><span style="font-size: small;">In summary, we look to be a stable and dynamic clan in the online gaming community.&nbsp; We will continue to train new players, write basic strategies, and have database of recorded games with post game reviews for our users.</span></p>
<p><span style="font-size: small;">We hope you enjoy coming to our website!</span></p>
<p>&nbsp;</p>
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: [A-US]James246 on September 12, 2009, 11:25:08 PM
Thanks.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: slayer143 on September 13, 2009, 02:27:27 AM
OK i am using SMF 2.0 RC1.2, default theme.. I have installed. I setup all the permission. All went good. The problem is ,  as a admin i cannot see any blocks i added. But if i log off, i can view those blocks in the homepage as a guest.. i have set permission for all group. so where did i went wrong?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 13, 2009, 10:09:27 AM
What does the permissions look like for each block? Did you collapse any of the columns?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: slayer143 on September 13, 2009, 10:34:00 AM
sorry..
i checked that i have 2 admin name
before upgrade i had one
and when i upgrade i put one more
so the confusion was there

now it is ok

just one more question
when i place all the block
it looks neat
when i click at forum
i goes down the block

how can i enable the forum to be in the center instead of going down?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 13, 2009, 02:09:32 PM
What kind of column setup do you have? Not sure what you mean about forum moving down?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on September 13, 2009, 03:23:09 PM
in IE, if you have the contents of a surrounding div too wide for the screen, it will automatically makes the sub-set divs appear under each other rather than next to each other...    so try adjusting the width of the columns to be less than the total width of your forum header.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Magicjax on September 13, 2009, 03:49:30 PM
Thanks so much for the suggestions but it's all still gone. My forum just won't show anything.

It all happened when I uninstalled EzPortal. It installed EzPortal twice to I uninstalled in Admin. Now my forum is just a blank page.

I talked to the support in my server and they said ezportal.php was missing. So I uploaded that and still nothing.

You can see it here.
http://www.magicjax.com/subtitle/
I still have no idea what I can do.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 13, 2009, 05:10:04 PM
Quote from: Magicjax on September 13, 2009, 03:49:30 PM
Thanks so much for the suggestions but it's all still gone. My forum just won't show anything.

It all happened when I uninstalled EzPortal. It installed EzPortal twice to I uninstalled in Admin. Now my forum is just a blank page.

I talked to the support in my server and they said ezportal.php was missing. So I uploaded that and still nothing.

You can see it here.
http://www.magicjax.com/subtitle/
I still have no idea what I can do.
Looks like you have it working I can see your forum fine now
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Magicjax on September 14, 2009, 01:11:33 AM
Yes, I still don't know what the problem was though.

Luckily my forum is new and I didn't have any members yet. So I just uninstalled the forum and reinstalled it.

Working fine so far.

So thanks.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 14, 2009, 08:47:19 AM
Glad you were able to get it working!
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 17, 2009, 05:56:25 PM
When I set it to only show in the forum, it doesn't.  I don't want it on all pages, I just want it on the index/home page of the forum.  If I set it to all it does show.  I haven't made my own home page yet, I might later.  It's at prettysims.com, lol, remember me I have the download system pro

The links box doesn't seem to work either, the links just sit there unclickable.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 17, 2009, 06:01:12 PM
Will try to add just forum support for blocks for just the forum index page of the board for 0.3.1

Is the links box using the SMF Links mod or something else?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 17, 2009, 06:35:31 PM
No, it says I can't use the links block until I install the links mod, but when I went to try to install the links mod it says it is conflicting with something and I suspect that would be EZPortal.  It also says it could be because it is already installed.  I don't mind too much about the home page, I'm going to create a home page anyway so no worries, though it would have been nice to have the choice.

I tried to add code to one of the blocks to make it a links box, I want to be able to add people's buttons.  The code I tried to add was this

<a href="http://www.sims3fanatics.com" title="The Sims 3″ alt="The Sims 3″><img src="http://www.sims3fanatics.com/sims3fanatics.gif" alt="The Sims 3″ title="The Sims 3></a>

All that showed up was this             "The

This is the button of another site and I wanted to add it.

The shoutbox, if it's going on the new homepage that I will have to create, can't it be a little bigger, can I change the size of it?

It's no good, when I have a home page, a portal page, I don't have a button for the forum so it can't be accessed, so I have to remove that until I work it out. 

Edit*  I managed to get a forum button working when I use the homepage, I hadn't edited the template properly, my error.  It messes up my format though, I use my news scroller and it's now only visible on the forum and isn't on the home page.  It would be much better for me if the tick box that says add only to forum worked, it is there but it just doesn't work.  I'll go back over the parse instructions again but I don't think i missed anything
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on September 17, 2009, 07:39:24 PM
you are pasting from word or something like that, aren't you?


Those quote marks are not appropriate for use in code...

you also have to CLOSE the quotes at the end of the img tag (where you define the title...)
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 17, 2009, 07:51:14 PM
No, I am pasting from the link to the button given to me by the site owner that I am trying to link
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 17, 2009, 08:04:24 PM
Change it to

<a href="http://www.sims3fanatics.com" title="The Sims 3" alt="The Sims 3"><img src="http://www.sims3fanatics.com/sims3fanatics.gif" alt="The Sims 3" title="The Sims 3"></a>
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 18, 2009, 06:41:41 PM
Yep, worked that out, now all I need is the block to put it in, it still won't show in just the forum.  Why doesn't that tick box work?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 18, 2009, 07:38:27 PM
Forum should be in the forum posts/topics not just the forum index I think
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 19, 2009, 08:19:06 AM
what does that mean?  This is my forum http://www.prettysims.com that's where I want it.  Surely if I create a topic for the boxes to go in it's a) a waste of time as people might not see it and b) defeats the purpose of having it on the forum at all.

Is this not going to work?  I have links I need to get in there, people are linking me and I owe them one back

I get what you mean about the forum, but what good is that?  It is then embedded deep into the threads rather than standing out on the front page.  Is that not possible?

Modify again.

Ok so I picked for the block to be visible on just sims 3 links, not any of my other boards, but nope, it is now visible on every board except the main one, downlaods, etc.  It is in all of my boards, including one I need blank for it's own links.

Are these blocks not flexible in that you can decide where they go?  How do these work?

Now I tried to add a new page just for links but there is nothing to generate a buttom to it.  Are there instructiions on how to use the features in this mod?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 20, 2009, 08:36:30 AM
I have to double post here as I've found a major issue with this.

I have downloads pro and it's your software.  Since installing ezportal this is no longer working.  I'm trying to add a download and it keep telling me that I haven't got a title in, well yes I have, I've tried a few times and it's the same.  I uninstalled ezportal but now my dopwnloads pro is still broken.  I'm sure you can understand that I have a site full of downloads and this is a total headache to me.  My site depends on the download system.  So can you work out how to fix this please, after all I did pay for downloads pro and ezportal has broken it
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 20, 2009, 09:11:03 AM
That issue occurs if you are over your php limits for an upload here is a topic on how to increase them
http://www.smfhacks.com/index.php/topic,3498.0.html
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 20, 2009, 09:16:26 AM
sorry, just came in to delete this question as I found that thread and have fixed it, my .rar had too much in it so I split it.

I'd still like a solution to the all over the forum problem though.  In the settings for ezPortal is the radio box to pick where you want it.  I choose forum then go down the list and only check the part of the forum I want it to be in, it doesn't work, it goes all over the forum.  It looks to me like their is a feature there that isn't being implemented.  Is it fixable?
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 20, 2009, 09:18:46 AM
The mod currently supports showing ezblocks on all pages of the forum, or a specific board.
We currently do not have a feature to show just on the board index page/main page of the forum and no where else
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 20, 2009, 12:24:01 PM
I already said I gave up on the having it on the main board thing, so forget that. 

I just want the existing tick boxes to work.  I have set it just for forum and only ticked one box for it to be on one board, it is still on every board, except downloads.  It's even in the hidden admin boards.  Have a look, I only want it on the sims 3 board yet it is on simns2, welcome and every other board on the site.  I just want it to work like it says on the packet, to allow me to tick that box and it does what it should.  What would be the point of hving tick boxes to choose which boards it goes on if you can't actually choose what boards it goes on?

http://www.prettysims.com
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Moixet on September 20, 2009, 01:40:27 PM
Help????
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on September 20, 2009, 02:59:31 PM
well, I think that error is pretty self-explanatory.

one of the directories that needs to be writable is not...
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 20, 2009, 11:42:37 PM
Quote from: flutter on September 20, 2009, 12:24:01 PM
I already said I gave up on the having it on the main board thing, so forget that. 

I just want the existing tick boxes to work.  I have set it just for forum and only ticked one box for it to be on one board, it is still on every board, except downloads.  It's even in the hidden admin boards.  Have a look, I only want it on the sims 3 board yet it is on simns2, welcome and every other board on the site.  I just want it to work like it says on the packet, to allow me to tick that box and it does what it should.  What would be the point of hving tick boxes to choose which boards it goes on if you can't actually choose what boards it goes on?

http://www.prettysims.com
Haven't been able to recreate this issue on test forum.
Have setup a ezBlock which is just shown on two boards and it is working.
Also did the same with the entire column just in case.

No other visible options are checked other than that one board?

Ah I re read you have forum ticked untick that option
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 21, 2009, 07:05:14 AM
 ;D, yep that did the trick.  I know it's a lot but it would be great if you guys told us how to use the features when you make something.  Thanks for the mod, I now have it pegged, I think, now to work out about that shoutbox hahaha
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 21, 2009, 08:46:42 AM
Yeah documentation is in the works hopefully soon!
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 21, 2009, 10:34:04 AM
Thanks, it would be appreciated, we're clever but not mind readers hahaha.

Thanks for helping me out again anyway
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 21, 2009, 07:43:45 PM
I hope to have a new release either this weekend/weekend.
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: FireDitto on September 22, 2009, 06:11:33 AM
Awesome!
Title: Re: ezPortal 0.3.0 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 22, 2009, 12:20:08 PM
I'll keep an eye out for that, great stuff
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 23, 2009, 10:39:42 PM
ezPortal 0.3.1 released! Mostly bug fixes

0.3.1
+Added just board index visible option for ezBlocks
!Fixed link tree in SMF 2.0 thanks to Kinderd forgot to replace a couple more spots. Requires full uninstall then install of new version to take affect
!Added format options to the menu ezBlock for either horizontal or vertical
!Fixed bug if column is collapsed then disable collapsed column the column would not go back to uncollasped
!Fixes for undefined issues with RSS ezBlock
!Iframe was not working for shoutbox in Chrome,IE6 now detects those browsers and disables the iframe
+Added check for invalid actions when adding a new action and an example of what a custom action should be like
+Aligned the collapsing of ezBlocks all to the right of column title
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 24, 2009, 12:33:42 PM
Thanks
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Fat_Man on September 25, 2009, 02:49:09 AM
I've been waiting for this.... will give feedback on how it goes.
This will TOTALLY revolutionise my site. I love mods that just give your site polish... and EZPortal does that then..and I'm hoping more now !!

Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 25, 2009, 03:26:56 AM
I know this is a bit late as you already did the update but I would have loved to have had my links run along the bottom of my forum rather than down the side.  The only option we seem to have is left, right or centre.  Top or bottom would have been brilliant.  Shout box running horizontally across the top of the board and links running horizontally along the bottom.

Maybe you could think of this for the future
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 25, 2009, 09:30:17 PM
I can add top/bottom blocks to the next release not too hard to add.
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 26, 2009, 12:38:29 PM
That would be fantastic, much more flexible
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 26, 2009, 12:50:34 PM
Hopefully next week heh
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on September 26, 2009, 01:11:54 PM
Wow! that quick, thanks a lot
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Fat_Man on September 26, 2009, 11:23:40 PM
Board Index doesn't do anything on my forum. I just have that ticked.... am I doing something wrong? Everything else seems to work.
I am using the DILBER theme, I may try a different theme.

Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 27, 2009, 12:36:44 AM
With that option ticked the block should appear on just the board index only if you have nothing else checked. Also what version of SMF are you using?
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Fat_Man on September 27, 2009, 02:34:08 AM
Quote from: vbgamer45 on September 27, 2009, 12:36:44 AM
With that option ticked the block should appear on just the board index only if you have nothing else checked. Also what version of SMF are you using?

Nothing else is selected, only 'Board Index'.
I am using version 1.1.10
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: FireDitto on September 27, 2009, 04:27:51 AM
I'd LOVE the option to put center blocks on the bottom, not just automatically have them at the top of the forum. I think Top/Bottom options in general would be A+

I'm also all for the "Staff/ Selected membergroup" block.
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: npereira on September 28, 2009, 01:28:37 PM
Im trying to show an rss feed on my ezportal but it wont show...
the link is :
http://www.rfc.ca/widgets/rfc_newsfeed.php

How come this does not work? Is it because that site is not setup to offer RSS feeds?
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: clewis789 on September 28, 2009, 01:53:56 PM
Quote from: npereira on September 28, 2009, 01:28:37 PM
Im trying to show an rss feed on my ezportal but it wont show...
the link is :
http://www.rfc.ca/widgets/rfc_newsfeed.php

How come this does not work? Is it because that site is not setup to offer RSS feeds?

yeah same problem for me i am using http://dlb-network.com/ (http://dlb-network.com/). Also what things work with the html block ?
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: wimvincken on September 30, 2009, 08:13:45 PM
The ezPortal disables the forum for the IE users.
And that is already going on for the last two versions!

I personally never use IE and for more then a month the users dropped and nobody complained! When I had a demonstration with a client I figured out that there was a problem with all my boards.

So at the end I went over to another portal (PortaMx), which is much better then this one. Really advanced and a lot of features and the most important one is that it works on all browsers
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 30, 2009, 08:17:57 PM
I just found that out yesterday will have a patch out for that sortly it was a bug with EzPortal 0.3.1
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Rhyme on September 30, 2009, 10:10:13 PM
I totally LOVE this mod BTW! So many choices on the blocks and the customization is unreal! GREAT JOB!
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on September 30, 2009, 10:34:18 PM
Thanks have some cool stuff coming out shortly!
Title: Re: ezPortal 0.3.1 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Rhyme on September 30, 2009, 10:51:41 PM
I'll totally keep my eyes open then :P
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 01, 2009, 12:02:14 AM
Important Update! Fixes bug from last version of EzPortal that caused incorrect formatting in Internet Explorer

0.3.2
!Fixed bug from 0.3.1 that messed up formatting in Internet Explorer due to an unclosed td tag
+Added Top and Bottom Columns
!Fixed the hide says option for the shoutbox also added : spacer if you disable it
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 03, 2009, 05:26:37 AM
I have this in place on a new site I just did.  Problem is, I can't find a way to put in the info, e.g links, etc.  Instructions for use would really help here.

I've been in every part of the settings, tried edit on the ez block, everything, but there is no way to input info into the blocks.  Where do I go to actually put info into them and how do I do it.

It worked before when I tried out the old version although that had different problems on another site.

In IE explorer the shoutbox is an smf articles block.  I have updated to the latest that was meant to fix the IE issues

I can send you a link if you want or need it

I've just found out I'm having issues with the site permissions loading.  i can't get to them.  It's been loading for about 20 minutes now and I can't get to set all of the permissions as I get a partly blank page.  See screenshot, this is after 20 minutes
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 03, 2009, 06:11:17 PM
If you want to add your own custom content to a block you would most likely use an html block then post the html codes inside the block.

As for the site permission that looks like a theme issue try the default theme
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 03, 2009, 06:16:28 PM
So what is the link block for and the articles blocks?  Why cant we put information into them?  I don't understand this at all.

I thought, if you put a links block in it's for links.  I also thought if I put an article block I could put articles in it.  What are all the other blocks for then?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 03, 2009, 06:19:18 PM
Those other blocks require other mods to be installed.
So if you want the links block to work you need to install SMF Links
If you want the articles block to you need to get SMF Articles
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 03, 2009, 06:23:58 PM
Yes I know, I have links and articles installed.  Gallery too and I don't get a button for that.  I'm in a right old mess here trying to sort out this lot.

So now you know I have links installed and articles and the other things I need to go with it, how do I use them?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 03, 2009, 06:29:24 PM
The blocks themselves for articles,links,gallery don't allow you to input information. You would setup the information for them in each of the mod sections.

The blocks just allow you to format the information and select the information that should appear in the ezblock
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 03, 2009, 06:32:26 PM
well trying to sort it out has messed up the whole forum.  I had to uninstall and reinstall to see if it would get it going.  The parse instructions didn't help as I don't have some of the files it says I should.  When i reinstalled I lost the forum button.  I can't even get it to go back to default for some reason.  It looks like I'll have to start all over and reinstall the entire forum.  I did actually try just clikcing into links and articles on the menu but I couldn't do a think with them.

What about the shoutbox changing to an article block in explorer?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 03, 2009, 07:14:21 PM
No idea on the block changing to article form shoutbox that should not be possible.. I would try to recreate that block the shoutbox.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Nizer on October 03, 2009, 09:42:01 PM
Awesome mod, hats off ... it's working great on the site. I've looked and I apologize in advance should this be here but I can't find it so I'll ask. In admin - forum errors this error is filling up in the list fast! I cleared it last Monday and today there are 112 pages with the error below:

8: Undefined index: class_url
File: /home/*******/public_html/smfforum/Sources/Subs-EzPortalMain.php
Line: 1912

All users, same Line:1912

Any ideas on how to correct or maybe point me to the thread that this has been discussed. TY very much in advance!

ReZ
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 03, 2009, 09:46:36 PM
Looks like you have a classifieds ezBlock enabled? Do you have SMF Classifieds installed?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Nizer on October 03, 2009, 09:51:35 PM
That I do. The block shows everything just find minus the picture.

Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 03, 2009, 10:03:28 PM
Fixed for next release.

Hotfix
Open that file
Find

// Load the language files
if (loadlanguage('classifieds') == false)
loadLanguage('classifieds', 'english');

Add after

if (empty($modSettings['class_url']))
$modSettings['class_url'] = $boardurl . '/classifieds/';
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Nizer on October 03, 2009, 11:17:15 PM
Thnx very much for that Vb ... I know "just " enough to be dangerous and do know how to apply the fix .... what exact page is that fix applied too? Again thanks for the speedy fix.

When I upgrade the board to 2.0 will I still be able to use your software?

ReZ
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 03, 2009, 11:23:49 PM
You would modify  Sources/Subs-EzPortalMain.php

Yes the mods work with SMF 2.0 both ezPortal and SMF Classifieds
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Nizer on October 03, 2009, 11:37:31 PM
Thanks again, keep up the awesome work!

ReZ
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 04, 2009, 06:48:42 AM
Ok, I reinstalled the entire forum and the mods again.  I now have links working as well as articles, which is no good lol, as I don't hav tiny portal (is it even compatible to have both?).  Anyway all going great and I shook the dust off dreameaver to built my own, yeah I'm lazy, lol.

I go in to change the blocks to html and hey presto, I have no ez portal configuration panel.  That has disappeared and I now have links and articles.  Now I added all of the code in parse, even the ones that were marked as not essential, yet no ez portal now.  It has to be working as the home page is still there, but I can't get in to work with the blocks.

Any idea what's went wrong?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 04, 2009, 08:06:38 AM
I don't have this file for EzPortal

./Themes/default/languages/Modifications.english-utf8.php

It isn't in the easy portal folder and it isn't in languages.  It says I don't need it but I still can't get this working.  Now I have the configuration in admin but I've lost the forum button.

Everytime I make the cnagges I add something then lose something else.

So now it's just the forum button that won't show.  I've used all the parse instructions except the one I named above as I don't have it.

Woohoo, I got the forum button up.  Course now that I've enabled the portal homepage it's now a board index, yep, I have two of them now.

I'm struggling here to get this thing on the go.  the top and bottom blocks don't seem to work either.

I'm using a custom theme, well default with a new style sheet.  I fixed the forum button by using the parse in the custom theme index.template as opposed to default.  Should I do this with any of the others?  I mean should I put the parse instructions into file in the custom theme rather than default and if so which ones to get this working.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 01:00:32 AM
can anyone help with this issue, I have two board index pages as opposed to a portal homepage and a index page?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 06, 2009, 08:01:46 AM
For the top and bottom columns you need to enabled them in order for them to work. You have to click on the "Edit Column" link in the ezBlock manager.

By two board index pages do you mean two home buttons or forum buttons?
Do you have the portal enabled? under Ezportal -> Settings?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 08:04:52 AM
Yes I did have the portal homepage enabled.  I just diusabled it this morning.  I'll re enable it now that you're around and you can see for yourself.  I have a home button and a forum button but both lead to an index page rather than the homepage with the shoutbox

www.theglasgowmods.com
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 06, 2009, 08:22:41 AM
Where there any errors on install of EzPortal?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 08:25:52 AM
No errors at install but if I try to uninstall I get errors.  Everything went ok at install, but I did have to do all the parse instructions for it.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 06, 2009, 08:30:40 AM
So you manually installed the mod? Or just did the parts for the custom theme?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 08:33:59 AM
I installed the mod, then as I didn't have the forum button I manually installed it too.  I only used index.template from the custom theme and used the defaul instructions from the rest.  Should I copy over anything else from default to custom?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 06, 2009, 09:08:29 AM
Open index.php in the root directory of your forum
Find

// Action and board are both empty... BoardIndex!


Make sure that this code is before it

// EzPortal
global $ezpSettings;
if ($ezpSettings['ezp_portal_enable'] == 1 && empty($board) && empty($topic))
{
require_once($sourcedir . '/EzPortal.php');
return 'EzPortalForumHomePage';
}

Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 12:15:43 PM
Sorry, I was out so just got to this.  Thank you, that's it sorted and the shoutbox is there.  I'll also be using html blocks in future to do the links and articles as I juist couldn't work those out at all.

Thanks for your help once again
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 12:56:05 PM
blocks.  I do use the block manager, I have the shoutbox up and I have an HTML block up.  I can't get the blocks to go top or bottom, they just aren't visible.  I can get them left, right and centre but not top and bottom.  It's ok on the portal homepage but I did want things I could put throughout the forum, like below the boards, etc. 
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 07:42:48 PM
Is there a setting for the shoutbox?  To change the order of chat.  It seems the chat shows the last comment first and it's usually the other way round.  It's sort of upside down.  Maybe I did something wrong.

Also, if I create a page, does it make the link or do I have to actually build a mini website in freamweaver then work out the links for myself, like put them on a list or something?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 06, 2009, 07:44:24 PM
Quote from: flutter on October 06, 2009, 07:42:48 PM
Is there a setting for the shoutbox?  To change the order of chat.  It seems the chat shows the last comment first and it's usually the other way round.  It's sort of upside down.  Maybe I did something wrong
No setting for order yet might be possible in the future
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 06, 2009, 07:58:53 PM
It's ahrd to read that way, it's the opposite of the norm.

What about that additonal pages?  How do I link them?  Is it a list I have to make?  Not sure how I'd do it at all.  I'm not used to building sites around a forum I usually just do them all myself so this is really different from me.

How do I know the URL (I ralise that likely sounds dumb), how do I know what to put in the link?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 13, 2009, 07:42:11 PM
The page manager in ezPortal allows you to create custom pages.
When a page is completed inside the page manager listing will list the page url's that are generated.
You can then put those links inside a block maybe a menu ezBlock would be the best.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: flutter on October 13, 2009, 08:26:35 PM
Ok, I'll give it a go
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 14, 2009, 08:37:01 AM
Quick question...

I have ezPortal   LOVVVVVE ITTTT!!!  Thank you!!!

Just wondering if there's a way to put a "friendly url" in the pages? I guess for google (SEO) purposes?  Or you think the "title" would be enough.


Oh and ps.... would love the option to toss a block at the 'bottom' of the forum.  ;D
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on October 14, 2009, 09:57:33 AM
hi fluffmama,

The ability to add a block at the bottom should already be in the current release.

As for so called "Friendly" URLs...   Those are 99% irrelevant to SEO. What *IS* important is alt tags for images and title tags for links.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: KnowNothing on October 17, 2009, 06:44:34 PM
Hello,
I apologize if this has been answered; I searched for the terms "home page" and "page" and didn't come up with anything.

I, the EzPortal Page Manager, I created a page with text links that I want to be my forum's home page, but it doesn't show.

Could someone tell me step by step how to create a simple page and then set it as the new home page?

Thanks,
Mike
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 17, 2009, 07:54:41 PM
Pages can not be set as a homepage by default with ezPortal for now.

What you could do is add a html block that is only shown on your ezPortal homepage. Copy the html code to block's data and use that.
Or you can create a bbc ezBlock and just create the post/page using that editor
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: KnowNothing on October 17, 2009, 10:49:43 PM
Quote from: vbgamer45 on October 17, 2009, 07:54:41 PM
Pages can not be set as a homepage by default with ezPortal for now.

What you could do is add a html block that is only shown on your ezPortal homepage. Copy the html code to block's data and use that.
Or you can create a bbc ezBlock and just create the post/page using that editor
Thanks so much - that was easy!
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 12:39:44 PM
Couple quick questions....

I installed ezportal maybe a couple months ago.  Not sure if it's been updated since, but I'm assuming it has since you mentioned the option to put blocks at the bottom is there.

Here's my issue...I had moved my forum from one domain to another so had to uninstall and reinstall my theme.  I copied all other files over and all went relatively well.  My issue now is that when I click a link in a ezportal box, it logs me out of the forum.  I thought I had made all correct adjustments to my theme after I reinstalled, but it seems something went haywire.

If I uninstall ezportal, and reinstall it, will it keep all my information and pages and blocks I've created?  I would hate to lose everything.  :(
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 18, 2009, 02:00:48 PM
If you uninstall no information from your ezBlocks is removed so you are safe to install a new version.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 07:28:51 PM
Ok uninstalled and reinstalled without a hitch  :D

Howeverrrrr....not sure why, or what the issue could be, or even if it involves ezportal...but....

I have links in some of the boxes, and it is still logging me out when i click a link.  Didn't do that originally.  This is NOT because of updated version of ezportal...I believe there could be a hiccup from re-installing the theme.  I thought I got the file mods taken care of, so not sure what could be causing this.  Any ideas?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 18, 2009, 07:32:56 PM
Do you have a link to a page that this occurs on? And which block causes this?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 07:44:26 PM
This is happening right on my index page, any link I click on.  www.playacespoker.com/smf

In my error log...this is what i'm getting for almost every action....
(ex. http://www.playacespoker.com/smf/index.php?action=admin,  http://www.playacespoker.com/smf/index.php, http://www.playacespoker.com/smf/index.php?action=login   just to name a few)

But here's the error:

Quote8: Undefined index: current_action2
File: /home/content/t/h/e/thenewpokerpot/html/smf/Themes/innocence/index.template.php
Line: 371

Also, not sure if it will help, but here's the area of my index.template.php file that has that manual change.  This is from my theme file...

if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

// EzPortal if (isset($context['current_action2']))
$current_action = $context['current_action2'];

        // Are we using right-to-left orientation?
if ($context['right_to_left'])


Hope this helps.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 18, 2009, 07:45:42 PM
Change


// EzPortal   if (isset($context['current_action2']))
      $current_action = $context['current_action2'];

To
// EzPortal   
if (isset($context['current_action2']))
      $current_action = $context['current_action2'];
[/code]
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 07:57:18 PM
Ok yay!!  took care of the errors in the log.
  THANK YOU!!!!

But, any idea why I would keep getting logged out when I click a link in one of the ezblocks?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 18, 2009, 08:00:35 PM
Some of your links are missing www.
http://playacespoker.com/

Instead of http://www.playacespoker.com/

Which would cause you to logout since it thinks it is two different sites. Unless you enable subdomain independent cookies I think
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 08:05:59 PM
YOU ROCK!!! THANK YOU SOOOOOOOOOOOOOO MUCH!!!!

I think because I've switched domain names that's where it got screwy.  I knew to go fix the /smf/ instead of another file I had it in originally, but never even noticed the "www" missing.

*tucks tail between legs and hides in a corner for being a dork*  >:(


Thanks again!!!  :D :D
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 08:10:24 PM
Oops ok...sorry, one more quick thing.  Just tried putting a box at the "bottom", and it's not showing up.  Did the shout box, then did a test box.

Any ideas?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 18, 2009, 08:14:21 PM
Quote from: fluffmama on October 18, 2009, 08:10:24 PM
Oops ok...sorry, one more quick thing.  Just tried putting a box at the "bottom", and it's not showing up.  Did the shout box, then did a test box.

Any ideas?
You have to enabled the column. By default the top and bottom columns are disabled.
Click on the edit column link to enable that column next to the columns name
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 08:41:02 PM
Sorry to take so long to get back....I wanted to make sure all settings were right, and that I did all the correct manual file fixes.

All seems good, and that block is 'enabled'.  I even tried switching to 'no' then back to 'yes' for the enable option.  That didn't work either.

Is it possible it won't work with my theme?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 18, 2009, 08:44:13 PM
Did you click on the the "edit column" link to enable the top and bottom columns
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: fluffmama on October 18, 2009, 08:47:16 PM
Gah!!  Totally missed that link.  I found it now.  Didn't even realize that was hiding there.

All is good.  I REALLY appreciate  your patience vbgamer.  Thank you so much.  I'll leave you alone now.  :D
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 18, 2009, 08:48:31 PM
No problem glad you got it working
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: hartiberlin on October 21, 2009, 05:09:42 PM
Can EZ Portal place Google Adsense Ads in a script block BETWEEN
postings ?

I am looking for a Portal software that can do this.

PortaMX I am currently using can not do this and as
SMFAds Mod will probably not be further developed I need
another system that can put blocks between postings inside the forum,
not just at the borders, but between the postings.

Which Portal or other MOD can do this and will be compatible with SMF2.0 RC2 ?

Many thanks.

Regards, Stefan.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: bloc on October 21, 2009, 06:53:27 PM
Quote from: hartiberlin on October 21, 2009, 05:09:42 PM
Can EZ Portal place Google Adsense Ads in a script block BETWEEN
postings ?

I am looking for a Portal software that can do this.

PortaMX I am currently using can not do this and as
SMFAds Mod will probably not be further developed I need
another system that can put blocks between postings inside the forum,
not just at the borders, but between the postings.

Which Portal or other MOD can do this and will be compatible with SMF2.0 RC2 ?

Many thanks.

Regards, Stefan.

I don't think any portal mod does it, afaik. You need to do it from a theme, changing Display.template, like I have done in my Pegasus theme. In there I have put the option to insert html code within "current theme settings" which is shown either between each post, or under the first post only. Of course any tracking of clicks etc. isn't done, like the ads mod does.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 21, 2009, 07:38:57 PM
I am working on my own ads mod which will be released shortly
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: hartiberlin on October 22, 2009, 11:33:52 AM
Quote from: Bloc on October 21, 2009, 06:53:27 PM


I don't think any portal mod does it, afaik. You need to do it from a theme, changing Display.template, like I have done in my Pegasus theme. In there I have put the option to insert html code within "current theme settings" which is shown either between each post, or under the first post only. Of course any tracking of clicks etc. isn't done, like the ads mod does.

I see,
I will have a look at your Theme and also will look at what VBgamer will come up with.

Will there be also the possibility with VBgamer´s admod to  let different membergroups
show different ads, so
for paying subscribers there will be no ads and for guests there will be always ads to be displayed ?

This would be an important feature that just a theme modification probably can not do.

Or can one set different themes for different membergroups ?
Just have to see, if this works somehow...

Many thanks.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 22, 2009, 11:40:21 AM
I going to announce details in a couple weeks going to be pretty large mod and will have membergroup support definitely.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: clewis789 on October 22, 2009, 03:30:12 PM
so when is the update for this mod coming ?
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 22, 2009, 04:03:10 PM
Most likely when RC2 public is released!
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: tommybishop on October 22, 2009, 11:55:18 PM
Hello, i installed this mod and now i get..

Table 'a8835704_0.smf_ezp_settings' doesn't exist
File: /home/a8835704/public_html/Sources/Subs-EzPortalMain.php
Line: 19

That error message on every page of my board... PLEASE HELP!

my forum --> http://anotherwrestlingforum.co.cc/index.php
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 23, 2009, 12:30:07 AM
The mod failed to create the database tables. Check forum error log for details.
To disable rename index.php~ to index.php in your forum's root directory
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: tommybishop on October 23, 2009, 02:52:28 AM
for some reason when i try to install it via the forum it gives me an error message saying

"Database Error: MySQL server has gone away
File: /home/a8835704/public_html/Sources/Subs.php
Line: 2914"

i had originally just done it manually and thought that might be the issue..  any further help would be appreciated
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on October 23, 2009, 08:58:34 AM
Yeah that looks like a host issue.
What you can do is copy the EzPortalInstall.php to your root directory of your forum then run it that way.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: shellniger on November 02, 2009, 11:11:56 AM
Hi,

Please help me with my implementation for the EzPortal for my forum website.

I have installed the ezPortal on my forum & I want to separate the ezportal from the forum. So under the EzPortal settings, I have tick "Enable Portal Homepage". However I when I have done that, the "Ezportal Homepage" has taken over the URL of the forum. And now the url of the forum is:
http://jmcove.com/ezportal/index.php?action=forum instead of just http://jmcove.com

I want my forum at the top of the domain & the EzPortal on a sub-folder or sub-domain.

Example:
http://www.jmcove.com [Forum URL]
http://portal.jmcove.com [Portal URL] or
http://www.jmcove.com/index.php?action=portal [Portal URLl]

Thanks. Sorry for showing the url here, I know that I am only allowed to post links or URL when I have more than 10 posts.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on November 02, 2009, 01:14:06 PM
that's not how this (or ANY of the portal mods) work...
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on November 02, 2009, 07:22:44 PM
Yeah ezPortal is not yet standalone maybe one day in the future so you can have it another directory that is a long way off though
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: shellniger on November 03, 2009, 04:33:55 AM
No I didn't want to have the EzPortal as a standalone. My explanation is no good, I hope you understand I mean.

This is what I have done so far
I had select the "Enable Portal Homepage" settings & when I creates the ezblocks, I set the Portal Homepage as the only Visible Areas. So by doing the above , I have separated out all the ezblocks from the forum. All the ezblocks are only shown on the Portal Homepage

However by doing so, the Portal homepage has overtake the original URL of my forum & becoming the main website or homepage.

If there any way to rewrite the URL of the Portal Homepage so that it's another page of the forum but not becoming the homepage. I need the forum as the homepage. The reason I wanted so is because not to affect the SEO.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: Kindred on November 03, 2009, 08:27:16 AM
no... as I said, none of the portal mods allow you to do that. All 4 of the portal mods set the forum to action=forum.
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: [SiNaN] on November 03, 2009, 03:12:35 PM
Quote from: shellniger on November 03, 2009, 04:33:55 AM
If there any way to rewrite the URL of the Portal Homepage so that it's another page of the forum but not becoming the homepage. I need the forum as the homepage. The reason I wanted so is because not to affect the SEO.

It would have a dramatic effect SEO wise if the mod changed the board url, but it does not. It just replaces the board index url. To give an example:

Before you install the mod:
Board Index: http://www.yoursite.com/index.php
Board 1: http://www.yoursite.com/index.php?board=1.0
Topic 1: http://www.yoursite.com/index.php?topic=1.0

After you install the mod:
Board Index: http://www.yoursite.com/index.php?action=forum
Board 1: http://www.yoursite.com/index.php?board=1.0
Topic 1: http://www.yoursite.com/index.php?topic=1.0

So it is just the board index url changing. Board and topic urls, means the content, is not affected at all. I haven't seen any negative effects of moving board index to ?action=forum in several of my forums.

Quote from: Kindred on November 03, 2009, 08:27:16 AM
no... as I said, none of the portal mods allow you to do that. All 4 of the portal mods set the forum to action=forum.

There is at least one portal mod I know of that has full standalone support. ;)
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: SAFAD on November 04, 2009, 02:41:52 PM
VBgamer
your mods are cool
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on November 04, 2009, 07:37:48 PM
Thanks I try to make mods that are useful and fun for me as well
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: FireDitto on November 09, 2009, 04:41:41 AM
Now that RC2 is released, do you think it'll take long for the next update?

:P
Title: Re: ezPortal 0.3.2 for SMF (Now Suppots SMF 2.0) 25+ New Blocks
Post by: vbgamer45 on November 09, 2009, 09:16:04 AM
Not long for an update have some cool things planned.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 09, 2009, 09:57:30 PM
Ezportal 0.3.3 Released with SMF 2.0 RC2 Support!

0.3.3
+Now supports SMF 2.0 RC2!
+Added Edit/Delete icons instead of text on edit/delete ezBlocks in the main forum layout
+Added column status indicator of Enabled or Disabled next to edit column
+Closer spacing on the installed ezBlock list
!Fixed possible undefined index for SMF Classifieds ezBlock
!Fixed bug in SMF 2.0 which could cause the module list to fail to load
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: FireDitto on November 10, 2009, 01:17:21 AM
QuoteThe server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

o_O

My error log isn't showing anything.

I tried re-downloading the mod, and then reinstalling it. Everything ran through smoothly both times, but when I click the Install button, instead of going "whoo!" it goes "Eff-You" :P
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 10, 2009, 08:35:59 AM
That's strange check your control panel's website/server error log
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: FireDitto on November 11, 2009, 01:24:52 AM
I did that. My server's error log is also clear of anything related to the website. I again tried to install it, and again it failed and the logs were all clear.

When I tried to install it via the link option, it said the following:

QuoteAn Error Has Occurred!
Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 11, 2009, 08:48:32 AM
Are you able to install any other packages?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 11, 2009, 08:04:25 PM
Minor Update 0.3.3a fixed some undefined errors SMF 2.0 RC2
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: FireDitto on November 11, 2009, 09:58:21 PM
Yes, I can install other packages.

... 0.3.3a doesn't work, either...
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 11, 2009, 10:17:29 PM
Try uploading ezPortal to your packages folder via ftp and see if you can then install it via the package manage.r
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: FireDitto on November 11, 2009, 10:44:40 PM
Again, it didn't work.

Ugh, how frustrating.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 11, 2009, 10:56:22 PM
What happened when you tried to install it after you uploaded it to the packages folder via ftp?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: FireDitto on November 11, 2009, 10:59:33 PM
The same message as originally:

QuoteThe server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: Bears-world on November 12, 2009, 08:28:52 PM
Has anyone used EzPortal with Global Headers Footers mod?

They work find but on the front page the headers go to the bottom.

You can see here:
http://bearsworld.byethost7.com/

Any ideas?

Sorry for stepping all over your post FireDitto I can't find anywhere to start a new one.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: FireDitto on November 13, 2009, 01:43:33 AM
Here, I got images to show you.

The first image is as far as I can get before the error arrives.

The second image is the error screen I recieve.
Title: Quick question on HTML block
Post by: zimode on November 13, 2009, 04:45:37 PM
I've been using EZ 0.3.0 on SMF 1.1.10 for a while.. a great MOD!

I've used the HTML block for iFrame and some other spec stuff works perfectly..

I'm trying to use it  to embed a script from TinyChat:

<html>

<body>

<!--////START TINYCHAT EMBED////-->
<script>
var tinychat = { room: 'xxxxxxx' };
</script>
<script src='http://tinychat.com/js/embed.js'></script>
<div id='client'></div>
<!--////END TINYCHAT EMBED////-->

</body>
</html>

But nothing happens.. I'm not a GURU or anything so..basically dense.. any thoughts on how to get it to work..
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: Kindred on November 13, 2009, 06:43:17 PM
iframes are bad process when dealing with sessions...

and you would not include the html and body tags
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 13, 2009, 07:52:22 PM
Yep.. I tried w/o them as well.. just the following... (got nothing in the HTML Block  )

<script>
var tinychat = { room: 'xxxxxxxxxxxxx' };
</script>
<script src='http://tinychat.com/js/embed.js'></script>
<div id='client'></div>

That's when I tried the iFrame.

Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: Liam. on November 15, 2009, 08:24:41 AM
Don't use iFrames. And zimode, did you put that in an HTML block?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: Kindred on November 15, 2009, 10:15:12 AM
Many browsers will not allow cross-domain scripts...

In other words, because your javascript is calling content from somewhere else (not your own site), the browser will prevent it. (at least any browser with proper security settings sill do so)
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 15, 2009, 10:56:34 AM
Quote from: FireDitto on November 13, 2009, 01:43:33 AM
Here, I got images to show you.

The first image is as far as I can get before the error arrives.

The second image is the error screen I recieve.
I would try either a manual install next. I did a couple google searches but haven't found anything else that would seem to cause it. Could be timing out from the website when it tries to install or a file permission issue.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: SAFAD on November 15, 2009, 12:34:59 PM
"Portal Wars Has Already Started"
"We Must Attack Sir"
"Kid,Don't Show Me What I Do, Am The King Here,Prepare Yourself To HilmsDeep!!"
What Is Helmsdeep In Your Mind ?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: tripl3r on November 21, 2009, 07:01:08 PM
Shoutbox:

How can I make the shout box show the latest shout and the bottom in just above the input box?
and not show the latest shout at the top of the shout box?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 21, 2009, 09:58:33 PM
Quote from: tripl3r on November 21, 2009, 07:01:08 PM
Shoutbox:

How can I make the shout box show the latest shout and the bottom in just above the input box?
and not show the latest shout at the top of the shout box?
No option yet for that yet but would be a good feature request.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: macmend on November 22, 2009, 08:13:00 AM
I have been experimenting with portals and like this one the best except for one thing, my site uses faux_apple and the other part of the site has wordpress with an apple styled theme, all these themes give a feeling of space but ez portal doesn't do this it crams all the blocks together so they run into each other, and makes them hard to read, or understand where one block ends and the next. Anyone know how I might edit this?

www.macmend.com
www.macmend.com/forum
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 22, 2009, 03:10:13 PM
Quote from: Kindred on November 15, 2009, 10:15:12 AM
Many browsers will not allow cross-domain scripts...

In other words, because your javascript is calling content from somewhere else (not your own site), the browser will prevent it. (at least any browser with proper security settings sill do so)

It's weird - I had it up and running using iFrames and now it stopped working.. I set up a separate HTML file that I access via iFrame.. When I just use the HTML file (outside) EZPortal it works.. within EZPortal no such luck.. Using the HTML Block -

<CENTER>
<iframe
width="650"
height="620"
scrolling="no"
align="top"
frameborder="0"
src="http://www.xxxx.com/chat/videochat.html"></iframe>
</CENTER>

Here's the HTML file..

<html>
<body>
<!--////START TINYCHAT EMBED////-->
<script>
var tinychat = { room: 'xxxxxx', login: "tc", bcast: "restrict", api: "none", join: "auto" };

</script>
<script src='http://tinychat.com/js/embed.js'></script>
<div id='client'></div>
<!--////END TINYCHAT EMBED////-->

</body>
</html>

Really would be cool to embed TinyChat into the forum - hopefully it can be done either EzBlock or PageManager..

any suggestions?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 22, 2009, 04:52:19 PM
If you view the source of the page how does the html code look for your chat block
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: ScottDB on November 22, 2009, 07:43:42 PM
Hi all, I havent used this forum for a couple of months now. Is it just me or has this forum changed in the last couple of months?

Any how was looking at this mod and wanted to know how it integrates with simple portal. What I wanted to do was to create a custom home page to be displayed so that when you first go to the site this page is diplayed.  Will this mod do this and is it compatible with Simple Portal?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 22, 2009, 07:57:31 PM
Quote from: vbgamer45 on November 22, 2009, 04:52:19 PM
If you view the source of the page how does the html code look for your chat block

Basically I'm not a HTML or PHP guy.. just use the mod's to try to accomplish my tweaking..

When I view the page source.. the chat source looks pretty much the same as what was in the ezBlock..

Here's the snip from the page view source..

<iframe
width="750"
height="620"
scrolling="no"
align="top"
frameborder="0"
src="http://www.softech-sol.com/chat/videochat.html [nofollow]"></iframe>
</CENTER>

I'm clueless on this kind-of stuff
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 22, 2009, 09:20:18 PM
I Have totally blown it.. I have messed up my Forum by trying to add an EZblock.. Not the MOD's fault, but mine.. I need to delete an EZBlock  block id 29.. as I cannot delete it via the user interface.. I can't do anything in ADMIN mode as the BLOCK has messed up the user..

So any ideas..
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 22, 2009, 09:31:35 PM
Go inside the database look for the smf_ezp_layout table delete the last entry
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 22, 2009, 09:37:55 PM
Whew! I ended up going into the `smf_ezp_block_layout' table via phpMYAdmin and editing the block to "undo" what I did and then was able to delete via the EzBlock user interface (mod)..

Back to square on trying to embed the TinyChat..

Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 22, 2009, 09:44:59 PM
Glad you got it fixed!
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: hartiberlin on November 22, 2009, 11:01:14 PM
Does ezPortal support blocks between postings ?

I would need this to put Google Adsense ads between
the postings.

Many thanks.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 22, 2009, 11:17:10 PM
Yeah.. I was flipping out for a sec.. but the end user didn't see the mistake so that was good..

I got into trouble when I tried to cut & past the script code and since I have no idea what I'm doing.. just blew it..

But I'm committed to trying to get it to work..Yep.. I'm a glutton for punishment..

If anyone has any idea on how I can embed TinyChat.. that would be great!!

thanks.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: Kindred on November 22, 2009, 11:29:14 PM
Quote from: hartiberlin on November 22, 2009, 11:01:14 PM
Does ezPortal support blocks between postings ?

I would need this to put Google Adsense ads between
the postings.

no...   you are looking for the ad mod, none of the portals will do what you are asking.

Quote from: ScottDB on November 22, 2009, 07:43:42 PM
Hi all, I havent used this forum for a couple of months now. Is it just me or has this forum changed in the last couple of months?

Any how was looking at this mod and wanted to know how it integrates with simple portal. What I wanted to do was to create a custom home page to be displayed so that when you first go to the site this page is diplayed.  Will this mod do this and is it compatible with Simple Portal?
???   Simpleportal and EZPortal are both portal systems...  they are not compatibile with each other since they both do the same sort of thing
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: flutter on November 23, 2009, 04:09:23 AM
Quote from: ScottDB on November 22, 2009, 07:43:42 PM
Hi all, I havent used this forum for a couple of months now. Is it just me or has this forum changed in the last couple of months?

Any how was looking at this mod and wanted to know how it integrates with simple portal. What I wanted to do was to create a custom home page to be displayed so that when you first go to the site this page is diplayed.  Will this mod do this and is it compatible with Simple Portal?

Scott, hope you see this.  I'm using ezportal and don't have simple portal.  I find ezportal to be more flexible.  I tried simple and it put too much up there that I would have to sort out, with ezportal you choose from the outset what you want and it was easier for me, a newbie, to set up.

Yes, it does allow you to create a homepage that is seperate from the forum and in doing so you also get a forum button that takes members to the forum.  You can create multiple pages wioth it.  If you install vbgamers other mods, like links, articles, gallery, you can have everything you need.

Hope this helps, only one way to find out if it suits you, give it a go.  You can't have simple portal and this one but you wouldn't need simple as this does what you need.

Just downloaded the update and my real reason for popping in here was to say thank you to vbgamer for all your hard work and continued support and development for this mod.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 23, 2009, 12:21:18 PM
Quote from: Kindred on November 15, 2009, 10:15:12 AM
Many browsers will not allow cross-domain scripts...

In other words, because your javascript is calling content from somewhere else (not your own site), the browser will prevent it. (at least any browser with proper security settings sill do so)

I'm still on the hunt here.. not giving up!

So if I copy the .js script over to my domain that may clear it up.. the problem is I can call it from my HTML page.. and it works.. both are referencing the script on another domain..tinychat.. and both my domains are a sub-domain on a web hosting service (bluehost.com)

my domain for the forum is  xxxxforum.org
my domain for the HTML is   xxxx-sol.com/chat/

The xxx-sol.com/chat works (videochat.html), but when I try to use the iFrame to reference as a source it doesn't.. But I swear I had it working for a while.. then "poof" ..

Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zimode on November 23, 2009, 09:07:18 PM
I finally figured out what was happening with embeding the TInyChat code.. Looks like EzPortal takes the single quote ' and changes it to something else "&#39;" .. So I just changed all the  single quote ' to double quote " and it worked..

Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 23, 2009, 09:37:22 PM
Ah cool glad you got it working!
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: FireDitto on November 27, 2009, 04:06:36 AM
It FINALLY installed for  me.

I have NO idea what it's issue was, but you know... w/e. It's installed and working beautifully for me now =) I reckon my computer/internet was probably just kicking a ****** :P haha
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on November 27, 2009, 11:42:00 AM
Glad you finally got it working! That was a strange one.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: ravyn42 on December 16, 2009, 11:00:12 PM
I'm working on a mac and when I download the package, it automatically unzips the package whether I want it to or not. In order to upload it to my site it says it has to be zipped, so I zip it but it then says that the file is invalid or corrupt. how can I upload the package without it being zipped since I can't control my comp unzipping the file?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on December 16, 2009, 11:06:45 PM
Try this adding a a package server
http://www.smfhacks.com/index.php/topic,15.0.html

Go inside your forum Admin -> Packages- > Download Packages
In the Add Server page
Enter Server Name: SMF Hacks
for Url enter: http://www.smfhacks.com

And click Add Server

After that the page should refresh and the package server should be listed click on the "[Browse]" link then find ezportal inside it and click download
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: ravyn42 on December 16, 2009, 11:12:06 PM
Thank you very much! that did the trick!

I haven't worked on my site for well over a year and I have forgotten how to do everything. And after updating it some things changed which confused me even more. but I got it working now. You're awesome.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on December 16, 2009, 11:17:56 PM
No problem glad that worked!
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: ravyn42 on December 17, 2009, 12:04:57 AM
is there a way to make the 'portal' page to be a separate page in the root directory??

The way I have my forum set up is www.mypage.com/forum/index.php. I was hoping to make the portal page www.mypage.com/index.php or www.mypage.com/portal.php.

Is this possible? or would I have to move my forum scripts to the root directory?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on December 17, 2009, 12:11:08 AM
Not yet that is planned in a future update.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: ravyn42 on December 17, 2009, 12:23:25 AM
ok, good to know. I'll just have to watch for it.

And last question: I want to add a blog to my forum (wordpress I think.... dunno really, hubby picked it out) and I was wondering if I could somehow use the ez pages to apply the SMF forum themes to the blog. I'm not entirely certain it would work, but I figured it couldn't hurt to ask.
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: Kindred on December 17, 2009, 09:06:42 AM
Sorry Ravyn, no....   this portal let's you create pages, etc... but it does not apply the forum theme to other pages (this is a portal, not a CMS)
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: ravyn42 on December 17, 2009, 09:26:24 PM
Yeah, I kind of figured that out after I really got into it. I felt like a dummy after I figured it out. heh...

But I found some nice alternatives! Looking at the SMF Articles thingy. looks like it might do the trick!
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on December 24, 2009, 10:41:26 PM
It Won't let me uninstall it! The errors are for on the index.php file! What do I do???

Thanks, I am going to try "Content Management System" mod...
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on December 24, 2009, 10:44:43 PM
You can ignore it maybe or uninstall it manually. I don't think the cms mod is that good though...
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: h4rvey on December 28, 2009, 10:24:27 AM
can anyone help me out with this.

i have installed SMF 1.1.11 and first thing i try is to install ezportal but when i try to upload it the page trys to load for a while then says page cannot be displayed. and it will not load.

is ther something im missing?
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: Kindred on December 28, 2009, 12:41:47 PM
it may be a permissions issue with your host/server...
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on December 28, 2009, 05:35:50 PM
Quote from: vbgamer45 on December 24, 2009, 10:44:43 PM
<SNIP> I don't think the cms mod is that good though...

I know, I was just testing it out...
Title: Re: ezPortal 0.3.3 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on December 28, 2009, 07:26:59 PM
Quote from: h4rvey on December 28, 2009, 10:24:27 AM
can anyone help me out with this.

i have installed SMF 1.1.11 and first thing i try is to install ezportal but when i try to upload it the page trys to load for a while then says page cannot be displayed. and it will not load.

is ther something im missing?
Check your forum's error log too just in case for any possible issues.
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 01, 2010, 11:45:45 PM
Quick update to fix a couple things and a couple new features

0.3.4
!Fixed a bug in the SMF Store ezBlock not working correctly
+Added thumbnails to Downloads Pro ezBlock
+Better sorting by top rated for downloads ezBlock
+Added check all function for membergroups on adding ezBlocks/pages
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: zijO on January 02, 2010, 08:57:22 PM
Great mod!

In Visible areas option I want to select some block to be shown only at forums home page. Can it be done?

Current selection is from Help, Search, Profile.... and there is no HOME to select.

I am using mod with SMF2

Wondering if ajax chat integration shoutbox can be shown inside ezportal blocks.
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 02, 2010, 09:21:19 PM
There should be a "Board Index" visible option near the top which will show only on the board homepage

Ajax chat maybe can be added to an ezblock the code would need to be moved from the template into an php ezBlock itself
Title: ezPortal installation caused my site to crash.
Post by: cruth on January 07, 2010, 12:35:47 AM
ezPortal installation caused my site to crash.

http://www.fancyfoodnews.com/foru/index.php?action=packageget

just reinstalled everything and went to add this mod. Site crashed and got the following error message. Look s like I have to start over.

Parse error: syntax error, unexpected $end in /home/ffnews/public_html/forums/Sources/Subs.php on line 3695
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 07, 2010, 01:03:49 AM
You can either attach that Subs.php to this post or a quick fix would be to rename Subs.php~ to Subs.php
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: SA™ on January 09, 2010, 01:38:40 AM
hello can you tell me where i can edit the userblock ive looked everywhere in the files and cant seem to find it?
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 09, 2010, 09:39:00 AM
If you want to edit the core code. Sources/Subs-EzPortal.php
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 07:03:49 PM
Now, how do I reset the page count, to start the page URLs from 1?

Thanks!
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 12, 2010, 07:27:41 PM
You would need to edit the database to do that and change the autoincrement on the column back to one this can be done though phpmyadmin
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 07:36:48 PM
Except I have to do it through godaddy's site, which I don't like going there (except to add subdomains, apps, and databases, that is all)

I am doing that now...
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 07:40:30 PM
Which table?
This one: id_page
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 12, 2010, 07:43:32 PM
Check in your smf db should have prefix smf_ezp_pages I think thats it
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 07:49:22 PM
ok just makn sure...
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 12, 2010, 08:00:07 PM
Let me know if you still need help or can't get it.
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 08:07:42 PM
I changed the:
smf_ezp_pages (id_page) from 11 to 0 (I only had 4, why did it show 11?)

Oh wait, i just notices I still am using 3a version!
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 12, 2010, 08:11:41 PM
that was the autoincrement field? value in phpmyadmind

That number could be larger if had added and delete pages cause each time you add a page the field number goes up one.
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 08:13:17 PM
Is is possible for the next update to be able to have a reset button? That would be helpful!

When trying to uninstall old version I get test failed on:
ManagePermissions.php
Admin.php

What do I do?
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 08:15:10 PM
I don't even see the "autoincrement" field!
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 08:17:23 PM
Do I change the "default" table in the field "id_page"?
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 12, 2010, 08:26:16 PM
In phpmYAdmin click on the "Operations" on the table
Enter the number in the auto_increment textbox and then click go
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 08:30:06 PM
did that and it didn't help.

still shows as page id as: 6

**Going to eat dinner now, ill check back in a few hours**
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on January 12, 2010, 08:34:24 PM
Have you tried deleting that page and then adding it as new?
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: KensonPlays on January 12, 2010, 09:18:55 PM
Yes, I did that...
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: RoCKeT-88 on February 01, 2010, 01:44:17 AM
I turned on the bbc buttons for the shout box and now I cant figure out to make em not be there can someone please tell where that setting is.

Thanks
Title: Re: ezPortal 0.3.4 for SMF (Now Suppots SMF 2.0 RC2) 25+ New Blocks
Post by: vbgamer45 on February 01, 2010, 09:51:55 AM
Should be under Admin -> EzPortal -> Settings
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 01, 2010, 10:07:15 PM
New Update for ezPortal!

0.3.5
!Fixed bug when collapsing and expanding blocks it would take up too much space
+Updated look of login ezBlock. Added length, extra, and openid support for SMF 2.0
+Added Stats ezBlock
+Added Ad Seller Pro ezBlock
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: RoCKeT-88 on February 02, 2010, 10:59:15 AM
Thanks man....been messing with settings for so long~  And thanks for giving us ezportal has to be the best mod by far~
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 02, 2010, 11:39:08 AM
Thanks for your support glad you enjoy the mod!
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: DarkValentine on February 04, 2010, 12:31:17 AM
EzPortal is great. I like the setup & layout, as it's looking very awesome. However, I do have one minor problem.

I'm getting this in the error log
http://generation-now.net/forum/index.php?action=ezportal;sa=addshout
8: Undefined index: shout
File: /home/generati/public_html/forum/Sources/EzPortal.php
Line: 2646

http://generation-now.net/forum/index.php?action=ezportal;sa=addshout
Unable to load the 'main' template.


These two happen to appear at the same time. This only seems to appear, when the shoutbox is active. When there is no shoutbox, then this error doesn't occur. Thing is, I see no visible issues or problems, other than the refresh time for the shoutbox doesn't work. Despite a time being set for it to work.

I'm using 1.1.11 btw.
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 04, 2010, 12:38:47 AM
Will look into that issue should be an easy fix for next update
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: DarkValentine on February 04, 2010, 12:40:17 AM
Cool thanks. It's probably just a syntax out of place on that line.
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 04, 2010, 10:33:26 AM
Fixed the two error logs for the shoutbox for 0.3.6
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 04, 2010, 11:57:14 PM
So far, I am really wanting to use EZPortal with SMF for my website.

The problem I am having is getting blocks to show on the pages I have made using the page manager other than the Portal Homepage.

I have been trying to make custom actions, but just am not getting it. So far, I have created several that I can not delete.

I can not find any info in any of the tutorials I have read or the boards searched. I must be missing something really easy.
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 05, 2010, 12:00:55 AM
I haven't add support yet for showing blocks on pages that should be added to my todo list shortly.
Also working on improving documenation for 2010
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 05, 2010, 12:17:15 AM
Thank you!! Now I know I am not insane!

Being able to add blocks to created webpages will make this portal incredibly powerful. I am looking forward to that upgrade and will be watching for it.

I'll try to figure out a work around meanwhile.
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 05, 2010, 12:17:56 AM
If you need I can probably add something this weekend that will support that feature.
Title: Re: ezPortal 0.3.5 for SMF (Feb 1, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 05, 2010, 12:21:08 AM
Oh yes please if that wouldn't be too much trouble.  I was considering going through all your files to find the code for the visible options and see if I could add something to the code itself.  Maybe add visibility checkboxes for page 2, 3, 4, . . . etc (at least 10-15 pages) since page numbers are already present in the code.

The version of SMF I am using is 1.1.11 which is what my web hosting service provided as an installation package.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 05, 2010, 09:26:52 PM
ezPortal release 0.3.6 features three new ezBlocks, added visible option settings for columns and ezBlocks for pages created with ezPortal. This update also includes other minor fixes and additions. Full change log below

0.3.6
+Upgraded Tiny MCE to 3.2.7 used by the page editor
!Fixed a couple possible undefined errors with the shoutbox
+Added pages visible options support for ezBlocks
+Added most downloads type to the downloads ezBlock
+Better ordering by rating for SMF Store and SMF Articles ezBlocks
+Added Top Boards ezBlock
+Added Top Topics ezBlock which can be formatted by either replies or views
+Added Today's Birthdays ezBlock
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 05, 2010, 10:53:52 PM
You are so incredibly wonderful and awesome!!!!!
This has made my life so much easier.

Thank you! Thank you! Thank you!

My site: forums.thestriplingwarriors.net

This I volunteered to do to increase my skills. Next, I'll be making a neighbor's site for her books she is writing, then my own photography business.

Hands down, you are incredible!

-Kentarre
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 05, 2010, 10:57:31 PM
Glad to help got two updates for ezPortal this week!
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 09, 2010, 01:04:40 AM
Two more requests but they don't need to be done in any hurry.  I've worked around them and my site is doing quite well. These things could just make page construction easier for everyone.

1.  Remove the requirement for content on custom pages.
2.  Add the html editor on the custom web page builds to the html EZblock.

Once again, thank you!
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 09, 2010, 01:07:41 AM
For #1 you have empty pages?
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 09, 2010, 08:09:05 AM
sure do, am using the blocks themselves for content. Keeps everything very uniform looking.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kindred on February 09, 2010, 08:43:11 AM
just add a non-breaking space character...   that will add content but display blank
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: LOVELORD on February 09, 2010, 08:50:32 PM
How to put size for right and left block?

I want them to bee 175px.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 09, 2010, 09:06:28 PM
Click on the edit column link in the ezblock manager that changes the width of them there.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: damnitmike on February 10, 2010, 04:55:59 PM
I found out something pretty cool, thought I'd share it if anyone was interested. I been trying to get a Content Rotator Block working, and EZPortal did it no problemo.

I just created a html ezblock, and inserted the code from the 2 blocks of code at the link below, into it.....

http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

Upload the 3 files to the root and its done.

I did change the content rotator css block size to percentages for size.
And added the full URL of the 3 files I uploaded into the script...

Basically 3-4 blocks of whatever I wish,  rotating in 1....I used the top left rotator box at Dynamic Drive....Quite a Space Saver!
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: LOVELORD on February 11, 2010, 06:25:04 AM
Quote from: vbgamer45 on February 09, 2010, 09:06:28 PM
Click on the edit column link in the ezblock manager that changes the width of them there.

I cant find anywhere how to change width... how to do it...
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: damnitmike on February 11, 2010, 08:48:55 AM
In the EZBlock Manager under the EZBlock tab the ezblocks are list Left-Center-Right -Top Bottom..

It says Left-Edit Column-ENABLED........click the edit column.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Maserati on February 11, 2010, 09:01:56 AM
How to put size in px? Becouse if I put Column Width  175     
Column Width Percent     0

it put column on 350 px, ont 175
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: damnitmike on February 11, 2010, 09:57:12 AM
Since the initial size was

150
15

try

175
17

Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 11, 2010, 10:51:13 AM
If you use pixels for width settings you must it for all columns instead of percents
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Dream of Omnimaga on February 20, 2010, 11:17:05 PM
I found a bug with both recent topics and recent posts EzBlocks:

I have both setup on a forum page so one show 250 topics and the other 250 posts. However, they fail to show that many: The first shows a random amount of recent topics between 23 and 35-ish, while the other shows a random amount of recent posts between maybe 100 and 130, or something like that. Not sure if this is random, but you should look into that maybe, since some people with very active boards may want to have like 1000 recent replies to show in one single page, if they have very active boards and members who don't visit frequently.

Bug in action:

http://www.omnimaga.org/index.php?action=activity

Despite both being setup at 250, none shows 250 at all.

I also posted something regarding this on the EzPortal site, but in case it gets missed I wanted to post it in the mod topic here too.

NOTE:

SMF 1.1.11, tested on two boards, including the one I linked to above. On the other one, I tried with no other mods installed. Hosting provider is 1and1 (shared hosting).
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 21, 2010, 10:33:57 AM
I will check it out to see what it is doing.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Tulumer on February 22, 2010, 03:18:17 PM


I just installed EzPortal on 1.1.11.
When I leave Admin, all I can see are the header and footer.
Header....footer....theme background. 

Did I miss a permission somewhere?

screenshot attached
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 22, 2010, 03:25:38 PM
Must likely what you did was enable Portal under Admin -> ezPortal -> Settings

In order to have items appear on your homepage. You must add ezBlocks under the ezBlock manager and set their visible settings to appear  on the Portal Homepage
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Tulumer on February 22, 2010, 03:48:49 PM
vbgamer, that was it.
disabled the portal on the homepage and everything was back......re-enabled portal and added a block and it was still there.

Thanks, vb!
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 22, 2010, 03:51:41 PM
Glad you got it! Going to make better help/docs for future versions too
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Tulumer on February 23, 2010, 12:26:50 AM
vbgamer, back again.

I can't figure out how to place a block on a specific board.  Is that possible?  If so, where do I make the selection?  All I've been able to find so far is the ability to chose Right, Left or Center.  This is gonna make things a lot easier!

Thanks!
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 23, 2010, 12:42:11 AM
Yes it is possible.

Edit the ezBlock there should be a link near Visible areas called "Updated Visible Options"
Just make sure you have  just that board selected and nothing else.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 24, 2010, 07:48:13 PM
I feel like I have to be missing something easy. For some reason, the basic html editor is not showing when editing the custom EZ pages.  Is there a box someplace I need to check?  On my other website, that editor is working fine and I can't figure out what I did differently.  Most current version of EZ portal on both websites and using SMF 1.1.11
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 24, 2010, 07:52:53 PM
Check that the tiny_mce folder in in the ezportal folder and that is not empty.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Tulumer on February 24, 2010, 09:43:32 PM

I'd like to put HTML code, at least live links, directly into a post on a specific child board.  If that's possible, how do I do it?  I'm using EzPortal, and when I've created an HTML board, it hasn't been presented or counted by SMF as a Topic or Post. 
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 24, 2010, 09:59:19 PM
I don't know if that is ezPortal related. Sounds more like a theme edit to include the links inside a post.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kentarre on February 24, 2010, 10:02:05 PM
Quote from: vbgamer45 on February 24, 2010, 07:52:53 PM
Check that the tiny_mce folder in in the ezportal folder and that is not empty.

yes, the folder is there and it is full of items.


Another question. How would I put content onto the portal home page without using an ezblock?
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on February 24, 2010, 10:05:34 PM
If you use firefox you can check for errors under toots -> error console when the html editor is loaded.


An ezblock is required to place content on the portal homepage.
You can create your own content with a html/php ezblock
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kentarre on March 04, 2010, 03:28:47 PM
Idea/Suggestion - An EZblock showing upcoming events and their dates from the calendar would be really nice.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kindred on March 04, 2010, 03:42:59 PM
you can toss that into a php block using SSI functions. (see my use on 40konline)
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on March 04, 2010, 03:44:20 PM
I really want to do a calender block it is in SSI for 2.0 but not 1.1.x that is my current issue.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kindred on March 04, 2010, 04:26:14 PM
oh, the tabular calendar?  yeah, I had to build that one from scratch.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on March 04, 2010, 04:32:26 PM
yeah the tabbed calender maybe will have another look at it again soon.
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: vbgamer45 on March 08, 2010, 09:48:06 AM
Thanks again for the translation!
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: txcas on March 08, 2010, 01:21:15 PM
When this mod is removed, is it supposed to leave 13 tables behind in the SMF database?
Title: Re: ezPortal 0.3.6 for SMF (Feb 5, 2010 Update) 25+ New Blocks
Post by: Kindred on March 08, 2010, 01:22:27 PM
yes.

Most mods do not actually remove themselves from the DB...  because the way to upgrade to the new version involved uninstalling the old version and we don't want to lose all our data.
Title: Re: ezPortal 0.3.7 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 09, 2010, 12:46:04 AM
New release with SMF 2.0 RC3 support!

0.3.7
+Added SMF 2.0 RC3 support
!Fixed possible issue with invalid images for the Store ezBlock
+Added caching for ezPortal Columns if you caching enabled
!Removed the gzip option for tinymce caused issues on some hosts
Title: Re: ezPortal 0.3.7 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Maserati on March 09, 2010, 06:00:11 AM
How to make forum with articles witch I want to add, like SimplePortal. I try to download and install block, but it says that ih have some errors...

It says:

Missing ezBlock header block-info. Unable to process file

What to do?
I download file from:

http://www.smfhacks.com/downloads/179SMFArticles1.0.2.zip
Title: Re: ezPortal 0.3.7 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 09, 2010, 10:05:11 AM
Instead download SMF Articles from the mod site.
Title: Re: ezPortal 0.3.7 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dream of Omnimaga on March 09, 2010, 05:45:20 PM
Quote from: DJ Omnimaga on February 20, 2010, 11:17:05 PM
I found a bug with both recent topics and recent posts EzBlocks:

I have both setup on a forum page so one show 250 topics and the other 250 posts. However, they fail to show that many: The first shows a random amount of recent topics between 23 and 35-ish, while the other shows a random amount of recent posts between maybe 100 and 130, or something like that. Not sure if this is random, but you should look into that maybe, since some people with very active boards may want to have like 1000 recent replies to show in one single page, if they have very active boards and members who don't visit frequently.

Bug in action:

http://www.omnimaga.org/index.php?action=activity

Despite both being setup at 250, none shows 250 at all.

I also posted something regarding this on the EzPortal site, but in case it gets missed I wanted to post it in the mod topic here too.

NOTE:

SMF 1.1.11, tested on two boards, including the one I linked to above. On the other one, I tried with no other mods installed. Hosting provider is 1and1 (shared hosting).
Quote from: vbgamer45 on February 21, 2010, 10:33:57 AM
I will check it out to see what it is doing.

Any updates on this?

Btw in some occasions, I noticed it shows lower than 20. I even seen a case where it only showed the last 15 active topics. Tested on both a forum with NO mods and one with mods, both running SMF 1.1.11

I also upgraded to EzPortal latest version, still the same issue.
Title: Re: ezPortal 0.3.7 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 09, 2010, 05:46:12 PM
Haven't checked it out yet it is based on the SSI code of SMF though
Title: Re: ezPortal 0.3.7 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on March 09, 2010, 07:27:19 PM
if it is based on SSI,  then that is the problem.

SSI is not intended to pull that many posts and has a built in limit of something like 30 or 50.

In other words, the SSI function only searches that last 50 or so most recent messages and pulls the ones that fit the criteria (the user has permissions to see or the board specified)

Can you imagine the server hit if SSI polled the entire message base... or even 250 most recent messages?
Title: Re: ezPortal 0.3.7 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 09, 2010, 07:30:11 PM
Ah. I see hmm just looked it is limiting it by Max Message ID will get that fixed ASAP.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 10, 2010, 01:58:51 PM
New update!

0.3.8
!Fixed bug with Recent Topics/Recent Posts ezBlock which could cause some posts/topics not to appear
+Added caching for each ezBlock query under each column which will save one query per column enabled if you have caching enabled in SMF.
+Added html editor to adding/editing the html ezblock
+Added caching for the ThemeSelect ezBlock  if you have caching enabled in SMF.
+Added caching for the menu ezBlock if you have caching enabled in SMF.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DarkValentine on March 11, 2010, 02:16:30 AM
After updating to 0.3.8 of ezPortal, I get the following error that floods my error log.

2: Invalid argument supplied for foreach()
File: /home/generati/public_html/forum/Sources/EzPortal.php
Line: 1994


On that line is the following:

foreach($ezColumnsBlockColumnCache as $row2)


This was just shortly after upgrading ezPortal through package manager.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dream of Omnimaga on March 11, 2010, 02:40:46 AM
thanks vbgamer! The Recent TOpic/Posts now works! That was a quick update too
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Marsh on March 11, 2010, 04:18:45 AM
Quote from: DarkValentine on March 11, 2010, 02:16:30 AM
After updating to 0.3.8 of ezPortal, I get the following error that floods my error log.

2: Invalid argument supplied for foreach()
File: /home/generati/public_html/forum/Sources/EzPortal.php
Line: 1994


On that line is the following:

foreach($ezColumnsBlockColumnCache as $row2)


This was just shortly after upgrading ezPortal through package manager.

I was getting the same error
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 11, 2010, 11:15:17 AM
Quote from: Marsh on March 11, 2010, 04:18:45 AM
Quote from: DarkValentine on March 11, 2010, 02:16:30 AM
After updating to 0.3.8 of ezPortal, I get the following error that floods my error log.

2: Invalid argument supplied for foreach()
File: /home/generati/public_html/forum/Sources/EzPortal.php
Line: 1994


On that line is the following:

foreach($ezColumnsBlockColumnCache as $row2)


This was just shortly after upgrading ezPortal through package manager.

I was getting the same error
Updated a new version that should fix that.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 11, 2010, 11:16:34 AM
Should I update even though I never got that error?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 11, 2010, 12:09:05 PM
I wouldn't if you have no issues.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Marsh on March 11, 2010, 12:19:26 PM
Whenever i install this on the new version my site basically stops responding with insanely long queries. So not sure whats up with that. It seems to happen when i install the package.

Not sure what the problem may be. Simple portal seems to install but i prefer ez Portal.

Any ideas?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 11, 2010, 03:07:42 PM
When it installs or after it is installed?

What version were upgrading from?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Marsh on March 11, 2010, 03:15:02 PM
After it installs i was uprading from Rc2

I just finished a 100% clean install and it still stalls out my entire forum when used. Default setup only mod installed. Do you have msn or a chatroom we can meet in to debug? i would really appreciate it.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 11, 2010, 03:40:09 PM
Send me a pm I can check it out have some time.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Marsh on March 11, 2010, 04:20:09 PM
I got simple portal working. Thanks for the offer though. I really do love ez portal. perhaps some day i can use it again.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DarkValentine on March 11, 2010, 09:28:41 PM
Quote from: vbgamer45 on March 11, 2010, 11:15:17 AM
Quote from: Marsh on March 11, 2010, 04:18:45 AM
Quote from: DarkValentine on March 11, 2010, 02:16:30 AM
After updating to 0.3.8 of ezPortal, I get the following error that floods my error log.

2: Invalid argument supplied for foreach()
File: /home/generati/public_html/forum/Sources/EzPortal.php
Line: 1994


On that line is the following:

foreach($ezColumnsBlockColumnCache as $row2)


This was just shortly after upgrading ezPortal through package manager.

I was getting the same error
Updated a new version that should fix that.

Yep, that update fixed it. Thanks
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 11, 2010, 09:45:16 PM
Glad that works strange that it would give an error since that code is always sent.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DarkValentine on March 11, 2010, 09:51:01 PM
yeah, it was like, when I updated to 0.3.8, that error would appear. When I cleared the error log, that error would always come back. The update for 0.3.8a really fixed the job. Thanks again.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kasp on March 16, 2010, 03:10:50 AM
Hello

Having a small problem with the News Topic ez module in which you select a Boards to be posted and it shows on the main page. In the set-up it allows you to select multiple lines (multiple Boards) that you can show however when saved only the information from the board on the first line of the selection is shown and no subsequent info from other selected lines!

If you need any more info then let me know

I should also add i am running RC3 and 0.3.8a portal

Thanks
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 16, 2010, 09:54:15 AM
How many characters are you set to display using that ezBlock?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 01:36:17 PM
I updated to RC3 a hour ago, and I am trying to install 0.3.8 and it gives me a 500 EVERY TIME, EVERYTIME!!!
Damn it!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 01:41:42 PM
After install or before install?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Twi12561 on March 18, 2010, 02:30:33 PM
Wow! ezPortal is a wonderful mod, excellent work, kudoes to the developer! :)

I've installed it on a 1.1.11 site mostly to create web pages (and that editor is fab, btw) for our site and wondered if there is a way to allow non-administrative membergroups the permission to edit pages created by ezPortal? 

Obviously I don't want to grant them all Admin access to the forum itself, which is the only way I've seen to do it thus far? Any ideas?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 02:33:18 PM
Yes there is Under Admin -> Permissions modify each group  and then give the membergroup "Manage ezBlocks"
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 02:50:31 PM
DURING install
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Twi12561 on March 18, 2010, 02:56:36 PM
Quote from: vbgamer45 on March 18, 2010, 02:33:18 PM
Yes there is Under Admin -> Permissions modify each group  and then give the membergroup "Manage ezBlocks"

Yeah, I tried that. An error message occurs: "You are not allowed to administrate this forum."

My apologies, I obviously wasn't clearly describing my question. Let me try again.

I have ezPortal set up to provide webpages for our forum (which is for text-based role playing games, http://newlegends.net if you're interested. Guests can't do much but look around, though). I have the pages listed in the Links section (SMF Links of course!). Members can read the pages, but they cannot edit them. It would be extremely helpful if they could edit them, for the way we're using them.

However, every way I configure the permission for the membergroup results in either A) the error message I included above or B) WAY too much administrative access to the rest of the forum. :) 

Have I missed something?

Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 03:28:50 PM
Quote from: Twi12561 on March 18, 2010, 02:56:36 PM
Quote from: vbgamer45 on March 18, 2010, 02:33:18 PM
Yes there is Under Admin -> Permissions modify each group  and then give the membergroup "Manage ezBlocks"
Thanks it was a bug and has been fixed!

Please uninstall the current ezPortal version then reinstall from the mod site.
Yeah, I tried that. An error message occurs: "You are not allowed to administrate this forum."

My apologies, I obviously wasn't clearly describing my question. Let me try again.

I have ezPortal set up to provide webpages for our forum (which is for text-based role playing games, http://newlegends.net if you're interested. Guests can't do much but look around, though). I have the pages listed in the Links section (SMF Links of course!). Members can read the pages, but they cannot edit them. It would be extremely helpful if they could edit them, for the way we're using them.

However, every way I configure the permission for the membergroup results in either A) the error message I included above or B) WAY too much administrative access to the rest of the forum. :) 

Have I missed something?


Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 03:29:14 PM
Quote from: Kcmartz on March 18, 2010, 02:50:31 PM
DURING install
Made the zip file a little smaller see if that helps
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 03:33:55 PM
Ok checking...
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 03:38:05 PM
YES! It went past 500 and is working so far!!

Keep getting session timed out... grrrr....
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 03:40:14 PM
w00t that is good news!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 03:43:28 PM
Edited post above, keep getting session timing out!!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Twi12561 on March 18, 2010, 03:44:56 PM
Quote from: vbgamer45 on March 18, 2010, 03:28:50 PM

Thanks it was a bug and has been fixed!

Please uninstall the current ezPortal version then reinstall from the mod site.

Woo-hoo!  It works!

Thank you SO MUCH!!   :-*
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 03:46:55 PM
Glad it works! Thanks for the report.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 03:50:53 PM
Nope, not fixed, still 500 server errors and session timing out!!!

DAMN IT
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 03:57:45 PM
Hey I pressed refresh a few times and clicked in address bar and refresh a couple times in anger, it works now!!



When I did those refreshes, it installed it multiple times maybe??

Also a double copyright! (is it ok to remove ONE?)



Dup entry editing a membergroup:

Duplicate entry '1-ezportal_page' for key 1
File: /home/content/k/c/m/kcm93/html/Sources/ManagePermissions.php
Line: 1338
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 04:19:39 PM
Yeah it looks like it got installed twice :(
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 04:21:22 PM
Ouch! (should I send you files it edits? I'm busy redoing my site after update)
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 18, 2010, 04:25:40 PM
I would try uninstalling it maybe once would fix it.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 04:27:25 PM
wouldn't uninstalling it, well, UNINSTALL it? then i'd have to reinstall!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 18, 2010, 05:02:54 PM
I hope it's fixed now!
nope! sh!t

Everything messed up again! No portal for me!!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rngrdanny22 on March 19, 2010, 12:03:33 AM
Good evening,

I have manually installed this mod on the "Shiny_Unique" theme and am getting the following error:

Unknown column 'visibilepages' in 'field list'
File: /home/content/r/n/g/rngrdanny22/html/Sources/EzPortal.php
Line: 1859

Is there any way to fix this?

Thank you!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 19, 2010, 12:27:17 AM
Just added it to the site or did you have an older version installed?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rngrdanny22 on March 19, 2010, 12:37:12 AM
I was just adding it to my site. I think I got it fixed... I used myphpadmin and added new rows for "visibilepages" in a couple sections...

Site is back up, but the only issue I still notice is that a new button for "Forum" did not appear on the menu bar. "Home" is still there, but if I set up a homepage, there will be no way to get to the forum except for a link that I would add... I'm sorry, it's getting late, I hope that made sense... LOL

Also, is there a way to disable the "global headers and footers" mod on the homepage?

Thanks!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 19, 2010, 12:54:24 AM
Ah that may explain if manually installed and if the database tables were created in the past it never upgraded them to the new version.

I would run the ezportalinstall.php in the root of your forum to make sure every installs fine.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rngrdanny22 on March 20, 2010, 12:39:08 PM
Sorry, me again...

Will you take a look at my shoutbox? It's all the way at the bottom of my site...

www.fordranger.net


Is there any way to make it left aligned instead of centered?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 20, 2010, 01:02:11 PM
I don't see it on the site. But there is no option to change aligment.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dharshan on March 21, 2010, 09:51:39 AM
Woot!
Nice...what i was looking for. will be trying this on my forum right now...

I have No knowledge on how this works.but I'm sure to dig deep in..

Cheers!

:D :D

ok, i have added some blocks (shoutbox and a poll) i want them to show only in the index, when the users go to threads i want them to hide..

how can i do this?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on March 21, 2010, 12:57:24 PM
Just change the visible settings to uncheck the "all boards and actions" and select 'portal homepage' for everywhere but boards/threads!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rngrdanny22 on March 21, 2010, 04:30:15 PM
Quote from: vbgamer45 on March 20, 2010, 01:02:11 PM
I don't see it on the site. But there is no option to change aligment.

oh crap, that's right, I have it hidden for guests... thanks anyways!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dharshan on March 22, 2010, 03:40:05 AM
hi Vb gamer,

I am surprised by the mod...it rockz... i have also added SMF gallery and I want to add all the SMF gallery catogories to show on a left or right block.....how can i do this?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 22, 2010, 11:39:53 AM
Currently no option to display categories from the gallery.
But you can choose recent pictures,random pictures,top rated picture blocks from SMF Gallery
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dharshan on March 22, 2010, 11:45:36 AM
can it be done with some PHP coding or something? i don't know much, but is there a way to pull the categories (like the vertical menu module) and display it within a PHP block?

sorry for the trouble
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 22, 2010, 12:15:42 PM
Yeah it could be done with php to get a category list you would need to call the gallery_cat table and get the title/ID_CAT
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: gkeraoru on March 22, 2010, 11:59:33 PM
The html ezblock and php ezblock gives me a sytax error?  What am doing wrong?  It does not seem to be accepting the PHP or HTML code I put in the block.  What could I be doing wrong?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 23, 2010, 12:30:01 AM
What does it say exactly? Html block shouldn't have a syntax error. Php code checks for syntax
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dharshan on March 23, 2010, 12:43:53 AM
Quote from: vbgamer45 on March 22, 2010, 12:15:42 PM
Yeah it could be done with php to get a category list you would need to call the gallery_cat table and get the title/ID_CAT

can u please assist me with this,  if it's not a trouble for you...
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 23, 2010, 01:17:02 AM
What are you exactly trying to do with a html or php block?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dharshan on March 23, 2010, 01:31:09 AM
i want to, try &  create an ezportal module which displays and links to existing gallery categories...so that it automatically updates when new categories are added..

(i can ofcourse create a HTML module and do the same but i will have to update it if a new cat is added or one is deleted)

thanks
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 23, 2010, 01:35:33 AM
Html would be the best for performance otherwise it would be doing a query on each page load.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Dharshan on March 23, 2010, 01:39:45 AM
oki, thanks for the heads up :)

Cheers!
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: slowdive on March 26, 2010, 05:17:00 PM
Quick question, this is my first mod install.  I logged into my FTP from my forum and when I test the connection i get:   "FTP connection established" 

Will it automatically chmod if I proceed?  Or do I have to do it?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 26, 2010, 05:55:49 PM
If it asks for FTP and accepts it it should automatically do it.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: slowdive on March 28, 2010, 07:40:43 PM
I guess it can not automatically do it even though I am logged in and the connection is established.

I was able to chmod the following files to "666" with my webhost

The following files need to made writable to continue installation:
/forums/Themes/default/languages/Modifications.english.php
/forums/Themes/default/languages/Who.english.php
/forums/index.php
/forums/Sources/Admin.php
/forums/Sources/Subs.php
/forums/Sources/ManagePermissions.php
/forums/Sources/Load.php
/forums/Sources/Admin.php


But I can not find / chmod these files.

I still get the error:

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable"


These are the file I can not locate (probably since ezportal is not on my file manager.

/forums/Sources
/forums/Sources/EzPortal2.php
/forums/Sources
/forums/Sources/Subs-EzPortal-Convert2.php
/forums/Sources/Subs-EzPortal-Convert2.php
/forums/Sources
/forums/Sources/Subs-EzPortalMain2.php
/forums/Themes/default
/forums/Themes/default/EzPortal2.template.php
/forums/Themes/default/languages
/forums/Themes/default/languages/EzPortal.english.php
/forums/Themes/default/languages
/forums/Themes/default/languages/EzPortal.english-utf8.php
/forums/Sources
/forums/Sources/Subs-EzPortalRSS2.php
/forums

I can give you a screen print if that helps.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 28, 2010, 08:03:32 PM
It is also the folders as well. Since the package manager creates ~ files for each file it edits.

There should be under admin -> package manager -> options a  way to reset all file permisions
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: slowdive on March 28, 2010, 09:14:13 PM
I tried to set 666 from smf and now if get a 404 error and I can not get to my forum...It redirects to my webhost.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 28, 2010, 09:21:26 PM
Try 755
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: slowdive on March 28, 2010, 09:28:54 PM
This is what I get: (when I try 755)

Warning: ftp_site() [function.ftp-site]: Could not change perms on /public_html/forums/Packages/ezportal0.3.8b.zip: Operation not permitted in /home/files/public_html/includes/filesystem.inc.php on line 723
An error has occured

Unable to execute site command chmod 0755 /public_html/forums/Packages/ezportal0.3.8b.zip. Note that the CHMOD command is only available on Unix FTP servers, not on Windows FTP servers.

Go back or Go to the login page

View technical details
Hide technical details

The error occured in file /home/files/public_html/includes/filesystem.inc.php on line 729.

    * function ftp_chmod2 (/home/files/public_html/includes/filesystem.inc.php on line 645)
          o argument 0: Resource id #22
          o argument 1: /public_html/forums/Packages
          o argument 2: Array
          o argument 3: 2
    * function ftp_chmod2 (/home/files/public_html/includes/filesystem.inc.php on line 645)
          o argument 0: Resource id #22
          o argument 1: /public_html/forums
          o argument 2: Array
          o argument 3: 1
    * function ftp_chmod2 (/home/files/public_html/modules/chmod/chmod.inc.php on line 260)
          o argument 0: Resource id #22
          o argument 1: /public_html
          o argument 2: Array
          o argument 3: 0
    * function net2ftp_module_printBody (/home/files/public_html/main.inc.php on line 317)
    * function net2ftp (/home/files/public_html/index.php on line 108)
          o argument 0: printBody

Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 28, 2010, 09:46:25 PM
I don't know much about permissions issues on shared hosting but I think the general SMF support forums will be the best place to ask.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 29, 2010, 12:30:15 AM
It works great, i am using it with smf2.0 rc3

Is it I possible to show some blocks on index.php page but not on boards?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 29, 2010, 12:56:49 AM
Yes it is. Just toggle the visible settings when you edit the block/add the block you have options to decide where you want to show the ezBlock
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 29, 2010, 01:44:28 AM
All Actions and Boards
Forum
Board Index
Portal Homepage


i select "board index" and show some blocks on board tempalte

but if i select forum then it shows all the time and i would like to have blocks showing only at first forums page, when member goes to boards i want him to not see that block any more bu to see different one.

Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 29, 2010, 10:04:38 AM
Forum will show all pages inside the forum like topics/posts
Board index is just the forum's main page.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 30, 2010, 11:37:13 PM
Quote from: vbgamer45 on March 29, 2010, 10:04:38 AM
Forum will show all pages inside the forum like topics/posts
Board index is just the forum's main page.

when i view   mysite.com i want to see blocks A and not blocks B
When i view mysite.com/index.php/board,1.0.html i want to see blocks B and not blocks A
when i view posts i do not want to see any blocks (or perhaps A or B but not A and B)

Is it possible to set it that way?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 31, 2010, 12:07:45 AM
Yes it is possible to set it up that way.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 31, 2010, 12:56:36 AM
ok ,
so what do to show module only at first forums page
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 31, 2010, 01:03:03 AM
Use the visible settings to set that up. You can choose board index, portal page, forums where ever you want it to appear.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 31, 2010, 02:40:14 AM
Obviously it doesn't work that way.

I have setting
Disabled portal home page.
If I want module to be displayed at mypage.com I need to select  All Actions and Boards.

Then module is published on every page.

If I select "Forum" then it is not showing on mypage.com but it shows on other pages.

Only if I select boards then I can publish module at particular board.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 31, 2010, 10:31:34 AM
Choose Board Index instead of forum as the option
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 31, 2010, 04:27:33 PM
Quote from: vbgamer45 on March 31, 2010, 10:31:34 AM
Choose Board Index instead of forum as the option

Yes, then I get module published when viewing particular board. That is ok.

My original question was how to get another module published only at Forums first home page.

When Portal home page is not enabled if I select Forum I do not get module published on Forums first home page.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 31, 2010, 04:33:16 PM
Forum is used to display on all boards/topics.
Board Index is used to dispaly just on the forum homepage/board index
Portal is used if you have portal homepage enabled under settings.
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 31, 2010, 05:18:13 PM
"when i view   mysite.com i want to see blocks A and not blocks B
When i view mysite.com/index.php/board,1.0.html i want to see blocks B and not blocks A
when i view posts i do not want to see any blocks (or perhaps A or B but not A and B)

Is it possible to set it that way?"

"Yes it is possible to set it up that way."

How it is possible?
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 31, 2010, 05:46:33 PM
Block A just have it set to the board index
Block B - just have it set to be visible on your board 1
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on March 31, 2010, 06:17:52 PM
"Block A just have it set to the board index"


When Portal home page is not enabled if I select "board index" I do not get block displayed at forums home page. :-\
Title: Re: ezPortal 0.3.8 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 31, 2010, 07:06:42 PM
On what SMF version?
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on March 31, 2010, 07:19:18 PM
Fixed that bug and a new release/update

0.3.9
+Updated curve style of ezBlocks for SMF 2.0
+Added caching support to the shoutbox
+Added setting to disable TinyMCE for html ezblocks
!Fixed bug with board index visibility setting
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: zijO on April 01, 2010, 12:09:16 AM

Quote from: vbgamer45 on March 31, 2010, 07:06:42 PM
On what SMF version?

I wrote it earlier, SMF2.0 RC3
Do not worry, I removed it.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 01, 2010, 12:14:12 AM
Try the latest version I just posted should fix that issue you had.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Gryzor on April 02, 2010, 01:45:19 AM
Hello!

I tried to find an install guide before asking, but nothing came up... so please bear with me!

I installed ezPortal (www.cpcwiki.eu/forum , 2.0RC3), everything went seemingly fine, but... then what? Nothing seems to have changed! How to get going?

Thanks!
G
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 09:15:40 AM
There should be area in admin for ezPortal where you can set it up.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rd on April 02, 2010, 09:18:43 AM
vbgamer I think you need a custom theme for ezportal. This portal is very stable and a custom theme on the main site will sell it to more webmasters.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 09:19:56 AM
Yeah I may when SMF 2.0 goes final.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rd on April 02, 2010, 09:25:41 AM
That's good to here, also you should think about giving ezportal more impressions here at SMF, kinda like what DP is doing.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 09:28:21 AM
I would love to do that but I don't have a team so it is harder when I have to do everything myself. Plus I can't do graphics.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rd on April 02, 2010, 09:33:06 AM
Get a team :) need any help? I'm not gonna lie to you, I always wanted to help out with a large SMF modification. I think I'm pretty good at advertising and getting people to advertise.

I could come up with some blocks too.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 09:37:27 AM
Of course I would love it :). It is so hard cause I have a lot of mods/sites etc and most the other portals they just focus on one or two mods.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rd on April 02, 2010, 09:40:01 AM
Oh okay, I'll sign up at your forum sometime later (on phone now). Think I can take care of the marketing?

I'm guesing ezPortal doesn't have any banners? I think I can make one with catchy colors but don't expect any pictures >.< I'm not good with those. 
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 10:06:42 AM
k that would be awesome!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rd on April 02, 2010, 10:43:16 AM
I think I messed up on the colors but this is what I have:



I'm no graphic designer.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 10:43:59 AM
Not bad pretty cool!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rd on April 02, 2010, 10:46:01 AM
Quote from: vbgamer45 on April 02, 2010, 10:43:59 AM
Not bad pretty cool!

It looks fuzzy, you want to give me the colors?

If you do, please give me the HTML code, I am horrible with color "picking". 
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Gryzor on April 02, 2010, 11:31:01 AM
Quote from: vbgamer45 on April 02, 2010, 09:15:40 AM
There should be area in admin for ezPortal where you can set it up.

Can you elaborate? I can find nothing...
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 11:50:55 AM
It should right in the admin area. There should be a menu option. If it is not check that the package installed in the package manager.
Also check by going to http://www.yourforum.com/index.php?action=ezportal
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Gryzor on April 02, 2010, 11:58:39 AM
"Admin area" is pretty big :D I can se enothing...

Of course I did check it in the package manager, it appears to have been installed alright. And the installation procedure reported success.

I tried your URL tip, and all I get is... the forum itself!

This is weird... Thanks for trying to help however!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 12:08:36 PM
With the redirect back to the forum it appears the package did not install. I would reset the file permisions under Package Manager -> Options.

Then try to install it again.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Gryzor on April 02, 2010, 12:17:07 PM
Actually, it doesn't redirect. The URL stays "action=ezportal", but the page content is that of the forum...

But which permissions shoulkd I "reset"? There's no reset option...
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 01:59:49 PM
Ah they moved in SMF 2.0. Under Package Manager -> File permissions

There are options to use prefined permission profile
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Snogmarr on April 02, 2010, 02:14:57 PM
I am bored so I did You this
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 02:21:44 PM
empty :)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Snogmarr on April 02, 2010, 02:46:51 PM
Hmmm
My banner makers screwed up!

Later!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: madfitz on April 02, 2010, 03:51:06 PM
Does ezPortal require any manual file edits to work with custom themes (SMF 2.0 RC3) or will it work out of the box?
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 03:53:08 PM
It works will all themes out of the box for SMF 2.0 RC3
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: madfitz on April 02, 2010, 03:55:40 PM
Quote from: vbgamer45 on April 02, 2010, 03:53:08 PM
It works will all themes out of the box for SMF 2.0 RC3

Thanks, I'll give it a whirl :)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 02, 2010, 04:03:37 PM
Let me know how it goes or if you have suggestions/ideas
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Siirist on April 04, 2010, 01:33:57 AM
Quote from: vbgamer45 on April 02, 2010, 04:03:37 PM
Let me know how it goes or if you have suggestions/ideas

Well, it went just fine using the package manager to upload it after we had downloaded to our hard drive. :)
All tests passed.  :D

Suggestions?  Um, an operator's manual.  ;)   ;D

I just have to figure it out.  :P

Take Care,
Cloud 8)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 04, 2010, 09:57:58 AM
Yeah I have a guide planned. Mostly you would use the ezBlock manager to add ezBlocks to your forum.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: madfitz on April 04, 2010, 06:53:12 PM
Quote from: vbgamer45 on April 02, 2010, 04:03:37 PM
Let me know how it goes or if you have suggestions/ideas

Install went well - no problems at all. Configuration is pretty simple and self-explanatory.

Good job! Thanks for this :)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 04, 2010, 11:10:05 PM
Glad you enjoyed it!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: hawd on April 14, 2010, 07:09:25 AM
hellow, im using 2.0 RC3 and i've just uninstalled ez portal, not because this mod is bad. but because i decided to not use portal on my forum. =)
so i uninstalled it and there's no error when i run it. But, when i go to cPanel, i've found "ezportal" folder in home directory. i tried to delete it but it cant. the folder wont removed and still there, complete with it,s content.

then i use cPanel's disc space usage to delete that folder, then appear text said cannot remove because permissions is denied.
i really confused, what perms? because chmod is already 777.

please help me, because this folder is annoying and with 4,78 megs, removed it will be better
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Siirist on April 14, 2010, 08:08:08 AM
hawd,

I have uninstalled, I have some other problems with other stuff.

I also have a ezportal folder. 

Usually, if a folder can not be deleted, it is because one or more file from that folder is being used.

Are you sure that the uninstall is complete?  You can double check by using the parser.


THIS IS JUST A EXAMPLE ------->

Sources/an_example.php

Find:
*this is a sentence

Replace with:
*this is a incomplete sentence

Find:
> the color blue

Add:
and red

<---------END OF EXAMPLE


The way I check, is to go backwards.

I open Sources/an_example.php

then I look for:
"and red"
if it is there, I remove only "and red"


then I look for:
"*this is a incomplete sentence"
if I find it, I replace it with:
"*this is a sentence"


I call this a manual un-install.

If the un-install went okay, and you go backwards, you will not find the things in the files.

Be careful and of course, ALWAYS BACK-UP BEFORE you change anything.


Cloud 8)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on April 14, 2010, 08:23:15 AM
actually, the mod does not remove the folder during the uninstall...    as for manually removing it, you would have to use your cpanel file manager probably... because of the way your host has php permissions/ownership set.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Siirist on April 14, 2010, 08:33:23 AM
Quote from: Kindred on April 14, 2010, 08:23:15 AM
actually, the mod does not remove the folder during the uninstall...    as for manually removing it, you would have to use your cpanel file manager probably... because of the way your host has php permissions/ownership set.

Kindred,

Thanks for posting. ;D  Was just try to figure why they couldn't delete the folder. ???

Be Well,
Cloud 8)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: hawd on April 15, 2010, 11:47:29 PM
Quote from: Cloud Walker on April 14, 2010, 08:08:08 AM
hawd,

I have uninstalled, I have some other problems with other stuff.

I also have a ezportal folder. 

Usually, if a folder can not be deleted, it is because one or more file from that folder is being used.

Are you sure that the uninstall is complete?  You can double check by using the parser.


THIS IS JUST A EXAMPLE ------->

Sources/an_example.php

Find:
*this is a sentence

Replace with:
*this is a incomplete sentence

Find:
> the color blue

Add:
and red

<---------END OF EXAMPLE


The way I check, is to go backwards.

I open Sources/an_example.php

then I look for:
"and red"
if it is there, I remove only "and red"


then I look for:
"*this is a incomplete sentence"
if I find it, I replace it with:
"*this is a sentence"


I call this a manual un-install.

If the un-install went okay, and you go backwards, you will not find the things in the files.

Be careful and of course, ALWAYS BACK-UP BEFORE you change anything.


Cloud 8)



Cloud,

thanks for your reply. but i dont understand. sorry. :-[
can you tell me exactly what file i must change? and im sure the uninstall is complete. Or, if install ez portal again and i uninstall it, will i safely remove the folder now?

sorry if my question was stupid, really confused here.... :'(
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: aceforum on April 16, 2010, 02:54:16 AM
Hello!

I got to know of ezportal just yesterday (from one of the SMF forums I visited yesterday that is ezportal modified). When I tried to follow the ezportal link, the following page says I am a banned user!  :o
Any reasons for this to happen? have you banned any series of IP addresses? I am with Airtel's Broadband service, and it is one of the biggest broadband providers.
Kindly help.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Siirist on April 16, 2010, 03:27:01 AM
Hawd,

I installed ezPortal on a new forum that has 4 other mods on it.

ezPortal installed with NO problems

I set up a front page and some blocks

I then un-install ezPortal with the package manager by going to Browse Packages [Uninstall]

Then I deleted ezPortal with the package manager by going to Browse Packages and selecting [Delete]

Then I logged in to my host, and used cPanel to locate a ezPortal folder using File Manger- > www -> forum

Then I clicked on the name ezPortal and selected Delete.

"Are you sure you want to delete this folder and all files underneath it?"

I clicked "Yes" and the folder is gone.

Be Well,
Cloud 8)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 16, 2010, 04:53:10 PM
Quote from: aceforum on April 16, 2010, 02:54:16 AM
Hello!

I got to know of ezportal just yesterday (from one of the SMF forums I visited yesterday that is ezportal modified). When I tried to follow the ezportal link, the following page says I am a banned user!  :o
Any reasons for this to happen? have you banned any series of IP addresses? I am with Airtel's Broadband service, and it is one of the biggest broadband providers.
Kindly help.
[/quote
If that is India then yes banned due to spammers
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: aceforum on April 17, 2010, 03:05:29 AM
Hello VBGamer45

I understand the pain with spammers....but does it make you believe that everyone from India is a spammer? I hope not.  May I ask you if there is any way to overcome this issue or to prove to you that I am not a spammer?

Please help!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 17, 2010, 10:28:38 AM
Yeah i generally ban russia, india, and turkey due to spam.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: hawd on April 20, 2010, 10:26:59 AM
Quote from: Cloud Walker on April 16, 2010, 03:27:01 AM
Hawd,

I installed ezPortal on a new forum that has 4 other mods on it.

ezPortal installed with NO problems

I set up a front page and some blocks

I then un-install ezPortal with the package manager by going to Browse Packages [Uninstall]

Then I deleted ezPortal with the package manager by going to Browse Packages and selecting [Delete]

Then I logged in to my host, and used cPanel to locate a ezPortal folder using File Manger- > www -> forum

Then I clicked on the name ezPortal and selected Delete.

"Are you sure you want to delete this folder and all files underneath it?"

I clicked "Yes" and the folder is gone.

Be Well,
Cloud 8)


i did all you said before i post my question in here. the folder in my host file manager still cannot be deleted......
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 20, 2010, 10:28:29 AM
Reset the permissions it and then delete it.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kenamura on April 23, 2010, 12:10:59 PM
Howdy people lol, but see i have an issue with the ezPortal mod, see i love the mod so no worries there just every time i try to put a marquee code within a new page in the ezPage section, note: i have a news box i wrote a while back and was inserting it into the page via the html option button with in the word editor, i was wondering if there was either a problem with my core coding of the ezPortal codes or if it just doesnt support marquee codes yet.

Thanks for the help, ezPortal is an awesome mod, no problems so far with exception of the html problems in the ezPage new page editor. :] keep the great work up guys
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: hawd on April 27, 2010, 11:57:40 PM
Quote from: vbgamer45 on April 20, 2010, 10:28:29 AM
Reset the permissions it and then delete it.

thanks for your reply, vbgamer... but,
I even cannot reset the permission! when i changed it, the text like this appear:
QuoteFileOp Failure on:home/ ... /... / ezportal:
Operation not permitted
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 28, 2010, 12:18:58 AM
If you need to delete I would try contacting your host if you can't change permissions to delete it.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: bullbreedluverz on April 28, 2010, 07:03:19 AM
i noticed this when i updated ezportal to latest version the collapse/expand images on blocks are a bit misaligned - thought it was my custom themes fault but i just happened to click on Curve theme and its the same on that theme too, its nothing major but does look a bit odd having the image pushed up to top instead of center vertically aligned and doesnt keep consistancy from portal to forum



you can have a flick through on my theme demo site to see it properly on different themes DEMO (http://www.eotsdzine.com/DEMO/index.php)
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on April 28, 2010, 01:07:17 PM
Hmm maybe a valign="center" would do the trick and look better.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Maserati on May 10, 2010, 12:49:12 PM
Where to find article block and how to install it?
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on May 10, 2010, 12:53:32 PM
Part of the SMF Articles mod download it from the modsite.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Maserati on May 10, 2010, 01:21:52 PM
No i just need articles for portal like simple portal...
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on May 10, 2010, 01:23:20 PM
Yeah you would grab that mod which is like simple portals one. That just use the ezblocks for it.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Maserati on May 10, 2010, 01:38:11 PM
How to do it?
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on May 10, 2010, 01:39:02 PM
Download from mod site.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Oz_X on May 24, 2010, 06:08:31 PM
Hiya - new user so sorry if this has been previously discussed.

Im trying to use these 'buttons' with a JS rollover code

http://www.semperx.com/images/links/linksnavi_off.htm

As you can see it all works properly

I've pasted the code into an "Ez Blocks" HTML module so it will be in the center column, but its all wiggy:

http://www.semperx.com/forum/index.php

As you can see its certainly wiggin out. I think its some kind of coding problem when it get pasting in but I am at a loss to figure it out.

Any help or workaround would be GREATLY appreciated!    Thanks
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: KensonPlays on June 06, 2010, 01:06:09 AM
i reinstalled my website (accidentally deleted all files not in folders in root) and re-installed. im on my phone with Opera Mini 5 Beta and i would like to know the action=admin;area=HERE for ezportal main admin and block admin. thanks vB for this awesome mod!!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 06, 2010, 09:06:47 AM
Here are the action urls
action=admin;area=ezportal;sa=settings
action=admin;area=ezportal;sa=blocks
action=admin;area=ezportal;sa=pagemanager
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Father Time on June 08, 2010, 10:11:53 PM
Good evening everyone,

Well I am having a problem that I just can't seem to resolve. I'm not that experienced with PHP so I figured rather then spending another 8 hours looking for the answer I would request the assistance of the experienced members of SMF forums.

Basic setup
SMF 2.0 RC3
ezportal0.3.9b

What Im trying to accomplish
I am trying to display the body of a single post inside a EZblock. I've managed to get this working when using a normal test.php document


<?php require("/home/content/v/e/r/vermillion2083/html/aim/SSI.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<?php $post ssi_fetchPosts(14NULLNULL);
echo 
$post[0]['body'], '<br />'?>

<body>
</body>
</html>


but when I copy the same code that works into a php ezblock I get the following error (which displays inside the EzBlock):

"ezBlock unable to run PHP syntax error!"

I have no idea what to do as I've tried a multitude of variations to rectify this problem with no success. I am trying to keep this post simple for the readers benifit, but if I have left out any vital information please let me know and I will post it as soon as possible.

Thank you to everyone who takes the time to assist with this issue!
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on June 08, 2010, 10:26:55 PM
why do you have a full HTML page defined in there?


require('/home/content/v/e/r/vermillion2083/html/aim/SSI.php');
$post = ssi_fetchPosts(14, NULL, NULL);
echo $post[0]['body'], '<br />';
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Father Time on June 10, 2010, 12:06:14 AM
Quote from: Kindred on June 08, 2010, 10:26:55 PM
why do you have a full HTML page defined in there?

The only reason I had the entire webpage definition was because as I said I got the code working in a dreamweaver designed web page to prove it could be done, then tried to directly copy the code over, but it failed to work. I originally had it set up with only the three valued as you have above (or atleast I thought) but I must have had something slightly off that resulted in me attempting to code in a web designer to prove the concept possible.

Quote from: Kindred on June 08, 2010, 10:26:55 PM

require('/home/content/v/e/r/vermillion2083/html/aim/SSI.php');
$post = ssi_fetchPosts(14, NULL, NULL);
echo $post[0]['body'], '<br />';


This worked perfectly, thank you! I wish I could identify what the difference between my original attempt and this one is (not what I posted by my original attempts). Thank you again, have a great evening!
[/quote]
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 10, 2010, 12:26:18 AM
I would not include the <?php tags

And make sure that all html is also echoed.
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: FireDitto on June 13, 2010, 10:58:35 PM
Installed on a fresh RC3

But it's not saving any of my Visibility Options or User Access options.

Ideas why this could be?



EDIT: None of the blocks are working at all, no matter what portion of the site I try to have them appear on, or where [side, top, bottom, center etc]
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Lightraven on June 26, 2010, 10:00:43 AM
When trying to install on a fresh 2.0RC3 (MySQL 5.5) I get the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM CHARACTER SET utf8' at line 5
File: D:\WEBFILES\forum\Packages\temp\EzPortalInstall2.php
Line: 35

This also seems to be related the errors I get when trying to install SMF 1.11, and Aeva 1.3. Since 1.11 gives the db errors on install as well, I have a sneaky suspicion that it's related to MySQL 5.5 and how the db files are being installed (note that the 2.0 installer seems to work fine when installing).
Title: Re: ezPortal 0.3.9 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 26, 2010, 10:16:09 AM
 Bah i see what they did

he following constructs are deprecated and will be removed in a future
MySQL release. Where alternatives are shown, applications should be
updated to use them.

* The table_type system variable (use storage_engine).

The TYPE table option to specify the storage engine for
CREATE TABLE or ALTER TABLE (use ENGINE).

I have to change it to engine
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 26, 2010, 02:03:44 PM
New release/update

0.4.0
!Fixed bug with visible settings all visible option not staying checked
!Fixed issue with MySQL 5.5 since it no longer supports the Type for create tables uses Engine instead
!Fixed a couple of bugs with the RSS feed ezBlock should work better
+Added category level permissions check for SMF Classifieds ezBlocks
!Fixed extra </div> that was added in the stats ezBlock that causes a huge gap
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Lightraven on June 26, 2010, 02:10:50 PM
Quote from: vbgamer45 on June 26, 2010, 02:03:44 PM
New release/update

0.4.0
!Fixed bug with visible settings all visible option not staying checked
!Fixed issue with MySQL 5.5 since it no longer supports the Type for create tables uses Engine instead
!Fixed a couple of bugs with the RSS feed ezBlock should work better
+Added category level permissions check for SMF Classifieds ezBlocks
!Fixed extra </div> that was added in the stats ezBlock that causes a huge gap

Thank you very much :)
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 26, 2010, 02:15:43 PM
Fixed SMF 1.1.x too for next update of that too so everything should be set now :)
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 27, 2010, 11:21:05 PM
Thanks again for a great mod.  I finally got this up and running. 

One problem.  I can not get it to ENABLE.  I click the check box to enable EZPortal and it won't save.  What am I missing here?  TIA.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 27, 2010, 11:34:54 PM
What page are you on? Under settings?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 27, 2010, 11:36:37 PM
Quote from: vbgamer45 on June 27, 2010, 11:34:54 PM
What page are you on? Under settings?

Admin > EZPortal Settings

When i update any settings it does not take and the next screen just takes me back to the main forum out of the admin section
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 27, 2010, 11:45:20 PM
Also when in Admin > Page Manager and adding a page.  I click add a page and it kicks me out of the admin section and takes me to the main page of the forum. 
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 28, 2010, 12:55:27 PM
??? Any idea of what I may have done wrong?  TIA>
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 28, 2010, 11:30:36 PM
Ok so I guess Ill remove this and try it on a later date then. 

Can anyone suggest a different portal they like?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 29, 2010, 02:40:36 PM
It shoulds like the portal did not install like it missed editing the Subs.php or index.php root file
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 29, 2010, 02:42:20 PM
I will double check the editing again.  I manually edited the files.  Thanks for the input.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: MATTEK on June 29, 2010, 03:00:00 PM
Does anybody wanna send me a link to a forum with this portal? I wanna see it's capabilities.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on June 29, 2010, 03:01:40 PM
http://www.40konline.com/community
http://askawitchcommunity.org
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: MATTEK on June 29, 2010, 03:03:27 PM
Figures... both are blocked by my job's I.T. proxy.  :-\

Thank you, though.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 29, 2010, 08:15:58 PM
Quote from: vbgamer45 on June 29, 2010, 02:40:36 PM
It shoulds like the portal did not install like it missed editing the Subs.php or index.php root file

Hi once again thanks for a good mod but still no go.  I checked all the modifcation coding to the files and checked that all the files are uploaded to the appropiate directories.  I also checked the DB and the tables are there.

When I go to Page Manager and click ADD Page it takes me to the forum
When I go to Edit Settings and enable the ezportal or try to make any changes to the settings on the check boxes it takes me to the Forum.
Same with the Ez blocks.

Is there permission settings that I am missing. Also what permission settings should the ezportal directory be, 775 or 777?  TIA>
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 29, 2010, 08:46:46 PM
Do you have any url rewriting mods enabled? If so I would disable rewriting of actions and see if it helps
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 29, 2010, 09:02:00 PM
Quote from: vbgamer45 on June 29, 2010, 08:46:46 PM
Do you have any url rewriting mods enabled? If so I would disable rewriting of actions and see if it helps

I have no clue what you just said. Did you want me to set u up with an adminnaccount so u can see on our website?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 29, 2010, 11:01:39 PM
I mean any SEO mods?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 29, 2010, 11:07:37 PM
Quote from: vbgamer45 on June 29, 2010, 11:01:39 PM
I mean any SEO mods?

Hi.  It's is RC3.  Your ad mod was installed first. Then your gallery mod and now your portal mod.  That is it.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on June 30, 2010, 12:00:17 AM
Hmm don't know what would cause that. Any reason why your editing the files manually?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 30, 2010, 12:07:52 AM
Quote from: vbgamer45 on June 30, 2010, 12:00:17 AM
Hmm don't know what would cause that. Any reason why your editing the files manually?

I'll be honest since 1.XX.  I never could trust the package manager and every time you upload a mod it changes files and you really don't know what is going on.  I like to manually do it and I keep a track of what is going on.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on June 30, 2010, 02:10:22 AM
FIXED!  We run on dedicated servers.  Well we bought another dedicated server and our hosting company said we could continue working on our site until the new dedicated server was ready and they would migrate it and let us know.

Well no one let us know.  So we have two copies of the website on two dedicated servers.  No one let us know the site was migrated.  So we were updating the old site updating coding using our old IP on the FTP and wondering all the while why it didn't take on the forum which was on the new IP.

LOL.  Thanks vbgamer.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on July 01, 2010, 12:34:35 PM
Quick question.  I could not find the answer for it here.

I understand the blocks and how to use them

But I created a Page with the Page Manager.  Basically a page titled 'test' with the word 'test' in the body.  I don't see that page anywhere.  How do I utilize that.

Basically I want a basic page like the ezportal page website.    boxes on the left and right and a page in the center.  TIA again for a GREAT mod.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on July 01, 2010, 12:45:08 PM
Basically you would take the link to the page from the Page manager and just use it where ever you want like link to it in a post add a menu item for item for it etc
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on July 01, 2010, 08:18:10 PM
Quote from: vbgamer45 on July 01, 2010, 12:45:08 PM
Basically you would take the link to the page from the Page manager and just use it where ever you want like link to it in a post add a menu item for item for it etc

Man I'm stupid please help me.  I don't get it. 

I want it like EZportal.com.  Your middle section page is what I'm thinking the Page Manager is for, right?

Can you give me Kindergarten steps please?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on July 01, 2010, 09:37:04 PM
That's just a news ezBlock where you select which forum you want to display the latest topics from.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on July 04, 2010, 04:05:19 AM
I suck.  Show me like a preschooler.  I still cant get that Page Manager to workie.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on July 04, 2010, 09:15:27 PM
Post on ezportal.com that is another place for support.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Hally_89 on July 06, 2010, 06:23:14 AM
Im am having a problem with the page manager on this mod. I made a page which works fine but i have made images that contain links and they work fine when they are alligned to the right which they do as standard but i want them aligned to the center and when i do the link contained in the image wont work anymore. Can someone explain what i am doing wrong?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: MATTEK on July 06, 2010, 11:19:49 AM
I'm planning on switching to this portal. Does anyone have any pointers or recommendations?

Should I uninstall all mods first or just go for it?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on July 06, 2010, 12:17:29 PM
Just install it works well with most mods.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: MATTEK on July 06, 2010, 03:32:07 PM
Quote from: vbgamer45 on July 06, 2010, 12:17:29 PM
Just install it works well with most mods.
Thanks dude.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Hally_89 on July 06, 2010, 06:27:58 PM
Can anyone help me out with the alignment problem above please ::)
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Hally_89 on July 07, 2010, 04:47:46 PM
Sorry to keep posting but this html editor in ez pages is really annoying me. Can anyone help me out please. I cant figure out why the link dissappears when i align the images to the center
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on July 07, 2010, 05:36:10 PM
how are you aligning the image to the center?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Hally_89 on July 08, 2010, 07:30:57 AM
By selecting the image in the editor and pressing the center aling button. Also tryed doing it in the html editor by putting <center></center> around it but it deleted the center codes
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on July 08, 2010, 08:29:02 AM
The editor is tiny mce that is third party script that I use what browser are you using and the version of it.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on July 08, 2010, 02:48:24 PM
if I was editing code, I would use
<img align="center"...> instead...
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rationalpolitics on July 08, 2010, 05:48:33 PM
I loaded this yesterday and wanted to say thanks for developing it!! It is working great on my site and has given me the fix I was looking for on my site expansion.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on July 08, 2010, 05:50:00 PM
Thanks for your support glad you enjoy it!
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Hally_89 on July 08, 2010, 07:33:43 PM
Quote from: vbgamer45 on July 08, 2010, 08:29:02 AM
The editor is tiny mce that is third party script that I use what browser are you using and the version of it.
Im using firefox 3.6.6
Quote from: Kindred on July 08, 2010, 02:48:24 PM
if I was editing code, I would use
<img align="center"...> instead...
Ok ill will try that and see if it works. I prosume that finishes with </img> does it?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on July 08, 2010, 08:23:51 PM
typically an img tag is <img align="center" src="blahblahblah" title="image title" alt="image alt text" />

it's a self-closed tag, if used properly.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on July 08, 2010, 09:23:34 PM
I probably will update tiny mce too in next update to see if that helps as well in case it is a browser issue.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on July 24, 2010, 11:43:21 PM
Heres my question.  I do not use the side blocks.  I just want to use the Page Manager. What im trying to figure out is how to show an actual thread on our board in that page. 

That way when some one comes to our site they see the page with that thread and can click on it to be taken to the actual thread in the forum. I just dont want to have a link in the page but actually show the thread.

See what i mean?


Like this thread.

http://www.ezportal.com/announcements/ezportal-0-3-8-released!/

Its on their front page and if you comment on it it takes you to the actual thread in the board
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on July 25, 2010, 12:08:21 AM
that is a standard block... not a "PAGE"
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on July 25, 2010, 12:25:56 AM
Yes i just figured that out.  How does he get the actual cintents to show up on the block.  I tried using the Rectent Post and Recent Topics and all it shows are links.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: evillive on July 30, 2010, 04:10:56 PM
I've been running EZportal for a while now and I love it but I have run into a issue that leaves me scratching my head.

I created several html blocks some for adds and some for facebook. The ones that I placed ads in worked great but when I post the code I need for facebook and update the block it does not save the code and leaves it blank. I even went back and tried to add the code after one of the banner ads and same thing it wont save that code into the block but it will keep the ad code. 

Here is the code I am trying to add and hopefully someone can help me figure this out.

<iframe src="http://www.facebook.com/plugins/likebox.php?id=user id goes here&amp;width=150&amp;connections=4&amp;stream=false&amp;header=true&amp;height=287" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:287px;" allowTransparency="true"></iframe>

Thanks is advance for any help you can give.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on July 30, 2010, 04:13:41 PM
first of all... did you actually put the userID?
"user id goes here"

second... iframe?   ICK... naughty coder.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: evillive on July 30, 2010, 05:04:20 PM
yes I put the user id thing there so my id wasn't showing. As far as iframes its all facebook has to offer for simple the other way requires a java script language and will take some editing of the templates and I am trying to stay away from that.

If you know of a better way to add this let me know here is the facebook info

http://developers.facebook.com/docs/reference/javascript/

Thanks for the reply and any help or advice you can offer
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on July 30, 2010, 05:42:19 PM
http://developers.facebook.com/docs/guides/canvas/

hmmm.... this iframe generated by facebook doesn't include a userID and doesn't use likebox.php, it uses like.php
I think you have the wrong code... try again at: http://developers.facebook.com/docs/reference/plugins/like

This works for me....


.
.
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.40konline.com%2Fcommunity&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=dark&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>
.
.



but I see no reason that you could not use the javascript in an HTML EZBlock... hmmm....  but you are right... it doesn't seem to work.

-edit- I found out why it didn't work. You have to register your site in the facebook applications...   and the app registration seems to be broken right now
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: evillive on August 01, 2010, 02:15:11 PM
I was able to get that code to work but I had to turn off tiny mce for the input. Once I turned it off everything worked perfect. Thanks for the info you gave me.

Now i do have another question :)

Can you have recent posts from a certain board instead of all the boards? I would like to have the option to use both so I guess another block would have to be created.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 01, 2010, 09:54:27 PM
Hmm might be a good suggestion I can add like a board select to the recent posts/topics ezblocks if that would work
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: evillive on August 02, 2010, 06:47:15 AM
That would be perfect thank you.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on August 03, 2010, 07:37:29 PM
hmmm....   just updated the board and installed the new version of ezPortal...

now I get

http://www.MYSITE.com/community/index.php?http://www.MYSITE.com/community/
8: Use of undefined constant preview - assumed 'preview'
File: /home/fortyk/public_html/community/Themes/default/EzPortal2.template.php(1510) : eval()'d code
Line: 11

on every page load...
Odd thing is that I have template eval disabled.....
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 04, 2010, 07:11:13 PM
Hmm what blocks do you have enabled? I only see it in recent posts and recent topics and should aways be defined.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Bingham on August 04, 2010, 07:21:40 PM
I had a qick scam through this and does it really allow you to choose diffrent styles of your blocks?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 04, 2010, 07:26:36 PM
Styles? How would that work and what would it do?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Bingham on August 04, 2010, 08:26:01 PM
Quote from: vbgamer45 on August 04, 2010, 07:26:36 PM
Styles? How would that work and what would it do?
I dunno Lol XD i just saw curved blocks :S
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 04, 2010, 09:19:35 PM
Well ezportal does use curve styles for SMF 2.0 at least.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on August 05, 2010, 08:10:32 AM
vb...

I have userinfo, a self-made main menu block and the pages block on every page (which seems ot be what is triggering it, since I get the error even when i the admin section)

I have accnouncements, recent posts, a self-made gallery block, who's oneline and b-days on the front page.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 05, 2010, 09:20:36 AM
What does the self made block code wise look like?   The error line is at the eval statement in the template
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on August 05, 2010, 10:58:13 AM

global $context;
echo '<ul>';
  foreach ($context['menu_buttons'] as $act => $button)
  {
    echo '
      <li id="button_', $act, '">
        <a', $button['active_button'] ? ' class="active"' : '', ' title="', $act , '" href="', $button['href'], '">',
($button['active_button'] ? '<em>' : ''), $button['title'], ($button['active_button'] ? '</em>' : ''), '
        </a>
      </li>';
  }
echo '</ul>';
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 05, 2010, 11:06:05 AM
That code looks good. Hmm I would try disabling each block until the error stops.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on August 05, 2010, 12:19:07 PM
strange... it has stopped for ME, but the errors keep coming on for guests and some other users.

The odd thing is: I have disabled the eval int he smf admin...   so, why is it continuing to give me the eval error?  I can't track down the actual error with that. :(

And why does the error keep trying to load double urls like: http://www.MYSITE.com/community/index.php?http://www.MYSITE.com/community/
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 05, 2010, 12:23:53 PM
Well the eval is part of the blockcode which is used to execute/run ezblocks

For double urls are you using SSI anywhere on the site?

Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on August 05, 2010, 12:27:46 PM
I am using SSI for the events/birthday code block, but that is only displayed on the landing page
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: evillive on August 07, 2010, 02:01:59 PM
Quote from: vbgamer45 on August 01, 2010, 09:54:27 PM
Hmm might be a good suggestion I can add like a board select to the recent posts/topics ezblocks if that would work


Would this be in the next version? Or a seperate file I can just update?

Thanks in advance for all the hard work.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 07, 2010, 05:03:18 PM
Next version more than likely if I don't forget
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: evillive on August 07, 2010, 05:31:37 PM
Thanks
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: DEEPSNUYB on August 23, 2010, 01:07:14 AM
I got this working.  It's much better than SP in my opinion.  Much easier to operate in the backend.  Thanks!
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 24, 2010, 01:58:48 PM
Currently working on the next release have a couple bug fixes and minor updates.
Trying to think what next. I have converters on the back burner might do those.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: endomorph on August 26, 2010, 03:03:05 PM
I'm trying to insert a PHP block.

The code I am using is -

// Make a MySQL Connection
mysql_connect("xxxxx", "xxxxx", "xxxxx") or die(mysql_error());
mysql_select_db("resortdb") or die(mysql_error());

// Get all the data from the "example" table
$result = mysql_query("SELECT * FROM rci")
or die(mysql_error()); 

echo "<select name="menu1" class="style13" onChange="MM_jumpMenu('parent',this,0)"><option selected="selected">Please Select A Resort</option>". PHP_EOL;
// keeps getting the next row until there are no more to get
while($row = mysql_fetch_array( $result )) {
// Print out the contents of each row into a table
echo "<option value='rciprofile.asp?id=";
echo $row['Column1'];
echo "'>";
echo $row['Column2'];
echo "</option>". PHP_EOL;
}

echo "</select><br><br>";

// Get all the data from the "example" table
$result = mysql_query("SELECT * FROM table_ii")
or die(mysql_error()); 

echo "<select name="menu1" class="style13" onChange="MM_jumpMenu('parent',this,0)"><option selected="selected">Please Select A Resort</option>". PHP_EOL;
// keeps getting the next row until there are no more to get
while($row = mysql_fetch_array( $result )) {
// Print out the contents of each row into a table
echo "<option value='rciprofile.asp?id=";
echo $row['resort_id'];
echo "'>";
echo $row['resort_name'];
echo "</option>". PHP_EOL;
}
echo "</select>";
mysql_close


Excuse my poor coding but I am new to PHP. I know it works though as have tested on a page. ANyway when I veiw the ezportal page, I get "ezBlock unable to run PHP syntax error! "

Any ideas ?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on August 26, 2010, 03:13:30 PM
mysql_close at the end looks wrong
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: endomorph on August 26, 2010, 03:28:17 PM
Changed it to mysql_close(); but still not working.

Do I need to enclose the php code in anything for the ezblock ?
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: eattheword on September 02, 2010, 07:17:39 AM
I have installed ezportal 0.4.0 on my SMF 1.1.11 system. The blocks seem to work fine, but I cannot, for the life of me, work out how to use the Page Manager. I would like to add a page called "Book Store". So, I clicked "Add Page" and put in the content I wanted. So far so good. Now Page Manage shows my new page in its list with its title as a clickable hyperlink followed by the URL:


http://mydomainname.com/forum/index.php?action=ezportal;sa=page;p=2


The problem is twofold:

Thanks
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 02, 2010, 10:55:47 AM
1. Check the permissions for the page make sure your membergroup is checked.
2. There is no built in tab system you would need to create a tab or use the link in a hyperlink to allow people to visit the page.
Title: Re: ezPortal 0.4.0 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: eattheword on September 02, 2010, 11:31:43 AM
Ah, ok, I see. I hadn't spotted those permissions there.  :-[

Now to search for how to add tabs...  :)
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 02, 2010, 12:26:00 PM
New update multiple fixes and minor features!

0.4.1
!Forum button appears instantly now with SMF 2.0 if you had caching enabled when enabling/disabling the portal
+Added support for Social Login Pro in the login ezBlock
+Added for html ezBlocks a quick link to toggle TinyMce on or off in case you didn't see the html toolbar icon
!Fixed no index issue for action=forum for SMF 2.0 requires full uninstall and reinstall
!Fixed RSS Feed ezBlock not showing feed after first view
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Bugo on September 05, 2010, 10:26:38 AM
Hardcoded text in EzPortalInstall2.php:
Quote'Left','Right','Center','Top','Bottom'
if ($totalRow['total']  < 3)
{
$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_columns
(column_title, can_collapse, active, column_width, column_order,column_percent)
VALUES ('Left', 1,1,'150',1,15)");

$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_columns
(column_title, can_collapse, active, column_width, column_order,column_percent)
VALUES ('Center', 1,1,'600',2,70)");

$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_columns
(column_title, can_collapse, active, column_width, column_order,column_percent)
VALUES ('Right', 1,1,'150',3,15)");
}


if ($totalRow['total']  < 5)
{
$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_columns
(column_title, can_collapse, active, column_width, column_order,column_percent)
VALUES ('Top', 1,0,'9',4,100)");

$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_columns
(column_title, can_collapse, active, column_width, column_order,column_percent)
VALUES ('Bottom', 1,0,'0',5,100)");

}


Quote'Number of Shouts to show'
// ShoutBox
$paramArray = array();
$paramArray[] = array('name' => 'numberofShouts','title' => 'Number of Shouts to show','defaultvalue' => 10,'parameter_type' => 'int', 'required' => 1);
$ezBlocksInstall[] = array('title' => 'Shoutbox','description' => '','blockdata' => 'EzBlockShoutBoxBlock','version' => '1.0','blockauthor' => 'EzPortal','blockwebsite'=>'http://www.ezportal.com','no_delete' => 1, 'parameters' => $paramArray);


Quote'Number of Posts to show', 'Show Member Link Color', 'Number of Topics to show' etc.
// Recent Posts
$paramArray = array();
$paramArray[] = array('name' => 'numPosts','title' => 'Number of Posts to show','defaultvalue' => 10,'parameter_type' => 'int', 'required' => 1);
$paramArray[] = array('name' => 'format','title' => 'Format','defaultvalue' => 'vertical','parameter_type' => 'select', 'required' => 1, 'selectvalues' => 'vertical,horizontal');
$paramArray[] = array('name' => 'showcolor','title' => 'Show Member Link Color','defaultvalue' => 'false','parameter_type' => 'select', 'required' => 1, 'selectvalues' => 'true,false');
$ezBlocksInstall[] = array('title' => 'Recent Posts ezBlock','description' => '','blockdata' => 'EzBlockRecentPostsBlock','version' => '1.1','blockauthor' => 'EzPortal','blockwebsite'=>'http://www.ezportal.com','no_delete' => 1, 'parameters' => $paramArray);

// Recent Topics
$paramArray = array();
$paramArray[] = array('name' => 'numTopics','title' => 'Number of Topics to show','defaultvalue' => 10,'parameter_type' => 'int', 'required' => 1);
$paramArray[] = array('name' => 'format','title' => 'Format','defaultvalue' => 'vertical','parameter_type' => 'select', 'required' => 1, 'selectvalues' => 'vertical,horizontal');
$paramArray[] = array('name' => 'showcolor','title' => 'Show Member Link Color','defaultvalue' => 'false','parameter_type' => 'select', 'required' => 1, 'selectvalues' => 'true,false');
$ezBlocksInstall[] = array('title' => 'Recent Topics ezBlock','description' => '','blockdata' => 'EzBlockRecentTopicsBlock','version' => '1.1','blockauthor' => 'EzPortal','blockwebsite'=>'http://www.ezportal.com','no_delete' => 1, 'parameters' => $paramArray);

// Recent Webpages
$paramArray = array();
$paramArray[] = array('name' => 'numToShow','title' => 'Number of WebPages to show','defaultvalue' => 10,'parameter_type' => 'int', 'required' => 1);
$ezBlocksInstall[] = array('title' => 'Recent Webpages ezBlock','description' => '','blockdata' => 'EzBlockRecentWebPagesBlock','version' => '1.0','blockauthor' => 'EzPortal','blockwebsite'=>'http://www.ezportal.com','no_delete' => 1, 'parameters' => $paramArray);
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 05, 2010, 11:05:54 AM
Yeah don't have multiple language support for those options yet not sure how I am going to do that.
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: FireDitto on September 11, 2010, 09:58:42 PM
I have the Recent Posts block active, however, because I have the MultiForum Mod installed, my Forums URL varies; eg:

www.mydomain.com/a
www.mydomain.com/b

etc.

So, when I click on a recent post link, I get told this:

QuoteAn Error Has Occurred!
The board you specified is located on a different forum

What I would like to know is this; is it possible to edit the code below, so as that it takes into account the forum URL, instead of just the action:


'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.msg' . $row['ID_MSG'] . '#msg' . $row['ID_MSG'] . '">' . $row['subject'] . '</a>',

URL A:
MYDOMAIN.com/ooc/index.php?topic=24.msg86;topicseen#new {This brings up the error, as the thread is located at the next URL}
MYDOMAIN.com/admin/index.php?topic=24.msg86;topicseen#new {This is where the thread is ACTUALLY located}


Thank you.
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: samjay on September 18, 2010, 04:33:08 AM
 :Dthanksvbgamer45 for the updates . i alredy got the Version: 0.4.0 was fantastic . how can i upgrade it to Version 0.4.1 ?  ::)
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 18, 2010, 06:09:55 PM
Just install the latest version and you are good to go.
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rhack382 on September 19, 2010, 09:34:25 PM
I have a little with php syntax... My question is this...

I have a PHP script the references a css, php, js, and images all uploaded to a directory "/X" and it works fine for me if I upload to a page outside of the ezblock but once I paste into a php ezblock I am getting syntax errors...

Do I need to add the files referenced to the ezportal/blocks directory for everything to work correctly?

Here is the working example:

http://crossfireinternational.com/example.php
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 19, 2010, 10:06:17 PM
Don't put in the <?php tags when using php code
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rhack382 on September 20, 2010, 08:43:00 AM
Quote from: vbgamer45 on September 19, 2010, 10:06:17 PM
Don't put in the <?php tags when using php code

closing tags too?
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 20, 2010, 10:09:40 AM
Yes no closing tags either just the php code.
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rhack382 on September 20, 2010, 11:01:58 AM
hmmm did not work... 

what about using php tags within an html block?
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 20, 2010, 11:06:22 AM
That would not work. What php code are you using?
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rhack382 on September 20, 2010, 02:57:33 PM
It is "weather hero"... Here is the code that I have been trying to use...  Works fine outside of ezportal as a PHP file...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="wh/css/style.css" type="text/css">

<script type="text/javascript" src="wh/js/jquery.min.js"></script>
<script type="text/javascript" src="wh/js/slider.js"></script>

<title>Weather Hero - Example</title>
<style>
   
</style>
</head>

<body>
<?php 
    
//We need the class
    
require_once 'wh/php/wh.class.php';
    
    
//Class calling
    
$wh = new WeatherHero('','debug');//You can call the class with the debug option, this will print debug info only for that call
    //This method gets the info about the current location (needed since the google API splits these info)
    
$informations $wh->getInformations();
    
//This method get the forecast for the next 4 days. It comes back inside an array. If you want to see what kind of information comes back please activate the debug mode.
    
$forecast $wh->getForecast();

?>

<div id="container">
   
    <h3> Weather Forecast (geoip)</h3>
   
    <div id="wh_wrapper">
        <div id="slider">   
            <img class="scrollButtons left" src="wh/imgs/resultset_previous.png">
                <div class="scroll">
                    <div class="scrollContainer">
                        <!-- We check if the array is empty (a location as not been found) if this is the case we show an error message.-->
                       <?php if(is_array($forecast)&&!empty($forecast)) { ?>
                               <!-- Move inside the array.-->
                                 <?php foreach ($forecast as $k => $v) {?>
                                <!-- This line is needed for the java, it creates panels numbered differently.-->
                                <div class='panel' id="panel_<?php echo $k+1;?>">
                                    <div class="inside">
                                        <!-- The image. Please note that the url inside the options is appended to the actual image-->
                                        <img src="<?php echo $wh->g_url.$v['icon'];?>" alt="picture" />
                                        <!-- City -->
                                        <h2><?php echo $informations['city'];?></h2>
                                        <!-- Day -->
                                        <p>Day: <?php echo $v['day_of_week'];?></p>
                                        <!-- Temperature. Please note that here I decided to make an average between the high and low, you may display each separately. -->
                                        <!-- Also the unit of measure comes from the options inside the class (uppercased). -->
                                        <p>Temp: <?php echo ($v['high']+$v['low'])/2;?>&deg; <?php echo strtoupper($wh->unitofmeasure);?></p>
                                        <p><?php echo $v['condition'];?></p>
                                    </div>     
                                </div>
                             <?php ?>
                      <?php } else { ?>
                              <div class='panel' id="panel_<?php echo $k+1;?>">
                                <div class="inside">
                                    <h2>Sorry, we don't have weather data for your location</h2>
                                </div>
                            </div>
                      <?php ?>
               
                    </div>
                </div>
            <img class="scrollButtons right" src="wh/imgs/resultset_next.png">
         </div>
    </div>
<?php 
    
require_once 'wh/php/wh.class.php';
    
   
    
</
div>
</
body>
</
html>
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 20, 2010, 03:11:37 PM
I would try something like this code


echo '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd [nofollow]">
<html xmlns="http://www.w3.org/1999/xhtml [nofollow]">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="wh/css/style.css" type="text/css">

<script type="text/javascript" src="wh/js/jquery.min.js"></script>
<script type="text/javascript" src="wh/js/slider.js"></script>

<title>Weather Hero - Example</title>
<style>
   
</style>
</head>

<body>';

    //We need the class
    require_once 'wh/php/wh.class.php';
   
    //Class calling
    $wh = new WeatherHero('','debug');//You can call the class with the debug option, this will print debug info only for that call
    //This method gets the info about the current location (needed since the google API splits these info)
    $informations = $wh->getInformations();
    //This method get the forecast for the next 4 days. It comes back inside an array. If you want to see what kind of information comes back please activate the debug mode.
    $forecast = $wh->getForecast();

?>
<div id="container">
   
    <h3> Weather Forecast (geoip)</h3>
   
    <div id="wh_wrapper">
        <div id="slider">   
            <img class="scrollButtons left" src="wh/imgs/resultset_previous.png">
                <div class="scroll">
                    <div class="scrollContainer">
                        <!-- We check if the array is empty (a location as not been found) if this is the case we show an error message.-->
                       <?php if(is_array($forecast)&&!empty($forecast)) { ?>
                               <!-- Move inside the array.-->
                                 <?php foreach ($forecast as $k => $v) {?>
                                <!-- This line is needed for the java, it creates panels numbered differently.-->
                                <div class='panel' id="panel_<?php echo $k+1;?>">
                                    <div class="inside">
                                        <!-- The image. Please note that the url inside the options is appended to the actual image-->
                                        <img src="<?php echo $wh->g_url.$v['icon'];?>" alt="picture" />
                                        <!-- City -->
                                        <h2><?php echo $informations['city'];?></h2>
                                        <!-- Day -->
                                        <p>Day: <?php echo $v['day_of_week'];?></p>
                                        <!-- Temperature. Please note that here I decided to make an average between the high and low, you may display each separately. -->
                                        <!-- Also the unit of measure comes from the options inside the class (uppercased). -->
                                        <p>Temp: <?php echo ($v['high']+$v['low'])/2;?>&deg; <?php echo strtoupper($wh->unitofmeasure);?></p>
                                        <p><?php echo $v['condition'];?></p>
                                    </div>     
                                </div>
                             <?php ?>
                      <?php } else { ?>
                              <div class='panel' id="panel_<?php echo $k+1;?>">
                                <div class="inside">
                                    <h2>Sorry, we don't have weather data for your location</h2>
                                </div>
                            </div>
                      <?php ?>
               
                    </div>
                </div>
            <img class="scrollButtons right" src="wh/imgs/resultset_next.png">
         </div>
    </div>
<?php
    
require_once 'wh/php/wh.class.php';
   
   
echo 
'
   
</div>
</body>
</html>'
;
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rhack382 on September 20, 2010, 03:47:25 PM
You are the man...!

:bow:  Thanks!
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 20, 2010, 03:53:40 PM
That works?
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on September 20, 2010, 04:00:12 PM
wait wait wait.....   THAT is WRONG! There is no way, no how, that you should have all that header code in a block and certainly not the doctype and html tags...
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on September 20, 2010, 04:08:23 PM
yeah you would be surprised how many large sites do that mistake though....I have seen many global ecommerce sites having multiple body tags header tags and those are huge corporations with millions.
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: rhack382 on September 20, 2010, 04:23:30 PM
Quote from: vbgamer45 on September 20, 2010, 03:53:40 PM
That works?

It does work...
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on September 20, 2010, 04:52:59 PM
Quote from: Kindred on September 20, 2010, 04:00:12 PM
wait wait wait.....   THAT is WRONG! There is no way, no how, that you should have all that header code in a block and certainly not the doctype and html tags...
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Bonesz28 on October 05, 2010, 04:26:31 PM
I'm having problems with the ezportal ezblocks. I originally created links of supporting car sites for my site on the right side and used the shoutbox and other functions on the left side. Everything was fine and lined up until I started creating a center block just for the "ezportal home page" not the forum. All of a sudden the blocks became HUGE and now the left block is above the forum and the right block is below it. I went in disabled everything, tried refreshing it, even messed with the size of the blocks width and percentage, making them only 100 width and 10 percent to see if that would shrink them. Before this bug/problem I even remember the blocks sticking nicely in the admin panels even. Now they are above and below it. They are stuck at an enormous size for some reason and won't go back to the left and right sides. Can anyone help me here? Has anyone had this problem before?

here's the forum... OH YEAH and I wanted to add that on my ezportal homepage (index) they are a correct size yet when I access my admin panel or just go on the forum that's when they are huge and above and below on the page.
Title: Re: ezPortal 0.4.1 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on October 05, 2010, 04:33:48 PM
Link to a page where this occurs? I would check to make sure your content inside a block if you are using html/php block is not causing to get large.
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on October 05, 2010, 06:28:24 PM
New update!

0.4.2
!Fixed two bugs with Rss Feed ezBlock in the fsockopen fetch the query string and processing the headers
!Fixed a couple bugs with column layout. If you had just the right and left block enabled but not the center block could cause the layout to appear stretched
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: sq on October 13, 2010, 09:37:43 AM
i have ezportal installed on my forum and then i was adding add on for current event and now i am getting this error 

Fatal error: require_once() [function.require]: Failed opening required '/home/content/11/6482511/html/aj/Sources/Subs-Calendar.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/11/6482511/html/aj/Sources/Load.php(1733) : eval()'d code(1412) : eval()'d code on line 14
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on October 13, 2010, 09:41:19 AM
What SMF version?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: sq on October 13, 2010, 10:29:51 PM
i installed upcomingevents for calendar
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on October 13, 2010, 10:34:39 PM
Well I would try asking in that mods topic I don't that's related to ezportal
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 15, 2010, 10:45:02 AM
Hello

I am having a small problem after updating to the new ezPortal 0.4.2

When I am on my main page to my forum all images in my portal blocks work
but when I open any other of my boards it only show a red X & no image

I right click on the image to find out it's path as to why it's not showing
and maybe to copy some images to a new location if needed.

But I can't as I am faces with the little problem, it shows in the folder path
that index.php is a directory in the link

image path looks like this on the main page
myforum.com/smf/themes/images/default.png

and looks like this in anyother boards
myforum.com/smf/index.php/themes/images/default.png

So I know why the images do not show but I need to know how to correct
the path to the image in my other boards

Cheers
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on October 15, 2010, 10:51:36 AM
How are you generating the URL for those images?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 15, 2010, 11:00:19 AM
I right click on the image or the red X within the forum and go to properties
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on October 15, 2010, 11:12:18 AM
no... In the ezblock, how are you generating the URL for the images?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 15, 2010, 05:04:40 PM
Oh ok sorry.
GO TO admin>EZBlock Manager>HTML ezBlock> & then adding what ever I want with included images.
I was taking note that when in the admin panel all the images was still showing as well.
& the images only not show in other boards
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on October 15, 2010, 06:02:01 PM
you are STILL missing the point.


WHAT CODE did you use to try to display the images? ???
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 15, 2010, 06:11:48 PM
OK this is the full code to one of my HTML blocks


<table id="table1" style="text-align: center; width: 171px; height: 155px;" border="1">
<tbody>
<tr>
<td>
<table id="table3" class="tborder smfbay_cat_table" style="border-bottom: 0px none; text-align: center; width: 161px; height: 21px;" cellspacing="0" cellpadding="1">
<tbody>
<tr class="titlebg">
<td class="smfbay_button_menu_left" width="4">&nbsp;</td>
<td class="smfbay_button_menu_right"><a href="index.php?action=smfbay;sa=home"><img style="vertical-align: middle;" src="Themes/default/SMFBay/aurbay_item.png" alt="" width="66" height="23" /></a></td>
</tr>
</tbody>
</table>
<table id="table4" class="tborder smfbay_cat_table" style="text-align: center; border-top: 0px none; width: 126px; height: 107px;" cellspacing="1" cellpadding="5">
<tbody>
<tr>
<td class="windowbg smfbay_image_cat"><img src="Themes/default/SMFBay/default-folder.png" alt="" /></td>
<td class="smfbay_cat_desc windowbg2"><a href="index.php?action=smfbay;sa=itemsindex;cat=1"><strong>Home</strong></a></td>
<td class="windowbg">&nbsp;</td>
</tr>
<tr>
<td class="windowbg smfbay_image_cat"><img src="Themes/default/SMFBay/default-folder.png" alt="" /></td>
<td class="smfbay_cat_desc windowbg2"><a href="index.php?action=smfbay;sa=itemsindex;cat=2"><strong>Computer</strong></a></td>
<td class="windowbg">&nbsp;</td>
</tr>
<tr>
<td class="windowbg smfbay_image_cat"><img src="Themes/default/SMFBay/default-folder.png" alt="" /></td>
<td class="smfbay_cat_desc windowbg2"><a href="index.php?action=smfbay;sa=itemsindex;cat=3"><strong>Free</strong></a></td>
<td class="windowbg">&nbsp;</td>
</tr>
</tbody>
</table>
<h6 style="text-align: center;"><a href="http://www.postimage.org/image.php?v=TsxuAki">How to add AURbay items</a></h6>
</td>
</tr>
</tbody>
</table>
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 17, 2010, 08:38:52 AM
hello, any thoughts on this ? still trying to fix it
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on October 17, 2010, 08:47:49 AM
have you tried using an absolute URL instead of a relative URL for the image src?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 17, 2010, 10:22:35 AM
as in changing

<td class="windowbg smfbay_image_cat"><img src="Themes/default/SMFBay/default-folder.png" alt="" /></td>


to something like this

<td class="windowbg smfbay_image_cat"><img src="http://www.XXX/smfThemes/default/SMFBay/default-folder.png" alt="" /></td>


no i haven't and i will give it a go tomorrow now. thanks for your reply
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Djehuti on October 17, 2010, 10:27:16 AM
I'm running 0.4.2 on 1.1.11.

I've set up a poll, which I've added to a poll-ezblock.

This works, and allowed me to cast my vote from the block.
When I had done so, it showed me the results...so far so good.

But it doesn't offer me a link to the original poll, and it seems my vote has changed the block., since now others only see the result, but can't vote?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on October 17, 2010, 11:35:52 AM
Will have to look into that what SMF version?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Djehuti on October 17, 2010, 07:47:02 PM
1.1.11

Have a look here: http://www.ffm-clan.com/forum/index.php
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 19, 2010, 11:13:04 PM
Hello

I added a new php block to my ezportal blocks that I am trying to make
but now everytime I go to my forum no matter how i try i get this error
Quote
The page isn't redirecting properly

How do I undo what I did, or what file contains the blocks
I have a full backup of my forum as of 2 days ago

thankyou
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on October 20, 2010, 12:48:45 AM
It is in the database in ezp_block_layout
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 20, 2010, 12:58:35 AM
Thankyou for that.
I worked it out and removed my last ezblock. got everything back & working now
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Djehuti on October 21, 2010, 08:13:22 AM
Quote from: Djehuti on October 17, 2010, 10:27:16 AM
I'm running 0.4.2 on 1.1.11.

I've set up a poll, which I've added to a poll-ezblock.

This works, and allowed me to cast my vote from the block.
When I had done so, it showed me the results...so far so good.

But it doesn't offer me a link to the original poll, and it seems my vote has changed the block., since now others only see the result, but can't vote?

Any idea yet Vbgamer?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: vbgamer45 on October 21, 2010, 08:33:54 AM
Haven't had a chance to take a look at it yet
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 21, 2010, 08:43:08 AM
(vbgamer45) I understand you have helped (Djehuti) with his problem.

I have looked at my EzPortal Polls to see if I could have a look at the coding but as it's apart
of EzPortal I couldn't find any coding for it. I looked in my DB as well & find the block but no coding.

if you have the coding so that it can be added to a block, could you maybe post it or attach it
so that I can have a look and try and help.

I have also been to (Djehuti) forum & had a chat with him. nice bloke,

because the poll view is to only see the stats of the poll and
will not let you vote from block it self all he is wanting is maybe
the title to the block to also work as a link to where the polls are held & to be able to
make a vote from there.

I didn't know where to go to make a vote without him posting me a link him self.
so all he is looking for is the make something clickable to go to the polls url

cheers
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: T3CHN0 on October 21, 2010, 10:55:54 AM
Quote from: Kindred on October 17, 2010, 08:47:49 AM
have you tried using an absolute URL instead of a relative URL for the image src?

as in changing

<td class="windowbg smfbay_image_cat"><img src="Themes/default/SMFBay/default-folder.png" alt="" /></td>


to something like this

<td class="windowbg smfbay_image_cat"><img src="http://www.XXX.com/smf/Themes/default/SMFBay/default-folder.png" alt="" /></td>


only partly works but didn't for most images. 3 images are working again. I also tried deleting the block & re-doing it fully
but still when moving away from the main page to look at posts the images stop working.
only on the main page & admincp, the images work. everywhere else they don't.
I will close this problem for now, if you can think of anything else let me know
in the mean time I will go over my install of EzPortal when i have the time.

thanks for your help with this
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Djehuti on October 21, 2010, 12:07:37 PM
Thanks for re-phrasing my issue Techno.

I guess a link to the topic would suffice...voting from the block itself would be an interesting extra... having an option to choose between the two when setting up the block would be the ultimate construction  ;)

Anyways, thanks for stopping by, I hope Vbgamer can provide us with the code; it shouldn't be that hard I guess?
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: mxcape21 on October 22, 2010, 11:29:41 AM
Is it possible to use EZPortal for my current home page and integrate into SMF without using a redirect, (EZPortal take the place of my current site index page without using re-directs)?
And also must the EZ blocks have a visible border?

Thanks
Title: Re: ezPortal 0.4.2 for SMF (Updated for SMF 2.0 RC3) 25+ New Blocks
Post by: Kindred on October 22, 2010, 12:20:26 PM
EZportal installs as part of the forum, which means that your forum would have to be placed in your root directory.

As for the borders...   check the CSS using firefox + firebug.
Title: Re: ezPortal 0.4.3 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on November 01, 2010, 05:03:16 PM
New update with SMF 2.0 RC4 Support!
0.4.3
+Added support for SMF 2.0 RC4
!Fixed bug with board news block not allowing more than one board to be selected.
+RSS Feed Block now supports ATOM based feeds
Title: Re: ezPortal 0.4.3 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: xIsabel38 on November 08, 2010, 01:50:54 AM
Hello,

I'm currently trying out both ezPortal and ADK portal to see which one I want to use.

With this one:

I'm having problems with the:
Top Posters block- The Avatars shown do not resize to any predefined restrictions thus a user with an avatar size of 150x150 disorients the user with an avatar size of 100x100. I know they can be disabled entirely but that isn't a route I'd prefer to go.

Poll block- I ran the search and read all about how it's meant for show only, but I'm not so sure I believe that. The block itself has the radio buttons for your vote and says "Vote now!" or something to that effect. Any ideas when/if this may be fixed?

Also, are there any additional sources to simply download additional blocks (such as Top Karma, etc...) because I don't know anything about writing PHP.
Title: Re: ezPortal 0.4.3 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: T3CHN0 on November 08, 2010, 04:02:46 AM
don't have ezPortal and ADK portal installed at the same time. that's how I stuffed my forum
I had ezPortal installed for a long time then installed ADK portal and I found I had to do a reinstall
of all my mods including ezPortal to fix the problem I had.
Title: Re: ezPortal 0.4.3 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: xIsabel38 on November 08, 2010, 05:20:37 AM
They are not installed at the same time.
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on November 17, 2010, 11:42:49 AM
New release

0.4.4
!Fixed some possible layout issues depending on how columns are setup
!Moved where the collapsing of columns code is on the page to make it xhtml compliant.
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: Tupsi on November 17, 2010, 02:31:36 PM
Hello

trying out your portal atm and stumbled over this post in here, asking for images from attachment being able to be displayed on the front page if you use the one board of the forum for news like post. The post is from last year and I was hoping of it being implemented in some way or another, but I am unable to find anything.

Basicly I want the attached picutures to show not only on the board (the thumbnails showing directly in the post there), but also on the news section of the portal page.

Maybe thats not even the right way todo something like that, but I want an easy way for my users to get news posts up and pictures in it are mandatory at that point.

Any help appreciated.

Thanks


Quote from: Neverhurry on April 28, 2009, 02:43:38 AM
hello vbgamer45,

you made a wonderful portal, i love it.
i am using in the central main content area the broad news block. Is it possible to show the first attached picture of that topic floated to the right side of the area?
that will be really something!

is it too difficult to make?


Quote from: Neverhurry on April 28, 2009, 01:05:54 PM
Quote from: vbgamer45 on April 28, 2009, 07:07:52 AM
I could do that if there is an image in the attachment.

WOW, you could do that!
Yes, there IS indeed an image in the attachment. 
Picturs are so important to the portal, that will be a major improvement to ezportal, i just hope it won't take too long time. thank you!
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: Bears-world on November 17, 2010, 05:06:18 PM
Quote from: vbgamer45 on November 17, 2010, 11:42:49 AM
New release

0.4.4
!Fixed some possible layout issues depending on how columns are setup
!Moved where the collapsing of columns code is on the page to make it xhtml compliant.

May I be the first to say thanks, keep up the good work, I will install it as soon as I can.
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: Tupsi on November 20, 2010, 04:59:51 AM
OK, I got this working through another mod (Inline attachment). Using the bbcode from that one in normal posts, shows the pictures on the front block nicely.


Quote from: Tupsi on November 17, 2010, 02:31:36 PM
Hello

trying out your portal atm and stumbled over this post in here, asking for images from attachment being able to be displayed on the front page if you use the one board of the forum for news like post. The post is from last year and I was hoping of it being implemented in some way or another, but I am unable to find anything.

Basicly I want the attached picutures to show not only on the board (the thumbnails showing directly in the post there), but also on the news section of the portal page.

Maybe thats not even the right way todo something like that, but I want an easy way for my users to get news posts up and pictures in it are mandatory at that point.

Any help appreciated.

Thanks


Quote from: Neverhurry on April 28, 2009, 02:43:38 AM
hello vbgamer45,

you made a wonderful portal, i love it.
i am using in the central main content area the broad news block. Is it possible to show the first attached picture of that topic floated to the right side of the area?
that will be really something!

is it too difficult to make?


Quote from: Neverhurry on April 28, 2009, 01:05:54 PM
Quote from: vbgamer45 on April 28, 2009, 07:07:52 AM
I could do that if there is an image in the attachment.

WOW, you could do that!
Yes, there IS indeed an image in the attachment. 
Picturs are so important to the portal, that will be a major improvement to ezportal, i just hope it won't take too long time. thank you!
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: Casa Grande on November 28, 2010, 06:22:38 PM
Just upgraded my forum to RC4 from RC3.  Had to reinstall ezportal to my forum.  Admin said it was installed correctly, but I can't seem to find the admin panel for EZportal!  Where is it?!
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on November 28, 2010, 06:23:35 PM
It should be in the same place unless it did not install correctly.
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: Casa Grande on November 28, 2010, 06:39:19 PM
It's not there anymore.  This is driving me crazy....ever since I switched to a new server and upgraded from RC3 to RC4, my mods have been completely jacked up! 
Title: Re: ezPortal 0.4.4 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on November 28, 2010, 06:42:27 PM
I would go though smf_log_package db table and remove mods that you have listed in there that are no longer installed to see if that helps.
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on December 07, 2010, 02:30:26 PM
New update
0.4.5
!Bug fix for Social Login Pro for login block for SMF 2.0 not passing to correct file
!Fixed missing text string for gallery views for SMF gallery ezBlock
+Added support for remotefilename for SMF Classifieds ezBlock and added alt tags to classifieds images.
+Added membergroup color to the poster name for the board ezBlock
!Fixed poll block image for SMF 2.0 to support left to right and right to left languages
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: antoniosaucedo on December 22, 2010, 02:57:16 PM
Hi, thanks for your help!

I have been using the EZportal for 1 or 2 years in the 0.2.8 version, today I want make the update but I think I don't do it in the best way because I download the file  ezportal0.4.5.zip  and then install in the forum.

Like result, the portal duplicate the left, center and right columns.

I go inside the packages and saw that there is an option to upgrade my old versión 0.2.8 (too late  :o)
I thought that I have to uninstall the versión duplicated 0.4.5 file and then upgrade my old versión ...... but the fatal error happend  :'(

Now I have this message and I have no idea, how can solve this.

Fatal error: smf_main() [function.require]: Failed opening required '/home/content/f/o/r/forodefoto/html/Sources/EzPortal.php' (include_path='.:/usr/local/lib/php') in /home/content/f/o/r/forodefoto/html/index.php on line 185

My forum versión is 1.1.11
My site:  www.forodefoto.com

Thank you very much!

I am from México City, sorry my english
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: antoniosaucedo on December 22, 2010, 03:11:28 PM
I found yhis in other post but I'am not sure... http://www.simplemachines.org/community/index.php?topic=392991.msg2720959#msg2720959

if I install the smf_1-1-11_upgrade I gone a lose all the mods That I install?? 
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on December 22, 2010, 03:13:57 PM
If you use the large upgrade you will loose all mods.
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: antoniosaucedo on December 22, 2010, 03:49:21 PM
Thanks for answer.

Do you have a better way to solve this, because I don't have any idea.
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on December 22, 2010, 03:53:19 PM
If you are going from like 1.1.11 to 1.1.12 there should be an auto update in the package manager.
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: antoniosaucedo on December 22, 2010, 04:10:24 PM
Thanks again, before I go to the line in the FATAL ERROR and erease

// Setup EzPortal
   require_once($sourcedir . '/EzPortal.php');
   SetupEzPortal();

Now I can go to my forum  ;D
In the Packages appears the 2 EZportal (the old and the new)
I applicate the mode to the new 0.4.5 and now I can se the portal, but still having 2 "Forum"  in the navegation bar

Do you think I need to erease the ez portal 0.2.8 or only unistall

my site is forodefoto.com

Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on December 22, 2010, 04:12:38 PM
I would uninstall it if you can then install the new version for best results.
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: antoniosaucedo on December 22, 2010, 05:14:45 PM
I can't uninstall because don´t have this option, then I erease the old versión.

Every thing looks ok in the Mod, I only want to know where I can find the file in the Navegation Bar of my forum , because I have the next:



2 Forum in the menu and 2 in the three

I know this is aside the ezPortal but Thanks
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on December 22, 2010, 05:15:59 PM
In themes/default/index.template.php
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: NHWD on February 02, 2011, 01:57:40 AM
How can I make the Stats block horizontal?
Title: Re: ezPortal 0.4.5 for SMF (Updated for SMF 2.0 RC4) 25+ New Blocks
Post by: vbgamer45 on February 02, 2011, 08:42:50 AM
Check if their is a layout option if not I would have to add it.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on February 15, 2011, 10:26:09 PM
Minor updates
0.4.6
+Added RC5 support
!Fixed bug with undecided smile in shoutbox
!Fixed with feed block grabs oldest feed items first then goes to newest
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Fat_Man on February 18, 2011, 10:09:24 PM
I would to upgrade EZPortal.

I have running version 0.3.6 and would like to go 0.4.6

in my list of packages I click on "Upgrade" for EZPortal , it then lists all the things its going to install. I go ahead with that, its then says its installed, then takes me to EZPortal in Admin section and says I am running 0.3.6 and I need to upgrade.

How can I upgrade to 0.4.6 without losing what I have set up?


Can I install 0.4.6 then uninstall 0.3.6?

Thanks
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on February 18, 2011, 10:26:11 PM
You should be able to might a permissions issue cause it should overwrite the old version.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Fat_Man on February 19, 2011, 12:32:02 AM
Quote from: vbgamer45 on February 18, 2011, 10:26:11 PM
You should be able to might a permissions issue cause it should overwrite the old version.

What should I be looking for VBgamer?
Package Manager?
In there it has the FTP Server as "Localhost" and the Port at "21".
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on February 19, 2011, 12:45:16 AM
Try Package Manager -> Options
I would check the file permissions for all files for your forum to make sure smf can write to them.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: briggz5d on March 15, 2011, 03:36:51 AM
Found Ezportal while trying to compress my Categories in home page so users dont have to scroll ALOT its a lovely program but it tends to give an AMATEUR look and feel to forums i'm talkin about the BLOCK TITLES and Border areas.

We noobs tend to shy away from viewing or editing Jagons we don't understand y'll call codes but we know u will still refer us to them.

Ok here's my problem I have created custom categories Ezblock (html) much smaller.
I am trying to create a custom  Recent topic / SMF Link
I say custom because the default recent topic and SMF link are not very "felxible" as i would like my SMF links to align  CENTER.

Here's an example of wat i am tryin to achieve



here's wat i've got so far


also if anyone can recommend a good html editing software like MS frontpage (my custom Categoris looks UGLY)
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: DEEPSNUYB on March 17, 2011, 09:14:57 PM
Quote from: vbgamer45 on November 28, 2010, 06:42:27 PM
I would go though smf_log_package db table and remove mods that you have listed in there that are no longer installed to see if that helps.

I have the same prob. The link to the ez portal in the admin section is gone. There is no link anymore. Which specific file do i need to check to see if the coding is correct?
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 17, 2011, 09:27:37 PM
For admin area it would be Sources/Admin.php
Also the mod site has manual install instructions for the mod.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: DEEPSNUYB on March 18, 2011, 01:31:03 AM
I have gone through the manual install instructions and checking the code and still cannot find what is wrong.  Here are the mods I have on the site so far.

Ad Management Mod 3.0
Contact Page 2.1.1
Custom Copyright 1.0
Effectively Remove SMF Logo
Enotify
Remove Index From Title
Show Your Social Networks 2.5
SimplePokes 1.1
Social Bookmarks 2.0
Tagging System

SMF RC5
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: DEEPSNUYB on March 18, 2011, 07:04:53 PM
Can you post up the code to manually install the tables in mysql here or is it the same coding by looking in the install file?  I may be missing one of those.  Sometimes these install files don't create all the tables for whatever reason.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 18, 2011, 10:52:59 PM
Same as looking in the install file just copy it to the root directory of your forum and run via the browser
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: DEEPSNUYB on March 19, 2011, 01:06:55 PM
Quote from: vbgamer45 on March 18, 2011, 10:52:59 PM
Same as looking in the install file just copy it to the root directory of your forum and run via the browser

I understand that.  But sometimes the install file doesn't install all the tables for whatever reason.  Yes I have run the install file but am asking is the CODING THE SAME IN THE INSTALL FILE AS IF YOU WERE TO COPY AND PASTE IT INTO MYSQL?  If not can you give the correct coding so I can manually upload it into MySql directly.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 19, 2011, 05:35:46 PM
Yes it is the same coding in the install file.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: UKShark on March 29, 2011, 10:33:21 AM
Hi,

I hope someone can help.

I have recently installed EZPortal on my SMF Forum (Version 2.0 RC5) and for the most part I am very happy with it.

Unfortunately the title bars for each section appear to be cropped and not showing fully (see attachment below).

I have tried searching this thread for a solution and have also tested this on different browsers and tried adjusting the dimension of the different areas with no effect.

Any advice?
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: MrGrumpy on March 29, 2011, 10:48:26 AM
Looks like the ezportal mod is using the catbg and span classes to create the titlebars where things have changed a little and need the cat_bar & catbg classes for the titlebars now
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: UKShark on March 29, 2011, 11:14:01 AM
Quote from: MrGrumpy on March 29, 2011, 10:48:26 AM
Looks like the ezportal mod is using the catbg and span classes to create the titlebars where things have changed a little and need the cat_bar & catbg classes for the titlebars now

Thanks for taking the time to reply MrGrumply! Any idea what the solution is to this?

Sorry, I was beginning to be quite adept with the 1.X version of the software but the 2.0 is like a new language to me!
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: MrGrumpy on March 29, 2011, 12:29:50 PM
Well every instance of the catbg/span classes need to be changed for the cat_bar/catbg classes but not knowing the files for ezportal I wouldn't know to tell you exactly where to make the changes.

Best option, if as i suspect and the classes need changing, is that vbgamer45 makes the changes to the mod and updates the package
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 29, 2011, 12:48:00 PM
Currently there is an issue with SMF 2.0.x for rounded corners on one side I don't have a solution for it at this time. If anyone has a fix let me know.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: MrGrumpy on March 29, 2011, 02:44:24 PM
It's relatively easy, you just need to swap some classes around, think they were changed in the RC3 to RC4 update - this isn't tested and I'm not an expert but just going off looking at the code in the EzPortal2.template.php, so might not be 100% perfect but this is the basic idea

Wheres  before category bars were done like this

<div class="catbg" valign="center">
<span class="left">
</span>


Now it's done by

<div class="cat_bar">
<h3 class="catbg">
</h3>
</div>




EzPortal2.template.php

echo '
<tbody class="header">
<tr>
<td class="catbg" valign="center"><span class="left"></span>';

// Check if they can collapse the ezBlock
if ($ezBlock['can_collapse'])
echo ' <span style="float:right"><img src="' . $settings['images_url'] . '/' .( $ezBlock['IsCollapsed'] ? 'expand.gif' : 'collapse.gif' ). '" onclick="javacscript:EzToogle(\'block',$ezBlock['id_layout'],'\',',$ezBlock['id_layout'],',this,1)" alt="+-" /></span>';


// Show icon
if (!empty($ezBlock['icon']))
echo '<img src="',$ezpSettings['ezp_url'],"icons/" . $ezBlock['icon'] . '" alt="" /> ';

// Show title of ezBlock
echo $ezBlock['customtitle'];


if (($context['ezportal_block_manager'] == 1 || $ezBlock['IsManager'] == 1) && empty($ezpSettings['ezp_hide_edit_delete']))
{
/*
echo '<br /><a href="',$scripturl,'?action=admin;area=ezpblocks;sa=editblock;block=',$ezBlock['id_layout'],'">',$txt['ezp_edit'], '</a>
&nbsp;
<a href="',$scripturl,'?action=admin;area=ezpblocks;sa=deleteblock;block=',$ezBlock['id_layout'],'">',$txt['ezp_delete'], '</a>';
*/

echo ' <a href="',$scripturl,'?action=ezportal;sa=editblock;block=',$ezBlock['id_layout'],'"><img src="',$ezpSettings['ezp_url'],'icons/page_white_edit.png" alt="',$txt['ezp_edit2'], '" /></a>
&nbsp;
<a href="',$scripturl,'?action=ezportal;sa=deleteblock;block=',$ezBlock['id_layout'],'"><img src="',$ezpSettings['ezp_url'],'icons/plugin_delete.png" alt="',$txt['ezp_delete2'], '" /></a>';


}

echo '</td>
</tr>
</tbody>


Needs changing to


echo '
<tbody class="header">
<tr>
<td>
<div class="cat_bar" valign="center" >
<h3 class="catbg">';

// Check if they can collapse the ezBlock
if ($ezBlock['can_collapse'])
echo ' <span style="float:right"><img src="' . $settings['images_url'] . '/' .( $ezBlock['IsCollapsed'] ? 'expand.gif' : 'collapse.gif' ). '" onclick="javacscript:EzToogle(\'block',$ezBlock['id_layout'],'\',',$ezBlock['id_layout'],',this,1)" alt="+-" /></span>';


// Show icon
if (!empty($ezBlock['icon']))
echo '<img src="',$ezpSettings['ezp_url'],"icons/" . $ezBlock['icon'] . '" alt="" /> ';

// Show title of ezBlock
echo $ezBlock['customtitle'];


if (($context['ezportal_block_manager'] == 1 || $ezBlock['IsManager'] == 1) && empty($ezpSettings['ezp_hide_edit_delete']))
{
/*
echo '<br /><a href="',$scripturl,'?action=admin;area=ezpblocks;sa=editblock;block=',$ezBlock['id_layout'],'">',$txt['ezp_edit'], '</a>
&nbsp;
<a href="',$scripturl,'?action=admin;area=ezpblocks;sa=deleteblock;block=',$ezBlock['id_layout'],'">',$txt['ezp_delete'], '</a>';
*/

echo ' <a href="',$scripturl,'?action=ezportal;sa=editblock;block=',$ezBlock['id_layout'],'"><img src="',$ezpSettings['ezp_url'],'icons/page_white_edit.png" alt="',$txt['ezp_edit2'], '" /></a>
&nbsp;
<a href="',$scripturl,'?action=ezportal;sa=deleteblock;block=',$ezBlock['id_layout'],'"><img src="',$ezpSettings['ezp_url'],'icons/plugin_delete.png" alt="',$txt['ezp_delete2'], '" /></a>';


}

     echo'
</h3>
    </div>
</td>

</tr>
</tbody>


Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 29, 2011, 03:09:24 PM
Will try that out when I get home and see how it works.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Tyrsted on March 29, 2011, 03:18:58 PM
Hello,

Ive just installed my copy of the RC5 and then EzPortal 0.4.6, but when i try to go in the admin panel(for SMF, Not EzPortal) i get the "famous" Unable to load the 'main' template.
Now since this is a Fresh install, I'm using the Default template. So my question is, whats the workaround? or fix?

Thanks in Advance.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 29, 2011, 03:27:04 PM
Reupload your template files to your themes folder.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Tyrsted on March 29, 2011, 04:51:21 PM
didnt work, anything else i can do? or do i need to do another Fresh install?
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 29, 2011, 04:52:30 PM
I don't know I would try making a general support topic and see if they can help before doing a fresh install.
Title: Re: ezPortal 0.4.6 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Tyrsted on March 29, 2011, 05:18:29 PM
Nah its allright, I'm just gonna go ahead and Reinstall SMF and EzPortal. I have loads of time anyways.
Title: Re: ezPortal 0.4.7 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on March 29, 2011, 09:32:30 PM
New update!

0.4.7
!Fixed the rounded corners for SMF 2.0 RC5 big thanks to MrGrumpy for the fix!
Title: Re: ezPortal 0.4.7 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: UKShark on March 30, 2011, 09:04:10 AM
Thanks for the fast response, it has worked perfectly for me.

Just one more thing...

I had original made changes so that the background to each portal section was white instead of light blue, unfortunately this has reverted back since the reinstall and I can't recall where I made the changes.

Any ideas?
Title: Re: ezPortal 0.4.7 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: MrGrumpy on March 31, 2011, 06:12:23 AM
Blocks use the windowbg2 class for the background colour - so you have 2 options

First is to change the colour of the windowbg2 in index.css BUT that will change the colour of some backgrounds on your theme, if you don't mind other parts background changing colour this is the easy option

Second is to edit the ezportal file(s) to change the windowbg2 to a new class, say ezportalbg and add that class in index.css with the background colour you want to use - I'm on my laptop at the moment so don't have what I need to double check the files but I would look at the EzPortal2.template.php first
Title: Re: ezPortal 0.4.7 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Diamond1444 on April 03, 2011, 12:05:22 AM
I apologize ahead of time if this was already asked and I missed it.  I'm using the menu easy blocks on the home page of our forum, but I must be doing something wrong.  The links that are in the blocks are there to allow guests to see certain posts.  I have guests checked in the permissions for each and I've even checked guests inside the forum in those boards.  Several of us have logged out of our accounts to try the links, but they just bring you to the page that says that it's off limits and you have to register. 

Did I miss a permission somewhere or something else that I didn't do?  I'm totally stumped.  Thanks in advance for any help you can give.  :)
Title: Re: ezPortal 0.4.7 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Kindred on April 03, 2011, 11:20:53 AM
is the post itself available in a board that is able to be viewed by guests?
Title: Re: ezPortal 0.4.7 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: Diamond1444 on April 03, 2011, 12:28:51 PM
Yes, they all are.
Title: Re: ezPortal 0.4.7 for SMF (Updated for SMF 2.0 RC5) 25+ New Blocks
Post by: vbgamer45 on April 03, 2011, 03:22:32 PM
The menu system permissions just control what links are visible beyond that were you link need to be open to guests.
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 09, 2011, 08:54:07 PM
New update!

0.4.8
+Added Twitter tweets ezBlock
+Added Facebook Comments ezBlock
+Added Like Button for Board News ezBlock
!Fix possible ezBlock update issue
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Dream of Omnimaga on April 10, 2011, 11:07:43 AM
Hmm the like button in news doesn't seem to do anything in Opera. :/

Tested on the official EzPortal website front page.
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 10, 2011, 01:46:18 PM
Strange that is the offical code from facebook...
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: savy118 on April 13, 2011, 02:01:45 PM
hi has any won had this problem or is it me, it really is a great portal, but when i shrink my browser the blocks fly off the right edge of forum, and if i shrink, it shrinks left block and i cant see text in shout box, im just wondering if i created on a wide screen, and someone viewed on a smalll screen like a netbook they might not see it properly.

but really is a great bit of kit

savy
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 13, 2011, 02:05:40 PM
What SMF version? And what browser are you using?
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: savy118 on April 13, 2011, 02:20:01 PM
hi there im using ie 8 and smf rc52.0...........

i just tried something i removed my page out of page manager and every thing was ok,
i think i had my page set at a fixed with html code.

i guess there is a certain width a page can be......

but the shout box does shrink when shrinking the browser ie8 and center block text, im just wondering as i dont have a smaller screen to look at it and test.

my screen is 1024x560

thanks

savy
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: savy118 on April 13, 2011, 04:30:17 PM
ok im just updating previous comment, i turned ezportal off and smf forrum does shrink aswell so i guesss everything is fine with boxes shrinking,
do you think there is a max page width we can apply , when creating pages or is this not reccomended.

im getting a feel for this mod really is great.

thanks savy
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: mxcape21 on April 16, 2011, 07:51:41 PM
I am getting an error trying to install this mod, this is the error--->
Fatal error: Maximum execution time of 30 seconds exceeded in D:\Hosting\6126339\html\forum\Sources\Subs-Package.php on line 2457.
I'm using SMF version 2.0rc5, firefox browser on ubuntu linux.
I've tried other portal mods and get the same error on the same file...
I have checked all permissions and I still get this time out error, please help

thank you
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: BrookmanZ71 on April 22, 2011, 09:00:28 AM
^ I get this exact same thing will all Portal mods. Any suggestions?
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: savy118 on April 22, 2011, 06:20:08 PM
Hi brookman i think there is a posibility of a few ideas, but the problem is when we design a web page containg everything we set the page dimensions, either way something is not going to look right either to big or to small, im searching for a html code to shrink and expand evrything but not much luck yet im only reading this sort of code is available for pictures only at the moment. but still looking as of now but it must be posible, im no html expert but have been reading every dimension in your web design that uses a width of maybe 100px must be changed to percentage so reads 100% but not tried experimenting with it yet.

the only option is maybe leave out html center blocks for now and use it for links to web pages. 
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Fat_Man on April 23, 2011, 02:12:25 AM
The portal sidebars can be deactivated by users, with the +- button at the toip left hand side of the forum.
How can I stop that?

Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 23, 2011, 09:12:52 AM
Click on the edit column link under the ezblock manager and uncheck collaspeable option and save.
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Nidjo123 on April 24, 2011, 04:28:26 PM
I get this error whenever someone clicks on new page (topic, anything...) I'm only using Twitter EzBlock now. And only other mod I have is Aeva lite.
Forum version is 2.0 RC5

File: public_html/Sources/Subs-EzPortalMain2.php
Line: 3308

3304: function EzBlockTwitterTweets($paramters = array(), $numTweets = 5, $startHtml = '', $endHtml = '')
3305: {
3306: global $txt, $boardurl;
3307:
==>3308: $numTweets = (int) $numTopics;
3309: $twitterusername = '';
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Kindred on April 24, 2011, 04:42:07 PM
what error? You did not list the actual error text.
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Nidjo123 on April 24, 2011, 04:49:53 PM
Oh, sorry, I forgot to copy it.  :D

Quote8: Undefined variable: numTopics
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 24, 2011, 05:11:58 PM
Quote from: Nidjo123 on April 24, 2011, 04:28:26 PM
I get this error whenever someone clicks on new page (topic, anything...) I'm only using Twitter EzBlock now. And only other mod I have is Aeva lite.
Forum version is 2.0 RC5

File: public_html/Sources/Subs-EzPortalMain2.php
Line: 3308

3304: function EzBlockTwitterTweets($paramters = array(), $numTweets = 5, $startHtml = '', $endHtml = '')
3305: {
3306: global $txt, $boardurl;
3307:
==>3308: $numTweets = (int) $numTopics;
3309: $twitterusername = '';

Fixed posted an update to correct that issue.
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Nidjo123 on April 24, 2011, 05:23:46 PM
Sorry, but how can I update it to get a fix?  ???

Got it, nevermind. Thanks!
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 24, 2011, 06:01:11 PM
Glad you got it working with the fix.
Title: Large picture sticking out of borders
Post by: Nidjo123 on April 24, 2011, 06:46:20 PM
When  a picture is attached and it's large, it sticks out. Take a look at picture. It also happens after ezPortal is removed (it changed something and haven't removed it?). Is this a bug or is it just me?

SMF 2.0 RC5
Title: Re: ezPortal 0.4.8 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Nidjo123 on April 24, 2011, 07:10:05 PM
Hm, is this a bug in ezPortal? It happens when a large picture is attached. It sticks out of borders.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 28, 2011, 11:23:00 AM
New update
0.4.9
!Fixed bug in which html/javascript content is displayed in html ezBlocks and webpages. Should work better now for codes that used quotes
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Nidjo123 on April 28, 2011, 02:43:45 PM
Now, I'm getting this error only when admin goes to ezPortal configuration in admin panel.

Quote
http://domain.com/index.php?action=admin;area=ezpsettings;sa=settings
8: Undefined index: label
File: /home/yyyyyy/public_html/Themes/default/languages/EzPortal.english.php (generic_menu_dropdown_above sub template - eval?)
Line: 318

And this is that part of file:

// BBC Buttons
$txt['ezp_bbc_bold'] = 'Bold';
318=>$txt['ezp_bbc_italic'] = 'Italic';
$txt['ezp_bbc_underline'] = 'Underline';
$txt['ezp_bbc_strike'] = 'Strike';
$txt['ezp_bbc_img'] = 'Image';
$txt['ezp_bbc_link'] = 'Link';
$txt['ezp_bbc_move'] = 'Marquee';
$txt['ezp_bbc_left'] = 'Left';
$txt['ezp_bbc_center'] = 'Center';
$txt['ezp_bbc_right'] = 'Right';
$txt['ezp_bbc_size'] = 'Size';
$txt['ezp_bbc_face'] = 'Face';
$txt['ezp_bbc_hr'] = 'Horizontal Rule';


And this one:

Quotehttp://domain.com/index.php?action=ezportal;sa=blockstate;blockid=2;state=0
Failed to load the 'main' template.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on April 28, 2011, 02:50:49 PM
What SMF version?
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Nidjo123 on April 28, 2011, 02:52:00 PM
2.0 RC5
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: EsTiCLe on April 29, 2011, 04:09:13 AM
Hey I'm having a problem when I try to install EzPortal to my forums.  I'm using 2.0 RC5 and I have all the files listed here (http://wiki.simplemachines.org/smf/Installinghttp://wiki.simplemachines.org/smf/Installing) correctly CHMOD'd.  Whenever I click on Install Mod the page takes a long time to load and eventually gives me a Page is Temporarily Unavailable, Please Try Again Later message.

I know you have told someone before that it could be due to permissions with the host, but can you elaborate on that at all. And is there anything I can do?

Edit: Also, when I retry it, errors begin to appear and they are in reference to "/sources/Subs-Package.php" line 1566, which reads
                                if (!is_writable($dir . '/' . $entryname))
@chmod($dir . '/' . $entryname, 0777);
unlink($dir . '/' . $entryname);

The last line is the line in question, but I'm not sure that this is even related to the problem I'm having...  :-[
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: TheTitans on May 06, 2011, 09:58:41 AM
Hello,

Loving ezPortal so far, but I've encountered a problem regarding the Page Manager.

I want to add a few pages to my forum. When I click the "Add Page" button, I get the following error:

QuoteFatal error: Call to undefined function htmlentitie() in /home/pleckzco/public_html/animation/smf/Sources/EzPortal2.php on line 1187

I am using SMF 2.0 RC5. Can anyone help?
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 06, 2011, 10:09:52 AM
I think I fixed it the other day redownload the latest ezPortal from the mod site and let me know if that helps.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: TheTitans on May 06, 2011, 04:50:00 PM
Quote from: vbgamer45 on May 06, 2011, 10:09:52 AM
I think I fixed it the other day redownload the latest ezPortal from the mod site and let me know if that helps.

Uninstalled, deleted files, reuploaded files, reinstalled mod. Still getting that same error, unfortunately.
Is htmlentitie() a custom function or did you mean htmlentities()?
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 06, 2011, 06:19:59 PM
Meant htmlentities() will recheck my files and make sure I fixed it.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 06, 2011, 07:16:25 PM
Quote from: TheTitans on May 06, 2011, 04:50:00 PM
Quote from: vbgamer45 on May 06, 2011, 10:09:52 AM
I think I fixed it the other day redownload the latest ezPortal from the mod site and let me know if that helps.

Uninstalled, deleted files, reuploaded files, reinstalled mod. Still getting that same error, unfortunately.
Is htmlentitie() a custom function or did you mean htmlentities()?
Fixed reupdated the mod on the mod site.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: TheTitans on May 07, 2011, 08:08:47 AM
Thanks. Works like a charm now.  :)
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 07, 2011, 10:28:11 AM
Glad to have fixed issue and that it works now!
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: DHC on May 14, 2011, 05:12:32 PM
Trying to add a block for Members Online into the right column and appearing only on the Forum page - BUT - am not successful and getting this error:

http://www.**********.com/index.php?action=admin;area=ezpblocks;sa=addblock2
Apply Filter: Only show the errors with the same message
8: Undefined index: blocktype
Apply Filter: Only show the errors from this file
File: /home/*******/public_html/Sources/EzPortal2.php
Line: 343

I encounter the same problem when trying to install a Recent Posts block.

What to do to repair?
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: DHC on May 14, 2011, 05:14:42 PM
Can the RSS EzBlock be configured to scroll the news?
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Kindred on May 14, 2011, 06:46:19 PM
Quote from: DHC on May 14, 2011, 05:14:42 PM
Can the RSS EzBlock be configured to scroll the news?

no
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: DHC on May 14, 2011, 07:25:28 PM
Quote from: Kindred on May 14, 2011, 06:46:19 PM
Quote from: DHC on May 14, 2011, 05:14:42 PM
Can the RSS EzBlock be configured to scroll the news?

no

LOL

A Marketing Director with so few words and straight to the point. That is a rarity.

Thanks Kindred.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: thecomputertips on May 15, 2011, 09:09:48 PM
im having the same problem the person a few post above me posted....basically when i upload Version 0.49 and click install, it takes a long time and then it takes me to page that say "this page is temporary unavailable please try again later"
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Kindred on May 18, 2011, 09:55:55 AM
hey, vbgamer....   I think you might want to add this fix

in PM, a code tag can break the width/layout...


Quote from: SiNaN
The issue is caused by EzPortal. This will fix it:

Themes/default/EzPortal2.template.php

Code (Find) Select
if ($shownHeader == false)
{
echo '<table style="margin: 0 auto;"  width="100%">


Code (Replace) Select
if ($shownHeader == false)
{
echo '<table style="margin: 0 auto; table-layout: fixed;"  width="100%">

Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: DHC on May 18, 2011, 10:13:54 AM
Quote from: Kindred on May 18, 2011, 09:55:55 AM
hey, vbgamer....   I think you might want to add this fix

in PM, a code tag can break the width/layout...


Quote from: SiNaN
The issue is caused by EzPortal. This will fix it:

Themes/default/EzPortal2.template.php

Code (Find) Select
if ($shownHeader == false)
{
echo '<table style="margin: 0 auto;"  width="100%">


Code (Replace) Select
if ($shownHeader == false)
{
echo '<table style="margin: 0 auto; table-layout: fixed;"  width="100%">


Was wondering how these sorts of problems/fixes are communicated back to the developer. Now I know.

Thanks Kindred.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 18, 2011, 10:34:52 AM
Thanks post a fix
0.4.9a
!Fixed layout issue with code tags thanks to Sinan for fix
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: GlitchPC on May 20, 2011, 04:20:22 PM
vbgamer45,

Not sure if this has been mentioned and I apologize if it has, but I'm using SMF 1.1.13 and it would seem the block titles are breaking XHTML validation.  This is being caused by the following code:

valign="center"

I currently have 5 blocks on my board and every one of them result in validation errors.

Is there a fix for this?  Again, I apologize if this has been covered.  I didi do a search but found nothing relevant to my particular issue.  Unless it has been covered somewhere else.  There's 60 pages of posts, here, and it would take a while to read every one of them.

I'm currently using your latest version of this mod.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 20, 2011, 04:25:38 PM
Don't have a fix for that would need to find out some equivalent xhtml validation is nice to have but has almost no impact otherwise.
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Kindred on May 20, 2011, 04:27:14 PM
http://www.w3schools.com/tags/att_td_valign.asp

valign gets either top, bottom or middle. center is not valid
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 20, 2011, 04:33:21 PM
Ok I see middle it is!
Title: Re: ezPortal 0.4.9 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: GlitchPC on May 20, 2011, 04:39:21 PM
So what do I have to change for this?  Do I wait for an update to the mod?  How are we notified?  Sorry for all the "newbie" questions...
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 20, 2011, 10:04:49 PM
New update
0.5.0
!Fixed xhtml validation with valign="middle" fix
!Fixed layout issue with code tags in SMF 1.1.x thanks to Sinan for fix
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: GlitchPC on May 20, 2011, 10:59:02 PM
What is the procedure for updating the mod, though?  Pardon my inexperience with SMF Packages...
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 20, 2011, 11:01:09 PM
Just install the new package auto upgrades
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: GlitchPC on May 20, 2011, 11:25:49 PM
Sorry, I uploaded the new package and clicked "Install".  Now I get this error in EzPortal Settings:

Your Version: 0.5.0 Latest Version: 0.4.9 Your EzPortal version is not up to date!

When I clicked the Upgrade for the previous version, it fails XHTML, again.

I deleted the older package but, I still get that error message in EzPortal Settings.
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 20, 2011, 11:27:39 PM
It fails on what part for xhtml? cause that last update should fixed the valign issue.
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: GlitchPC on May 20, 2011, 11:33:02 PM
vbgamer,

This is how I updated the package:

1.  I uploaded the new package to my server.
2.  Installed the new package.
3.  That fixed the XHTML errors but, I was getting the above mentioned error error message in the Admin Control Panel of the mod...under "Settings"
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 20, 2011, 11:35:57 PM
Fixed updated the latest version number on myside you do not need to do anything.
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: GlitchPC on May 20, 2011, 11:42:21 PM
Thank you...all's well, now.
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: King N on May 21, 2011, 11:26:31 AM
I  see that there is a way for having a custom registration page using this mod
any help on achieving it
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 21, 2011, 11:31:42 AM
This mod does not affect registration I would check out using cusotm profile fields to customize it.
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: King N on May 21, 2011, 11:33:26 AM
Can we use it such that the design of the registration page changes
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: Pricetag on May 28, 2011, 02:24:00 AM
When I put my forum into maintenance mode, the ezportal page still shows the ezblocks, see here: gamersbridge.com how do I fix this..?
Title: Re: ezPortal 0.5.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 28, 2011, 11:38:06 AM
Quote from: Pricetag on May 28, 2011, 02:24:00 AM
When I put my forum into maintenance mode, the ezportal page still shows the ezblocks, see here: gamersbridge.com how do I fix this..?
Will work on an update to fix that issue.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 28, 2011, 01:02:29 PM
New update

0.5.1
+ Added ezBlock layout setting to hide the title bar of an ezBlock
! Do not load ezPortal if in maintenance mode
+ Added edit icon near Edit Column Link to make it standout a little better on the ezBlocks page
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: madfitz on May 29, 2011, 12:15:32 PM
I am using the RSS feed ezBlock to display 5 news headlines from the BBC feed, here: http://feeds.bbci.co.uk/news/uk/rss.xml

The ezBlock displays the 5 oldest headlines (ie those at the bottom of the page) but I would like to see the 5 newest items (from the top of the feed page).

Is there a way to do this?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on May 29, 2011, 12:39:21 PM
Quote from: madfitz on May 29, 2011, 12:15:32 PM
I am using the RSS feed ezBlock to display 5 news headlines from the BBC feed, here: http://feeds.bbci.co.uk/news/uk/rss.xml

The ezBlock displays the 5 oldest headlines (ie those at the bottom of the page) but I would like to see the 5 newest items (from the top of the feed page).

Is there a way to do this?
It gets the oldest entries first.Once they are processed after your feed check time then it gets the newer ones
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: madfitz on May 29, 2011, 02:05:16 PM
Ok, thanks.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: GlitchPC on May 29, 2011, 07:05:21 PM
After install, I have the following errors:

First error:

8: Undefined index: label
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/GenericMenu.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 318

The above happens when the following action is performed:  ?action=admin;area=ezpsettings;sa=settings

Second error:

8: Undefined index: admin_menu_name
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/EzPortal2.php
Line: 1468

The above error happens when performing the following action:  ?action=ezportal;sa=addpage

I'm running SMF 2.0 RC5 and the software is installed in my root directory.  I have the following mods installed:

1.  EzPorta  0.5.1
2.  SMF Staff Page  1.7
3.  Referrals System  3.0.2
4.  Facebook_Like v.1.4  1.4
5.  Contact Page 2.1.2

Any suggestions?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: savy118 on June 10, 2011, 11:19:55 AM
Hi there,
im trying to use ez portal menue block to see what it does, once selected and all boards are visable nothing shows up in menue, but other blocks work fine.

any ideas

thanks savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: savy118 on June 10, 2011, 11:32:24 AM
Its ok, i think i have to add a menu and link in the add menue section, seems to work ok .

thanks
savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0 RC5
Post by: vbgamer45 on June 10, 2011, 12:21:36 PM
Glad you got it working!
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 11, 2011, 07:57:21 PM
Updated with support for SMF 2.0 final
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 11, 2011, 08:17:43 PM
Yeah really like this portal getting the feel of this now,

i see there is a great colection of blocks to choose from, im just wondering if there is a block that randomly changes classified adds and posibly all the smf hacks and are clickable to another url.

thanks

savy

Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 11, 2011, 08:21:00 PM
There is a classifieds listing block. If you need something custom explain in detail on how it would work and what settings are required.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 11, 2011, 08:45:32 PM
Hi,
sorry i didnt mean classified, ive got that on the brain.....

may be im jumping the gun,

i noticed you had smf gallerie lite and there was a block for random image, im just wondering if there is a block for a random html block.
i have my own image in that block with its own referal link, but would be nice if that automatically changed my image stored in my image folder, but would like all my pictures with there own hyper link.

or what could work if its posible is the gallerie lite mod, but all user can see is ezblocks containing picture and not gallery but when they click on random picture it takes them to a url of any choice might be better.

thanks bruno.

"just trying to cure that still image so it changes"


Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 12, 2011, 09:47:34 AM
Quote from: savy118 on June 11, 2011, 08:45:32 PM
Hi,
sorry i didnt mean classified, ive got that on the brain.....

may be im jumping the gun,

i noticed you had smf gallerie lite and there was a block for random image, im just wondering if there is a block for a random html block.
i have my own image in that block with its own referal link, but would be nice if that automatically changed my image stored in my image folder, but would like all my pictures with there own hyper link.

or what could work if its posible is the gallerie lite mod, but all user can see is ezblocks containing picture and not gallery but when they click on random picture it takes them to a url of any choice might be better.

thanks bruno.

"just trying to cure that still image so it changes"

just another idea i dont know if it applies to this post i will edit and remove if desired, i was looking at the ad mod you have , which could be another better option, i have pointed that mod at a image in my folder which is clickable to any url, would be good if that mod was random, but also like the way ezblock has a title bar ubove image.

"so confused here sorry if this doesnt make sence"

regards

savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 12, 2011, 09:49:00 AM
Well another way you can do that is use a php block then do a random statement to switch it up so you can different html showing at different times.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 12, 2011, 11:37:46 AM
Sounds cool,

I dont know much html or php statement tho just the basics is there a tutorial on that anyware, or a search term to use to find that info sounds great.

i did have another way by inserting a flash vid but trouble was had to keep editing the flash all the time.

regards

savy/bruno
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 12, 2011, 01:50:05 PM
Good place to learn php/html/mysql for basics is www.w3schools.com have a bunch of tutorials on a variety of topics.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 12, 2011, 02:35:08 PM
thanks for site, looks interesting.

might be to complicated for now but i will try and study it.

im going to get classified 2morro any way and take it step by step lol im rushing in 2 things.

thanks for info

savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 12, 2011, 06:23:48 PM
Hello again ive been reading the topics and cant find this question covered.......

I altered sizes of blocks, but cant reset back to original size, if i correct one on the left colum it stretches the right side wider , and cant alter right side.
would like to set back to original if posible.

thanks

savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 12, 2011, 07:14:54 PM
Did you reset them under the "Edit Column" link for each column?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 12, 2011, 07:35:22 PM
Hi There,
Yeah i tried in edit colum links on all, my mistake was i didnt take note of original settings.
sometimes i can make smaller but makes right side wider, then alter right side and it alters the left , and i didnt change left.

really like the sound of the forum being able to shrink or expand especially if i have center page with html.


but what was good about it that happened by mistake it pushed my gallery picture neatly on the left with a huge block on the right wich was interesting lol.

do you have original settings any ware or is there something else i can do.

thanks vb.g

savy 8)
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: GlitchPC on June 12, 2011, 08:17:32 PM
Just did an upgrade to SMF 2.0 Final.  Clean install of your latest ezportal mod.  Getting the following errors:

http://xxxxxxxx.xxx/index.php?action=admin;area=ezpblocks;sa=blocks;sesc;c04bb171cdba=11abc3bd7dba37f3ad138fe5d2e9e19a
8: Undefined index: ezp_loaded
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/EzPortal2.template.php (ezportal_below sub template - eval?)
Line: 546


http://xxxxxxxx.xxx/index.php?action=admin;area=ezpsettings;sa=modules;c04bb171cdba=11abc3bd7dba37f3ad138fe5d2e9e19a
8: Undefined index: label
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/EzPortal2.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 327


http://xxxxxxxx.xxx/index.php?action=admin;area=ezpblocks;sa=addblock2
8: Undefined index: blocktype
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/EzPortal2.php
Line: 343


Okay...where did I go wrong?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 12, 2011, 08:23:36 PM
Quote from: savy118 on June 12, 2011, 07:35:22 PM
Hi There,
Yeah i tried in edit colum links on all, my mistake was i didnt take note of original settings.
sometimes i can make smaller but makes right side wider, then alter right side and it alters the left , and i didnt change left.

really like the sound of the forum being able to shrink or expand especially if i have center page with html.


but what was good about it that happened by mistake it pushed my gallery picture neatly on the left with a huge block on the right wich was interesting lol.

do you have original settings any ware or is there something else i can do.

thanks vb.g

savy 8)
Left Column Percent 15 Left Width 150
center Column Percent 70  Center Width 600
Right Column Percent 15 Right Width 150
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 12, 2011, 08:28:47 PM
Quote from: GlitchPC on June 12, 2011, 08:17:32 PM
Just did an upgrade to SMF 2.0 Final.  Clean install of your latest ezportal mod.  Getting the following errors:

http://xxxxxxxx.xxx/index.php?action=admin;area=ezpblocks;sa=blocks;sesc;c04bb171cdba=11abc3bd7dba37f3ad138fe5d2e9e19a
8: Undefined index: ezp_loaded
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/EzPortal2.template.php (ezportal_below sub template - eval?)
Line: 546


http://xxxxxxxx.xxx/index.php?action=admin;area=ezpsettings;sa=modules;c04bb171cdba=11abc3bd7dba37f3ad138fe5d2e9e19a
8: Undefined index: label
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/EzPortal2.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 327


http://xxxxxxxx.xxx/index.php?action=admin;area=ezpblocks;sa=addblock2
8: Undefined index: blocktype
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/EzPortal2.php
Line: 343


Okay...where did I go wrong?
I am not sure how #1 or #3 occur I am not getting those on my test install.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: GlitchPC on June 12, 2011, 08:35:39 PM
Well...I'm not talking about your test install...I'm talking about my install.  I had one mod installed when I installed your mod.  That particular mod was to put profile ranks in one's profile.

After your install...this is what happened.

Needless to say, I'm a little disappointed.  Anyhow...not sure what I'm going to do...

Probably a clean install of the forum software and find a decent portal.  I'm sure you can see I'm a little ticked.  Holding back just a tad, though.

I appreciate all you guys do...it's just that one thing leads to another and what I once had that was golden...is now oatmeal.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 12, 2011, 09:00:09 PM
Quote from: vbgamer45 on June 12, 2011, 08:23:36 PM
Quote from: savy118 on June 12, 2011, 07:35:22 PM
Hi There,
Yeah i tried in edit colum links on all, my mistake was i didnt take note of original settings.
sometimes i can make smaller but makes right side wider, then alter right side and it alters the left , and i didnt change left.

really like the sound of the forum being able to shrink or expand especially if i have center page with html.


but what was good about it that happened by mistake it pushed my gallery picture neatly on the left with a huge block on the right wich was interesting lol.

do you have original settings any ware or is there something else i can do.

thanks vb.g

savy 8)
Left Column Percent 15 Left Width 150
center Column Percent 70  Center Width 600
Right Column Percent 15 Right Width 150
thanks a lot .back to normal . savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: GlitchPC on June 13, 2011, 10:45:01 AM
Sorry for my attitude.  It's been a rough weekend.  Anyhow...I have almost all of the errors fixed but, I'm still getting one (as far as I know):

http://xxxxxxxx.xxx/index.php?action=admin;area=ezpblocks;sa=addblock2
8: Undefined index: blocktype
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/EzPortal2.php
Line: 343


Any suggestions?

Also, when using the core default template editing a block is a little difficult...the right side of the editor interface is cutoff.  See attachment...

Again, any suggestions?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 13, 2011, 11:09:58 AM
That's the one that is most puzzling... There should be no way that blocktype is not set. That variable is always passed to that page.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: GlitchPC on June 13, 2011, 11:25:32 AM
Okay...

I installed this mod, manually.  Now, I'm not perfect and I may have made an error somewhere.

Question...

Can I remove the manual edits I made to all of the parsed files...re-upload the mod's files and directories to the server...then reinstall the mod through the Package Manager?  I don't really want to lose anything I just did to the site but, seem to have a few errors here and there...

I don't have to delete the tables, either, do I?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 13, 2011, 12:10:11 PM
Yes you could as long as the original changes are added. But that error referenced above would not be from file edits but from the portal itself somehow...
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: GlitchPC on June 13, 2011, 12:16:44 PM
I'll give it another go and keep you posted...

Thanks...
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: GlitchPC on June 13, 2011, 12:29:03 PM
Okay...

Just installed it, again.  I have an error...

http://xxxxxxxx.xxx/index.php?action=admin;area=ezpsettings;sa=settings
8: Undefined index: label
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/GenericMenu.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 327


Also have another error when creating a block:

http://xxxxxxxx.xxx/index.php?action=admin;area=ezpblocks;sa=addblock2
8: Undefined index: blocktype
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/EzPortal2.php
Line: 343



When I go to my forum, the active tab stays on "Home", as well.

Also, how do I remove those buttons on the portal homepage that expand and collapse the right and left columns?  I hav left, right and center...and only one collapse button, though.

Where to go from here?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 17, 2011, 12:18:12 PM
Hi just wondering if an option is available for ez portal. im trying to create a menue on the menue block but only have an option of vertical or horizontal.
is it possible t o have a menue with words side by side and links underneath so i can fill the center block all the way accross.

example

Apple       pear      bannana      mellon      cherry       
Apple       pear      bannana      mellon      cherry       
Apple       pear      bannana      mellon      cherry       

thanks savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 17, 2011, 12:58:51 PM
Not currently you could do in an html block though
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: savy118 on June 17, 2011, 02:25:58 PM
Ah yes of course...

thanks for reply

savy
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PLAYBOY on June 22, 2011, 02:52:51 PM
Turkish Translation:

// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'Forum';
$txt['ezportal_admin'] = 'Portal';
$txt['ezportal_settings'] = 'Ayarlar';
$txt['ezportal_block_manager'] = 'Block Yoneticisi';
$txt['ezportal_page_manager'] = 'Sayfa Yoneticiti';

$txt['ezp_settings'] = 'Ayarlar';
$txt['ezp_modules'] = 'Moduller';
$txt['ezp_blocks'] = 'Blocklar';
$txt['ezp_pagemanager'] = 'Sayfa Yoneticisi';
$txt['ezp_import'] = 'Import';
$txt['ezp_download_blocks'] = 'Download ezBloklar';
$txt['ezp_installed_blocks'] = 'Yuklu ezBloklar';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';
$txt['permissiongroup_simple_ezportal'] = 'EzPortali Kullanabilsin';

$txt['permissionname_ezportal_page'] = 'Sayfalari Yonet';
$txt['permissionhelp_ezportal_page'] = 'Sayfalari ekleme,degistirme ve silmelere izin ver.';
$txt['cannot_ezportal_page'] = 'Portal sayfalarini yonetmeye izniniz yok.';

$txt['permissionname_ezportal_blocks'] = 'Blocklari Yonet';
$txt['permissionhelp_ezportal_blocks'] = 'Bloklari ekleme,degistirme ve silmeye izin.';
$txt['cannot_ezportal_blocks'] = 'Bloklari yonetmeye izniniz yok.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'EzPortal uzerinde tam kontrole izin ver';
$txt['cannot_ezportal_manage'] = 'EzPortali yonetmeye izniniz yok.';

who.turkish.php
// Begin EzPortal
$txt['whoall_forum'] = '<a href="' . $scripturl . '">' . $context['forum_name']  icerige bakmakta. '</a>.';
// END EzPortal Strings   




Update:

Holy Crap. I started with only modifications.englsih.php thinking it would be easy and quick. But hell no. I couldnt stop what i started so here is the rest of the turkish translation...

EzPortal.turkish.php

/*
EzPortal
Version 0.5.1
by:vbgamer45
http://www.ezportal.com
Copyright 2010-2011 http://www.samsonsoftware.com
*/
global $scripturl;
$txt['ezp_forum_tab'] = 'Forum';

$txt['ezp_savesettings'] = 'Ayarlari Kaydet';

$txt['ezp_settings'] = 'Ayarlar';
$txt['ezp_modules'] = 'Moduller';
$txt['ezp_blocks'] = 'Bloklar';
$txt['ezp_pagemanager'] = 'Sayfa yoneticisi';
$txt['ezp_import'] = 'Import';
$txt['ezp_credits'] = 'EzPortal Credits';
$txt['ezp_download_blocks'] = 'Download ezBloklar';
$txt['ezp_installed_blocks'] = 'Yuklu ezBloklar';

$txt['ezp_addpage'] = 'Sayfa Ekle';
$txt['ezp_editpage'] = 'Sayfa Degistir';
$txt['ezp_deletepage'] = 'Sayfa Sil';

$txt['ezp_addcolumn'] = 'Kolon Ekle';
$txt['ezp_editcolumn'] = 'Kolon Degistir';
$txt['ezp_deletecolumn'] = 'Kolon Sil';

$txt['ezp_addblock'] = 'Block Ekle';
$txt['ezp_editblock'] = 'Blok Degistir';
$txt['ezp_deleteblock'] = 'Block Sil';

$txt['ezp_saveblocks'] = 'Bloklari Kaydet';


$txt['ezp_import_tp'] = 'Import Tiny Portal';
$txt['ezp_import_sp'] = 'Import Simple Portal';
$txt['ezp_import_mx'] = 'Import Portal MX';
$txt['ezp_import_dreamportal'] = 'Import Dream Portal';
$txt['ezp_import_adkpotal'] = 'Import ADK Portal';
$txt['ezp_import_ultimateportal'] = 'Import Ultimate Portal';


$txt['ezp_import_information'] = 'Bu sayfa, daha onceden diger yuklemis oldugunuz portal sistemlerini listeler ve EzPortala bunlar import edebilirsiniz.  Suan icin Portal MX, Simple Portal and Tiny Portal desteklenmektedir';


$txt['ezp_txt_title'] = 'Baslik';
$txt['ezp_txt_views'] = 'Goruntulenme';
$txt['ezp_txt_date'] = 'Tarih';
$txt['ezp_txt_options'] = 'Secenekler';
$txt['ezp_txt_active'] = 'Aktive';
$txt['ezp_txt_disabled'] = 'Aktif degil';
$txt['ezp_txt_order'] = 'Sira';

$txt['ezp_txt_pages'] = 'Sayfalar: ';

$txt['ezp_txt_update_visible_options'] = 'Gorunen secenekleri guncelle';
$txt['ezp_txt_visible_areas'] = 'Gorunen bolumler';
$txt['ezp_txt_savevisible'] = 'Gorunen ayarlari kaydet';

$txt['ezp_txt_visible_actions'] = 'Gorunen faaliyetler';
$txt['ezp_txt_visible_actions_modifcations'] = 'Modifikasyon faaliyetleri';
$txt['ezp_txt_visible_actions_modifcations_note']  = 'Bunlar, eger modifikasyon yuklu ise calisirlar';
$txt['ezp_txt_visible_boards'] = 'Gorunen bolumler';
$txt['ezp_txt_visible_pages'] = 'Gorunen sayfalar';

$txt['ezp_txt_visible_add_new_action'] = 'Yeni bir faaliyet ekle';
$txt['ezp_txt_visible_add_new_action_title'] = 'Faaliyet Basligi';
$txt['ezp_txt_visible_add_new_action_action'] = 'Faaliyet';
$txt['ezp_txt_visible_add_new_action_note'] = 'Not, sadece bu kisimdan sonrasini ekleyin action=actionhere Ornek: profile gallery search';

$txt['ezp_txt_visible_all'] = 'Butun faaliyetler ve bolumler';
$txt['ezp_txt_visible_homepage'] = 'Portal Anasayfa';
$txt['ezp_txt_visible_forum'] = 'Forum';
$txt['ezp_txt_visible_board_index'] = 'Bolum Indeks';

$txt['ezp_txt_columnwidth'] = 'Kolon genisligi ';
$txt['ezp_txt_columnwidth_percent'] = 'Kolon genislik yuzdesi';
$txt['ezp_txt_columnwidth_percent_note'] = 'Not, kolon yuzdesi kolon genisligini gecersiz kilar. Sifirdan fazla olmasi gerekli';
$txt['ezp_txt_columntitle'] = 'Kolon Basligi ';

$txt['ezp_edit'] = '[Degistir]';
$txt['ezp_delete'] = '[Sil]';

$txt['ezp_edit2'] = 'Degistirt';
$txt['ezp_delete2'] = 'Sil';

$txt['ezp_yes'] = 'Evet';
$txt['ezp_no'] = 'Hayir';


$txt['ezp_donate'] = '<b>EzPortal Websitenize Yardimci oldumu?</b> O zaman gelistiricileri destekleyin:';
$txt['ezp_developedby'] = 'EzPortal vbgamer45 tarafindan yapilmis <a href="http://www.livephotoshop.com">Online Photoshop - Playboy</a> tarafindan tercume edilmistir. Yapimcinin adresi <a href="http://www.smfhacks.com">SMFHacks.com</a>';
$txt['ezp_helpout'] = 'EzPortal a yardim etmek istermisiniz? Bircok farkli gorev ariyoruz, gelistirici blok yapici, grafik dizayncilari, tercumanlar, destekleyici takim ve daha...! Eger yardim edebielceginizi dusunuyorsaniz lutfen EzPortal.com adresine yazin';

// Latest Version:
$txt['ezp_txt_latestversion'] = 'Guncel versiyon: ';
$txt['ezp_txt_yourversion'] = 'Sizin Versiyonunuz: ';
$txt['ezp_txt_version_outofdate'] = 'EzPortal Versiyonunuz Guncel Degil!';


$txt['ezp_txt_page_title'] = 'Sayfa Basligi';
$txt['ezp_txt_page_content'] = 'Sayfa Icerigi';
$txt['ezp_txt_permissions'] = 'Izinler';


$txt['ezp_txt_block_type'] = 'Block Türü';
$txt['ezp_txt_block_title'] = 'Blok Basligi';
$txt['ezp_txt_block_version'] = 'Blok Versiyonu';
$txt['ezp_txt_block_author'] = 'Blok Yazari';

$txt['ezp_txt_block_data'] = 'Blok Datasi';
$txt['ezp_txt_column'] = 'Kolon';
$txt['ezp_txt_block_managers'] = 'Blok Yoneticileri';
$txt['ezp_txt_additional_settings'] = 'Ek ayarlar';
$txt['ezp_txt_can_collapse'] = 'Kullanici bu bologu katlayabilir';
$txt['ezp_txt_can_collapse_column'] = 'Kullanici Katlayabilir';

$txt['ezp_txt_import_block']  = 'Import ezBlock';
$txt['ezp_txt_import_block_file']  = 'Upload edilecek ezBlock Dosyasi';
$txt['ezp_txt_upload_block'] = 'Upload ezBlock';


$txt['ezp_txt_createezBlock'] = 'Kisisel bir ezBlock yarat';
$txt['ezp_txt_createezBlock_note'] = 'Kendine ait, guclu bir EzBlok yaratmak istermisin? Yarattigin EzBloklari paylasmak istermisin? <br />O zaman burayi ziyaret et <br /><a href="http://www.ezportal.com/ezblock-coding-forums/ezblock-format-creating-custom-ezblocks/" target="_blank">http://www.ezportal.com/ezblock-coding-forums/ezblock-format-creating-custom-ezblocks/</a>';


$txt['ezp_txt_uninstall_block'] = 'Uninstall';

$txt['ezp_txt_uninstall_block2'] = 'Uninstall ezBlock';

$txt['ezp_deletepage_confirm'] = "Bu sayfayi silmek istediginizden eminmisiniz?";
$txt['ezp_deleteblock_confirm'] = "Bu Blogu silmek istediginizden eminmisiniz?";



// Settings
$txt['ezp_path'] = 'EzPortal Yolu';
$txt['ezp_url'] = 'EzPortal Adresi';
$txt['ezp_ezcache_warning'] = 'Dikkat ezcache dosyayi yazilabilir degil! En iyi performans icin biz cash dosyasinin yazilabilir olmasini oneriyoruz.';
$txt['ezp_portal_enable'] = 'Portal Ana Sayfasini aktive et';
$txt['ezp_portal_homepage_title'] = 'Ozel Ana Sayfa Basligi';
$txt['ezp_allowstats'] = 'EzPortal.com un Portalinizdan bilgi almasina izin ver.';
$txt['ezp_hide_edit_delete'] = 'Degistirme/Silme seceneklerinin bloklarda Adminler ve block yoneticileri icin gorunmesini sakla';

// Errors
$txt['ezp_err_no_page_title'] = 'Sayfa basligi gerekli';
$txt['ezp_err_no_page_cotent'] = 'Sayfa icerigi gerekli';
$txt['ezp_err_no_page_selected'] = 'Hic sayfa secilmedi';
$txt['ezp_err_no_column_selected'] = 'Hic kolon secilmedi';
$txt['ezp_err_page_does_not_exist'] = 'Boyle bir sayfa yok';
$txt['ezp_err_no_block_selected'] = 'Hic blok secilmedi';
$txt['ezp_err_no_page_permission'] = 'Bu sayfaya erismek icin yetkiniz yok';
$txt['ezp_err_no_ezblock_file_exists2'] = 'Hata, upload edilen blok bulunamadi!';
$txt['ezp_err_no_ezblock_file_exists'] = 'Ezblok dosyasi zaten var. Lutfen once onu silin.';
$txt['ezp_err_no_invalid_ezblockfile'] = 'Yanlis EzBlok dosyasi';
$txt['ezp_err_no_missing_ezblockheader'] = 'Blok header bilgileri mevcut degil. Dosya isleme alinamadi.';
$txt['ezp_err_no_block_uploaded'] = 'Upload edilmek icin bir Ezblok secilmedi.';
$txt['ezp_err_no_block_title'] = 'Blok basligi girilmedi. Bu EzBlock icin gereklidir.';
$txt['ezp_err_no_block_type'] = 'Block turu girilmedi. Bu EzBlock icin gereklidir';
$txt['ezp_err_no_php_syntax_eror'] = 'EzBlock Calismadi. PHP syntax error!';
$txt['ezp_err_no_parameter_value'] = 'Gerekli parametre degeri girilmedi bu bolum icin ';
$txt['ezp_err_uninstall_block'] = 'Bu blok uninstall edilemedi. Cunku listelenen bloklar bu blogu kullaniyor:<br />';
$txt['ezp_err_no_block_manage_permission'] = 'Bu blogu gormeye izniniz yok.';

$txt['ezp_err_actiontitle'] = 'Faaliyete baslik gerekli';
$txt['ezp_err_actionname'] = 'Bir faaliyet gerekli!';
$txt['ezp_err_bad_action_url'] = 'Yanlis faaliyet adresi. http:// seklinde yazilanlar desteklenmiyor. Sadece gallery,shop,arcade gibi olmasi gerek';


$txt['ezp_tab_settings'] = 'EzPortal Ayarlari';
$txt['ezp_tab_pagemanager'] = 'EzPortal Sayfa Yoneticisi';
$txt['ezp_tab_blockmanager'] = 'EzPortal Blok Yoneticisi';

$txt['ezp_tab_settings_desc'] = 'EzPortal Ayarlar bolumu ezportal i ayarlamanizi, moduller yuklemenizi ve mevcut bir portaldan data import etmenizi saglar.';
$txt['ezp_tab_pagemanager_desc'] = 'EzPortal sayfa yoneticisi forumunuza kullanimi kolay olarak yeni sayfalar yaratmanizi saglar.';
$txt['ezp_tab_blockmanager_desc'] = 'EzPortal Blok yonetimi forumunuza yeni bloklar yapmanizi ve yonetmenizi saglar.';

$txt['ezp_err_invalid_module_list'] = 'Modul listesi alinamadi';
$txt['ezp_module_download'] = 'Download';

// Built In blocks
$txt['ezp_store_block_noinstall'] = 'SMF Store yuklu degil ve bu blok kullanilamaz. Daha fazla bilgi icin SMF Store a gidin <a href="http://www.smfhacks.com/smf-store.php" target="_blank">http://www.smfhacks.com/smf-store.php</a>';
$txt['ezp_classifieds_block_noinstall'] = 'SMF Classifieds yuklu degil ve bu blok kullanilamaz. Daha fazla bilgi icin SMF Classifieds a gidin <a href="http://www.smfhacks.com/smf-classifieds.php" target="_blank">http://www.smfhacks.com/smf-classifieds.php</a>';
$txt['ezp_gallery_block_noinstall'] = 'SMF Gallery yuklu degil ve bu blok kullanilamaz. Daha fazla bilgi icin SMF Gallery e gidin <a href="http://www.smfhacks.com/smf-gallery.php" target="_blank">http://www.smfhacks.com/smf-gallery.php</a>';

$txt['ezp_links_block_noinstall'] = 'SMF Links yuklu degil ve bu blok kullanilamaz.';
$txt['ezp_articles_block_noinstall'] = 'SMF Articles yuklu degil ve bu blok kullanilamaz.';
$txt['ezp_downloads_block_noinstall'] = 'Downloads System yuklu degil ve bu blok kullanilamaz.';
$txt['ezp_arcade_block_noinstall'] = 'SMF Arcade yuklu degil ve bu blok kullanilamaz.';
$txt['ezp_smfshop_block_noinstall'] = 'SMF Shop yuklu degil ve bu blok kullanilamaz.';
$txt['ezp_smftags_block_noinstall'] = 'Tagging System for Topics yuklu degil ve bu blok kullanilamaz.';
$txt['ezp_adsellerpro_block_noinstall'] = 'Ad Seller Pro yuklu degil ve bu blok kullanilamaz. Daha fazla bilgi icin Ad Seller Pro a gidin <a href="http://www.smfhacks.com/ad-seller-pro.php" target="_blank">http://www.smfhacks.com/ad-seller-pro.php</a>';


// Login out
$txt['ezp_built_login'] = 'Giris';
$txt['ezp_built_logout'] = 'Cikis';
$txt['ezp_built_username'] = 'Kullanici Adi';
$txt['ezp_built_password'] = 'Sifre';

// Theme select
$txt['ezp_built_changetheme'] = 'Tema Degistir';

// Who's online ezblock
$txt['ezp_guest'] = 'Ziyaretci';
$txt['ezp_guests'] = 'Ziyaretciler';
$txt['ezp_user'] = 'Kullanici';
$txt['ezp_users'] = 'Kullancilar';
$txt['ezp_hidden'] = 'Gizli';
$txt['ezp_buddy'] = 'Arkadas';
$txt['ezp_buddies'] = 'Arkadaslar';

// Search Box
$txt['ezp_built_search'] = 'Ara';
$txt['ezp_built_searchadvanced'] = 'Gelismis Arama';

// Recent Topics Posts
$txt['ezp_built_by'] = 'gonderen';
$txt['ezp_built_new'] = 'Yeni';

// Poll ezBlock
$txt['ezp_built_submitvote'] = 'Oy Gonder';
$txt['ezp_built_totalvoters'] = 'Oy Kullananlarin Toplami';

// News ezBlock
$txt['ezp_built_news_1'] = 'yorum';
$txt['ezp_built_news_2'] = 'yorumlar';
$txt['ezp_built_news_3'] = 'Yorum Yaz';

// Arcade ezBlock
$txt['ezp_arcade_no_scores'] = 'Hic puan kayit edilmedi.';
$txt['ezp_arcade_latest_score'] = '<div title="%5$s">%4$s scored %3$s on <a href="%1$s">%2$s</a></div>'; // Bu kismi istediginiz gibi kelime siralamasini degistirerek ozellestirebilirsiniz.
$txt['ezp_arcade_latest_score_item'] = '%4$s scored %3$s on <a href="%1$s">%2$s</a>';
$txt['arcade_guest'] = 'Misafir';
// Gallery
$txt['ezp_gallery_text_by'] = 'Gonderen:';
$txt['ezp_gallery_text_comments'] = 'Yorumlar';

// Login Box
$txt['ezp_userbox_myimages'] = 'Gorsellerim';
$txt['ezp_userbox_myfiles'] = 'Dosyalarim';
$txt['ezp_userbox_mylistings'] = 'Listelerim';
$txt['ezp_maintain_mode'] = 'Bakim Modu';
$txt['gallery_text_views'] = 'Goruntuleme:';

$txt['ezp_userbox_unread_posts'] = 'Okunmamis Iletiler';
$txt['ezp_userbox_unread_replies'] = 'Iletilerime Yazilan Yeni Yanitlar';
$txt['ezp_userbox_pm'] = 'Ozel Mesaj: ';
$txt['ezp_userbox_pm_new'] = 'Yeni';
$txt['ezp_loginbox_forgot'] = 'Sifrenizi mi Unuttunuz?';

// Shoutbox Settings
$txt['ezp_shoutbox_settings'] = 'Shoutbox Settings';
$txt['ezp_shoutbox_enable'] = 'Enable Shoutbox';
$txt['ezp_shoutbox_waittime'] = 'Wait Time between shouts';
$txt['ezp_shoutbox_showdate'] = 'Show date on shoutbox';
$txt['ezp_shoutbox_archivehistory'] = 'Show shout history link';
$txt['ezp_shoutbox_hidesays'] = 'Hide says on shoutbox';
$txt['ezp_shoutbox_hidedelete'] = 'Hide admin delete shout entry';
$txt['ezp_shoutbox_history_number'] = 'Number of items to show per page on shoutbox history';
$txt['ezp_shoutbox_showbbc'] = 'Show BBC';
$txt['ezp_shoutbox_showsmilies'] = 'Show Smilies';
$txt['ezp_shoutbox_refreshseconds'] = 'Auto Refresh Time in seconds';

$txt['ezp_txt_viewshouthistory'] = 'View Shout History';
$txt['ezp_err_viewshouthistory'] = 'Shoutbox history is disabled';
$txt['ezp_txt_shouthistory'] = 'Shoutbox History';

$txt['ezp_shoutbox_refreshseconds'] = 'Shoutbox refresh time in seconds <span class="smalltext">(Enter zero to disable)</span> ';
$txt['ezp_shoutbox_showsmilies'] = 'Show smilies on shoutbox';
$txt['ezp_shoutbox_showbbc'] = 'Show BBC box icons for shoutbox';

$txt['ezp_shoutbox_error_disabled'] = 'Shoutbox is disabled. To enable use the EzPortal Settings area.';
$txt['ezp_shoutbox_add_shout'] = 'Add Shout';
$txt['ezp_shoutbox_says'] = ' says: ';

$txt['membergroups_members'] = 'Regular Members';
$txt['membergroups_guests'] = 'Guests';


$txt['ezp_no_rating'] =   '(None)';

$txt['ezp_txt_icon'] =   'Icon';
$txt['ezp_txt_noicon'] = 'None';

$txt['ezp_txt_posts'] = 'Posts: ';

// Menu Manager
$txt['ezp_txt_menu_add'] = 'Menuye icerik ekle';
$txt['ezp_txt_menu_edit'] = 'Menu icerigini degistir';
$txt['ezp_txt_menu_delete'] = 'Menu icerigini sil';

$txt['ezp_txt_menu_title'] = 'Menu Basligi';
$txt['ezp_txt_menu_link'] = 'Menu Link';
$txt['ezp_txt_menu_newwindow'] = 'Yeni bir pencerede ac';

$txt['ezp_err_menu_title'] = 'Menu Basligi Gerekli';
$txt['ezp_err_menu_link'] = 'MEnu Adresi Gerekli';
$txt['ezp_txt_menu_add_block_note'] = 'Not: Menu yarattiktan sonra ezblokta ona ait menu icerigini ekleyebilir/degistirebilir siniz';
$txt['ezp_txt_menu_order'] = 'Sira';
$txt['ezp_txt_menu_enabled'] = 'Aktif';
$txt['ezp_txt_menu_up'] = 'Yukari';
$txt['ezp_txt_menu_down'] = 'Asagi';


$txt['ezp_err_menu_down'] = 'Asagida hic menu icerigi yok';
$txt['ezp_err_menu_up'] = 'Yukarida hic menu icerigi yok';

// RSS Feed
$txt['ezp_feed_err_xmlerror'] = 'EzPortal XML hata isleyici feedi';
$txt['ezp_feed_err_nodownload'] = 'RSS feed download edilemedi';

// BBC Buttons
$txt['ezp_bbc_bold'] = 'Kalin';
$txt['ezp_bbc_italic'] = 'Italik';
$txt['ezp_bbc_underline'] = 'Alt Cizgili';
$txt['ezp_bbc_strike'] = 'Ustune Cizgi';
$txt['ezp_bbc_img'] = 'Resim';
$txt['ezp_bbc_link'] = 'Link';
$txt['ezp_bbc_move'] = 'Hareketli';
$txt['ezp_bbc_left'] = 'Sol';
$txt['ezp_bbc_center'] = 'Orta';
$txt['ezp_bbc_right'] = 'Sag';
$txt['ezp_bbc_size'] = 'Boyut';
$txt['ezp_bbc_face'] = 'Yuz';
$txt['ezp_bbc_hr'] = 'Yatay Cizgi';

$txt['ezp_txt_checkall'] = 'Hepsini sec';


// Stats block
$txt['ezp_stats_members'] = 'Uyeler';
$txt['ezp_stats_total_members'] ='Toplam Uyeler';
$txt['ezp_stats_latest'] = 'Son Gonderilen';
$txt['ezp_stats_new_this_month'] =  'Bu Ayin Yenisi: ';
$txt['ezp_stats_new_this_week'] = 'Bu Haftanin Yenisi: ';
$txt['ezp_stats_new_today'] = 'Bugunun Yenisi: ';
$txt['ezp_stats_stats'] = 'Istatistikler';
$txt['ezp_stats_total_posts'] ='Ileti Toplami';
$txt['ezp_stats_total_topics'] = 'Baslik Toplami';
$txt['ezp_stats_most_online_today'] = 'Bugün En Çok Çevrimiçi';
$txt['ezp_stats_most_online_ever'] = 'En Çok Çevrimiçi';
$txt['ezp_stats_users_online'] = 'Çevrimiçi Uyeler';
$txt['ezp_stats_users_guests'] = 'Ziyaretciler';
$txt['ezp_stats_users_spiders'] = 'Robotlar: ';
$txt['ezp_stats_users_total'] = 'Toplam';

$txt['ezp_credits'] = 'Credits';

$txt['ezp_txt_err_no_import_yet'] = 'Hicbir importer gelistirilmedi. Eger herhangi bir portal icin importer gerekiyorsa bizimle baglantiya gecin.';

$txt['ezp_welcome_guest'] = 'Merhaba, Sayin <b>Ziyaretci</b>.<br />
Lutfen <a href="' .$scripturl .'?action=login">Giris Yapin</a> yada <a href="' .$scripturl .'?action=register">Kayit Olun</a>.';
$txt['ezp_txt_login_for'] = 'Cevirimici Sureniz';

$txt['ezp_txt_login_for_one_hour'] = '1 Saat';
$txt['ezp_txt_login_for_day'] = '1 Gun';
$txt['ezp_txt_login_for_week'] = '1 Hafta';
$txt['ezp_txt_login_for_month'] = '1 Ay';
$txt['ezp_txt_login_for_forever'] = 'Daima';

$txt['ezp_disable_tinymce_html'] = 'Html ezblok eklerken/degistirirken TinyMCE yi aktif etme';
$txt['ezp_hide_tinymce'] = 'TinyMCE Editorunu Sakla';
$txt['ezp_show_tinymce'] = 'TinyMCE Editorunu Goster';


$txt['ezp_twitter_loading'] = 'Twitter feed yuleniyor';

$txt['ezp_hidetitlebar'] = 'Baslik Cubugunu Sakla';




Just to let you know... It was a pain in my B*** :)
but it really is a nice mod. You did a good job.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PLAYBOY on June 22, 2011, 06:17:02 PM
Am i the only one who is having trouble seeing the credits and importer page?

I donno the cause of it but there are 2 of the same 'ezp_credits' in ezportal.english.php
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on June 23, 2011, 01:28:40 PM
Thanks for translation
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Apllicmz on July 01, 2011, 01:53:29 PM
Good work
Nice Mod i done it Translate Portuguese
But now o need Know how can remove colapse Check Picture

Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: MiY4Gi on July 03, 2011, 12:24:53 AM
Am I allowed or even able to edit the UserBox ezPortal block? I want to CENTRE the contents, and possibly add one or two more links below Unread Posts and Unread Replies.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 03, 2011, 12:28:30 AM
Yes you can it is found in Sources/Subs-EzportalMain.php I think
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: MiY4Gi on July 03, 2011, 01:10:19 AM
Thanks. Now I just gotta figure out which code goes where. :D All those apostrophes and Dollars can make a person go crazy.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Diamond1444 on July 18, 2011, 01:40:11 PM
I need some help, please.  I have 4 menu blocks on the home page that link to areas for guests.  I believe I have everything checked correctly, but when I'm logged out and click on those links it just brings me to the login or register page again.  What did I miss in enabling guests to actually see the boards when clicking on the home page links?  Thanks!
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 18, 2011, 01:52:22 PM
Quote from: Diamond1444 on July 18, 2011, 01:40:11 PM
I need some help, please.  I have 4 menu blocks on the home page that link to areas for guests.  I believe I have everything checked correctly, but when I'm logged out and click on those links it just brings me to the login or register page again.  What did I miss in enabling guests to actually see the boards when clicking on the home page links?  Thanks!
Are they links to boards on your forum? Are the boards public?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Diamond1444 on July 18, 2011, 03:06:46 PM
Yes, they're links to pages inside the forum and those pages are checked for guests to see in the boards, if that's what you mean.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 18, 2011, 03:07:46 PM
What does the link look like when you click on a menu link? Post an example here.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Matt G on July 18, 2011, 03:13:03 PM
Great Mod. Thank you for all your hard work.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Diamond1444 on July 18, 2011, 03:13:30 PM
This is what the links look like when I'm signed out.  The second shows where it takes me when the link is clicked on.

Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 18, 2011, 03:20:50 PM
Is the link any different in the address bar?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Diamond1444 on July 18, 2011, 03:26:19 PM
This is the link in the address bar when I'm signed in.    http://pogohaven.com/index.php?topic=2.msg54726#new

This is what's there when I'm logged out.  http://pogohaven.com/index.php?PHPSESSID=e6630cff908bba27d0ba8e6e1e33f35e&topic=2.msg54726#new
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 18, 2011, 03:30:32 PM
It's a board permission issue I can't view that post as a guest either http://pogohaven.com/index.php?topic=2.msg54726#new
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Diamond1444 on July 18, 2011, 03:39:49 PM
I have guests checked in the boards themselves, in membergroups and on the portal.  Where else should I look?  And thanks for all your help!
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on July 18, 2011, 08:00:11 PM
my forum no longer does install of modes or upgrades. all i get is a clear page and if i refresh
i get error session timed out.

to do the update my self do i simply replace the following

Move the included file "EzPortal2.php" to "./Sources".
Move the included file "Subs-EzPortal-Convert2.php" to "./Sources".
Move the included file "Subs-EzPortalMain2.php" to "./Sources".
Move the included file "EzPortal2.template.php" to "./Themes/default".
Move the included file "EzPortal.english.php" to "./Themes/default/languages".
Move the included file "EzPortal.english-utf8.php" to "./Themes/default/languages".
Move the included file "Subs-EzPortalRSS2.php" to "./Sources".
Move the included directory "ezportal" to "the root directory".

or do i need to edit php files as well as if i was installing the mod
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 18, 2011, 08:00:58 PM
That's about it and run the ezportalinstall.php file to update any blocks etc
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on July 18, 2011, 08:17:05 PM
Quote from: vbgamer45 on July 18, 2011, 08:00:58 PM
That's about it and run the ezportalinstall.php file to update any blocks etc
where do I put EzPortalInstall.php just in my main forum folder! and run it from there?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 18, 2011, 08:17:51 PM
Yup just in the main folder if you use 2.0 grab the 2install.php file.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on July 18, 2011, 10:12:33 PM
After running http://www.forum.com/smf/EzPortalInstall2.php I still got a blank page
BUT all looks good and forum with ez**** is all working again
when checking ez*** settings it says Your Version: 0.5.1 Latest Version: 0.5.1
when checking Packages is says
EzPortal 0.5.1 [Upgrade]
EzPortal 0.4.9 [Uninstall]


BUT as I did the upgrade my self I removed both from my Packages lists "i think that was the correct thing to do"
and everything so far looks happy and working
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on July 18, 2011, 10:28:13 PM
Yeah that looks good everything should be working fine after you did the db table update.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on July 21, 2011, 12:31:56 AM
With the Recent Topics block is there away to not show the by membername

LOL (http://www.aussierampage.com/smf/index.php?topic=1062.msg3958;topicseen#new) by T3CHN0 (http://www.aussierampage.com/smf/index.php?action=profile;u=2)
Today at 12:32:5

And just leave the topic day and time to be displayed?

every time a member posts; the user name changes and some of my members are blonde :D
they ask about the post I started and I have to explain I replied but the post was started by bla..bla..bla..
you know what I mean.

cheers
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: andyac on August 13, 2011, 04:09:08 PM
is there a way to disable the portal for certain themes? I have smf4mobile and it ruins its purpose with any portal :(
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on August 13, 2011, 04:11:56 PM
Yeah it would be possible you can a check
global $ID_THEME;
IF ($ID_THEME == THETHEMEIDYOUWANTTODISABLE) RETURN;

If you place it inside the sources/ezportal.com setupportal function
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: cosmicxxx on August 19, 2011, 02:56:48 AM
i tried to install this in my dev site using v2.0.

installation through package manager has a test failed error, involving subs.php file.

i've tried manual install, but still no blocks appears, even it is enabled in the settings.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on August 19, 2011, 01:20:32 PM
Post your subs.php and will take a look. Make sure your forum is not in maintenance mode
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: cosmicxxx on August 22, 2011, 12:07:28 AM
i have a follow up inquiry please.

is it possible to install 2 portal mods? im planning of a adkportal plus ezportal
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on August 22, 2011, 07:27:58 AM
Why would you do that? .???

I am fairly certain that the mods will conflict, but additionally, the mods do essentially the same thing... Installing two portals at the same time is silly.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: cosmicxxx on August 22, 2011, 09:16:39 AM
coz, i already setup adk, and later found out about ezportal.

and ezportal has functions i wanted that adk does not have. ezportal has the smfclassified blocks.

i tried to create a custom block in adk using php block, but im getting parse errors.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on August 22, 2011, 09:21:24 AM
so, uninstall ADK and then install EZ...
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: cosmicxxx on August 22, 2011, 10:13:46 AM
thanks for the tips...

but... that seems pretty hard for me... i fell in love with ADK Portal.

thank you for answering my various inquiry in various boards.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on August 22, 2011, 10:54:41 AM
well, attempting to run two portals at once is going to cause issues...   if not major issues.

So, pick one and work with that.
If you have issues getting a block to show, work with the mod author in the specific support thread for that mod to get the right code.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: cosmicxxx on August 22, 2011, 11:19:59 AM
yeah thanks... i decided to keep adk. the author of the mod is flat out busy.

that's why im asking for help over here.

any way... can you help me centering this code

<?php 
ssi_classrandomlisting
();
 
?>


Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on August 22, 2011, 11:51:50 AM

<?php
echo '<center>';
ssi_classrandomlisting();
echo 
'</center>';
?>



but that is getting off topic from EZPortal...   (also, do note that the author of smf classifieds is also the author of EZPortal... )

Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: cosmicxxx on August 22, 2011, 12:14:53 PM
off topic i know... just askin...

and yeah... i know about the authors of those two mods.

just as i've said, the author is a busy man... he's short of time answering questions in his support site.

anyways... i've created another topic for my centering issue before i asked it over here.

thanks again for the center help...

i'll just create another topic for my portal block prob.
Title: Re: ezPortal 0.2.8 for SMF (Now Suppots SMF 2.0) 20+ New Blocks
Post by: T3CHN0 on September 14, 2011, 01:08:05 AM
Quote from: fluffmama on August 10, 2009, 02:11:47 PM



Hello, much like the image you see here I have lost the admin links and also as the top image shows a blank space
I don't see the blank space either.

My forum for some unknown reason would only display a blank white page a few days ago.
I found by running in maintenance mode that ezportal  was not loading, i uninstalled EZ put the forum back out of maintenance mode
and forum was happy again.

I then did a reinstall of EZ and it installed with no errors and everything is back and working how it should.

But now today I wanted to remove a block and notice I have no admin settings for EZ

my browser has a history of EZ and I find I can still make changes by going to
Quotehttp://www.mysite.com/index.php?action=admin;area=ezpblocks;sa=blocks;sesc=d73fdd32f4f19015566f40c241ea5471;ece75bb2fd0a=d73fdd32f4f19015566f40c241ea5471

and I can work around it and find my way. but what i would rather have is the links back in my admin panel.

I have searched all over to try find my answere within this topic
I have also uninstalled the mod with no errors, reinstalled the mod again with no errors and checked the link
parse (http://custom.simplemachines.org/mods/index.php?mod=1461) install and everything is correct.

What am I not looking at? have I missed something?
all file permissions to all my php files are on 755 - should I change any of them to 777?

thanks
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on September 14, 2011, 01:16:20 AM
Your missing language strings added to your themes/default/modifications.english.*.php files
And possibly your custom theme's language files as well.
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on September 14, 2011, 04:00:15 AM
Quote from: vbgamer45 on September 14, 2011, 01:16:20 AM
Your missing language strings added to your themes/default/modifications.english.*.php files

maybe you mean Themes/default/languages/modifications.english.php
and I don't use UT8 what ever it's called, My default theme is Default but edited

these are the strings I have there


// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'Forum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Settings';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'Page Manager';

$txt['ezp_settings'] = 'Settings';
$txt['ezp_modules'] = 'Modules';
$txt['ezp_blocks'] = 'ezBlocks';
$txt['ezp_pagemanager'] = 'Page Manager';
$txt['ezp_import'] = 'Import';
$txt['ezp_download_blocks'] = 'Download ezBlocks';
$txt['ezp_installed_blocks'] = 'Installed ezBlocks';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';
$txt['permissiongroup_simple_ezportal'] = 'Use EzPortal';

$txt['permissionname_ezportal_page'] = 'Manage Pages';
$txt['permissionhelp_ezportal_page'] = 'Allows adding,editing,and deleting of pages.';
$txt['cannot_ezportal_page'] = 'You are not allowed to manage EzPortal pages.';

$txt['permissionname_ezportal_blocks'] = 'Manage ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Allows adding,editing,and deleting of ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'You are not allowed to manage ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Allows full control of EzPortal';
$txt['cannot_ezportal_manage'] = 'You are not allowed to manage EzPortal.';

// END EzPortal Text Strings           


?>


is there more I need to add?
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on September 14, 2011, 12:38:40 PM
Also check out themes/customtheme/languages/ that file too

If using SMF 2.0 you need to clear the cache under forum maintenance

Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on September 17, 2011, 07:41:17 PM
Minor update:
0.5.2
!Fixed SMF Gallery Random ezBlock not using number of images per row settings
Title: Re: ezPortal 0.5.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on September 17, 2011, 09:43:08 PM
Quote from: vbgamer45 on September 14, 2011, 12:38:40 PM
Also check out themes/customtheme/languages/ that file too

If using SMF 2.0 you need to clear the cache under forum maintenance
Problem was my forum was being infected by a rouge thread adding it self to my php files
after each time i removed and reinstalled this mod everything would work for a day or so
then everything started going strange. at the beginning on each php there was a new line
looking soming like
Quoteeval(base64_decode("ZXJyb3JfcmVwb3J0aW
I ended up having to rebuild my whole forum and the mod installed and works perfect again.
sorry about waiting so long for my reply, and I thought I had better still reply so you know
everything is good now


cheers
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on September 17, 2011, 10:57:28 PM
Glad you got everything figured out I seen that occur on forums before. also check your .htacess files as well just in case.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on September 19, 2011, 10:12:58 PM
hello
bad news :( my forum was leach attacked again and I had to re-do it all again
but new problem. I installed Forum Firewall before installing EzPortal
and it installed good no errors but the right blocks Column's shows at the bottom
and not on the right side.

I also activated leach protection with my host but as the rest of my forum works
I don't think it's the leach protection stopping the column's

I did the parser and looked at the install my self and everything is good

would there be file protection settings i need to change or template string i need to edit?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: primetime on September 22, 2011, 02:24:28 PM
Is there a way to enable when a user hits the enter buton on his/her keyboard that it sends the shout? It would be easier than clicking the "add shout" button each time.

TIA
Brock
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on September 24, 2011, 04:30:25 PM
Maybe would have to look into it.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on October 07, 2011, 10:01:35 AM
Word of advise to all. portal does not work when in maintenance mode as I just found out :)
forgot I had it turned on and spent the last 2 hours trying to fix it lol boy do i feel stupid..
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on October 07, 2011, 10:02:34 AM
Yeah i orginally had it setup to work in maintenance mode but some people did not want it to work in maintenance mode can't win lol
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on October 08, 2011, 01:36:13 PM
Quote from: vbgamer45 on October 07, 2011, 10:02:34 AM
Yeah i orginally had it setup to work in maintenance mode but some people did not want it to work in maintenance mode can't win lol
LOL win some loose some, it's a great MOD all the same.. pity it can't be an option to have it on or off in maintenance mode.
I like to put maintenance mode on when working on the forum and to see how it looks with maintenance mode on is better to me :D

I have a little issue,, not a problem just annoying for me to look at
I have some things in right side columns and one of the things is a block for a program called TeamSpeak
now when the TeamSpeak server is on everything looks good but when I shut the server off for the night
I get a TeamSpeak error on my forum, this is normal and have to except it.

My question is can I force the right column to be a size I want it to be or do I just have to live with it?

By looking at the pic's I hope you understand my short story :) 2nd pic shows the error pushing the column to wide

Click on images to make bigger
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Don Houston on November 16, 2011, 04:57:51 PM
OK, I have two questions for you on EZPortal.

The first is I am trying to make a HTML coded for the National debt clock.  I put it in an html block and this is the code I am given from the site I got it from

<iframe src="http://www.USADebtClock.com/us-debt-clock-widget.php" height="80" width="350" scrolling="no" frameborder="0">
</iframe>

But it only shows the code when it should show the national debt clock.

Also I have the RSS feed enabled and it does not show time and date or a separation between posts.  Now I have it to where it shows my main site and it does it fine.  So what do I need to do to correct that.

The site is http://kdtechnology.com/test/

How do I solve this.  I would like to use EZ portal on my main site but I need to get these few bugs worked out if I can first
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 16, 2011, 05:00:26 PM
For the html code issue in the editor click on the html button or disable tinymce to go into pure html
and then input the code

<iframe src="http://www.USADebtClock.com/us-debt-clock-widget.php" height="80" width="350" scrolling="no" frameborder="0">
</iframe>
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Don Houston on November 16, 2011, 05:07:26 PM
ok how do I do that, I am not seeing it.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Don Houston on November 16, 2011, 05:10:53 PM
OK, I got the Debt clock to work.

Now the only issue left is the RSS feeder.

Also do you have a blog mod for EZ Portal?  Just curious
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 16, 2011, 05:24:28 PM
For the RSS Feedblock may have to add an option to include the datetime and a separator.

At the moment do not have a good blog mod.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on November 21, 2011, 08:41:25 AM
Not a big problem and not sure if others have found this as well
but my portal has just one problem, has done for a long time but
tonight thought I would suss it out.

I notice with the block ""Todays Birthdays"" when 'ON' I can't access package manager
when off no problem. tested all other blocks with Todays Birthdays still on but only
when Todays Birthdays is off is when it's all good again.

I have over come this in the passed by just turning the right side column off
when installing other mods as I found in the passed by the column off is when
everything worked; but today thought I would suss out what block was causing
the problem.

it only effects the displaying of the package manager and nothing else.
I can still view Download Packages, Installed Packages, File Permissions, Options
all within the same settings section. only package manager I can't.

Only a small bug and not sure if it's just me only but wanted to let you know all the same

cheers
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on November 22, 2011, 02:30:30 PM
I am wondering if Custom Action Mod    3.2  does not work with EZPortal?  I've added a custom action page called "toolbox"  using Custom Action Mod    3.2. and then I added the action "toolbox" within ezportal, then clicked the toolbox action for the block I wanted visible on this toolbox action page, however after going back over it, re-doing it, and looking for something I might be missing, I can not get the block to appear.  If I knew it didn't work with Custom Action Mod, I'd just quit trying. :)
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 22, 2011, 02:44:35 PM
Does not integrate with the custom action mod so it does not know about those custom actions.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on November 22, 2011, 03:05:04 PM
Okay, Thank you. That saves me some time for sure. :)  Would a better way to do it that be to use the create a page with your mod?  I've just finally upgraded to 2.0.1 from 1.1.15 and never used a portal in the past. I modified the index template in the past which was always a mess. 
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 22, 2011, 03:07:55 PM
Either work work not sure on the exact feature set of the custom action mod.
With ezPortal all it does is give you a link to the page that you can use in posts/html etc.

If custom action allows you to create menus/tabs that would be better to use.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on November 22, 2011, 10:48:10 PM
Shouldn't action=recent be a valid option?  I can't get that to work either.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on November 28, 2011, 01:26:14 PM
Is there a way to exclude ezportal from a given theme?  I use a left hand column block to list site sponsors on my default theme, but I want to exclude the ezportal blocks when using Dragoon's Mobile Theme.  My idea is, is to not have any sponsors listed with the mobile, but be able to entice a new site sponsor with an exclusive for the mobile. 

Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 28, 2011, 01:29:37 PM
Not at the moment but is a good feature request.

If you want you can hardcode a check for $ID_THEME at least in SMF 1.1.x in the loadezportal function and if is the mobile theme id do not load ezportal blocks.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on November 28, 2011, 01:36:28 PM
I'd love to hardcode something in if possible. I'm running 2.0.1 Could you possibly help me with that?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 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

function SetupEzPortal()
{
global $sourcedir, $context, $maintenance, $user_info, $ezpSettings, $boarddir, $boardurl, $smcFunc, $settings;


After that add the following

global $id_theme;
if ($id_theme == ###)
return;

REPLACE ### in the above code with your theme's id
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B 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.   
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 28, 2011, 02:31:06 PM
It would be 5

If not try this code instead

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

Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B 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.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 28, 2011, 02:42:22 PM
At the moment would require more hardcoding but would would be a good feature request.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on November 28, 2011, 02:45:22 PM
Where can I make the request.  ;D
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 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.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Adrek 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.. ?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 29, 2011, 12:52:29 PM
The block options can not yet be translated.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: MrNicotine 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?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 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.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: MrNicotine 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?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 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
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: MrNicotine on December 11, 2011, 04:40:33 PM
Ok, great. I'm glad it works now.

Thanks for the support
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 11, 2011, 08:09:14 PM
Glad to help
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Tonyvic 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 (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
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PocketChange 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!  :)
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 13, 2011, 02:06:34 PM
In sources/EzPortal2.php
Find
EzPortalRemoveShout()


Sources/Subs-EzPortalMain2.ph
And this
function EzBlockShoutBoxBlock
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PocketChange on December 13, 2011, 03:02:20 PM
Quote from: vbgamer45 on December 13, 2011, 02:06:34 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....
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 13, 2011, 03:16:35 PM
Try moderate_forum
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PocketChange on December 13, 2011, 03:23:36 PM
Quote from: vbgamer45 on December 13, 2011, 03:16:35 PM
Try moderate_forum

No, that didn't do it either!  :(
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 13, 2011, 03:24:55 PM
What's happening?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PocketChange on December 13, 2011, 03:40:29 PM
Nothing, actually!

This code places the "X" for the admin:
if ($adminShoutBox && empty($ezpSettings['ezp_shoutbox_hidedelete']))
echo ' <a href="',$scripturl,'?action=ezportal;sa=removeshout;shout=',$row['id_shout'],'" style="color: #FF0000">[X]</a>';


If I change it to:
if (empty($ezpSettings['ezp_shoutbox_hidedelete']))
echo ' <a href="',$scripturl,'?action=ezportal;sa=removeshout;shout=',$row['id_shout'],'" style="color: #FF0000">[X]</a>';


Then the "X" is there for everyone (except guests, as this is disabled)

Just to see if I could get it to work for GMs only, I replaced
$adminShoutBox = allowedTo('admin_forum');
with
$adminShoutBox = allowedTo('moderate_forum');

That doesn't work for Anyone!  Tried moderator, global_moderator, moderate, but none worked!
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 13, 2011, 03:41:35 PM
What permissions do you global mods have? like moderate_forum i thought they should have that.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PocketChange on December 13, 2011, 04:01:02 PM
They have all permissions under Moderate Boards, and they also are set with all (3) permissions for ezPortal!  They can't edit or delete account or profile settings though!
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 13, 2011, 04:04:40 PM
Hmm try ezportal_manage then.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PocketChange on December 13, 2011, 04:15:59 PM
ezportal_manage?  As in $adminShoutBox = allowedTo('ezportal_manage_forum'); ??

EDIT: Ok, tried the above, $adminShoutBox = allowedTo('ezportal_manage_forum');, but back to only admin can delete!  :(
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 13, 2011, 04:17:25 PM
No just
$adminShoutBox = allowedTo('ezportal_manage'); ??
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: PocketChange on December 13, 2011, 04:26:25 PM
Quote from: vbgamer45 on December 13, 2011, 04:17:25 PM
No just
$adminShoutBox = allowedTo('ezportal_manage'); ??

YES!!  That worked!  8)

Thank you so much for your help, fast responses and sticking with me on getting this done!  Much appreciated!  ;D
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 13, 2011, 06:00:31 PM
Glad we were able to get it working.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Tonyvic on December 16, 2011, 10:52:07 AM
Hi vbgamer45,
I expect you missed my post Reply #1315 as you were busy with another problem.
I would be really grateful for some help with this, although it works ok I do like to keep my forum validated.

TIA,
Tony
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 16, 2011, 04:01:36 PM
Quote from: Tonyvic on December 16, 2011, 10:52:07 AM
Hi vbgamer45,
I expect you missed my post Reply #1315 as you were busy with another problem.
I would be really grateful for some help with this, although it works ok I do like to keep my forum validated.

TIA,
Tony
Try this file
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Tonyvic on December 17, 2011, 12:18:36 AM
Many thanks,
It's very much appreciated.

That was it, all 21 errors now gone.

Tony
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on December 17, 2011, 12:49:55 AM
My error log is filling up with this error:

8: Undefined offset: 152
Apply Filter: Only show the errors from this file
File: /var/www/virtual/XXXXXXXXXXXXX.com/htdocs/board/Themes/default/GenericControls.template.php (ezblock_above sub template - eval?)
Line: 5

Any Ideas?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 17, 2011, 01:41:56 AM
Run this query on you db and wait for next error to get the correct file and line number

REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on December 17, 2011, 06:10:12 AM
Okay,  I got this:

File: /var/www/virtual/XXXXXXXX.com/htdocs/board/Themes/default/EzPortal2.template.php(1614) : eval()'d code
Line: 5
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on December 17, 2011, 09:17:59 AM
It seems that all these errors are related to the block I have on the private message action. At a request I tried to add a block that let people know how many messages they had in their inbox, so I used a php box that has this code in it. Could this be the source of the issue?

echo'
<ul class="reset"><li class="greeting"><strong> ';

echo '
          ', $context['user']['name'], ', You currently have', $context['allow_pm'] ? ' ' . $txt[152] . ' ' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ? $txt[153] : $txt[471]) . ' messages saved to your inbox ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '.</strong></li></ul>';
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 17, 2011, 02:01:21 PM
Yeah that is the source. Looks like you have SMF 1.1.x text strings instead of SMF 2.0 version

Since you have text such as $txt[471] and $txt[153]  which in SMF 2.0 was replaced with a proper name instead of a number
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on December 17, 2011, 02:04:23 PM
Cool, I'll use my normal "try this until it works" method and see if I can fix it.  :)
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on December 17, 2011, 02:17:05 PM
I got lucky. Fixed it on the second try.  Thank you for your assistance. :)

echo'
<ul class="reset"><li class="greeting"><strong> ';

echo '
          ', $context['user']['name'], ', You currently have', $context['allow_pm'] ? ' ' . $txt[152] . ' ' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ?) . ' messages saved to your inbox ' . $context['user']['unread_messages'] . ' ' . ($context['user'] $txt['newmessages0'] : $txt['newmessages1']) : '', '.</strong></li></ul>';
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 17, 2011, 02:22:41 PM
Glad you have it working!
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on December 17, 2011, 02:27:22 PM
I spoke to soon.  THere is still the portion, $txt[152] .  I'm still trying to figure out what to remove  to keep from getting the syntax error. 
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 17, 2011, 02:37:41 PM
In SMF 1.1.x that refers to this text string

$txt[152] = 'you have';
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Jeff B on December 17, 2011, 03:44:12 PM
I need to really learn some basic coding. It would sure save some time versus the stab in the dark methods I use now.  Finally got it to run clean.  Thanks again.

echo'
<ul class="reset"><li class="greeting"><strong> ';

echo '
          ', $context['user']['name'], ', You currently have', $context['allow_pm'] ? ' ' . $context['user']['messages'] . ' messages saved to your inbox ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '.</strong></li></ul>';
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 17, 2011, 04:02:19 PM
What I did starting out was just look at sample code and make some tweaks. I use pretty much the same set of php commands for all my projects and same basic sql statements. Glad you have it working as how you wanted it.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: ozank on December 17, 2011, 04:17:38 PM
so erm if i download and install this it will create an homepage for me or i have to create 1?

also after i download can anyone help me install it properly please
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 17, 2011, 04:19:30 PM
Currently you have to setup a layout after you install ezPortal and choose which blocks to activate.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: snadge on December 19, 2011, 02:48:09 PM
uninstall fails for me and according to another user this theme is causing thousands of errors per day on my theme as im using simple portal aswell, i would like to uninstall ezportal

can you help with this please?

thanks
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 19, 2011, 02:50:25 PM
If uninstall fails you need to get the manual install instructions from the mod site and reverse those and edit the files manually to remove.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: snadge on December 19, 2011, 02:54:52 PM
thats what someone else said but the SMF Mod section has been changed and there is no PARSE option now?
http://custom.simplemachines.org/area51/mods/index.php?mod=1461
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 19, 2011, 02:56:58 PM
That;s the wrong link for the mod site.

But I have a package parser at
http://www.smfhacks.com/smf-package-parser.html
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: snadge on December 19, 2011, 03:20:05 PM
I dunno how to use them, I was told to use it but god knows how too...lol..
the two fails are saying they cant find the code, im looking in dreamweaver and cant see it either...

in ./index.php :

FIND:
// EzPortal
global $ezpSettings;
if ($ezpSettings['ezp_portal_enable'] == 1 && empty($board) && empty($topic))
{
require_once($sourcedir . '/EzPortal2.php');
return 'EzPortalForumHomePage';
}


// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!


REPLACE WITH:

// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!


and in Sources/Subs.php :

FIND:


// [Forum] button
'forum' => array(
'title' => $txt['ezp_forum_tab'],
'href' => $scripturl . '?action=forum',
'show' => ($ezpSettings['ezp_portal_enable'] == 1) ? 1 : 0,
'icon' => '',
),
'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


REPLACE WITH:

'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


dont know if this helps at all

the rest of the uninstall goes smoothly - im gunna back it all up and just uninstall it and see what happens
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 19, 2011, 03:48:46 PM
In those cases just remove the code that was added nothing really changed there.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: snadge on December 19, 2011, 03:58:08 PM
Quote from: vbgamer45 on December 19, 2011, 03:48:46 PM
In those cases just remove the code that was added nothing really changed there.

the codes not there that I can see - so if i follow through with the rest of the uninstall it should be ok?
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on December 19, 2011, 03:59:27 PM
just out of curiosity, vb...   why are you using replaces instead of add before and add after?

Replace really depends heavily on exact code being present, while Add before can usually target more generic sections (and is easier to remove if additional mod have been added)
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 19, 2011, 04:28:49 PM
I can never keep straight in my head which way they before and after go. Replace I generally don't change code just add to it.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 31, 2011, 05:52:38 PM
New update for ezPortal!

0.6.0
+Added hide tinymce option when adding/editing pages
!Took out warning for ezcache folder not used
+Now for new copies for ezPortal setups default blocks and enables portal homepage
Title: Enabled the Media Gallery Random Images and Crashed my site!! HELP!!
Post by: BigPain on January 23, 2012, 01:17:05 PM
HI All,

I added the EZ Block "SMF Random Gallery Images" and when I saved it, I crashed my site. I am unable to log in or anything. I get my login header but everything that was visible in the main body of the site is now just a 2-line error code. (I have changed the actual web hosting provider and site name info for security and labeled them generically, inside xxx's):

Fatal error: require_once() [function.require]: Failed opening required '/hermes/bosweb25a/b308/Host.Site/xxSiteNamexx/xxSubFolderxx/Forum/Sources/Subs-MGallery.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosweb25a/b308/Host.Site/xxSiteNamexx/xxSubFolderxx/Forum/Sources/Load.php(2167) : eval()'d code(1612) : eval()'d code on line 4

I am somewhat new to all of this and have been doing well for almost a year, but this one has me stumped. I want to learn to work with this before I just wipe it, reinstall and restore so any help would be appreciated.

My main question is: How do I remove this particular EZ Block? Or, if I cannot,  is there a way to modify the file which references the EZ Block so I can once again access the site? Does anyone even know which file to start with so I can remove queries on that file for this particular Block?

Please help!!
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on January 23, 2012, 01:27:41 PM
Is that the block from ezPortal site? it requires that Avea/Media Gallery installed.

What you could do is in phpmyadmin go into the ezportal_layout_options and delete the last entry.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: BigPain on January 23, 2012, 01:32:25 PM
I do have the Avea/Media gallery installed and that was working perfectly since August of last year. I was hoping to add the Random Images feature.

Thanks, I will try to do it and get back to you!

Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on January 23, 2012, 01:39:59 PM
well, if you have aeva installed, I would think that you need to be calling subs-aeva, instead of subs-mgallery... so, I assume that you took an ancient code clip instead of a recent one...
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: BigPain on January 23, 2012, 01:48:34 PM
Oh.... My... God!!!

FANTASTIC!!!!

It worked! Took a few minutes to load after I deleted that entry, but it is back up!!

Thanks a TON for your help. I have spent three days trying to figure this out and was desperate. Thanks again for your help!
Now I think I will not attempt to add that particular EZ Block again because it has failed in many ways over the past 5 months.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on January 23, 2012, 01:51:05 PM
Glad we are able to get fixed
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: BigPain on January 23, 2012, 01:56:57 PM
Quote from: Kindred on January 23, 2012, 01:39:59 PM
well, if you have aeva installed, I would think that you need to be calling subs-aeva, instead of subs-mgallery... so, I assume that you took an ancient code clip instead of a recent one...

This is good information moving forward. I will look for an updated download and try again. At least I now know how to 'undo' what is done in case of errors.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Arantor on January 23, 2012, 02:34:48 PM
It's not the download that needs updating; Mgallery is the old internal name for Aeva Media.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: fullmoonya on January 30, 2012, 02:38:25 AM
hi. i just want to request(if possible) to add some other type of column in center like center-top(upper part of center column), center-bottom(bottom of center column) and header top column(the very top part of forum i want to place this column). i hope in the next update this be added.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on January 30, 2012, 07:47:23 AM
Ummmmmmm....  Those spots already exist as block locations....
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: fullmoonya on January 30, 2012, 11:50:52 PM
Quote from: Kindred on January 30, 2012, 07:47:23 AM
Ummmmmmm....  Those spots already exist as block locations....
it is? please post here the path where can i get those.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: MrNicotine on February 02, 2012, 01:31:22 PM
I would like to update to 0.6, but it would actually be less work to follow the parser instead of backing up all my blocks ;)
I'm not sure if I can simply update or do I have to uninstall first?
Is this possible or would I run into problems?
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 02, 2012, 01:47:29 PM
You can simply update you do not need to uninstall and reinstall.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: MrNicotine on February 02, 2012, 02:12:21 PM
Ow, that's great. ;)

Thanks, VBGamer
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 02, 2012, 02:26:25 PM
No problem glad to help
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on February 18, 2012, 12:35:45 AM
So, I've been running EZPortal on 40konline for several years now...

but today, we decided to try making the site a little more interactive/friendly.

I added content to the right column... and moved some stuff around in the main column/front page.

Then we decided to move the forum up to the root of the site...

that's when it all went to hell.
The ezportal is all screwy. For some reason, on most forum pages, the center column has a HUGE space at the top...  and I can't figure out where that is coming from...
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on February 24, 2012, 12:41:32 PM
I don't know what caused the problems to start with... but I have fixed them

one thing...   the content appearing far down the screen was due to the fact that the table/row/cell for exportal did not have a valign="top" in it.

but now there are some other issues.

the biggest is that EZPortal is NOT respecting my visibility options.
I have added the mod actions for several mods, including the ADK Blog mod...
However, ALL columns and Blocks are appearing in the ADK Blog, even though I have the blocks set to appear ONLY on the portal homepage.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 24, 2012, 12:44:00 PM
Will check it out over the weekend. Bah I had posted a reply to your last post above it looked like their was a space in the area of theme looks like that reply was lost or did not get posted.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on February 24, 2012, 12:51:30 PM
additional note...  if I set ANY value for the visibility of the column itself (instead of individual blocks) the screws up the layout

i.e. I set Center to portal only. I set right to portal & boardindex.
the left column then shows, spread across the entire screen and the content appears under the left column.

you can see the blog problem at http://www.40konline.com/index.php?blog=1833

I would think that this code would be correct...


foreach ($context['ezportal_actions'] as $key => $ezActions)
{
if ($visibleActions != '')
if (in_array($ezActions['action'],$visibleActions))
$context['ezportal_actions'][$key]['selected'] = 1;
else
$context['ezportal_actions'][$key]['selected'] = 0;
else
$context['ezportal_actions'][$key]['selected'] = 0;
}

Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 25, 2012, 10:19:26 PM
Quote from: Kindred on February 24, 2012, 12:41:32 PM
I don't know what caused the problems to start with... but I have fixed them

one thing...   the content appearing far down the screen was due to the fact that the table/row/cell for exportal did not have a valign="top" in it.

but now there are some other issues.

the biggest is that EZPortal is NOT respecting my visibility options.
I have added the mod actions for several mods, including the ADK Blog mod...
However, ALL columns and Blocks are appearing in the ADK Blog, even though I have the blocks set to appear ONLY on the portal homepage.
Looked at your site couldn't find the valign="top" change.
Still looking into the visible actions.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on February 26, 2012, 06:31:54 PM
hmmmm....

trying to add this code in a php block

global $smcFunc, $context, $scripturl, $modSettings, $txt, $settings;

$limit = 5;

$sql = $smcFunc['db_query']('','
   SELECT co.id_initial, co.subject, co.body, co.time, co.id_cat, co.icon, co.id_member, ca.id_cat, ca.title,
   mem.avatar, mem.real_name, mem.id_member,
      IFNULL(a.id_attach, 0) AS id_attach, a.filename, a.attachment_type
   FROM {db_prefix}blog_comments AS co, {db_prefix}blog_categories AS ca, {db_prefix}members AS mem
   LEFT JOIN {db_prefix}attachments AS a ON (a.id_member = mem.id_member)
   WHERE co.is_started = {int:s} AND co.id_cat = ca.id_cat AND mem.id_member = co.id_member
ORDER BY co.id_initial DESC
   LIMIT {int:limit}',
   array(
      'limit' => $limit,
      's' => 1,
   )
);

$context['info'] = array();

$width = 50;
$height = 50;

while($row = $smcFunc['db_fetch_assoc']($sql))
{
   $image = '<img src="'.$settings['images_url'].'/post/'.$row['icon'].'.gif" alt="" />&nbsp;';
   
   $context['info'][] = array(
      'id' => $row['id_initial'],
      'id_member' => $row['id_member'],
      'member' => '<a href="'.$scripturl.'?action=profile;u='.$row['id_member'].'">'.$row['real_name'].'</a>',
      'avatar' => $row['avatar'] == '' ? ($row['id_attach'] > 0 ? '<img width="'.$width.'" height="'.$height.'" src="' . (empty($row['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $row['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $row['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($row['avatar'], 'http://') ? '<img width="'.$width.'" height="'.$height.'"src="' . $row['avatar'] . '" alt="" class="avatar" border="0" />' : '<img width="'.$width.'" height="'.$height.'"src="' . $modSettings['avatar_url'] . '/' . $smcFunc['htmlspecialchars']($row['avatar']) . '" alt="" class="avatar" border="0" />'),
      'subject' => $row['subject'],
      'time' => timeformat($row['time']),
      'id_cat' => $row['id_cat'],
      'title' => $row['title'],
      'icon' => !empty($row['icon']) ? $image : '',
      'cat' => '<a href="'.$scripturl.'?blog='.$context['blog']['id_user'].';sa=cat;id='.$row['id_cat'].'">'.$row['title'].'</a>',
   );
}
echo'
<table style="width: 100%;">';

foreach($context['info'] AS $post)
{
   echo'
   <tr>
      <td style="width: 60px;">
         '.$post['avatar'].'
      </td>
      <td>
         <div class="smalltext">
            '.$post['icon'].'<a href="'.$scripturl.'?blog='.$post['id_member'].';sa=topic;id='.$post['id'].'" style="font-weight: bold;">'.$post['subject'].'</a> '.$txt['by'].' '.$post['member'].' '.$txt['on'].' '.$post['time'].'
         </div>
      </td>
   </tr>';
}

echo'
</table>';


but it rejects it... with the following error message:
The database value you're trying to insert does not exist: s
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 26, 2012, 06:40:42 PM
Been think about doing a base64 encoding for block html/php downside with that is harder to edit if you had to via database. Upside don't have to worry about quote issues/formatting.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: yourdailysaver on February 29, 2012, 12:11:52 AM
Hello Seniors,

what i want to do is i have two forums A and B,
people posts images on B forum with <img> tag
i want to display slideshow of those images in forum A's EZ Portal sidebar .

is it possible anyhow ?

thanks in advance for your support :)
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 29, 2012, 12:50:06 AM
Yeah you can do an ezportal html ezblock
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: yourdailysaver on February 29, 2012, 01:20:16 AM
Quote from: vbgamer45 on February 29, 2012, 12:50:06 AM
Yeah you can do an ezportal html ezblock

can you please elaborate how ?
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 29, 2012, 01:26:42 AM
Under ezPortal Admin -> ezBlock Manager add a new ezBlock
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: yourdailysaver on February 29, 2012, 01:29:34 AM
Quote from: vbgamer45 on February 29, 2012, 01:26:42 AM
Under ezPortal Admin -> ezBlock Manager add a new ezBlock

ya but how can i display images with image tag from forum b to forum a's sidebar.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 29, 2012, 01:33:04 AM
If it is image  html use html block

If BBC code you would use a bbc ezBlock
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: yourdailysaver on February 29, 2012, 01:37:04 AM
Quote from: vbgamer45 on February 29, 2012, 01:33:04 AM
If it is image  html use html block

If BBC code you would use a bbc ezBlock

u r not getting my point bro. i have images in forum A posted with image tags daily by users. what i want to do is i want to make a slideshow of those images on forum B .
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 29, 2012, 01:52:26 AM
You would need to get the links from forum a and place in forum b in html block and get a slideshow code.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: yourdailysaver on February 29, 2012, 01:56:32 AM
Quote from: vbgamer45 on February 29, 2012, 01:52:26 AM
You would need to get the links from forum a and place in forum b in html block and get a slideshow code.

thats i am not sure about how to get code for slideshow of images posted with image tag. those images are exactly from different sites. its just link on my forum.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on February 29, 2012, 07:36:56 AM
basically, yourdailysaver, it is complicated and you would need to figure out how to code it.
There is no simple way to do what you are asking, so - other than explaining, in general, the approach that you would take, it would take us, several hundred lines of code to  even try to figure it out (if not more)
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 29, 2012, 08:59:33 PM
New ezPortal Update
0.6.1
!Fixed missing css reference for SMF 2.0 in the shoutbox
!Fixed caching bug with multiple ezboard news blocks in SMF 1.1.x
!Removed fixed layout style from the tables from SMF 1.1.x
+Added caching to boardnews block post ids for SMF 2.0.x
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: yourdailysaver on March 01, 2012, 12:35:32 AM
Quote from: Kindred on February 29, 2012, 07:36:56 AM
basically, yourdailysaver, it is complicated and you would need to figure out how to code it.
There is no simple way to do what you are asking, so - other than explaining, in general, the approach that you would take, it would take us, several hundred lines of code to  even try to figure it out (if not more)

i am ready to pay for it . if somebody is ready to halp me :)
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: fotografo74 on March 04, 2012, 10:31:44 AM
Thanks for this MOD! Now i have bought SMF Gallery Pro :)
How can i hide the Comment link in Gallery image block ?
I use the autocreated topic function and the comments number in block's image are always 0
Thanks
Antonio
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on March 04, 2012, 10:37:48 AM
What SMF version are yo usuing?
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on March 07, 2012, 10:48:11 AM
vbgamer - any progress on figuring out why the ADK Blog is not recognized as a page in EZPortal?
I have added the ?action=blog and ?action=blogs actions to the ezportal-blocks-visible list... and set the blocks to be visible ONLY on the portal homepage...   but it still shows the entire portal front page (above the blog contents) when I go to the individual blog page.
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: simon36 on March 19, 2012, 12:46:19 PM
Hi, shows an error on the pre-install test on SMF 2.02

In Sources/Subs.php

Code: (Find) [Select]

         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
         ),

Code: (Replace) [Select]

         'home' => array(
            'title' => $txt['home'],
            'href' => $modSettings['sp_portal_mode'] == 3 ? $modSettings['sp_standalone_url'] : $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
         ),
         'forum' => array(
            'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
            'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''),
            'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)),
            'sub_buttons' => array(
            ),
         ),

Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on March 19, 2012, 12:48:30 PM
That code looks like it is for Simple Portal and not ezPortal
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: simon36 on March 19, 2012, 01:04:53 PM
Sorry, my mistake, have installed EZ now, no problems :)
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on March 19, 2012, 01:10:05 PM
Glad you got it working!
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on March 19, 2012, 01:57:18 PM
Quote from: Kindred on March 07, 2012, 10:48:11 AM
vbgamer - any progress on figuring out why the ADK Blog is not recognized as a page in EZPortal?
I have added the ?action=blog and ?action=blogs actions to the ezportal-blocks-visible list... and set the blocks to be visible ONLY on the portal homepage...   but it still shows the entire portal front page (above the blog contents) when I go to the individual blog page.
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on April 15, 2012, 10:36:23 PM
Quote from: Kindred on March 19, 2012, 01:57:18 PM
Quote from: Kindred on March 07, 2012, 10:48:11 AM
vbgamer - any progress on figuring out why the ADK Blog is not recognized as a page in EZPortal?
I have added the ?action=blog and ?action=blogs actions to the ezportal-blocks-visible list... and set the blocks to be visible ONLY on the portal homepage...   but it still shows the entire portal front page (above the blog contents) when I go to the individual blog page.
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on April 16, 2012, 12:03:59 AM
Haven't found anything yet have to do some more digging.
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Michael Stack on April 16, 2012, 04:39:49 PM
read through the first 10 pages  :o

downloaded ezportal however keep getting this message

FTP Information Required
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager. Note you can also do this manually using an FTP client - to view a list of the affected files please click here.
The following files need to made writable to continue installation:

halp !
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on April 16, 2012, 04:44:15 PM
Try to put in your ftp information to fix permissions. Or try under Package Manager -> Reset Options there is a permission link.
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Michael Stack on April 16, 2012, 05:29:21 PM
ok will try thanks

ok this is what it looks like

/home/goground/public_html   Not Writable  (chmod: 0750)
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on April 16, 2012, 05:36:45 PM
Yeah fix it should be 755 or 777 if you can.
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Michael Stack on April 16, 2012, 06:54:26 PM
seems locked /? how do I change it ??
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on April 16, 2012, 07:10:22 PM
If you can't do it though SMF try changing permissions via your control panel for your webhosting account.
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Michael Stack on April 16, 2012, 07:16:13 PM
so I am hosted through 2by2 , so I can get in there and do that ??
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on April 16, 2012, 07:48:55 PM
yeah if they have a controlppanel
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Michael Stack on April 16, 2012, 08:37:39 PM
ok found my cpanel and have blown through it several times ...uploaded ezportal block to there created usernames etc and now get 530 login failure on my SMF side of things ??
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Michael Stack on April 16, 2012, 09:10:11 PM
damn it now timed out of 2by2
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Michael Stack on April 17, 2012, 12:14:03 AM
ok still trying

what does this error mean ??

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Title: Re: ezPortal 0.6.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on April 17, 2012, 12:54:03 AM
File permissions still bad you should change all your SMF files and folders
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on May 09, 2012, 12:17:58 AM
New update!
0.6.2
+Added setting to exclude boards for the Recent Posts and Recent Topics ezBlocks
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Tony_R on May 17, 2012, 07:45:06 AM
Hello !

Got EzPortal installed and working, the only problem that I now have follows :

hxxp://test.aqua-2000.de/index.php?action=admin;area=ezpsettings;sa=settings;sesc;e748c815=71d1ff4988e684a2b715cf24645de1dd

8: Undefined index: label

Datei: /www/htdocs/w008629f/test/Themes/default/languages/EzPortal.german-utf8.php (generic_menu_dropdown_above sub template - eval?)
Zeile: 327

This Error only happens when I try to open
EzPortal -> Settings (in my ACP)

The same Error also shows up when I have the Language set to English,
in EzPortal.english-utf8.php, also on the same Line -> 327

In both files, Line 327 shows : $txt['ezp_bbc_size'] = 'Size';

Portal works, but the Error Log is going to be full with this Error, sometime in the future

Hope someone can help me with this problem
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 17, 2012, 08:44:34 AM
that eval comment at the end means that the problem is expressed in that file, but is not actually IN that file...

turn off eval to find the correct spot to check for the actual error.
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Tony_R on May 17, 2012, 12:27:33 PM
@Kindred

Thanks for the reply and sorry that my next question has to be :

"where can I turn Eval of ?"

Thanks in advance
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 17, 2012, 12:32:38 PM
Quote from: Tony_R on May 17, 2012, 12:27:33 PM
@Kindred

Thanks for the reply and sorry that my next question has to be :

"where can I turn Eval of ?"

Thanks in advance
Check out this post
http://www.simplemachines.org/community/index.php?topic=290186.0
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Tony_R on May 17, 2012, 12:54:46 PM
@vbgamer45

followed the instructions in the thread you linked and got the following :

hxxp://test.xxxx-xxxx.de/index.php?action=admin;area=ezpsettings;sa=settings;sesc;sa=settings;f58d26fd4841=9f2d41538117e349cc4b691fe4340533

8: Undefined index: label

Datei: /www/htdocs/xxxxxxx/test/Themes/default/GenericMenu.template.php
Zeile: 327



<a class="firstlevel" href="', isset($tab['url']) ? $tab['url'] : $menu_context['base_url'] . ';area=' . $menu_context['current_area'] . ';sa=' . $sa, $menu_context['extra_parameters'], isset($tab['add_params']) ? $tab['add_params'] : '', '"><span class="firstlevel">', $tab['label'], '</span></a>

getting slowly behind the problem.....  ;)

this must be a problem with Ez Portal, when de-installed, don't get this Error
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: RoCKeT-88 on May 20, 2012, 07:16:35 PM
OK I am trying to get ADK Blog to work with this.  Kindred said it's your issue and I should take it here and get off the ADK blog thread.  What exactly do I need to do to make it work with EZportal?

TYIA
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 20, 2012, 07:25:43 PM
Quote from: RoCKeT-88 on May 20, 2012, 07:16:35 PM
OK I am trying to get ADK Blog to work with this.  Kindred said it's your issue and I should take it here and get off the ADK blog thread.  What exactly do I need to do to make it work with EZportal?

TYIA
What's the issue
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: RoCKeT-88 on May 20, 2012, 07:30:11 PM
Quote from: vbgamer45 on May 20, 2012, 07:25:43 PM
Quote from: RoCKeT-88 on May 20, 2012, 07:16:35 PM
OK I am trying to get ADK Blog to work with this.  Kindred said it's your issue and I should take it here and get off the ADK blog thread.  What exactly do I need to do to make it work with EZportal?

TYIA
What's the issue

This was copied from the ADK Blog thread.

If I go to profile->blog it takes me to domain.com/index.php?blog=1 which actually displays domain.com/index.php which is the front page of the EZportal system.  Yes I have been reading(I actually like to figure things out for myself first I know an odd concept but a fact none the less~) it said if you got error was because you didn't have a blog yet so I went to create a blog but after hitting the blog link in my profile it displays the front page not a blog entry page.

Which is why I asked about it and the fact I am not understanding what exactly what this post is meaning-> http://www.simplemachines.org/community/index.php?topic=398380.msg3281374#msg3281374

If I hit the main menu link for this it says this module is not active but I have it activated. 

Hope that explains it.
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on May 21, 2012, 12:33:01 PM
So blog=1 is override by ezportal?
Might just need to change the order in your index.php file attach that file and can see what we can do.
Title: Re: ezPortal 0.6.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 22, 2012, 04:00:36 PM
Quote from: Kindred on February 24, 2012, 12:51:30 PM
you can see the blog problem at http://www.40konline.com/index.php?blog=1833

I would think that this code would be correct...


foreach ($context['ezportal_actions'] as $key => $ezActions)
{
if ($visibleActions != '')
if (in_array($ezActions['action'],$visibleActions))
$context['ezportal_actions'][$key]['selected'] = 1;
else
$context['ezportal_actions'][$key]['selected'] = 0;
else
$context['ezportal_actions'][$key]['selected'] = 0;
}


Quote from: Kindred on April 15, 2012, 10:36:23 PM
Quote from: Kindred on March 19, 2012, 01:57:18 PM
Quote from: Kindred on March 07, 2012, 10:48:11 AM
vbgamer - any progress on figuring out why the ADK Blog is not recognized as a page in EZPortal?
I have added the ?action=blog and ?action=blogs actions to the ezportal-blocks-visible list... and set the blocks to be visible ONLY on the portal homepage...   but it still shows the entire portal front page (above the blog contents) when I go to the individual blog page.
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 22, 2012, 07:51:40 PM
Quote from: Kindred on May 22, 2012, 04:00:36 PM
Quote from: Kindred on February 24, 2012, 12:51:30 PM
you can see the blog problem at http://www.40konline.com/index.php?blog=1833

I would think that this code would be correct...


foreach ($context['ezportal_actions'] as $key => $ezActions)
{
if ($visibleActions != '')
if (in_array($ezActions['action'],$visibleActions))
$context['ezportal_actions'][$key]['selected'] = 1;
else
$context['ezportal_actions'][$key]['selected'] = 0;
else
$context['ezportal_actions'][$key]['selected'] = 0;
}


Quote from: Kindred on April 15, 2012, 10:36:23 PM
Quote from: Kindred on March 19, 2012, 01:57:18 PM
Quote from: Kindred on March 07, 2012, 10:48:11 AM
vbgamer - any progress on figuring out why the ADK Blog is not recognized as a page in EZPortal?
I have added the ?action=blog and ?action=blogs actions to the ezportal-blocks-visible list... and set the blocks to be visible ONLY on the portal homepage...   but it still shows the entire portal front page (above the blog contents) when I go to the individual blog page.

Looks like I already that code in the system unless I am not seeing something?
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 22, 2012, 07:55:00 PM
except the problem still exists that the portal does NOT respect the blog as an action. It loads the entire front page and then allows the blog to load under it.

see my link in the post above.   The two blocks on the top are set to ONLY display on the portal homepage... and they don't appear on ANY other page....
Title: Re: ezPortal 0.6.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 22, 2012, 07:58:40 PM
Is it action=blog or index.php?blog=1
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on May 22, 2012, 08:12:34 PM
New Update!
0.6.3
+Added Show Google+ Button option to board news ezblock
!Fixed missing div tag in the stats ezBlock
!Fixed bug with center column area
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 22, 2012, 09:27:06 PM
Action=blog works with my edits...  Blog=### fails
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on May 22, 2012, 09:39:00 PM
Quote from: Kindred on May 22, 2012, 09:27:06 PM
Action=blog works with my edits...  Blog=### fails
That would fail it only looks for after action
You can use custom code search as the following
In sources/ezportal.php



if ($row['visibileactions'] != '' && isset($_REQUEST['action']))
{
$columnActions = explode(",",$row['visibileactions']);

if (in_array($_REQUEST['action'],$columnActions))
$visibleAction = true;

if (isset($_REQUEST['Blog']))
$visibleAction = true;


}

Modified that code and just added

if (isset($_REQUEST['Blog']))
$visibleAction = true;
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 23, 2012, 11:55:59 AM
nope....   
Added the line into Sources/EZPortal2.php
cleared both the browser and the server cache...

link still shows the two blocks which are only selected for the portal homepage
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 23, 2012, 12:57:58 PM
Is blog in caps? Such as Blog or is it blog=
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 23, 2012, 02:03:54 PM
it is "blog=###"   (my iPad assumed and autocorrected the previous to be a cap)
(but I entered the code correctly as lowecase, not just cut/paste)
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 23, 2012, 02:04:47 PM
Change
if (isset($_REQUEST['Blog']))
to
if (isset($_REQUEST['blog']))
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 23, 2012, 03:13:36 PM
that's what I put in...
Quote from: Kindred on May 23, 2012, 02:03:54 PM
(but I entered the code correctly as lowercase, not just cut/paste)
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 23, 2012, 03:44:04 PM
Move that code outside of
if ($row['visibileactions'] != '' && isset($_REQUEST['action']))
{
$columnActions = explode(",",$row['visibileactions']);

if (in_array($_REQUEST['action'],$columnActions))
$visibleAction = true;


}


if (isset($_REQUEST['blog']))
$visibleAction = true;

So like above instead
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on May 23, 2012, 04:29:15 PM
no luck... still the same.


// Check if we should even show any blocks if not continue
$visibleAction = false;
if ($row['visibileactions'] != '' && isset($_REQUEST['action']))
{
$columnActions = explode(",",$row['visibileactions']);

if (in_array($_REQUEST['action'],$columnActions))
$visibleAction = true;
}

if (isset($_REQUEST['blog']))
$visibleAction = true;

// Check for visible board

http://www.40konline.com/index.php?blog=1833
Title: SMF upgarded, Ez Shoutbox malfunction
Post by: donbhai on May 31, 2012, 09:56:12 AM
Hi,

Well, I recently upgraded a SMF forum from 1.1.15 to 2.01. The upgrade was successful and everything works absolutely fine after the upgrade.

After the forum upgrade, I upgraded the Ezportal version as well. But I see that the EzPortal Shoutbox that previously worked, doesn't work now. I've already made sure that its 'on' & activated, but strangely it still doesn't show up.

Any clue?
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on May 31, 2012, 10:12:00 AM
What browser are you using? And how is it broken?
Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: donbhai on May 31, 2012, 12:27:46 PM
Well, I'm using Firefox 12.0.

And, I had SMF 1.x & its compatible EzPortal Shoutbox installed previously. After upgrading to SMF 2.x, I removed all the packages and installed new ones, including EzPortal. Hence, the EzPortal I use is the latest one compatible with SMF 2.x .

And, the shoutbox doesn't show up, even after activating it from the portal settings.

Edit: In fact, none of the EzPortal addons show up, including the portal page, even after enabling them.

Title: Re: ezPortal 0.6.3 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: donbhai on June 04, 2012, 08:43:19 AM
Bump
Title: Re: ezPortal 0.6.4 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on June 09, 2012, 12:57:30 AM
New update mainly for new people to ezPortal:

0.6.4
!Fixed default install for ezPortal with blocks
Title: Re: ezPortal 0.6.5 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on June 28, 2012, 08:31:51 PM
Quick update
0.6.5
!Fixed some formatting of some the column combinations
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on July 18, 2012, 01:07:14 AM
Minor update
0.6.6
+Random SMF Gallery Block and SMF Gallery Block now support SMF Gallery Pro category level permissions and private user gallery permissions.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on July 26, 2012, 11:17:08 PM
Bugfix
0.6.6a
!Fix possible escape bug with add/edit block issue for SMF 2.0
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Major Wood on August 10, 2012, 11:58:12 PM
Just upgraded to SMF 2.0.2 and installed ezportal. All my settings from the previous installation are still there, so all my blocks and visible settings appear to be what they should be. However, I can't see any of my ezblocks. I switched back to the curve theme, assuming it was a custom theme issue, but the ezblocks aren't showing there.
What am I missing?

Thanks.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on August 11, 2012, 11:14:45 AM
Do you have the columns enabled. If so they should say enabled and in green under ezblock manager.

Also try adding  a new block and make it visible to all and see if that works.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Major Wood on August 11, 2012, 11:25:04 AM
I have the left, center and right columns enabled. Tried adding a block to the left column and making it visible on all actions and boards. It isn't showing up in the curve theme, or my custom theme.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on August 11, 2012, 12:10:55 PM
Any errors on install that you had?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Major Wood on August 11, 2012, 12:33:28 PM
No, installed with no problems at all.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Major Wood on August 16, 2012, 08:14:17 AM
Any ideas? What modifications should I make have been added? I don't have an issue with manually editing the code to get it to work, I just need to know what I need to focus on.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on August 16, 2012, 10:47:27 PM
Quote from: Major Wood on August 16, 2012, 08:14:17 AM
Any ideas? What modifications should I make have been added? I don't have an issue with manually editing the code to get it to work, I just need to know what I need to focus on.
Hmm lets ensure that this code is in your index.php


// Setup EzPortal
require_once($sourcedir . '/EzPortal2.php');
SetupEzPortal();
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Major Wood on August 20, 2012, 03:56:27 PM
Indeed it is.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Major Wood on August 20, 2012, 05:32:35 PM
I went through and verified that all code modifications shown in the package parser have been made (I didn't check for those listed as not vital to the mod).

This has actually happened now on two separate installations.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Major Wood on August 21, 2012, 03:58:57 PM
I had it in maintenance mode, so it wasn't displaying. Had no idea that it would be turned off in maintenance mode. Turned out to be a good thing, because I had blocks that were causing the page to not load.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on August 21, 2012, 05:34:24 PM
ah that was it yeah sorry about that forget that I had it disabled in maintenance mode.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on September 21, 2012, 11:12:30 PM
Hi VB

I have not done an update since 5.1 and thought I better do it.
the install showed no errors so I did it, But then everything was dubbled up
I then followed the parser 4 times checking I didn't have everything edited in the php files 2 or 3 times.
and after doing that I saved the php files "but" still the forum shows 2 of everything.

I then uninstalled EzP and re-installed it, but now everything is showing 3 times LOL what do I need to do to correct this

Here is an image of the bottom of my forum to show you, the rest of the forum blocks are turned off so members can still use the forum


Any heads up as what I should do ?

cheers buddy
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on September 24, 2012, 09:02:53 AM
I would check the main index.php file there should be a function called setupportal make sure it is only listed once.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: izzy233 on October 05, 2012, 04:24:47 PM
first let me say that i love this mod ;D but i have a small problem and im wondering if anyone can help me out. i have my forum set to where post to certain boards need to be approved before they show on the forum. but when people post topics that i haven't approved they still show in the recent topics ez block. is there any way i can stop topics that haven't been approved from showing? 
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on October 05, 2012, 05:23:45 PM
For what SMF version?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: izzy233 on October 05, 2012, 05:48:17 PM
its version 2.0.2
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on October 05, 2012, 09:12:17 PM
Quote from: izzy233 on October 05, 2012, 04:24:47 PM
first let me say that i love this mod ;D but i have a small problem and im wondering if anyone can help me out. i have my forum set to where post to certain boards need to be approved before they show on the forum. but when people post topics that i haven't approved they still show in the recent topics ez block. is there any way i can stop topics that haven't been approved from showing?
You were right, I was over looking the double up edits in there. Cheer VB, you the man
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: jkandres96 on October 07, 2012, 06:02:31 PM
I feel remarkably stupid for asking this, but I've installed the mod and everything went well, but I can't seem to find where to open the administration area for ezPortal. If someone could point me in the right direction please? Thanks!
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on October 07, 2012, 06:30:13 PM
Quote from: jkandres96 on October 07, 2012, 06:02:31 PM
I feel remarkably stupid for asking this, but I've installed the mod and everything went well, but I can't seem to find where to open the administration area for ezPortal. If someone could point me in the right direction please? Thanks!
It should right in the admin button there should be a whole section just for ezPortal
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on October 07, 2012, 08:58:56 PM
Quote from: jkandres96 on October 07, 2012, 06:02:31 PM
I feel remarkably stupid for asking this, but I've installed the mod and everything went well, but I can't seem to find where to open the administration area for ezPortal. If someone could point me in the right direction please? Thanks!
admin>EzPortal
your url followed by /index.php?action=admin;area=ezpblocks will take you to where you can setup your blocks
your url followed by /index.php?action=admin;area=ezpsettings will take you to settings

Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: T3CHN0 on October 19, 2012, 06:53:47 AM
I hate to ask,

I am trying to get this widget working in my forum
but it does not work in html or php blocks
but I can get it working in either html or php if I make a .html or .php file

any heads up as what I should do

code
<div id="skyscraperContent"></div><script type="text/javascript" src="http://w-1.ebay.com/js/1.0/SkyscraperWidget.js?g_queryKeywords=estima 90-99"></script>

this is the error i get from php block
ezBlock unable to run PHP syntax error!

i don't get an error with html just nothing at all shows
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: david090366 on October 24, 2012, 01:28:52 AM
Has a solution ever been reached for EZportal and ADK blog?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on October 24, 2012, 12:05:22 PM
No generally you can only install one portal at a time.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on October 24, 2012, 12:33:20 PM
ADK Blog is not a portal...  it's their blog mod...   and it does not play well with portals, especially this one.

The portal does not respect the "block assignments" and displays all blocks as if from the main/homepage  and then displays the blog contents in the center column, under the homepage blocks...
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: nevsutt on October 28, 2012, 07:36:28 AM
Trying to regester on ezportals forum but keep getting the message
you username and email is a Spam, please contact forum administrator.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on October 28, 2012, 01:42:32 PM
Your email/username are probably listed on http://www.stopforumspam.com that is where i look against.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: nevsutt on October 28, 2012, 04:00:07 PM
No nothing there

How do I contact ezblock admin
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: nevsutt on November 18, 2012, 06:03:11 PM
Is it possable to turn off (hide) an ezblock just in the admin section

When I am in the admin section looking at the  Manage Members 
section the Recent Topics block is covering half the infomation

Is there another solution???
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 18, 2012, 06:11:07 PM
Not at the moment
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: N i g h t m a r e on November 19, 2012, 09:36:11 PM
When i try to uninstall those the page goes all white. help please

@http://http://vnx-forums.site40.net/index.php
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 19, 2012, 10:49:10 PM
Check error log for related errors.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: techguy on November 20, 2012, 04:16:11 AM
Is this better than tiny or simple portal.
Why and how ?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: N i g h t m a r e on November 21, 2012, 01:02:05 PM
Quote from: vbgamer45 on November 19, 2012, 10:49:10 PM
Check error log for related errors.

what am i suppost to check for? i just need help uninstalling it please.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 21, 2012, 01:09:56 PM
related error messages.

If you need help uninstalling check the install modsite for manual install instructions and reverse them
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: N i g h t m a r e on November 21, 2012, 01:15:45 PM
i know how to uninstall mods,this one just gives me a blank all white page when trying to uninstall.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on November 21, 2012, 01:25:01 PM
Please use the manual uninstall instructions.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on December 20, 2012, 05:49:12 PM
vbgamer... has there been ANY movement - or even effort - to figure out the problem with the portal and blogs?

In case you don't remember - setting up ezportal with adk blogs.
http://www.40konline.com/index.php?action=blogs
works just fine...
http://www.40konline.com/index.php?blog=1833;sa=topic;id=1
and
http://www.40konline.com/index.php?blog=1833;sa=cat;id=1
fail miserably...   it shows the blocks defined to be ONLY on the front page (portal homepage)
I have tried working with the custom actions and the defined actions in the ezportal admin, but - for some reason, ezportal does not seem to recognize that the individual blog entries are not the homepage

Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on December 20, 2012, 05:59:28 PM
Haven't looked at it no time.
Well the issue with that is blog= in url is not an action so ezportal isn't picking it up it is just part of the url and not really an action

Would require editing to sources/ezportal2.php
something like

if (isset($_GET['blog'])
{
//Something here
}
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on December 21, 2012, 11:52:21 AM
hmm....

see, the blog has a line in subs.php, which is supposed to take care of that
Code (subs.php) Select

//Blog Button - Portal Customizers
$current_action = isset($_REQUEST['blog']) ? 'blogs' : 'home';


and you already have this line in there for your version of the blogs
Code (exportal2.php) Select

if (isset($_REQUEST['blog']))
$visibleAction = true;


but I think I see...   you don't check for $current_action... you check the actual request.

never the less, I think I have it figured out now
Code (in EZPortal2.php find) Select

if ($ezpSettings['ezp_portal_enable'])
{
if (!isset($_REQUEST['action']) && !isset($_REQUEST['board']) &&  !isset($_REQUEST['topic']))
$is_vis_on_portal = true;
}


Code (replace with) Select

if ($ezpSettings['ezp_portal_enable'])
{
if (!isset($_REQUEST['action']) && !isset($_REQUEST['board']) &&  !isset($_REQUEST['topic']) && !isset($_REQUEST['blog']))
$is_vis_on_portal = true;
}


that takes care of it thinking that the blog is the homepage.

Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: RoCKeT-88 on January 14, 2013, 09:09:20 PM
I am trying to display a iframe with the page manger.  I insert the html and nothing shows.  Is this not possible?  TY~
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on January 14, 2013, 09:17:32 PM
What is the HTML code that you are inserting?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: RoCKeT-88 on January 14, 2013, 10:14:49 PM
Well I have a Google Document Iframe inside another Iframe.  Either way it won't display the Google Iframe alone or inside the other Iframe.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on January 14, 2013, 10:21:02 PM
Well, first of all, I don't think that you are supposed to nest iframes...

Iframes are ugly anyway...

However, as I said, please post the code that you are using....
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: RoCKeT-88 on January 14, 2013, 10:29:43 PM
I nest Iframes all the time~  Im also not concerned with the prettiness of an iframe~

I will send you the code in PM who knows probably not "family" friendly enough for this site~  Well I guess after you grant permission to do so~
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on January 14, 2013, 11:49:32 PM
Disable TinyMCE under ezPortal settings and try again
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on January 15, 2013, 12:01:22 AM
Actually, vbgamer, the disable tinymce works for the HTML block,but not the page editor..  You have to turn it off each and every time for the ages, using the hide tinymce link.

And rocket, when I say not pretty, I mean not pretty in a code way. Iframes are ugly, ugly code and they are not catalogued by the search engines... Especially if they are nested. There are better ways to doit without iframes.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: RoCKeT-88 on January 15, 2013, 12:19:56 AM
Quote from: vbgamer45 on January 14, 2013, 11:49:32 PM
Disable TinyMCE under ezPortal settings and try again

Ty~  Perfect!

I just hid the editor on the page itself!
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: RoCKeT-88 on January 15, 2013, 12:23:42 AM
Quote from: Kindred on January 15, 2013, 12:01:22 AM
Actually, vbgamer, the disable tinymce works for the HTML block,but not the page editor..  You have to turn it off each and every time for the ages, using the hide tinymce link.

And rocket, when I say not pretty, I mean not pretty in a code way. Iframes are ugly, ugly code and they are not catalogued by the search engines... Especially if they are nested. There are better ways to doit without iframes.

Yes I do not need this indexed by engines.  This Iframe is doing just what I need it to do.  I could take the Google Doc Iframe out of the other Iframe but it is just not worth the time to do so~
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SirHugo on January 22, 2013, 07:14:11 AM
Hello,
i need help to manage displaying the shoutbox.
Everything went fine. I have tried to activate the shoutbox in the middle block. Unfortunately, all other blocks slid to the right. This only happens with the shoutbox. The template seemed to be scratched. I had to manually install the portal with the parser and built with copy & paste.

All what i want, is to fix the shoutbox in the middle block.
Can someone please help.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on January 22, 2013, 09:45:43 AM
Do you have a link to where this occurs?

Also what browser are you using?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SirHugo on January 25, 2013, 01:47:16 AM
sorry, it is a closed forum, because there are a ot of sensible data inside.
I tested it with several browsers and it´s alltime the same (IE, Opera, FF, Crome)

Now we put at the top of the forum, not center and it works. But it´s not the ultimate resolution.
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Drug Mile on February 05, 2013, 09:21:48 AM
I just installed this Mod and testing it. So far everithing works great, except one tiny issue. I added several blocks to my homepage, including "Top boards". It is now showing a list of 10 most popular boards, butwhen I log out (and viewing it as a guest) under every board in this block it is showing "new".

I added also block "recent topics" and here a "new" mark works great. Topic with a unread posts is marked "new", but for guests tothing isn't marked "new". So I guess now there is only a problem in "top boards" block.

Can you give me some clue how to fix this?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Roknrol on February 05, 2013, 02:02:48 PM
Quote from: T3CHN0 on October 07, 2012, 08:58:56 PM
Quote from: jkandres96 on October 07, 2012, 06:02:31 PM
I feel remarkably stupid for asking this, but I've installed the mod and everything went well, but I can't seem to find where to open the administration area for ezPortal. If someone could point me in the right direction please? Thanks!
admin>EzPortal
your url followed by /index.php?action=admin;area=ezpblocks will take you to where you can setup your blocks
your url followed by /index.php?action=admin;area=ezpsettings will take you to settings
'
Same problem SMF 2.0.4, EZPortal .6.6a, no configuration options.  When I try the above path I'm taken directly to the Admin control panel, but no EZPortal settings.  I didn't get any errors during the original install, nor during the uninstall, nor during the reinstall.

Not sure where to start looking - any suggestions?
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on February 05, 2013, 02:19:13 PM
confirm that the installation file edits were actually made to your php files
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Roknrol on February 05, 2013, 03:06:54 PM
Thanks for the suggestion...it appears that none of the edits were made.  I have made the changes as stated in the manual-install and I'm getting nothing but a blank screen.  I'll check back through the edits after lunch to see if I can figure out where it got hosed.

I'm beginning to remember why I stopped using SMF a few years ago...
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on February 05, 2013, 03:12:25 PM
if you got a blank screen then yes, you made an error somewhere...


As for stopping SMF...    SMF is one of the simplest, yet most powerful forums out there. Some people's servers are configured oddly, which appears to be the cause of that "marked installed, but no files edited" problem.  That's not specificaly SMF's problem
Title: Re: ezPortal 0.6.6 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Roknrol on February 05, 2013, 03:35:51 PM
Quote from: Kindred on February 05, 2013, 03:12:25 PM
if you got a blank screen then yes, you made an error somewhere...


As for stopping SMF...    SMF is one of the simplest, yet most powerful forums out there. Some people's servers are configured oddly, which appears to be the cause of that "marked installed, but no files edited" problem.  That's not specificaly SMF's problem
I understand that - I used SMF for quite a few years with Runic.  It was always the modules and module-interaction with SMF that I disliked, for exactly these types of reasons.  I don't expect them to be fixed on my account...it's just frustrating is all.  With zero mods installed on my site I would expect something like this to install correctly.  I guess that's what I get for having expectations :p
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: SMFHacks.com Team on February 18, 2013, 12:23:26 AM
ezPortal Update!
0.6.7
!Fixed undefined errors when adding or deleting a shoutbox message
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: NightzKung on February 18, 2013, 09:29:59 AM
SMFHacks.com Team. Very cool
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 18, 2013, 09:47:51 AM
Glad you enjoy the update!
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Drug Mile on February 24, 2013, 03:59:18 PM
How to use this mod to display a message on top of the forum to a post-based group? I know how to make it for primary group, like moderators, or guests, but how to display something to a member who never posted a post?
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on February 24, 2013, 04:05:39 PM
I don't believe at the moment that it supports Post Based Groups for block permissions.
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: kirilas on March 24, 2013, 01:06:47 PM
Hi. I install ez portal and i want to have a Home page ONLY with articles and a forum page only with forum. From the first page how can i have only the blocks and disable the forum. The forum i want to appear Only if someone click the link FORUM.

Thanks
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: Kindred on March 24, 2013, 04:35:38 PM
so, set up your homepage blocks that way....   that is supported with the very basic setup
Title: Re: ezPortal 0.6.7 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: vbgamer45 on March 24, 2013, 04:37:44 PM
Handled the users issue he was missing an edit to his index.php which caused the portal homepage not to work.
Title: Re: ezPortal 1.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: SMFHacks.com Team on April 27, 2013, 03:30:45 PM
ezPortal Updates!
1.0
!Fixed sharing link in the news block for Facebook and Google+
+Updated TinyMCE webpage editor/html block editor to 3.5.8
+Style updates to admin area for SMF 2.0
+Module updates new updated downloads
Title: Re: ezPortal 1.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: whalleh on May 14, 2013, 02:00:59 PM
Please I will like to know how I can disable the right bar  for ezportal when users are using a mobile device to view the forum
Title: Re: ezPortal 1.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: vbgamer45 on May 14, 2013, 02:06:58 PM
Quote from: whalleh on May 14, 2013, 02:00:59 PM
Please I will like to know how I can disable the right bar  for ezportal when users are using a mobile device to view the forum
No built in way at the moment but would be a good feature request.
Title: Re: ezPortal 1.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: whalleh on May 14, 2013, 02:28:23 PM
Quote from: vbgamer45 on May 14, 2013, 02:06:58 PM
Quote from: whalleh on May 14, 2013, 02:00:59 PM
Please I will like to know how I can disable the right bar  for ezportal when users are using a mobile device to view the forum
No built in way at the moment but would be a good feature request.

The right pane seems to take almost all of the space on mobile devices. Is there no coding I can do to rectify this. As much as I love the portal, it scares mobile users from my site
Title: Re: ezPortal 1.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: vbgamer45 on May 14, 2013, 02:53:26 PM
You can modify ezPortal in the Subs-ezPortal.php in the setupezPortal function if you have the code for it.
Title: Re: ezPortal 0.5.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0
Post by: whalleh on May 15, 2013, 04:13:22 AM
Quote from: vbgamer45 on November 28, 2011, 02:31:06 PM
It would be 5

If not try this code instead

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


I can't seem to find the file subs-ezportal.php.

Please where do I get the file
Title: Re: ezPortal 1.0 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: vbgamer45 on May 15, 2013, 10:07:34 AM
In the Sources Folder of your SMF board
Title: Re: ezPortal 1.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: SMFHacks.com Team on June 20, 2013, 11:48:54 AM
ezPortal Performance Update!

1.1
+Better caching of main ezPortal loading functions for block parameters, column and block collapse states, and ezPortal pages. Should be huge performance gains for sites with caching enabled.
Title: Re: ezPortal 1.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: T3CHN0 on July 18, 2013, 06:57:50 PM
I asked this once before with older updates but just in case I will ask again now.

do I have to uninstall and re-install the mod to update
or can I simply replace the old php files with the updated ones?

I only had to replace the php files in the passed.
Title: Re: ezPortal 1.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: vbgamer45 on July 18, 2013, 08:25:15 PM
Just install the new version you do not need to uninstall. I would run the installer though to make sure the db is up to date
Title: Re: ezPortal 1.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: T3CHN0 on July 18, 2013, 09:05:37 PM
Sweet, thanks vb
Title: Re: ezPortal 1.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: vbgamer45 on July 18, 2013, 09:31:59 PM
Glad to help
Title: Re: ezPortal 1.1 - Twitter/Facebook new ezBlocks! 25+ ezBlocks support SMF 2.0!
Post by: lazylivin on July 30, 2013, 07:56:03 PM
I am having trouble getting the bottom ezblock appearing on any page except home. All previous version of ezportal and smf I have used the bottom block only works on Home page. I am specifically looking for it on the Post Reply page but other pages would be nice as well. Current Version is 1.0 with SMF 2.04. Anyone had this issue that may know how to fix it?
Title: Re: ezPortal 1.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on August 21, 2013, 11:44:44 PM
New update!

1.2
+Added easy to use copyright removal purchase system to allow forums to have a clean look.
!Fixed undefined errors for when adding a block if there are no parameters for that block
+Added random listing/auction block for SMF Classifieds ezBlock
+Listing date in SMF Classifieds ezBlock uses the datetime format in the classifieds settings
Title: Re: ezPortal 1.2 - Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Apllicmz on September 09, 2013, 06:28:49 PM
All files Update portuguese





<file name="$languagedir/Who.portuguese_pt-utf8.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// Begin EzPortal Translate by Candidosa2
$txt['whoall_forum'] = 'Visualizando o &Iacute;ndice do <a href="' . $scripturl . '">' . $context['forum_name'] . '</a>.';
// END EzPortal Strings
]]></add>
</operation>
</file>


<file name="$languagedir/Who.portuguese_pt.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// Begin EzPortal Translate by Candidosa2
$txt['whoall_forum'] = 'Visualizando o &Iacute;ndice do <a href="' . $scripturl . '">' . $context['forum_name'] . '</a>.';
// END EzPortal Strings
]]></add>
</operation>
</file>




<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Begin EzPortal Text Strings translate By Canddiosa2
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Configura&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'Administrador do ezBlock';
$txt['ezportal_page_manager'] = 'Gestor de p&aacute;ginas';


$txt['ezp_settings'] = 'Configura&ccedil;&otilde;es';
$txt['ezp_modules'] = 'M&oacute;dulos';
$txt['ezp_blocks'] = 'ezBlocks';
$txt['ezp_pagemanager'] = 'Gestor de p&aacute;ginas';
$txt['ezp_import'] = 'Import';
$txt['ezp_txt_ordercopyright'] = 'Ordem de Remo&ccedil;&atilde;o de direitos autorais';
$txt['ezp_download_blocks'] = 'Download ezBlocks';
$txt['ezp_installed_blocks'] = 'ezBlocks instalado';


// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';
$txt['permissiongroup_simple_ezportal'] = 'Usar EzPortal';


$txt['permissionname_ezportal_page'] = 'Gerir P&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir de p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para administrar p&aacute;ginas EzPortal.';


$txt['permissionname_ezportal_blocks'] = 'Administrar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e excluir do ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para administrar ezBlocks.';




$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controle total do EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para administrar o EzPortal.';


// END EzPortal Text Strings
]]></add>
</operation>
</file>


<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Begin EzPortal Text Strings translate By Canddiosa2
$txt['ezp_forum_tab'] = 'F&oacute;rum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Configura&ccedil;&otilde;es';
$txt['ezportal_block_manager'] = 'Administrador do ezBlock';
$txt['ezportal_page_manager'] = 'Gestor de p&aacute;ginas';


$txt['ezp_settings'] = 'Configura&ccedil;&otilde;es';
$txt['ezp_modules'] = 'M&oacute;dulos';
$txt['ezp_blocks'] = 'ezBlocks';
$txt['ezp_pagemanager'] = 'Gestor de p&aacute;ginas';
$txt['ezp_import'] = 'Import';
$txt['ezp_txt_ordercopyright'] = 'Ordem de Remo&ccedil;&atilde;o de direitos autorais';
$txt['ezp_download_blocks'] = 'Download ezBlocks';
$txt['ezp_installed_blocks'] = 'ezBlocks instalado';


// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';
$txt['permissiongroup_simple_ezportal'] = 'Usar EzPortal';


$txt['permissionname_ezportal_page'] = 'Gerir P&aacute;ginas';
$txt['permissionhelp_ezportal_page'] = 'Permite adicionar, editar e excluir de p&aacute;ginas.';
$txt['cannot_ezportal_page'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para administrar p&aacute;ginas EzPortal.';


$txt['permissionname_ezportal_blocks'] = 'Administrar ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Permite adicionar, editar e excluir do ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para administrar ezBlocks.';




$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Permite o controle total do EzPortal';
$txt['cannot_ezportal_manage'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para administrar o EzPortal.';


// END EzPortal Text Strings
]]></add>
</operation>
</file>
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on October 05, 2013, 10:58:26 AM
Minor bug fix
1.2.1
!Fixing undefined caching error when editing an ezBlock
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 06, 2013, 05:12:34 AM
Hi VB

Mate I got a problem.
working forum but was 2.0.1
I tried to take a shortcut and move over files from my other upto date forum to this old forum Sources folder with phps only Okay, no other files
Okay Forum still working but each time I did something I wold see an error telling me the files are for 2.0.6 but the data base is for 2.0.1 BUMMER for me.
So I though stuff it I will download the full 2.0.6 update and update, sweet updated fine, now reinstalling MODs and everything looks like it's all coming together
until I installed eZportal and then everything went to crap, the forum is doubling up with only part or the forum. so you see the first part banner and boards
scroll down and see it again. I can not get into the admin eZporting settings or anything. each time I click on something I am only refreshing the page.

I went over the whole install my self and everything looks good. is there a folder a file that needs cmod setting of 755 or something like that?
I am happy to start over compleatly if need be but I still need to use the same data base that holds all the topics and users.

anyway when you get a minute could you help me out!!! Cheers Techno
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on November 06, 2013, 09:04:25 AM
There is probably some double code somewhere use the manaul install instructions to find and remove any double code.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 06, 2013, 09:30:16 AM
Hi VB yep I looked for that and it's all good.
I mean there is no double code of your mod, forum still twisted lol
I might manually remove your mod tomorrow and try the install again.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 06, 2013, 06:39:01 PM
Well it's not the install, I decided to start over, clean install on SMF
nothing else installed yet but still using the old data base.
1st install was eZportal and bang forum is twisted.

data base must not like the install of eZportal anymore !
Pity as I like this portal the best but I think I might have to try someone else now

cheers
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on November 06, 2013, 06:45:29 PM
Do you have a screenshot or link?
What browser was used?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on November 06, 2013, 06:58:49 PM
I have installed it just fine on 2 forums which were upgraded from 1.1.x through 2.0.6,including beta versions... and on one new 2.0.6 install....  and they all install and work/display just fine.

So, I suspect that there is something you are leaving out.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 06, 2013, 08:48:46 PM
http://greens420fighters.com/green420/index.php (http://greens420fighters.com/green420/index.php)

LOL I wish I knew what it was I am leaving out.

Okay I looked at other protals and they suck this is the best one.
So I need to find out what is going wrong.

I found so far if I install the mod and then go to my root folder and rename the index.php to index.php2
and rename index.php~ to index.php the forum works again but no settings for eZportal stay saved.
I try to make changes to the protal and my site takes me back to the home page.


P.S.

VB Have no problems with giving you full admin and FTP details if you wanted them.
I have known you for some time now and trust you 100%
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on November 06, 2013, 09:24:17 PM
I looked at the site. Not seeing the issue.
I see one sidebar on the left handside? Maybe a top ezblock as well?

Can you take a screenshot and point out what is wrong and what browser used?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 06, 2013, 11:59:18 PM
here is a screen shot, I has to ALT-PrintScreen a few times and join it all together at 20%
so I hope it's good enough for you to see
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on November 07, 2013, 01:05:56 AM
there's no issue with EZPortal.... you have some sort of glitched code in one of the blocks that is not visible to guests.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 07, 2013, 01:52:31 AM
I know the problem isn't ezportal as I use it on 3 other forums and it always works well
but the only mod I have installed on this forum for now is shoutbox and ezportal.
shoutbox is also not the problem I use it on all my other forums as well. I think it must be data base???

not sure
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 07, 2013, 02:46:17 AM
I decided I might try again a clean upload of SMF files but this time the full download and not the update
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on November 07, 2013, 03:29:51 AM
Quote from: T3CHN0 on November 07, 2013, 02:46:17 AM
I decided I might try again a clean upload of SMF files but this time the full download and not the update

Same out come, Fresh install but same data base, only mod installed is eZ and it all goes to crap.

I must have a block installed that's making all this happen. anyway to remove the blocks so eZ has a frsh install as well
or do I need to start over with data base as well?

everyone going to hate me for making all members to re-register
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on November 07, 2013, 07:33:48 AM
I keep telling you, the problem is one of your BLOCKS!!!!!!!!!!!!

Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Fat_Man on November 21, 2013, 10:47:11 PM
I would like to update eZPortal on my forum. Currently have version 1.0 installed (So it tells me in the Admin area), and would like to update to latest.

WHats the best procedure?
Install the new update, and remove the old?
Or does the new overwrite the old?

Thanks
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on November 21, 2013, 10:50:01 PM
Uninstall if possible if not just install the new version.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Fat_Man on November 21, 2013, 10:57:14 PM
If uninstall, do I lose the existing blocks, pages etc?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on November 21, 2013, 11:35:51 PM
No you do not loose any data.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Fat_Man on November 23, 2013, 04:14:47 AM
Thanks vbgamer45.
Everything went smoothly..... I was expecting carnage.  :D
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Trenchwork on November 23, 2013, 02:33:47 PM
Hey, troops.  I've installed ezPortal and everything is functioning, but I'd like to modify the front page (spinnershome.net).  The forum is set so that only users can read the boards, so the front page is also the login page.  The problem is that the login block is splitting the center column with any text you want to be the real center column.  I'd like to shift the login to the upper half of the page and then have the columns fall below that so that I can use it as an info page for guests or users pre-login.  I can actually do that if I can figure out what page to modify.  I'm assuming it's one of the theme pages, but I'm not sure which?  The default theme is just Curve and I haven't made any major mods.  I'd check with the Curve developers, but can't seem to locate it.  Suggestions?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: br360 on December 08, 2013, 02:40:01 AM
Not sure if this was asked before in this thread, and although I did see it asked a few times on the EzPortal site, I didn't see any responses/solutions; so figured I would ask here.

I have the blocks set up on the right side of my forum, and was wondering if there a way to have the title of each block centered instead of being on the left by default. Is that possible?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on December 08, 2013, 10:11:21 AM
Quote from: br360 on December 08, 2013, 02:40:01 AM
Not sure if this was asked before in this thread, and although I did see it asked a few times on the EzPortal site, I didn't see any responses/solutions; so figured I would ask here.

I have the blocks set up on the right side of my forum, and was wondering if there a way to have the title of each block centered instead of being on the left by default. Is that possible?
Not at the moment.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Black Tiger on March 04, 2014, 09:44:52 PM
Hello.

I might have done something wrong because I'm new to SMF, worked with vBulletin for over 10 years.

I used the package manager to upload and install the ezportal.
Looked fine, did not see any strange things.

Do I need to do more? Because I can't find any ez setup, this might because of this:
QuoteMove the included directory "ezportal" to "the root directory".

I'm using SMF 2.0.7 and the install file did not extract tie ezportal directory. Now I have 2 questions.
1.) Is that a problem? Or can I just extract the ezportal directory and move it to the root directory myself?
2.) What is ment by "root directory" here. Is it the public_html directory? Or is it the directory the forum is installed (for example /public_html/board/)?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on March 04, 2014, 09:46:17 PM
If it did not create the directory. Then there is a good chance that it did not do the other files edits as we'll...   And that leads to the conclusion that you have chmod or chown issues
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Black Tiger on March 04, 2014, 10:02:22 PM
I checked the other files if they were present. They were.
My Packages directory is chmod 777. I had to create a /temp directory in the Packages directory with chmod 777 though, otherwise the package would not install. I found this solution somewhere on the forum.
I don't know if it did the file edits. Any idea how to solve this? I've got root access to the server.

What can I do best to solve this?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Black Tiger on March 04, 2014, 10:26:25 PM
Got these kinds of errors:
Quote2: fclose() expects parameter 1 to be resource, boolean given
File: /home/myname/public_html/forum/Sources/Subs-Package.php
Also some fopen errors.

Do ALL files in ALL 777 directory's also need to be 777?
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on March 04, 2014, 11:21:01 PM
The files need to be writable and folders for packages to install correctly.
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Black Tiger on March 05, 2014, 07:42:33 AM
OMG this is unsecure stuff. Then I'll first move my forums to a server with mod_ruid on it before I install it, that will be a lot safer. Thanks!
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on March 05, 2014, 12:11:29 PM
They permissions don't have to STAY at 777/666
Title: Re: ezPortal 1.2.1 Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Black Tiger on March 05, 2014, 12:42:18 PM
Correct, but you have to change every thing every time you want to make changes, i did not have that problem on vB. And not on systems with suphp or mod_ruid so I rather use that.:)
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on March 10, 2014, 11:57:16 AM
ezPortal 2.0 released!

2.0
+Board News ezBlock the title now links to the topic
+Updated TinyMCE to 3.5.10
+Added support for translating blocks and parameters
Examples:
$txt['Recent Topics ezBlock']['title'] = 'Test Random Title';
$txt['Recent Topics ezBlock']['param']['numTopics'] = 'Number of topics yah!!!';

!Fixed bug in ezPortal RSS block not showing the latest RSS feed item.
!Fixed error undefined cache error with column state in SMF 2.0
!Fixed possible undefined error when editing an ezblock if it has no parameters
!Fixed handling parameters if zero is passed as a required field.
!Twitter block removed due to Twitter api changes
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Celia N. Foster on March 13, 2014, 10:48:08 PM
I made the mistake of trying to uninstall ezportal from my forum yesterday. Uninstaller had warned me that it would not uninstall correctly. Now I get the following error:
Fatal error: require_once() [function.require]: Failed opening required '/hermes/bosweb26b/b647/ipg.judithbarsicom/forum/Sources/EzPortal2.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosweb26b/b647/ipg.judithbarsicom/forum/index.php on line 216

What needs to be done to fix this? What do I need to do? Please help. Thanks!
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on March 13, 2014, 10:59:54 PM
You will need to manually uninstall all of the portions that failed in the automatic uninstallation
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Celia N. Foster on March 13, 2014, 11:57:53 PM
And how do I do that? Forgive my ignorance.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on March 14, 2014, 12:04:49 AM
You can upload the mod to http://www.smfhacks.com/smf-package-parser.html to get the manual install instructions and just reverse them to uninstall.

Or to fix that error quickly reuploaded the EzPortal2.php from the zip file of the mod to your sources folder.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Black Tiger on March 14, 2014, 09:42:06 AM
You can also go here (http://custom.simplemachines.org/mods/index.php?mod=1461) in the modsection, select on the right your SMF version and click "parse". It will show you which changes will be made.

This is a good place to start also:
QuoteFailed opening required '/hermes/bosweb26b/b647/ipg.judithbarsicom/forum/Sources/EzPortal2.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosweb26b/b647/ipg.judithbarsicom/forum/index.php on line 216
Edit your /forum/index.php and remove the EzPortal2.php reference on line 216.

Refresh, and maybe that specific error is already gone then, if you want to remove ezportal.

Or take VBGamer's advise if you want to try and fix the installation.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Celia N. Foster on March 15, 2014, 05:28:42 PM
Wanted to let you guys know I got the issue solved. Thanks! :)
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on March 15, 2014, 07:17:44 PM
Glad you were able to get it fixed
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: DEEPSNUYB on March 23, 2014, 04:23:34 AM
Just curious.  on the front page you have your blocks, etc etc. On the left and right.

But once you actually go to the forum, shouldnt those blocks disappear.  real estate is valuable on a bulletin board and having its width shortened because you have blocks left and right taking up space makes no sense?
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on March 23, 2014, 09:00:06 AM
you can configure the columns, and individual blocks to show or not show on specific pages.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: DEEPSNUYB on March 24, 2014, 04:42:29 AM
http://www.ezportal.com/index.php

Which ez block did you use to show the latest posts to show part of the actual post and the comments and fb like?
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on May 15, 2014, 01:57:53 PM
Hi Vb
I am woking on a new forum tried to setup a page "Enable Portal Homepage" but when I click on home to doesn't show
I only see the row of buttons along the top.

UPDATE
I just noticed if i click on the link after i go save http://www.xxxxxxxx.com/aus/index.php?action=ezportal;sa=page;p=1
the page shows but not when i click on home.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on May 15, 2014, 02:25:29 PM
You need to add blocks to your homepage then they will be visible.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on May 15, 2014, 09:27:46 PM
Thanks for you reply mate.

blocks as in

<iframe width="560" height="315" src="//www.youtube.com/embed/uQ-rEVrMPuA" frameborder="0" allowfullscreen></iframe>

something like that?
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on May 15, 2014, 10:21:03 PM
no.

blocks as in ezportal blocks...  in smf admin, under the ezportal section...
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on May 15, 2014, 10:25:56 PM
I have 1 block at the bottom.
if it's okay this is the site I am helping with http://www.a3gamers.com/aus/index.php (http://www.a3gamers.com/aus/index.php)

But this is what it should look like when i click on home http://www.a3gamers.com/aus/index.php?action=ezportal;sa=page;p=1
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on May 15, 2014, 11:35:16 PM
then you need to build the homepage with a single main content block like that... not a separate page...
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on June 11, 2014, 01:07:58 PM
Latest update:

2.0.1
+Added a global variable which can be used to disable ezPortal $disableEzPortal  Set it to 1 to disable ezPortal
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 14, 2014, 02:01:01 PM
Hay vb
I installed the iphone mod+theme. and it works well however
I notice when viewing with an iphone the blocks make the main part of the forum to small to read and I need to do the pinch screen.
SO I was wondering: Is there was a way to turn off blocks when being viewed by an iphone, ipad or Andriod?
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on June 14, 2014, 02:44:31 PM
Yeah you can using the USERAGENT field to detect if iphone/ipad/android if you need help let me know.
And put in the setupezportal function in sources/ezportal.php near the top if detected return and do not load ezPortal blocks
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 15, 2014, 11:43:25 AM
Yes please I will need your help
I have google around and found something like this (http://www.htmlgoodies.com/beyond/webmaster/toolbox/article.php/3888106/How-Can-I-Detect-the-iPhone--iPads-User-Agent.htm)
but not sure what to do. do I add the script to ezportal.php ?

Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on June 15, 2014, 11:51:36 AM

Open Sources/ezPortal.php

Find

function SetupEzPortal()
{
global $sourcedir, $modSettings, $context, $maintenance, $user_info, $ezpSettings, $boarddir, $boardurl, $smcFunc, $settings;

// If wireless skip the ezPortal stuff.
if (WIRELESS)
return;


Add After

$user_agents = array(
array('iPhone', 'iphone'),
array('iPod', 'ipod'),
array('PocketIE', 'iemobile'),
array('Opera Mini', isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])),
array('Opera Mobile', 'Opera Mobi'),
array('Android', 'android'),
array('Symbian', 'symbian'),
array('BlackBerry', 'blackberry'),
array('BlackBerry Storm', 'blackberry05'),
array('Palm', 'palm'),
array('Web OS', 'webos'),
);

foreach ($user_agents as $ua)
{
$string = $ua[1];
if ((is_bool($string) && $string == true) || (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), $string)))
return;
}

Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 15, 2014, 12:00:49 PM
you must be at your pc, wow fast reply, thanks
I don't have EzPortal.php I have EzPortal2.php file

I think I find this

function SetupEzPortal()
{
    global $sourcedir, $context, $maintenance, $user_info, $ezpSettings, $boarddir, $boardurl, $smcFunc, $settings, $disableEzPortal;

    // If wireless skip the ezPortal stuff.
    if (WIRELESS)
        return;
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 15, 2014, 12:04:48 PM
Hi
They still load.
I use the block on the home page.

P.S.
send you a donation buddy, have a drink on me ay. you put a lot of work into your mods
and I just want to say it is most appreciated. I use a few of your mods.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on June 15, 2014, 12:33:11 PM
Made one mistake new code thanks for donation!



Open Sources/ezPortal2.php

Find

function SetupEzPortal()
{
    global $sourcedir, $context, $maintenance, $user_info, $ezpSettings, $boarddir, $boardurl, $smcFunc, $settings, $disableEzPortal;

    // If wireless skip the ezPortal stuff.
    if (WIRELESS)
        return;


Add After

$user_agents = array(
array('iPhone', 'iphone'),
array('iPod', 'ipod'),
array('PocketIE', 'iemobile'),
array('Opera Mini', isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])),
array('Opera Mobile', 'Opera Mobi'),
array('Android', 'android'),
array('Symbian', 'symbian'),
array('BlackBerry', 'blackberry'),
array('BlackBerry Storm', 'blackberry05'),
array('Palm', 'palm'),
array('Web OS', 'webos'),
);

foreach ($user_agents as $ua)
{
$string = $ua[1];
if ((is_bool($string) && $string == true) || (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), $string)))
return;
}

Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 15, 2014, 12:53:46 PM
BEAUTIFUL
Thanks heaps, it's working now
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on June 15, 2014, 01:05:04 PM
Glad that helps. Think I might build into ezPortal as a feature.
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 15, 2014, 01:10:29 PM
Quote from: vbgamer45 on June 15, 2014, 01:05:04 PM
Glad that helps. Think I might build into ezPortal as a feature.
I think it would be a great option to have in EzSettings.
Thanks again.
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on June 28, 2014, 05:38:03 PM
Have just released a new version of ezPortal!

Details below:

2.1
+Improved layout of shoutbox and RSS feed display thanks to Maxx
+Updated menu display block thanks to Maxx
!Increased max execution time for getting RSS feed information
!Fixed two missing images on some themes for SMF 2.0.x for the shoutbox  thanks to Maxx
Title: Re: ezPortal 2.0! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 29, 2014, 01:10:12 AM
Quote from: vbgamer45 on June 15, 2014, 12:33:11 PM
Made one mistake new code thanks for donation!



Open Sources/ezPortal2.php

Find

function SetupEzPortal()
{
    global $sourcedir, $context, $maintenance, $user_info, $ezpSettings, $boarddir, $boardurl, $smcFunc, $settings, $disableEzPortal;

    // If wireless skip the ezPortal stuff.
    if (WIRELESS)
        return;


Add After

      $user_agents = array(
         array('iPhone', 'iphone'),
         array('iPod', 'ipod'),
         array('PocketIE', 'iemobile'),
         array('Opera Mini', isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])),
         array('Opera Mobile', 'Opera Mobi'),
         array('Android', 'android'),
         array('Symbian', 'symbian'),
         array('BlackBerry', 'blackberry'),
         array('BlackBerry Storm', 'blackberry05'),
         array('Palm', 'palm'),
         array('Web OS', 'webos'),
      );

      foreach ($user_agents as $ua)
      {
         $string = $ua[1];
         if ((is_bool($string) && $string == true) || (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), $string)))
            return;
      }


hello
When I update ezPortal will I need to make this edit for iphones again?
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on June 29, 2014, 02:02:13 AM
Yes i forgot to add them in this update.
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on June 29, 2014, 02:10:55 AM
thats ok, thankyou
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on July 04, 2014, 08:03:32 AM
New problem

I don't know if this started happening after last Ez update or from the iphone edit
or is it not related and the problem is somewhere else.

Trying to edit a HTML block but it opens a blank page.
No errors in the logs relating to coding.

I wouldn't know when this started happening as I have not needed to edit this block for the passed month.

Cheers


Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on July 04, 2014, 09:48:27 AM
Click work around there should be a hide tinymce optin either in settings or on the block page to remove it.
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on July 04, 2014, 10:04:55 AM
OK
I found in settings [Disable TinyMCE when adding/editing html ezBlock]
Makes it plain text style but now I can edit it.
cheers
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Kindred on July 04, 2014, 12:45:28 PM
you should only ever edit HTML in plain text anyway
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: gonza28 on August 11, 2014, 07:12:21 AM
Hi there.
Ezportal I installed on my local server. I would like to know how to put into Spanish.
thank you very much
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on August 11, 2014, 09:17:35 AM
Translate the following text added to
themes/default/languages/modifications.english.php

And themes/default/languages/ezportal.english.php
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: iain sherriff on August 19, 2014, 01:04:29 PM
What do I alter to return by default to Forum (instead of portal)
smf 2.0.8 and EZP 2.1

Thanks
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on August 19, 2014, 01:40:23 PM
Admin -> ezportal settings -> uncheck use ezportal homepage
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: iain sherriff on August 19, 2014, 02:07:50 PM
why do I always miss the simple things  :-[

thanks
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: iain sherriff on August 19, 2014, 02:11:54 PM
hmm
but that removes the portal page altogether ?

I want it to be active , just want to return to form after marking all as read
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on August 19, 2014, 02:22:05 PM
Oh hmm somewhat tricky.
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: iain sherriff on August 19, 2014, 02:26:06 PM
oh.........not just a redirect in the link them ?
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on August 19, 2014, 02:38:52 PM
Well the portal overrides the default homepage. so that causes any links that used to link there in this case redirects to go back there.
Title: Re: ezPortal 2.1! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: iain sherriff on August 19, 2014, 03:27:22 PM
hmm
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on September 01, 2014, 12:04:50 PM
New release!
2.5
+Added Calendar Block for SMF 2.0
+Added option to delete all shoutbox entries when viewing the shoutbox history
+Added option to disable blocks when using ezPortal admin area


Also started on a new forumranking site called http://www.forumrankings.net be sure to submit your forum/ezportal site to it and get ranked!


Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on September 01, 2014, 01:53:41 PM
Quote from: SMFHacks.com Team on September 01, 2014, 12:04:50 PM
New release!
2.5
+Added Calendar Block for SMF 2.0
+Added option to delete all shoutbox entries when viewing the shoutbox history
+Added option to disable blocks when using ezPortal admin area


Also started on a new forumranking site called http://www.forumrankings.net (http://www.forumrankings.net) be sure to submit your forum/ezportal site to it and get ranked!
Didn't happen to include the iphone edits as well did you!
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on September 01, 2014, 02:04:00 PM
No sorry forgot again :(
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on September 07, 2014, 06:34:53 AM
Quote from: vbgamer45 on September 01, 2014, 02:04:00 PM
No sorry forgot again :(
Hi vb
no iphone update on this update that came out today?
I am holding off updating the mod because I don't want to edit the php files each time an update happens.

cheers
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on September 07, 2014, 01:03:42 PM
Just did your request

2.5.1
+Added new setting to disable ezPortal for mobile devices based on user agent
!Fixed disable ezportal global variable for SMF 1.1.x
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: T3CHN0 on September 07, 2014, 01:38:51 PM
that's great ty.
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on September 09, 2014, 10:25:54 PM
Glad to help with that request.
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: jlt1 on September 12, 2014, 11:58:53 PM
Issues with sharing webpages with EzPortal.
If I share a link onto facebook, the preview will always come up to the SMF Credits page. This is the same with Addthis Like widgets if someone likes the specific page, and if they follow it form their facebook feed, it'll show the SMF credits page. If I use Bit.ly redirection URLs it'll read the entire webpage and show a decent preview. Any solutions to this to have the direct links be more readable for link previews on Facebook and facebook like buttons.

Also, I'm running version 2.0. If I upgrade to the latest version, will it retain my webpages or will it erase them? I'm weary on upgrading as I have a lot of content on those pages. Thanks.
Title: Re: ezPortal 2.5! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on September 13, 2014, 12:53:22 AM
I believe this is an issue with facebook itself.  Facebook does not appear to like ; in the url last I checked which makes sharing not ideal on their platform.
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on September 21, 2014, 12:19:56 AM
New update. I consider it a must update
2.6
!Fixed bug with blocks not being upgraded!
!Fixed bug with news ezblock not showing anything in certain situations
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Fat_Man on December 10, 2014, 11:47:29 PM
Using EzPoertal 2.6

With EzPortal, I have an issue where I have a right column of adverts. Now I currently have that set so Paid Subscriptions do not see it. The problem I have is that there is a Expand/Collapse icon on the top left of the forum that allows everyone else to collapse that right column. I want to stop that.

Okay.. the first thing I did was go into the right column and look at the box "User can collapse". It has no tick in it. How is possible to collapse without that been set?

Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on December 11, 2014, 01:02:02 AM
There is also the option for users to collapse blocks.
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Fat_Man on December 11, 2014, 03:06:29 AM
Quote from: vbgamer45 on December 11, 2014, 01:02:02 AM
There is also the option for users to collapse blocks.

Where vbgamer45?
I see the option in the columns themselves, and in the ezblocks ("User can collapse this ezBlock"). None of which have a tick in them.
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on December 11, 2014, 09:25:47 AM
It would be in the ezblocks themselves.
Two places.
The columns you can have permissions for them to collapse
Or the ezblocks can also have permissions for them to collapse
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: Fat_Man on December 12, 2014, 01:06:39 AM
Went through all that Vbgamer45.
However, just by you saying that , I DID go back and check the settings.... and found the issue.  :o

My understanding was that an EZ block in say a column with the EZ block itself enabled set to "No", and the user able to collapse it, would not be looked at by EZPortals settings. Enabled is NO.. so it would only look for blocks in th column with the enable set to yes. Well, I had a half dozen blocks enable set to OFF, which I switch between every now and again and set the Enable to YES. I had 1 block in that whole column that allowed the user to collapse. Its enable was off, but Ezportal still allowed the whole column to collapse.

I just added that just in case it happens to anyone else.   :)
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on December 12, 2014, 01:12:53 AM
Ah ok makes sense there.
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: fotografo74 on December 15, 2014, 06:07:54 AM
Hi vbgamer
i installed this Mod but my portal home page don't show.
I have always forum home page....i checked Enable Portal homepage.
Thanks
Title: Re: ezPortal 2.6! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: vbgamer45 on December 15, 2014, 10:05:18 AM
Did it install with any errors?

It should add a forum button in the menu if you have portal homepage checked. And when viewing your site the first page should be the portal
Title: Re: ezPortal 2.7! Twitter/Facebook new ezBlocks! 25+ ezBlocks SMF 2.0 and SMF 1.1!
Post by: SMFHacks.com Team on December 15, 2014, 02:53:20 PM
2.7
!Better handling of RSS feed block if the rss feed goes down
!Fixed undefined showPrevNext for SMF 2.0 calendar block
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: SMFHacks.com Team on December 25, 2014, 11:48:59 PM
Christmas update! After spending the day with the family decided to get ezPortal out for SMF 2.1 Beta 1 before the new year!

3.0
+Now supporting SMF 2.1 Beta 1 with hooks instead of file edits for most places.
!Fixed html issue on page add in page editor.
!Fixed bug not removing Subs-EzPortalRSS(2).php file on uninstall
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: SMFHacks.com Team on January 18, 2015, 12:01:41 PM
Update minor bug fix
3.0.2
!Fixed undefined login_token for SMF 2.0 was meant for SMF 2.1 beta only
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: MrNicotine on January 28, 2015, 06:04:21 PM
Can I update manually, editing the files?
Or is this also a change in database? (don't like to mess in there)

I now have version 1.1.

In Chrome and Opera, I also have a problem with Blocks being way too wide.
They fall offscreen, and seem to be around 6000px wide, while set in the html Block at 100%.
Is there a way around this?
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on January 28, 2015, 08:23:21 PM
Yes you can manually copy edit the files no major database changes from last update.

For chrome opera what are your settings for the column/block that it is in for height width.
What is making it scroll across the whole screen.
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: MrNicotine on January 29, 2015, 02:34:44 AM
I don't see any settings for height/width in the  EZBlock manager.
Maybe there is another place I should look? Or is it because of the version 1.1, that these settings aren't there yet?
Where can I find these settings.


Found them, getting a pair of glasses tomorrow ;)

The column is set on 600, and 100%, which I think are default.
This is the Top Column. Making changes there however, is not giving any effect, with any browser.
Set the width as low as 10%, but no effect? Not even in other blocks which have only a single image.

The HTML is a sliding bar with multiple images. (marquee)
It's like the image widths are added up, which ends up with a much larger total.

There are around 20/25 images in it (not a fixed number) which are each 150px wide.

If I only add 5 images, it works fine.




Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on January 29, 2015, 10:04:41 AM
If you use column Column Width Percent  for the column you must make sure column width is set to zero.
The column percent overrides the column fixed width setting
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: MrNicotine on January 30, 2015, 03:37:20 PM
I tried both settings to zero, percentage to zero and 1000px  Percentage to 40%...but no effect.
In fact there is no effect in all browsers. I'm not sure that is suppose to happen.
Shouldn't it at least effect in IE and FF? Setting it smaller I mean.
Starting to wonder if my Ezportal is working as it should.
(no other troubles than this one btw)

I'm updating to latest version this weekend, eventhough I don't see any lines in parser that would effect
this Chrome/opera poblem (speaking as a noob, that is ;) ). Never bad to have latest version.

Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on January 30, 2015, 04:09:12 PM
Can you take a screenshot/list which blocks you are using and columns
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: MrNicotine on January 30, 2015, 05:55:15 PM
Hope you don't  mind, I've sent you an unrequested pm.
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: MrNicotine on January 31, 2015, 04:21:34 PM
By luck, the problem is fixed. I had set my clickable images to 150px wide each. Which resulted in a total of around 3000px
I have now set the width per image at 10% (trial and error for nice image sizes) and now it agrees, and fixed the block nicely to 100% of the rest of my forum.

Eventhough the total is a lot more than a 100%, it works. So I'll take it ;)

Edit:

I take it back, it fixed it on Opera and Chrome, but it's now totally messed up on FF and IE...

So I set it back, and problem not fixed....
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on January 31, 2015, 05:14:55 PM
So you have very lage images in a block and it is changing the view?
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: MrNicotine on January 31, 2015, 05:56:50 PM
If I use the 10% percent per image, yes.It distords the images in FF to weird sizes.
If I use the 150px width, no. The images are fine then. But then the block itself is much too wide in Chrome & Opera.
It is a top block, and when it is too wide, it makes all top blocks too wide.

It looks like this:



This is the code inside the block:

<marquee width="100%" onmouseover="this.stop();" onmouseout="this.start();" /><a href="http://www.myforum.com/index.php?topic=130153.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130151.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130152.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130153.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130154.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
</marquee>
<div class="tborder" style="margin-bottom: 0px" max-width="100%"></div>



The code gives me a sliding bar, which should appear on the right and slide to the left, containing the clickable images.
When it reaches the left, the images disappear until all images are done, then it starts over.
And this does work, on both IE and FF. To full satisfaction.

If I alter sizes in this code, it does effect the result of the code, they appear more to the left or right as I change percentages after Marquee, but not the actual size of the block itself. This stays as long as it is.
The more images I add, the longer the block gets.
Like I said, the total of the image width's is the size of the block.

Like in my last reply, the width"10%" works on chrome, Opera and IE, but not in FF.
IE apparently accepts both.

If I use the option to edit the column to set max width, it gives no effect, not even if I make them smaller or larger.
Nothing changes.

Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: SMFHacks.com Team on February 02, 2015, 02:28:18 PM
New update:
3.0.3
+Two new settings for the RSS Feed block. Encoding type and the order in which feed items are displayed
!Fixed RSS feed block bug when only showing one feed item
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: MrNicotine on February 27, 2015, 05:24:17 PM
Quote from: MrNicotine on January 31, 2015, 05:56:50 PM
If I use the 10% percent per image, yes.It distords the images in FF to weird sizes.
If I use the 150px width, no. The images are fine then. But then the block itself is much too wide in Chrome & Opera.
It is a top block, and when it is too wide, it makes all top blocks too wide.

It looks like this:



This is the code inside the block:

<marquee width="100%" onmouseover="this.stop();" onmouseout="this.start();" /><a href="http://www.myforum.com/index.php?topic=130153.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130151.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130152.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130153.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
<a href="http://www.myforum.com/index.php?topic=130154.0"><img alt=""width="150 "height="200" src="http://image.jpg" /></a>
</marquee>
<div class="tborder" style="margin-bottom: 0px" max-width="100%"></div>



The code gives me a sliding bar, which should appear on the right and slide to the left, containing the clickable images.
When it reaches the left, the images disappear until all images are done, then it starts over.
And this does work, on both IE and FF. To full satisfaction.

If I alter sizes in this code, it does effect the result of the code, they appear more to the left or right as I change percentages after Marquee, but not the actual size of the block itself. This stays as long as it is.
The more images I add, the longer the block gets.
Like I said, the total of the image width's is the size of the block.

Like in my last reply, the width"10%" works on chrome, Opera and IE, but not in FF.
IE apparently accepts both.

If I use the option to edit the column to set max width, it gives no effect, not even if I make them smaller or larger.
Nothing changes.

Fixed. Marquee is apparently outdated and is no longer supported by Chrome. This was beyond my knowledge.
Someone pointed me to this fact, so I stopped using it. Not a EzPortal issue.
So never mind.
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on February 27, 2015, 05:28:19 PM
Glad you have it figured out. Yeah some html tags are being phased out from the browsers.
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: babalola olasehinde on May 17, 2015, 03:47:41 AM
while trying  to install this mod i got the error below.pls what should i do
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on May 17, 2015, 07:34:51 AM
Install the mod. Then make that one edit manually.
Title: 2 Questions Download Stats & Weird User Stats Messed Up
Post by: Miker1029 on June 12, 2015, 03:36:44 PM
Ok let me start with the more important One, Is there a Way to Clear all the Download stats?  Without going into the database, I did look there and seen them, But would really want some "PRO" Instructions on what I should drop, Cause i REALLY don't want to mess it up, I had to ReDo ALL My DL links and The stats now point to dead links....

Second In User Stats (While Not Logged In) it Shows the User name RIGHT NEXT TO The USER INFO TITLE (See Attachment),  Now It wasn't like this before, Just one day popped up like that, I've tried removing and reading the block, but Obviously it's still the same...

Any ideas??  (On either Question!)

Thanks,

Mike
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on June 13, 2015, 09:25:43 AM
Are you using a download system and that's the stats you want to clear? Such as total downloads???

Username could either be a bad html/style issue or some problem with browser
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: Miker1029 on June 13, 2015, 09:46:15 AM
Yes the download stats, as I said, I had to redo all the Downloads, So ALL the stats are 1. Invalid, 2.The Links are broken, so Ya I just want to reset them ALL to Zero, Ratings, Download Count, Everything...

As for the name thing, It's odd the it just did it out of nowhere, Might Be a Mod I added I guess, Not sure...

Mike
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on June 13, 2015, 09:59:39 AM
I would uninstall the download system if you want to remove everything completely.
Then in phpmyadmin drop any table that starts with smf_down_
Then reinstall the downloads to start fresh
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: Miker1029 on June 13, 2015, 10:13:35 AM
Will that clear my current downloads?  If so I'll just leave the Blocks Off,It'll Cycle, Eventually,  I Have like 70 Files, and Re-doing them and the Dir,Sub-Dirs,"PERMISSIONS", LORD No I need a Whole day to do all that.....

Mike
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on June 13, 2015, 10:28:26 AM
Yeah that would delete everything so if you have a lot of stuff that you don't want to redo don't do that

I understand the stats clearing part but what you do you mean by invalid links
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: Miker1029 on June 13, 2015, 10:38:03 AM
I redid my G-drives, Basically Organized them and put "grouped" files together (all file are 250+MB), and split them between 2 drives, So Say 1 File Was Downloaded 1000 times, It'd have a Link to that File In the Most Downloaded Block, and when you tried to go to it the link would be broke (or the
file moved on G-Drive), So Basically I ALREADY Redid all the DL's, But didn't think about the Stats at the time...

I was figuring maybe in the Database there was (Actually there is), DL RATING (Example), That I could just clear, with out actually messing with the Files in the DL Sections... But that's what I mean I really don't wanna go mucking around, Especially when I'm not sure of the outcome, But I really do I have DL's that amount around 1000, So It's gonna be awhile till they cycle out....

Mike
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on June 15, 2015, 01:15:16 PM
Posted some sql examples on how to clear it out below

To clear out download views and downloads
Update smf_down_file set views = 0, totaldownloads = 0;


To clear out ratings
Update smf_down_file set rating = 0,totalratings = 0;
DELETE FROM smf_down_rating;
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: njtweb on June 26, 2015, 09:09:37 AM
Hello, I have installed ezportal, and it's fantastic, literally very easy to use. I have noticed one minor inconvenience. When using the login form on the right sidebar I get this error message. However, I do not get this message with the standard SMF login form.

Fatal error: require() [function.require]: Failed opening required '../wp-requires/class-phpass.php' (include_path='.:/opt/php52/lib/php') in /home/hf/public_html/board/Sources/Subs-SMF2WP-User.php on line 19

I am using the SMF2WP plugin, my current version SMF is 2.0.10 and this is my url

h**p://minorleaguelegends.com/board/
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: machinenoob on July 06, 2015, 10:45:37 PM
How do you add the EZBlock in between Boards

For example

EZ BLOCK
BOARD 1
General Discussion
Suggestions
ETC

EZBLOCK
Board 2
General Discussion
Suggestions
ETC

Right now they are all at the top/bottom/etc, but I want to put them in between the different board sections... Kind of like an BEFORE/AFTER/ETC
Title: Re: ezPortal 3.0! SMF 2.1 Beta 1 supported and SMF 2.0.x and SMF 1.1.x 30+ ezBlocks!
Post by: vbgamer45 on July 06, 2015, 10:47:22 PM
There is no way to add them between boards.
Title: Re: ezPortal
Post by: SMFHacks.com Team on July 21, 2015, 12:17:09 AM
Update!

3.0.3b
+Some updates to work better with SMF 2.1 Beta 2
Title: Re: ezPortal
Post by: Casa Grande on September 01, 2015, 12:35:33 PM
Is there a chance the next update may include the ability to determine whether the individual EZblocks can be displayed on mobile devices?  Currently it's all or nothing.  It would be nice to be able to pick which EZblocks are allowed on mobile and which are not.  Thanks.
Title: Re: ezPortal
Post by: vbgamer45 on September 01, 2015, 12:37:41 PM
That might be a possibility.
Title: Re: ezPortal
Post by: Casa Grande on September 05, 2015, 11:32:21 PM
Quote from: vbgamer45 on September 01, 2015, 12:37:41 PM
That might be a possibility.
cool, thanks
Title: Re: ezPortal
Post by: vbgamer45 on September 05, 2015, 11:34:08 PM
Yeah i have done similar stuff before just need to add the option on blocks

Remind in a couple days if no update.
Title: Re: ezPortal
Post by: armandoT on September 22, 2015, 09:02:17 AM
Woke up to 1k+ Log errors .. we just upgraded to SMF 2.0.11 boosted up to ezPortal 3.03b to see if this error would go away.
No Luck

xxx.yyyy.com/forum/index.php?action=viewsmfile;filename=latest-packages.js
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: xxxx/forum/Sources/EzPortal2.php
Line: 2077


==>2077:    foreach($ezColumnsCache as $row)

any advice, thoughts, suggestions appreciated
thanks in advance,
/.d
Title: Re: ezPortal
Post by: vbgamer45 on September 22, 2015, 12:24:05 PM
Did you modify your code in anyway or change your caching method.
That code should always be error free

$ezColumnsCache = array();
if (($ezColumnsCache = cache_get_data('ezportal_columns', 60)) == null)
{
// Load ezBlocks and ezColumns
$dbresult = $smcFunc['db_query']('', "
SELECT
id_column, column_title, column_width, column_percent, active, can_collapse, visibileactions, visibileboards,
visibileareascustom, visibilepages
FROM {db_prefix}ezp_columns
WHERE active = 1
ORDER BY id_column ASC");
while($row = $smcFunc['db_fetch_assoc']($dbresult))
{
$ezColumnsCache[] = $row;
}
$smcFunc['db_free_result']($dbresult);
cache_put_data('ezportal_columns', $ezColumnsCache, 60);
}

$context['ezPortalColumns'] = array();

foreach($ezColumnsCache as $row)
Title: Re: ezPortal
Post by: armandoT on September 22, 2015, 05:29:24 PM
thanks for responding .. no modification of code or cache.. all we did was disabled ezBlocks columns to rewrite/modify layout.
We're thinking of uninstalling,then reinstalling mod to rectify the errors but are afraid of losing existing ezBlocks layout.
We have a testing server that we can perform some tests on.
We've cross referenced the code you sent with ours and everything matches.
Just thought we'd reach out to community to see if anyone else has gotten similar log errors.
Thanks again for your help /.d
Title: Re: ezPortal
Post by: vbgamer45 on September 22, 2015, 05:34:21 PM
I would change maybe

foreach($ezColumnsCache as $row)

To

if (!empty($ezColumnsCache))
foreach($ezColumnsCache as $row)
Title: Re: ezPortal
Post by: armandoT on September 22, 2015, 06:23:06 PM
..as they say over here, "you da man!" 8)
code appears to work, no more errors.
We'll continue to monitor, but it looks good.
Thanks a million for the prompt response, help, and the fix.
/.d
Title: Re: ezPortal
Post by: vbgamer45 on September 22, 2015, 06:37:43 PM
Glad to help.
Title: Re: ezPortal
Post by: njtweb on December 03, 2015, 12:31:28 PM
Trying to put the chat module on top of my portal page, it's not happening. When I put it center it goes to the left. When I put it top or bottom it doesn't show up at all.

Quoteminorleaguelegends.com

Any help is greatly appreciated.
Title: Re: ezPortal
Post by: vbgamer45 on December 03, 2015, 01:48:26 PM
It it html code?
If so make sure you disable html editor or post the code just in html mode.
Title: Re: ezPortal
Post by: njtweb on December 03, 2015, 01:53:30 PM
Hi vbgamer. No this is a default ezportal block, (Shoutbox). I can only put it on the left or right size and if I put it in center it assigns itself to the left size for whatever reason.
Title: Re: ezPortal
Post by: vbgamer45 on December 03, 2015, 02:15:33 PM
Can you do a screenshot. I just see view shoutbox history link in your portal right now.
Title: Re: ezPortal
Post by: njtweb on December 03, 2015, 03:17:44 PM
Screenshot attached. Where you see the shoutbox history is where the shoutbox is. Its turned off to guests. I can only put the shoutbox on the left or right side of the forum index of ezportal. I can't put it on top of the forum index where I want to put it.
Title: Re: ezPortal
Post by: vbgamer45 on December 03, 2015, 03:31:04 PM
What happens when it is on top or in center?
Title: Re: ezPortal
Post by: njtweb on December 03, 2015, 03:40:10 PM
Doesn't show up at all when its situated in the top and bottom block. It places itself to the left column when it's situated in the center block. See attached.
Title: Re: ezPortal
Post by: vbgamer45 on December 03, 2015, 04:18:33 PM
Hmm ok will need to look into that.
Title: Re: ezPortal
Post by: njtweb on December 03, 2015, 08:13:19 PM
I guess it's got to be my theme or possibly plugin conflict. I tried both the other portals, simple portal screws up the "similar topics" plugin and tinyportal is all over the place. I put this one back on, I guess I'll just deal with the chat where it is.

Any chance you'll be updating the chat to ajax? Seems odd the entire site refreshes when a shout is posted.
Title: Re: ezPortal
Post by: vbgamer45 on December 03, 2015, 09:08:49 PM
Shoutbox possibly I had asked people to build me one but no one every replied :(
I think there is a setting though to use iframe for refreshing.


Chat location have to see why it doesn't appear in top bottom areas that is odd
Title: Re: ezPortal
Post by: njtweb on December 04, 2015, 07:12:55 AM
Ok, and no there isn't any other setting for the shoutbox.
Title: Re: ezPortal
Post by: vbgamer45 on December 17, 2015, 08:57:22 AM
Under ezportal -> settings there is a bunch of options

Enable Shoutbox
Show date on shoutbox
Show shout history link
Hide says on shoutbox
Hide admin delete shout entry
Number of items to show per page on shoutbox history
Show BBC box icons for shoutbox
Show smilies on shoutbox
Shoutbox refresh time in seconds
Title: Re: ezPortal
Post by: vbgamer45 on March 12, 2016, 09:48:25 AM
SMF 2.1 Beta 3 testers needed. Made a couple small changes for it
File attached
Title: Re: ezPortal
Post by: SMFHacks.com Team on April 05, 2016, 12:15:55 PM
New major update!
+ezPortal is now responsive For SMF 2.0.x. Works best if you have the responsive curve mod found here http://custom.simplemachines.org/mods/index.php?mod=4040 Thanks to Antes for the hard that went into doing this major update.
To use the responsive mode under ezportal settings check the responsive mode option
+Added new option on a block to hide on mobile devices
+Added support content encoded in the RSS feed block for atom based feeds
+ezPortal modules are now updated better in synce with latest versions on smfhacks.com
!Fixed bug if disabled ezportal for mobile not showing boardindex on mobile device - You need to uninstall ezportal and then reinstall to get this fix.
Title: Re: ezPortal
Post by: crobbe on April 10, 2016, 11:17:48 AM
My Ezportal still shows on Ipad even though the box "Disable ezPortal for mobile devices based on user agent" is checked.

The rightside banner and the Goldbroker stuff is Ezportal stuff :) This is from a mobilemodview.

Problem - solution?
Title: Re: ezPortal
Post by: vbgamer45 on April 10, 2016, 11:21:54 AM
What ezPortal version are you using?
Title: Re: ezPortal
Post by: crobbe on April 10, 2016, 11:26:19 AM
Quote from: vbgamer45 on April 10, 2016, 11:21:54 AM
What ezPortal version are you using?

Currently on 3.0.3
Title: Re: ezPortal
Post by: vbgamer45 on April 10, 2016, 12:57:38 PM
can you try the latest verison unistall old version then install the new one
Title: Re: ezPortal
Post by: crobbe on April 10, 2016, 02:13:03 PM
Quote from: vbgamer45 on April 10, 2016, 12:57:38 PM
can you try the latest verison unistall old version then install the new one

When I am about to uninstall i get sevral errors, see below.

Should i continue?
Title: Re: ezPortal
Post by: Kindred on April 10, 2016, 03:17:34 PM
only if you can manually make those changes to remove the ezportal code...
Title: Re: ezPortal
Post by: crobbe on April 10, 2016, 04:01:04 PM
Quote from: Kindred on April 10, 2016, 03:17:34 PM
only if you can manually make those changes to remove the ezportal code...

And what do you mean by that exactly?

If I go forward there will be Ezportal code left, is that what you are saying?

Manually, as in remove them from the server if necessary?
Title: Re: ezPortal
Post by: Kindred on April 10, 2016, 05:07:53 PM
Yes, the system can not automatically edit the code...  If you continue, that means that ezportal code I'll be left behind.
And no...   Don't delete the files. You have to manually EDIT the files to remove the ezportal code from within them
Title: Re: ezPortal
Post by: crobbe on April 11, 2016, 11:02:59 AM
Quote from: Kindred on April 10, 2016, 05:07:53 PM
Yes, the system can not automatically edit the code...  If you continue, that means that ezportal code I'll be left behind.
And no...   Don't delete the files. You have to manually EDIT the files to remove the ezportal code from within them

Ok, I can do that, edit the files I mean.

The question is.... do I know what to remove? Probably not :-)

Will there be stuff that is marked "this is EZPortal stuff"?
Title: Re: ezPortal
Post by: vbgamer45 on April 11, 2016, 11:06:03 AM
Easiest way would be to upload the old package to http://www.smfhacks.com/smf-package-parser.html and get the file edits.
Title: Re: ezPortal
Post by: crobbe on April 11, 2016, 11:27:52 AM
Quote from: vbgamer45 on April 11, 2016, 11:06:03 AM
Easiest way would be to upload the old package to http://www.smfhacks.com/smf-package-parser.html and get the file edits.

Ok, that sounds great, you'll have to be more specific in what I should do though, steps please :)

Not everyone is a savy computer expert. :)


EDIT, I have now downloaded the EZportalpack to my computer, run it through the parser.

Found the changes needed to be done in the "./Themes/default/languages/Modifications.english.php" removed the stuff, still get the "test failed" when trying to uninstall.

I also get test failed in "./Sources/ManagePermissions.php"

Try to find the lines the parser suggests, don't even have those lines in there so I cant remove them :-), problem still there.
Title: Re: ezPortal
Post by: vbgamer45 on April 11, 2016, 12:51:42 PM
If they are not their you can proceed with the uninstall then just install the new version
Title: Re: ezPortal
Post by: crobbe on April 11, 2016, 12:53:32 PM
Quote from: vbgamer45 on April 11, 2016, 12:51:42 PM
If they are not their you can proceed with the uninstall then just install the new version

Ok, here goes, wish me luck :)
Title: Re: ezPortal
Post by: T3CHN0 on April 11, 2016, 12:56:42 PM
I found the same thing. I then looked for parts of the lines I was looking for and found them.
Other mods alter the php's and the exact say 3 lines may not all be together anymore.
Title: Re: ezPortal
Post by: crobbe on April 11, 2016, 01:03:08 PM
Uninstall went well.

New install worked like a charm.

Same problem with Ipad showing eZblocks on the mobile themeview even though the "Disable ezPortal for mobile devices based on user agent" is checked.

The blocks are gone in fullview though.

Can someone with an Ipad verify that please.
Title: Re: ezPortal
Post by: vbgamer45 on April 11, 2016, 01:11:45 PM
I forgot I don't consider an iPad to be a mobile device since they have big screens.

You would have to edit the code and find areas like
array('iPhone', 'iphone'),

And add a line for ipad
Title: Re: ezPortal
Post by: crobbe on April 11, 2016, 01:13:41 PM
Quote from: vbgamer45 on April 11, 2016, 01:11:45 PM
I forgot I don't consider an iPad to be a mobile device since they have big screens ??? :).

You would have to edit the code and find areas like
array('iPhone', 'iphone'),

And add a line for ipad

Maybe something for next version ;-) What's strange though is that the Ezblocks are there on the mobiletheme but not in fullview.

Thanks for the help though, appreciate it.
Title: Re: ezPortal
Post by: vbgamer45 on April 14, 2016, 03:23:42 PM
Sources/ezPortal2.php

Also your index.php file
Title: Re: ezPortal
Post by: SMFHacks.com Team on May 31, 2016, 12:16:24 AM
Update
3.1.1
!Fixed bug in SMF 2.0.x responsive mode was loading the ezportal.css too early before some checks
+Added option to SMF Arcade ezblock to show the number of top scores
Title: Re: ezPortal
Post by: SMFHacks.com Team on June 27, 2016, 05:52:55 PM
3.1.2
!Improved support for https sites. Moved google plus and facebook urls to use https://
Title: Re: ezPortal
Post by: Tiribulus on June 27, 2016, 07:38:46 PM
Forgive my ignorance please and I did try several searches first. How is this update installed? ::)
Title: Re: ezPortal
Post by: vbgamer45 on June 27, 2016, 07:57:53 PM
You can either uninstall the old version.
Or just install the new version on top of the old one.
Title: Re: ezPortal
Post by: Tiribulus on June 27, 2016, 08:39:59 PM
Quote from: vbgamer45 on June 27, 2016, 07:57:53 PM
You can either uninstall the old version.
Or just install the new version on top of the old one.
Thank you sir. I assume no settings will be lost?
Title: Re: ezPortal
Post by: vbgamer45 on June 27, 2016, 09:20:17 PM
That is correct.
Title: Re: ezPortal
Post by: T3CHN0 on June 27, 2016, 10:02:20 PM
Hi vbgamer, How things buddy. See you still hard at work with your mods.

I downloaded 3.1.1 and went to install but it said error's. I know it's just a matter of making small changes to php files no biggy.
I thought I will do it later however 3.1.2 was released before I did it.

Now with 3.1.2 I downloaded it and went to install and said no errors so I installed. All Good..
So, I assume it updated Ez php files but not install edit's to other php files.

I was using 3.1 before the update.

So my question is, should I bother to uninstall and reinstall or just leave it.?
Was there any big edit's I should consider.
Title: Re: ezPortal
Post by: vbgamer45 on June 27, 2016, 10:19:57 PM
Yes it is just an update to the php file no edits to files have changed. You can just leave it and upgrade over.
Title: Re: ezPortal
Post by: SMFHacks.com Team on September 20, 2016, 03:06:25 PM
Update
3.1.3
!Fixed a bug for SMF 2.1 Beta 2/3 showing a template error if the portal homepage feature was disabled.
Title: Re: ezPortal
Post by: landyvlad on March 27, 2017, 11:05:48 PM
Attempting to uninstall EZPortal I get the following:

Quote
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
* 3. Execute Modification ./Themes/default/languages/Who.english.php Test successful
4. Execute Modification ./Themes/default/languages/Who.english-utf8.php Skipping file
* 5. Execute Modification ./index.php Test successful
* 6. Execute Modification ./Sources/Admin.php Test successful
* 7. Execute Modification ./Sources/Subs.php Test successful
* 8. Execute Modification ./Sources/ManagePermissions.php Test failed

  1. Replace ./Sources/ManagePermissions.php Test failed
  2. Replace ./Sources/ManagePermissions.php Test failed

* 9. Execute Modification ./Sources/Load.php Test successful
* 10. Execute Modification ./Sources/BoardIndex.php Test successful
11. Delete File ./Sources/EzPortal2.php 
12. Delete File ./Sources/Subs-EzPortalMain2.php 
13. Delete File ./Sources/Subs-EzPortal-Convert2.php 
14. Delete File ./Themes/default/EzPortal2.template.php 
15. Delete File ./Themes/default/EzPortal2r.template.php 
16. Delete File ./Themes/default/css/ezportal.css 
17. Delete File ./Themes/default/languages/EzPortal.english.php 
18. Delete File ./Themes/default/languages/EzPortal.english-utf8.php 
19. Delete File ./Sources/Subs-EzPortalRSS2.php 
20. Execute Code EzPortalUnInstall.php

INSTALLED MODS ARE:
Quote
1. Responsive Curve 1.0.0 Wednesday, 22 March 2017, 08:28 AM. [ Uninstall ]
2. httpBL 2.5.1 Wednesday, 22 March 2017, 08:26 AM. [ Uninstall ]
3. PM Attachments 2.0 Beta 2 Saturday, 18 February 2017, 06:12 PM. [ Uninstall ]
4. Topics Created And Participated In 2.3 Saturday, 18 February 2017, 05:52 PM. [ Uninstall ]
5. @mention members 1.1.2 Friday, 17 February 2017, 10:20 PM. [ Uninstall ]
6. Automatic Attachment Rotation 3.3 Saturday, 11 February 2017, 05:03 PM. [ Uninstall ]
7. Image Processing Memory Limit 0.1.2 Friday, 10 February 2017, 08:51 AM. [ Uninstall ]
8. Stop Spammer 2.3.9 Thursday, 02 February 2017, 09:47 PM. [ Uninstall ]
9. SMF Links 3.0.5 Wednesday, 01 February 2017, 11:06 PM. [ Uninstall ]
10. SMF Post Prefix 2.0.3 Wednesday, 01 February 2017, 09:28 PM. [ Uninstall ]
11. SMF Gallery Pro 7.2.2 Sunday, 29 January 2017, 12:30 AM. [ Uninstall ]
12. Google Member Map 3.0 Saturday, 28 January 2017, 02:09 PM. [ Uninstall ]
13. Downloads System 3.0 Friday, 27 January 2017, 12:29 PM. [ Uninstall ]
14. Like Posts 2.0.5 Thursday, 26 January 2017, 10:51 PM. [ Uninstall ]
15. Sortable Packages (and Installed Time) 1.3.5 Thursday, 26 January 2017, 09:47 PM. [ Uninstall ]
16. EzPortal 3.1.3 Tuesday, 24 January 2017, 10:47 PM. [ Uninstall ]
17. Social Login 3.5 Monday, 23 January 2017, 10:45 PM. [ Uninstall ]
18. Yet Another YouTube BBCode Tag 4.1 Monday, 23 January 2017, 10:36 PM.
1. Responsive Curve 1.0.0 Wednesday, 22 March 2017, 08:28 AM. [ Uninstall ]
2. httpBL 2.5.1 Wednesday, 22 March 2017, 08:26 AM. [ Uninstall ]
3. PM Attachments 2.0 Beta 2 Saturday, 18 February 2017, 06:12 PM. [ Uninstall ]
4. Topics Created And Participated In 2.3 Saturday, 18 February 2017, 05:52 PM. [ Uninstall ]
5. @mention members 1.1.2 Friday, 17 February 2017, 10:20 PM. [ Uninstall ]
6. Automatic Attachment Rotation 3.3 Saturday, 11 February 2017, 05:03 PM. [ Uninstall ]
7. Image Processing Memory Limit 0.1.2 Friday, 10 February 2017, 08:51 AM. [ Uninstall ]
8. Stop Spammer 2.3.9 Thursday, 02 February 2017, 09:47 PM. [ Uninstall ]
9. SMF Links 3.0.5 Wednesday, 01 February 2017, 11:06 PM. [ Uninstall ]
10. SMF Post Prefix 2.0.3 Wednesday, 01 February 2017, 09:28 PM. [ Uninstall ]
11. SMF Gallery Pro 7.2.2 Sunday, 29 January 2017, 12:30 AM. [ Uninstall ]
12. Google Member Map 3.0 Saturday, 28 January 2017, 02:09 PM. [ Uninstall ]
13. Downloads System 3.0 Friday, 27 January 2017, 12:29 PM. [ Uninstall ]
14. Like Posts 2.0.5 Thursday, 26 January 2017, 10:51 PM. [ Uninstall ]
15. Sortable Packages (and Installed Time) 1.3.5 Thursday, 26 January 2017, 09:47 PM. [ Uninstall ]
16. EzPortal 3.1.3 Tuesday, 24 January 2017, 10:47 PM. [ Uninstall ]
17. Social Login 3.5 Monday, 23 January 2017, 10:45 PM. [ Uninstall ]
18. Yet Another YouTube BBCode Tag 4.1 Monday, 23 January 2017, 10:36 PM.

I'd appreciate advice as to how to cleanly uninstall EZPortal.

I am going to be trying TinyPortal for a while (in case that's relevant) so I can compare the two.  Thanks.

Title: Re: ezPortal
Post by: vbgamer45 on March 27, 2017, 11:42:04 PM
The package manager then cleanup the rest with http://smfhacks.com/smf-package-parser.html
Title: Re: ezPortal
Post by: landyvlad on March 27, 2017, 11:54:24 PM
OK I'll have to wait til I get home to have a look at that link.
So just uninstall via package manager & clean up with parser eh?  Sounds straight forward.. let's hope

Title: Re: ezPortal
Post by: vbgamer45 on March 28, 2017, 12:01:53 AM
Yes
Title: Re: ezPortal
Post by: SMFHacks.com Team on April 03, 2017, 11:36:40 PM
Updated new release
3.2
+Added option on pages to enter meta tag in html.
Title: Re: ezPortal
Post by: Nory on April 20, 2017, 05:28:39 PM
Hello,

I have a problem with calendar block, it's not resizing himself!
See attached picture.

Could you help me?
Title: Re: ezPortal
Post by: Nory on April 21, 2017, 11:11:22 AM
Hello,

Another question
Is it possible to display the Summary on SMF Articles ezBlock?

Thank you.
Title: Re: ezPortal
Post by: vbgamer45 on April 21, 2017, 12:51:35 PM
Quote from: Nory on April 21, 2017, 11:11:22 AM
Hello,

Another question
Is it possible to display the Summary on SMF Articles ezBlock?

Thank you.
Not at the moment. but that would be a good idea
Title: Re: ezPortal
Post by: Nory on April 21, 2017, 07:22:43 PM
Ok,

Have you seen my previous question about my problem about calendar ezBlock?
Title: Re: ezPortal
Post by: vbgamer45 on April 21, 2017, 07:33:11 PM
Yeah have to see i think I am using SMF's built in calendar so have to think how i can resize it.
Title: Re: ezPortal
Post by: lazylivin on October 03, 2017, 03:44:30 PM
I am having trouble when editing a block. If I click the button to show HTML, Link, Picture it opens to a blank window. Anyone else have this problem
Title: Re: ezPortal
Post by: vbgamer45 on October 03, 2017, 04:17:41 PM
In the editor? Which browser are yo using?
Title: Re: ezPortal
Post by: lazylivin on October 03, 2017, 10:57:18 PM
I can see the content in the editor but when I click any of the buttons such as html, img etc... it pops a blank window. Does same from IE and Chrome and for other admin that manage the site.  I unistalled EZportal, removed the folder on ftp server and reinstalled. Other admins on our site also have same issue.
Title: Re: ezPortal
Post by: vbgamer45 on October 03, 2017, 11:30:08 PM
Hmm doesn't seem to happen on my site.

What SMF Version? Do you have a url to your site?
Title: Re: ezPortal
Post by: Temmy3 on October 07, 2017, 06:19:14 PM
I got this error when trying to add html code

Error 403 - Forbidden
The client is not allowed to see a certain file. This is also returned at times when the server doesn't want any more visitors.

Requested URL: http://www.agricforum.com/ezportal/sa=addblock3
Title: Re: ezPortal
Post by: vbgamer45 on October 07, 2017, 08:57:22 PM
It is a mod_security issue check out this
https://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security
Title: Re: ezPortal
Post by: lazylivin on October 10, 2017, 11:18:16 PM
Quote from: vbgamer45 on October 03, 2017, 11:30:08 PM
Hmm doesn't seem to happen on my site.

What SMF Version? Do you have a url to your site?

Here is link ohioreef.com
It is running 2.0.14
Thanks for looking
Title: Re: ezPortal
Post by: vbgamer45 on October 11, 2017, 03:06:41 PM
Hmm try download the new version of tinymce http://download.ephox.com/tinymce/community/tinymce_4.7.1.zip?_ga=2.117048451.488957767.1507748725-1169345442.1507748725

Then upload the contents to http://ohioreef.com/ezportal/tiny_mce
Title: Re: ezPortal
Post by: twitch1 on October 18, 2017, 09:00:30 PM
Great portal! Thank you for all of the work you have put into this. I have it running on 2.014 and planning on installing it on 2.1 beta 3 tonight.
Title: Re: ezPortal
Post by: vbgamer45 on October 18, 2017, 09:04:40 PM
Thanks glad you enjoy. It works great for SMF 2.1 as well!
Title: Re: ezPortal
Post by: SMFHacks.com Team 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
Title: Re: ezPortal
Post by: Jeff B 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?
Title: Re: ezPortal
Post by: vbgamer45 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
Title: Re: ezPortal
Post by: Jeff B 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.
Title: Re: ezPortal
Post by: vbgamer45 on December 28, 2017, 05:10:48 PM
Yes, always check or subscribe to the topic here or the modsite or ezportal.com
Title: Re: ezPortal
Post by: SMFHacks.com Team 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
Title: Re: ezPortal
Post by: Jeff B 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
Title: Re: ezPortal
Post by: vbgamer45 on January 12, 2018, 12:43:43 PM
I took over smf4mobile and have a new version posted.

But yeah it is possible.
Title: Re: ezPortal
Post by: Jeff B on January 12, 2018, 12:57:42 PM
okay...  ;)  Hint?
Title: Re: ezPortal
Post by: vbgamer45 on January 12, 2018, 01:03:17 PM
Sources/Ezportal2.php

Find

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

if ($user_info['theme'] == THEMEIDHEREOFSMF4MOBILE)
return;
Title: Re: ezPortal
Post by: Jeff B on January 12, 2018, 01:18:08 PM
no joy  Unless I'm not picking the theme id correctly
Title: Re: ezPortal
Post by: vbgamer45 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.
Title: Re: ezPortal
Post by: Jeff B on January 12, 2018, 01:23:50 PM
Got it! Thank you!
Title: Re: ezPortal
Post by: Jeff B 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)
Title: Re: ezPortal
Post by: vbgamer45 on January 15, 2018, 04:29:53 PM
THEME_ID is not defeined or you haven't added $settings in your globals
Title: Re: ezPortal
Post by: Jeff B 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 :)
Title: Re: ezPortal
Post by: vbgamer45 on January 15, 2018, 05:06:19 PM
Try

global $settings;
   if ($settings['theme_id'] == 10)
Title: Re: ezPortal
Post by: Jeff B 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;
Title: Re: ezPortal
Post by: vbgamer45 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.
Title: Re: ezPortal
Post by: Jeff B on January 15, 2018, 10:24:16 PM
The code I posted works its just creating errors/
Title: Re: ezPortal
Post by: vbgamer45 on January 16, 2018, 09:31:52 AM
It shouldn't work though if it is creating errors.
You can try


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

Title: Re: ezPortal
Post by: Jeff B 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
Title: Re: ezPortal
Post by: vbgamer45 on January 16, 2018, 02:06:32 PM
try

global $settings;
if (isset($settings['theme_id'] ))
if ($settings['theme_id'] == 10)
return;
Title: Re: ezPortal
Post by: Jeff B 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!
Title: Re: ezPortal
Post by: Jeff B on January 17, 2018, 06:41:36 PM
A day later and  no ezportal or smf4mobile errors!  Thank you
Title: Re: ezPortal
Post by: SMFHacks.com Team 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.
Title: Re: ezPortal
Post by: Jeff B 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.
Title: Re: ezPortal
Post by: vbgamer45 on March 08, 2018, 02:44:47 PM
Is it of the form action=notify
?
Title: Re: ezPortal
Post by: Jeff B 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
Title: Re: ezPortal
Post by: vbgamer45 on March 08, 2018, 02:58:27 PM
You can skip it with an edit in Sources/Ezportal2.php


// Actions that should not load EzPortal
if (isset($_REQUEST['action']))
{
if (in_array($_REQUEST['action'],array('.xml','dlattach','quotefast','findmember', 'helpadmin', 'printpage', 'spellcheck')))
return;


}
Title: Re: ezPortal
Post by: Jeff B on March 08, 2018, 03:19:16 PM
Excellent!  Thank you.
Title: Re: ezPortal
Post by: Jeff B on March 08, 2018, 03:34:16 PM
On a related note, how would you add the option to use blocks on action=recent ?
Title: Re: ezPortal
Post by: vbgamer45 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
Title: Re: ezPortal
Post by: njtweb on May 15, 2018, 04:02:32 PM
Having some doubts with the ezportal. Things aren't working as they should

1. I'm only using the left column and recent posts block. I don't have the hide option selected for mobile, but regardless it hides anyway. I don't know if that's by design or a bug but it's not working.
2. I have the articles mod installed and when I try to add the articles block anywhere in the placements for the blocks it blows up the entire layout. I don't even want to use the articles anymore but I can't turn it off and it won't uninstall either.
3. I have the paid classifieds mod and that kind of works. You can add a top or a bottom block horrizontal but that's it. If you click the view images link the layout blows up. All shifts to the left. And you cannot use the classifieds properly on mobile, it's not responsive at all.
4. I created an ezportal page and the URL is strange. Is the word ezportal supposed to be in the address? What will that do for search engine purposes, will the meta tags data work for the page?
http://www.youthhockeyinfo.com/index.php?action=ezportal;sa=page;p=1
Title: Re: ezPortal
Post by: vbgamer45 on May 15, 2018, 08:02:12 PM
1. Make sure under ezportal settings that this setting is not checked "Disable ezPortal for mobile devices based on user agent"

2,3. I have not tested the blocks to see if they are responsive probably have to have someone look at that. As I am not good at responsive css.

4. Yes that is the default url. The urls are not SEO friendly at the the moment.
Title: Re: ezPortal
Post by: njtweb on May 16, 2018, 11:30:26 AM
Quote from: vbgamer45 on May 15, 2018, 08:02:12 PM
1. Make sure under ezportal settings that this setting is not checked "Disable ezPortal for mobile devices based on user agent"

2,3. I have not tested the blocks to see if they are responsive probably have to have someone look at that. As I am not good at responsive css.

4. Yes that is the default url. The urls are not SEO friendly at the the moment.

I sent you a message...
Title: Re: ezPortal
Post by: vbgamer45 on May 16, 2018, 11:39:03 AM
Will work on it shortly very busy.
Title: Re: ezPortal
Post by: SMFHacks.com Team on August 13, 2018, 04:29:29 PM
New update! ezPortal 4.0

4.0
+New setting for pages. Added option for SEO page urls as long as your host supports mod_rewrite
Title: Re: ezPortal
Post by: SMFHacks.com Team on October 23, 2018, 11:19:49 PM
Minor update and bug fixes

4.0.1
!Fixed visibility clearing cache issue. Which caused visibility option changes to take time to appear
!Removed old file cache functions which are not used.
Title: Re: ezPortal
Post by: Tiribulus on October 23, 2018, 11:34:00 PM
Please forgive this boneheaded question which I have a feeling has been answered somewhere in this sprawling topic, but can we just install this update over the older version?
Title: Re: ezPortal
Post by: vbgamer45 on October 23, 2018, 11:37:36 PM
Yes, you can. Unless i meson it in the update that is always the case
Title: Re: ezPortal
Post by: Tiribulus on October 24, 2018, 12:08:29 AM
Thank you sir :)
Title: Re: ezPortal
Post by: Plus on October 26, 2018, 05:11:17 PM
recent topic
board news
not work on front page ??
Help ?
Title: Re: ezPortal
Post by: vbgamer45 on October 26, 2018, 05:15:45 PM
It should work What happens?
Title: Re: ezPortal
Post by: SMFHacks.com Team on December 09, 2018, 09:25:24 PM
Update
4.0.2
!Shoutbox now respects post bans
Title: Re: ezPortal
Post by: SMFHacks.com Team on January 10, 2019, 12:00:52 AM
Update
4.1
+For SMF 2.0 better caching of data for the following ezBlocks: Stats ezBlocks, Whos Online, Recent Posts, and Recent Topics
Title: Re: ezPortal
Post by: SMFHacks.com Team on February 05, 2019, 05:44:05 PM
4.1a
+Added support for SMF 2.1 RC1
Title: Re: ezPortal
Post by: SMFHacks.com Team on February 11, 2019, 11:09:41 PM
Another update
4.1.1
+More changes/improvements for SMF 2.1.x
Title: Re: ezPortal
Post by: landyvlad on February 12, 2019, 05:53:54 AM
So it's been a while since I've used EZPortal.

I run TinyPortal on a 2.0.15 forum, but I use SMF Gallery Pro and SMF Downloads mods as I find these pretty good.

I am starting a 2.1 forum (currently 2.1 RC1), just setting it up, and wondering is there is any advantage to me in using EZPortal as opposed to TP. (I plan to use the SMF gallery and downloads mods on this new forum as well)

I think EZ has as many block location options as TP?

I don't know all that much about 'articles' and how they work in TP or EZ but I wonder can they carry over.
eg if there are articles in a forum using TP, and the forum switches to EZ, do all those articles get retained and reused?

Thanks

P.S. Also why is there almost no mention of ezportal on the SMF Hacks website? It's not in the menu on the LHS for example...
Title: Re: ezPortal
Post by: Antes on February 12, 2019, 07:28:27 AM
Current ezPortal template is not compatible with SMF 2.1, wait a day or two I'll send a new file to vbgamer.

Also: ezPortal is not loading ezportal.css in SMF 2.1 version.
Title: Re: ezPortal
Post by: vbgamer45 on February 12, 2019, 08:16:45 AM
Thanks Antes!!

landyvlad articles are not built in. I do have an articles mod but have to update it 2.1
ezPortal is a separate project so I have it's own website instead having it on smfhacks.com
Title: Re: ezPortal
Post by: landyvlad on February 12, 2019, 07:41:10 PM
Ah Ok thanks on all fronts.

edit: LOl it's been so long I just realised I am actually registered on that forum !
Title: Re: ezPortal
Post by: Antes on February 14, 2019, 11:59:15 AM
Good news, template revision finished...Bad news, I made a mistake and now ezPortal is not containing content in #column2... This only occurs outside of main page.
I couldn't figure out the solution in my limited time :/ Apologies for that...
Title: Re: ezPortal
Post by: vbgamer45 on February 14, 2019, 01:52:57 PM
Thanks Antes! Will get this added right away. Will see what I can figure out.
Title: Re: ezPortal
Post by: Antes on February 14, 2019, 02:52:33 PM
Quote from: vbgamer45 on February 14, 2019, 01:52:57 PM
Thanks Antes! Will get this added right away. Will see what I can figure out.

I actually couldn't figure out how you handle left & center... :D :D Probably I deleted some code while cleaning the HTML part... which also handles the center container for everything :P sorry about that.
Title: Re: ezPortal
Post by: vbgamer45 on February 14, 2019, 03:01:17 PM
Yeah little tricky since people can have areas on and off for columns and then the center column.
Maybe compare to what we did in SMF 2.0??

Here is what I have so far packaged it up and added a few things.
Beta release (not for use yet on SMF 2.1)
4.5beta
+Responsive added to SMF 2.1 thanks to Antes it is default setting now
+Added page icon setting for SMF 2.1.x for extra pages
!Fixed twitter tweets embed code.

So yeah just have to figure out the columns then should be good.
Title: Re: ezPortal
Post by: Antes on February 14, 2019, 03:28:56 PM
Still don't take this as "Fully Working" package requires intense testing BUT my basic tests shows I fixed the issue I introduced. Just overwrite the files if you already installed.

A bug maybe?: Home page has no title & creating error

Title: Re: ezPortal
Post by: vbgamer45 on February 14, 2019, 04:43:13 PM
Fixed the homepage title and the menu block error
Still looks a little odd will pm my site attached updated
Title: Re: ezPortal
Post by: The Wizard on February 24, 2019, 08:42:37 AM
Hello vbgamer45:

My Current SMF version: SMF 2.0.15
Theme: ostara2
EzPortal:  Latest Version: 4.1.1
I created a 1 page so far.

Issue: main menu between the search button and the admin button there is a space and when I move my mouse pointer into that space a orange bar appears http://www.pluto3.epizy.com/bug.jpg When I click on it I get taken to the page I created.

Am I missing a button link? or is this some kind of bug?

Thanks for taking this time to help.
Wiz


Title: Re: ezPortal
Post by: vbgamer45 on February 24, 2019, 09:33:45 AM
Go to the page manger. And click on the page. Does the page have a menu title
Title: Re: ezPortal
Post by: The Wizard on February 24, 2019, 11:03:39 AM
Quote from: vbgamer45 on February 24, 2019, 09:33:45 AM
Go to the page manger. And click on the page. Does the page have a menu title

Yes
Title: Re: ezPortal
Post by: vbgamer45 on February 24, 2019, 12:38:54 PM
Hmm any thing related in your forum error log?
Title: Re: ezPortal
Post by: The Wizard on February 24, 2019, 12:53:12 PM

http://www.pluto3.epizy.com/pluto3/index.php?
2: Illegal string offset 'parameter_name'
File: /home/vol14_2/epizy.com/epiz_23499800/htdocs/pluto3/Sources/Subs-EzPortalMain2.php
Line: 3280
Title: Re: ezPortal
Post by: The Wizard on February 24, 2019, 12:57:36 PM
Quote
3277: // Parse the parameters
3278: foreach($paramters as $myparam)
3279: {
==>3280: if ($myparam['parameter_name'] == 'bbctext')
3281: $bbcText = stripslashes($myparam['data']);
3282:    
3283:    
3284: }
3285:    
3286: echo parse_bbc($bbcText);
3287:    
3288:    }
Title: Re: ezPortal
Post by: vbgamer45 on February 24, 2019, 01:28:59 PM
Very strange. have to think what would cause that error to occur. does that always occur or on a certain action.

Title: Re: ezPortal
Post by: The Wizard on February 24, 2019, 02:20:32 PM
On a hunch a deleted the page and the fault is gone. I then created another page and all is well. So I created a third page with the orginal text images on the first page and that worked. Sorry to have caused you trouble. My guess is when the page was saved the data was somehow slightly corrupted, and was throwing everything off. I'm using a new hosting company so maybe this is something I need to watch out for or it could have be a droped data package.

Thanks again for your time.

Wiz
Title: Re: ezPortal
Post by: woolly bugger on February 26, 2019, 12:24:17 PM
new to ezPortal, have set it up on 2.1 and it looks the way I want on a browser, but not on mobile.

I would like the shoutbox to show on the home page on mobile

https://www.brfff.com/forum/

Title: Re: ezPortal
Post by: vbgamer45 on February 26, 2019, 01:02:19 PM
Still working on responsive mode for 2.1 with Antes so mobile might appear off for the time being.
Title: Re: ezPortal
Post by: Antes on February 28, 2019, 10:29:52 AM
Install 4.5 alpha 2 & upload the attached files to respected folders. This should bring you to better stage.

Added:
* Basic responsive support.

Known Issue:
* ezCenter (Container) still requires checks & edits. So you are going to experience width issues on forum pages.
Title: Re: ezPortal
Post by: vbgamer45 on February 28, 2019, 10:41:25 AM
Thanks Antes will check it out.
Title: Re: ezPortal
Post by: The Wizard on March 11, 2019, 09:59:28 AM
Hello:
I have 2 questions -

1. Can you create files in the Page Manager to put the web pages you created?

2. How many web pages can you create?

Thanks  :)
Wiz
Title: Re: ezPortal
Post by: vbgamer45 on March 11, 2019, 11:29:20 AM
You can create pages that are html based.

2. there is no hard set limit.
Title: Re: ezPortal
Post by: Antes on March 11, 2019, 11:44:28 AM
Fancy some update?

Fixes
* Fixed an issue where ezCenter displayed even if its empty... Thank mittens :empty CSS check helped me...

Known Issue
* Width parameter on blocks not working properly at this stage.
Title: Re: ezPortal
Post by: vbgamer45 on March 11, 2019, 11:46:23 AM
Nice!!! Antes going to play around with it.
Title: Re: ezPortal
Post by: vbgamer45 on March 11, 2019, 11:57:52 PM
Antes close. One other issue with the center block it makes the forum be stacked next to it. Tried doing some css clear/display block but couldn't get it to work attached.
Latest template file one minor for php 7.1.x and example screenshot
Title: Re: ezPortal
Post by: SMFHacks.com Team on March 30, 2019, 11:04:44 PM
Major update ezPortal 4.5 released!

4.5
+Responsive added to SMF 2.1 thanks to Antes it is default setting now
+Added page icon setting for SMF 2.1.x for extra pages
!Fixed twitter tweets embed code and restored the block in the install script
!Fixed homepage title for SMF 2.1.x
!Fixed undefined errors if not parameters set for ezBlock for PHP 7.1.x
+RSS Feed Block can now handle SSL feeds better
+SMF Gallery Block now has more options to customize
!Fixed Group By errors on strict mysql for SMF 2.1.x and SMF 2.0.x
!Fixed Smiles on Shoutbox form setting for SMF 2.1.x
!Fixed broken menu ezBlock due to cache SMF 2.0.x
!Fixed vertical menu ezBlock for SMF 1.1.x
!Solved issue with ezBlock parameter data sometimes getting messed due to cache SMF 2.0.x
Title: Re: ezPortal
Post by: woolly bugger on April 02, 2019, 10:22:37 AM
just upgraded to RC2 and ezportal 4.5

Installed mod; Forum Width Setting 1.1
then ezportal 4.5

set width to 92% and 1860px but I can't get the ezportal columns to change size the two side columns are huge and I can't get them to size smaller either with px width or percentage.

Title: Re: ezPortal
Post by: vbgamer45 on April 02, 2019, 10:31:41 AM
Yes that is a known issue with the responsive mode looking into a fix.
Title: Re: ezPortal
Post by: Antes on April 02, 2019, 10:49:23 AM
Not gonna lie, I was edge of giving up... Tried one last trick in my paw... This should fix 2 issues at once;

* Columns ignoring given width
* Center block showing side by side
> Expect broken center block (needs testing).

Small extra; this will show broken output on forums has no "center" block enabled on topics. This I think requires small change from mod side, we need to enable center block all the time because its now used to wrap rest of the forum as well.
Title: Re: ezPortal
Post by: vbgamer45 on April 02, 2019, 11:37:21 AM
Awesome looking good so far. Will check out the center enabled.
Title: Re: ezPortal
Post by: 4everBlue on April 02, 2019, 12:13:02 PM
How many characters are you set to display using that ezBlock?
Title: Re: ezPortal
Post by: vbgamer45 on April 02, 2019, 12:16:48 PM
Haven't tested? The title or a specific ezblock?
Title: Re: ezPortal
Post by: Antes on April 02, 2019, 01:13:31 PM
Quote from: vbgamer45 on April 02, 2019, 11:37:21 AM
Awesome looking good so far. Will check out the center enabled.

Just load center column's info all the time, because its used to wrap up everything now (forum/ezPortal).
Title: Re: ezPortal
Post by: SMFHacks.com Team on April 02, 2019, 11:42:57 PM
4.5.1
!Fixed center display if center block disabled for SMF 2.1.x
!Fixes using column width/percent SMF 2.1.x thanks to Antes
Title: Re: ezPortal
Post by: Antes on April 03, 2019, 09:15:56 PM
Unfortunately, ezPortal still not loading center-column (#column2) info all the time.
Title: Re: ezPortal
Post by: vbgamer45 on April 03, 2019, 10:21:30 PM
Which case? I updated the template file and ezportal2.php
Title: Re: ezPortal
Post by: Antes on April 04, 2019, 06:30:33 AM
Visit any page is not checked on the list, and you `ll see the template is broken. Center blocks generic info should load all the time even if the content is empty or not needed.
Title: Re: ezPortal
Post by: SMFHacks.com Team on April 04, 2019, 03:05:58 PM
4.5.2
!Fixed center column display SMF 2.1.x if using visibility options
Title: Re: ezPortal
Post by: 4everBlue on April 07, 2019, 07:34:37 AM
Quote from: vbgamer45 on April 02, 2019, 12:16:48 PM
Haven't tested? The title or a specific ezblock?

Hi,

Yes for both of them.
Title: Re: ezPortal
Post by: SMFHacks.com Team on August 01, 2019, 11:40:01 PM
Update

4.5.3
!Fixed SMF 2.1.x registration link to use new action=signup
Title: Re: ezPortal
Post by: gfa-skyranger on August 04, 2019, 02:54:58 PM
I have to move from portamx to ezportal and i miss lot of things, so may be i could modify it to my needs with your help.

i want to have an "Board News ezBlock" on top in middle, so how can i manage this block to be not in a single column?
want this blockhave 2 columns.

How can i do this?
Is there an "easy way" to do this?

------
Addition:

The Block "Recent Topics ezBlock" shows forum posts / themes, which are not meant to be shown to users, which are not in accordingly groups.
This is a security problem!

Title: Re: ezPortal
Post by: vbgamer45 on August 04, 2019, 07:17:21 PM
Quote
i want to have an "Board News ezBlock" on top in middle, so how can i manage this block to be not in a single column?
want this blockhave 2 columns.

How can i do this?
Is there an "easy way" to do this?

There is not an easy way at the moment. Would require modifying the code.Mainly sources/Subs-EzPortalMain2.php
In the function
function EzBlockBoardNewsBlock($paramters = array(),$board = null, $length = null, $limit = null, $start = null)


Could be a nice feature request though.


For recent topics ezblock can you describe the setup?
IE membergroups and permissions for the forum where the topicc isn't supposed to be shown.


And also what are your main reasons from switching from portamx
We are using    AND $user_info[query_see_board]  which should prevent that.
Title: Re: ezPortal
Post by: SMFHacks.com Team on August 10, 2019, 08:33:24 PM
4.5.3a
!Fixed link tree in SMF 2.1 RC2
Title: Re: ezPortal
Post by: kitegnome on September 15, 2019, 10:22:46 AM
Trying to uninstall EzPortal to check a possible conflict and getting errors. Please see attached. Thanks!
Title: Re: ezPortal
Post by: vbgamer45 on September 15, 2019, 10:26:35 AM
For ones that failed you will have to reverse those changes manually
https://www.smfhacks.com/smf-package-parser.html
Title: Re: ezPortal
Post by: kitegnome on September 15, 2019, 10:51:46 AM
Please elaborate?
Title: Re: ezPortal
Post by: vbgamer45 on September 15, 2019, 11:35:02 AM
You will need to reverse the edits manually.
Either uninstall the mod and remove the options where it failed on it's own. Backup your site first!
Or just remove each entry manually that the mod changed.
Title: Re: ezPortal
Post by: kitegnome on September 15, 2019, 12:10:05 PM
Quote from: vbgamer45 on September 15, 2019, 11:35:02 AM
You will need to reverse the edits manually.
Either uninstall the mod and remove the options where it failed on it's own. Backup your site first!
Or just remove each entry manually that the mod changed.

Can I just overwrite the errored files with a box-stock copy?
Title: Re: ezPortal
Post by: vbgamer45 on September 15, 2019, 12:20:31 PM
Yes that will work as well. If you have no other mods installed.
Title: Re: ezPortal
Post by: SMFHacks.com Team on October 23, 2019, 01:03:55 PM
Update
4.5.4
!Disable SAVE auto embed in shoutbox
Title: Re: ezPortal
Post by: SMFHacks.com Team on December 30, 2019, 04:47:13 PM
4.5.5
!Fix error log for PHP 7.2/7.3 for mobile detection
Title: Re: ezPortal
Post by: SMFHacks.com Team on January 14, 2020, 10:45:41 AM
Update for SMF 2.0.x and SMF 2.1.x

4.5.7
!Fixed new indicator for recent posts and recent topics block for SMF 2.0/2.1 to cache per user instead of global cached.
Title: Re: ezPortal
Post by: SMFHacks.com Team on February 03, 2020, 12:10:18 AM
Update:
4.5.8
!Fixed a bug with TinyMCE editor when editing blocks would strip out the base url of your main site. Which could break images when navigating to subdirectories when using mods such as prettyurls.
Title: Re: ezPortal
Post by: SMFHacks.com Team on February 27, 2020, 10:37:15 AM
Update
4.5.9
!Make sure there is a language string loaded for spam protection on shoutbox
Title: Re: ezPortal
Post by: palmdoc on February 28, 2020, 05:34:49 PM
Any clue how come the Recent Topics Ezblock is Blank for Admin but present when logged out or for normal members?
Title: Re: ezPortal
Post by: vbgamer45 on February 28, 2020, 05:38:38 PM
Permssions for the block. Do you allow admins?
Title: Re: ezPortal
Post by: Hatshepsut on March 11, 2020, 12:18:03 AM
Hello,

I am using ezPortal 4.5.9 with SMF 2.0.17
Smilies are enabled in shoutbox, but they are displayed in chatbox as acronyms. The only way to display them as images is putting their URL between IMG tags.

Click => (https://postimg.cc/V59r8T0N)

How can be solved this problem?
Title: Re: ezPortal
Post by: AllanD on May 30, 2020, 09:00:36 PM
Ok I have to ask but I can't seem to get the blocks visible on the board index page or any page for that matter. I went over the settings and permissions and everything is setup right.
Title: Re: ezPortal
Post by: vbgamer45 on May 30, 2020, 09:04:25 PM
Using the latest version?
And your not on forum maintenance are you
Title: Re: ezPortal
Post by: AllanD on May 30, 2020, 09:32:54 PM
That was it the maintenance thing, the one thing that slipped my mind. Thank you. No have to remember how to change size of the sidebar.
Title: Re: ezPortal
Post by: NorfolkGreg on June 08, 2020, 06:55:01 AM
Just installed ezPortal into my 2.0.17 forum using ezPortal4.5.9.zip and the ezPortal Settings page reports:

Your Version: 4.5.9 Latest Version: 4.5.8 Your EzPortal version is not up to date!

Is this to be expected? Should I worry!
Title: Re: ezPortal
Post by: vbgamer45 on June 08, 2020, 09:12:14 AM
No reason to worry. Will fix though.
Title: Re: ezPortal
Post by: NorfolkGreg on June 08, 2020, 04:09:41 PM
I'm back online and now it's showing

Your Version: 4.5.9 Latest Version: 4.5.9

I guess that's something you've tweaked already!
Title: Re: ezPortal
Post by: vbgamer45 on June 08, 2020, 04:59:08 PM
Yes, was just the version on my end.
Title: Re: ezPortal
Post by: BCK on July 29, 2020, 12:00:01 PM
hi, It has been years since I had a forum, just setup smf 2.0.17 and want to install this portal, if I remember correctly had a portal years ago and when installed I had to do manual changes because it didnt bring me to site with original web address,,so question is, if i install is there any thing I need to do manually or so when I give site address to others they can go right to site or do I need to add /index or something to share web address correctly..if this makes sense to you..I wish I could remember what I needed to do last time but old age etc..lol..I forget..thx in advance
Title: Re: ezPortal
Post by: vbgamer45 on July 29, 2020, 12:03:09 PM
I don't think you have to do any changes.  We have a custom homepage option which you can have just blocks or you can just use the forum as is.
Title: Re: ezPortal
Post by: BCK on July 29, 2020, 12:09:37 PM
Thank You vbgamer45, super fast reply, it has been years since I have had a site, back in FTA days, so I am rusty for sure, main reason I looked at this portal is I remember your name from back then and trusted,,thx again...
Title: Re: ezPortal
Post by: BCK on July 29, 2020, 12:12:06 PM
so I can use forum as is and just ad blocks etc in forum itself,,will get it and play around, if need help will post again, again my thx and appreciation..
Title: Re: ezPortal
Post by: vbgamer45 on July 29, 2020, 12:14:52 PM
Quote from: BCK on July 29, 2020, 12:12:06 PM
so I can use forum as is and just ad blocks etc in forum itself,,will get it and play around, if need help will post again, again my thx and appreciation..
Yes, exactly.
Title: Re: ezPortal
Post by: BCK on July 29, 2020, 01:31:09 PM
is there a way to have shoutbox in forum only not on portal homepage.. Never mind, found the settings for it,,,awesome...
Title: Re: ezPortal
Post by: vbgamer45 on July 29, 2020, 01:40:37 PM
Yes. You can control visible actions of each portal block.
Check the Visibility Settings link.
Title: Re: ezPortal
Post by: BCK on July 29, 2020, 01:44:28 PM
thx vbgamer45,,found it,,sorry for being a pain in the.....lol..
Title: Re: ezPortal
Post by: vbgamer45 on July 29, 2020, 01:45:34 PM
No worries glad to help
Title: Re: ezPortal
Post by: BCK on July 29, 2020, 08:58:47 PM
in the bottom block i put a message and wanted an external site link, when i put it in, https etc and go to html editor and put the <a href=" LINK HERE /"></a>    then click update it does not make a link,then i went back and looked and what i put in wasnt there , it did not update, i know its me, but not sure how to fix or what i'm doing wrong.. do i need to uncheck word wrap ?
Title: Re: ezPortal
Post by: BCK on August 02, 2020, 09:07:29 PM
Please ignore my post above, figured it out, all ok now...thx
Title: Re: ezPortal
Post by: vbgamer45 on August 02, 2020, 09:09:00 PM
Thanks for the update!
Title: Re: ezPortal
Post by: Jamesc001 on August 04, 2020, 02:31:18 AM
very nice simple and effective as name simple machines
Title: Re: ezPortal
Post by: BCK on August 05, 2020, 07:48:42 PM
yes james its an awesome mod, works like a charm, very adaptable..
Title: Re: ezPortal
Post by: BCK on August 08, 2020, 04:34:55 PM
if I add a theme, should I uninstall ezportal first or can I add theme as it is..
Title: Re: ezPortal
Post by: Arantor on August 08, 2020, 04:41:45 PM
For this mod it looks like you can just add the theme as-is. Not true for all mods/themes but is for this one.
Title: Re: ezPortal
Post by: BCK on August 08, 2020, 07:28:38 PM
thx,,yes installed fine as it was...
Title: Re: ezPortal
Post by: shadav on August 14, 2020, 01:29:55 AM
am I missing something?
installed this but it doesn't seem to work correctly....
left and right blocks work
but top and bottom blocks do not show up
Title: Re: ezPortal
Post by: vbgamer45 on August 14, 2020, 02:46:08 AM
Did you enable the top and bottom column?

They are disabled by default I believe.  under mange ezblocks edit the column and make it enabled
Title: Re: ezPortal
Post by: shadav on August 14, 2020, 12:40:51 PM
i'm not finding any settings to enable/disable columns

I see to enable/disable blocks....but nothing about the columns

checked manual install and everything was installed correctly....
checked with default theme, just in case, and the top and bottom blocks do not show up there either
Title: Re: ezPortal
Post by: vbgamer45 on August 14, 2020, 01:20:52 PM
That's not looking right at all... Disable responsive mod under settings for ezportal.

Or you might be missing the css file for it.


Attached screenshot of how it should look and where the edit link is
Title: Re: ezPortal
Post by: shadav on August 14, 2020, 02:18:13 PM
hahahahaha much better
yeah it was the responsive setting that messed it up
Title: Re: ezPortal
Post by: vbgamer45 on August 14, 2020, 02:18:53 PM
Good to know!
Title: Re: ezPortal
Post by: SMFHacks.com Team on October 18, 2020, 11:35:28 AM
Update for SMF 2.1 RC3
4.5.10
!For SMF 2.1 fixed not showing the board index if you have ezPortal disabled on mobile devices
!Fixed undefined url in linktree on SMF 2.1
Title: Re: ezPortal
Post by: woolly bugger on November 17, 2020, 11:32:05 AM
just upgraded my php to 7.4

now getting errors

Type of error: General
8: Trying to access array offset on value of type null
https://www.brfff.com/forum/index.php?action=profile;area=alerts_popup;counter=12;u=388
/home/public_html/forum/Sources/EzPortal2.php (Line 2144)


Backtrace information Type of error: General
8: Trying to access array offset on value of type null
https://www.brfff.com/forum/index.php?action=profile;area=alerts_popup;counter=12;u=388
/home/public_html/forum/Sources/EzPortal2.php (Line 2127)

Title: Re: ezPortal
Post by: vbgamer45 on November 17, 2020, 12:51:54 PM
Try this file copy to your sources folder and see if it helps
Title: Re: ezPortal
Post by: woolly bugger on November 17, 2020, 02:01:17 PM
Quote from: vbgamer45 on November 17, 2020, 12:51:54 PM
Try this file copy to your sources folder and see if it helps


Type of error: General
2: in_array() expects parameter 2 to be array, string given
https://www.brfff.com/forum/index.php?
/home/public_html/forum/Sources/EzPortal2.php (Line 2251)

Woolly Bugger
Today at 13:58:37 PM

Backtrace information Type of error: General
2: in_array() expects parameter 2 to be array, string given
https://www.brfff.com/forum/index.php?
/home/public_html/forum/Sources/EzPortal2.php (Line 2571)

different error...
Title: Re: ezPortal
Post by: vbgamer45 on November 17, 2020, 02:53:10 PM
This file should do it now
Title: Re: ezPortal
Post by: woolly bugger on November 17, 2020, 06:48:41 PM
Quote from: vbgamer45 on November 17, 2020, 02:53:10 PM
This file should do it now

that did it..

thanks...
Title: Re: ezPortal
Post by: vbgamer45 on November 17, 2020, 07:27:46 PM
Update
4.5.11
!Fixes for PHP 7.4 errors for null
Title: Re: ezPortal
Post by: vbgamer45 on November 25, 2020, 10:59:13 PM
Update
4.5.12
!More fixes for blocks with PHP 7.4 deprecated errors
Title: Re: ezPortal
Post by: MyKroFt on November 27, 2020, 02:24:34 PM
just installed latest version and the new topic block, its looking for the new icon in the wrong directory so its a broken graphic
Title: Re: ezPortal
Post by: vbgamer45 on November 27, 2020, 02:34:03 PM
What directory is looking in?
Title: Re: ezPortal
Post by: HJones on January 06, 2021, 05:41:08 AM
Hello,

I'm trying to remove some padding from the center to the right side blocks but I cant figure out where I would go to remove it. Do you have any idea?
Title: Re: ezPortal
Post by: vbgamer45 on January 06, 2021, 09:12:26 AM
You can either either target the id column2 in your example and add it to your index.css file or the template it self is in themes/default/ezportal2.template.php
Title: Re: ezPortal
Post by: vbgamer45 on January 23, 2021, 12:42:14 PM
Major Update!
5.0
+Added support for these variables on html blocks, and custom pages: {$member.name} {$member.id} {$member.email} {$member.link} SMF 2.0.x SMF 2.1.x
+Added support for Simple Audio Video Embeder on custom page display
!Fixes for center ezblock for both the responsive mode and normal
!More fixes for PHP 7.4 and php 8.0
!Fix news ezblock to display quicker with caching enabled when a new post is made.
!Fix responsive mode bug on ezblock manager pages.
!Fix error array log for parameters on add/edit ezblock for boardnews ezblock
!Fix error log for bbc box SMF 2.1.x
!Hide center ezblock when editing blocks to make it easier to edit them instead of scrolling down.

Title: Re: ezPortal
Post by: Kindred on January 28, 2021, 08:56:22 AM
installed 5.0 into SMF 2.0.18


.../index.php?action=printpage;topic=121105.0
8: Trying to access array offset on value of type null
File: /.../Sources/Subs.php
Line: 4000


That would be this line in the menu...
==>4000: 'show' => ($ezpSettings['ezp_portal_enable'] == 1) ? 1 : 0,



only seems to trigger on the printpage action -- oddly enough
Title: Re: ezPortal
Post by: madfitz on January 28, 2021, 11:06:07 AM
I just installed 5.0 (no previos version installed) on 2.0.17 and all I got was the admin settings. No portal or blocks visible on the forum.
Title: Re: ezPortal
Post by: vbgamer45 on January 28, 2021, 11:12:32 AM
Quote from: madfitz on January 28, 2021, 11:06:07 AM
I just installed 5.0 (no previos version installed) on 2.0.17 and all I got was the admin settings. No portal or blocks visible on the forum.
Under ezblock manger in the admina area. Are there any blocks? And if so are they enabled? Also the columns need to be enabled.   Blocks don't show up in the admin area.
Title: Re: ezPortal
Post by: Kindred on January 28, 2021, 01:27:24 PM
Quote from: Kindred on January 28, 2021, 08:56:22 AM
installed 5.0 into SMF 2.0.18


.../index.php?action=printpage;topic=121105.0
8: Trying to access array offset on value of type null
File: /.../Sources/Subs.php
Line: 4000


That would be this line in the menu...
==>4000: 'show' => ($ezpSettings['ezp_portal_enable'] == 1) ? 1 : 0,



only seems to trigger on the printpage action -- oddly enough


Seems to be resolved by this....

replaced:
            'show' => ($ezpSettings['ezp_portal_enable'] == 1) ? 1 : 0,
with:
            'show' => !empty($ezpSettings['ezp_portal_enable']),
Title: Re: ezPortal
Post by: vbgamer45 on January 28, 2021, 01:32:47 PM
Thanks will make the change!
Title: Re: ezPortal
Post by: madfitz on January 28, 2021, 01:56:14 PM
Quote from: vbgamer45 on January 28, 2021, 11:12:32 AM
Quote from: madfitz on January 28, 2021, 11:06:07 AM
I just installed 5.0 (no previos version installed) on 2.0.17 and all I got was the admin settings. No portal or blocks visible on the forum.
Under ezblock manger in the admina area. Are there any blocks? And if so are they enabled? Also the columns need to be enabled.   Blocks don't show up in the admin area.

I uninstalled the mod and was going to reinstall depending on your reply. There were blocks and they were enabled.

The columns need to be enabled? By colums do you mean left/right/center panels? Where is the option to enable them?
Title: Re: ezPortal
Post by: vbgamer45 on January 28, 2021, 02:00:35 PM
Yes, the left/right/center panels. There should be an edit column link and says enabled/disabled. The left/center/right are enabled by default.

Attached screenshot

Are you using default theme?
Title: Re: ezPortal
Post by: madfitz on January 28, 2021, 02:30:54 PM
After a reinstall I can confirm blocks and columns are enabled and set to visible on the forum but nothing shows up. No panels, no blocks. Using the default theme (curve).
Title: Re: ezPortal
Post by: vbgamer45 on January 28, 2021, 02:44:52 PM
That is strange, haven't seen that happen before.. Anything in the error log for SMF? If possible can you pm me an admin user to view? I did test on a fresh install this morning to be sure.
Title: Re: ezPortal
Post by: madfitz on January 28, 2021, 02:56:39 PM
Quote from: vbgamer45 on January 28, 2021, 02:44:52 PM
That is strange, haven't seen that happen before.. Anything in the error log for SMF? If possible can you pm me an admin user to view? I did test on a fresh install this morning to be sure.
PM sent
Title: Re: ezPortal
Post by: vbgamer45 on January 28, 2021, 03:04:10 PM
Kindred added your fix


madfitz - I believe the issue is due to the forum being in maintenance mode. Blocks don't appear in maintenance mode
Title: Re: ezPortal
Post by: madfitz on January 28, 2021, 03:06:10 PM
Quote from: vbgamer45 on January 28, 2021, 03:04:10 PM
madfitz - I believe the issue is due to the forum being in maintenance mode. Blocks don't appear in maintenance mode

Well heck that was easy! Thanks for your help. I was naturally configuring the board in maintence mode before inviting the users.
Title: Re: ezPortal
Post by: vbgamer45 on January 28, 2021, 03:10:54 PM
Yeah, I might change that So admins can't see. Originally the issue was you didn't want non logged in users to see blocks when in maintenance mode.
Title: Re: ezPortal
Post by: vbgamer45 on January 28, 2021, 03:24:29 PM
Update

5.0a/b
!Admins can now see blocks in Maintenance Mode
!Fix error for php 7.4 on printpage for ezportal menu
Title: Re: ezPortal
Post by: madfitz on January 29, 2021, 05:56:02 AM
Quote from: vbgamer45 on January 28, 2021, 03:24:29 PM
Update

5.0a/b
!Admins can now see blocks in Maintenance Mode
!Fix error for php 7.4 on printpage for ezportal menu


Thank you!
Title: Re: ezPortal
Post by: vbgamer45 on January 29, 2021, 01:33:58 PM
5.0c
!Fixed a couple more possible error log conditions when testing with full errors displayed.
Title: Re: ezPortal
Post by: vbgamer45 on January 29, 2021, 10:58:39 PM
5.0.1
!Fixed cache issue for columns from 5.0c for 2.0 and 2.1x
Title: Re: ezPortal
Post by: mrkid on April 05, 2021, 02:00:48 PM
Where does the pre-coded block for SMF Store live? I wanted to change out "recent items" for "categories".
Title: Re: ezPortal
Post by: vbgamer45 on April 05, 2021, 02:47:56 PM
For SMF 2.0+ those blocks are found in Subs-EzPortalMain2.php
Title: Re: ezPortal
Post by: mrkid on April 05, 2021, 04:53:07 PM
Quote from: vbgamer45 on April 05, 2021, 02:47:56 PM
For SMF 2.0+ those blocks are found in Subs-EzPortalMain2.php

Got it, thanks!

I'm trying to add a "Catagory" option. Since I only have 2 categories in my store, I thought it would be easy, but I can't even get it to populate the pull down.

case 'viewed':
$query = "SELECT i.ID_ITEM, i.commenttotal, i.totalratings, i.rating,
i.primaryID_PICTURE, i.productname, p.thumbfilename, i.price,i.currency,
i.qtyinstock, i.needsstock, i.date, i.views
FROM {db_prefix}store_item as i LEFT JOIN {db_prefix}store_item_pic as p ON (i.primaryID_PICTURE = p.ID_PICTURE)
WHERE  i.hideproduct = 0  ORDER BY  i.views DESC LIMIT $products";
break;

case 'catagory':
$query = "SELECT i.ID_CAT,
i.primaryID_PARENT, i.title
FROM {db_prefix}store_cat as i LEFT JOIN {db_prefix}store_cat_pic as p ON (i.primaryID_PICTURE = p.ID_PICTURE)
WHERE  i.hideproduct = 0  ORDER BY  i.title DESC LIMIT $products";
break;
Title: Re: ezPortal
Post by: vbgamer45 on April 05, 2021, 05:18:10 PM
The pulldown menu is installed by EzPortalInstall2.php for the block


// SMF Store EzBlock
$paramArray = array();
$paramArray[] = array('name' => 'products','title' => 'Number of Products to show','defaultvalue' => 4,'parameter_type' => 'int', 'required' => 1);
$paramArray[] = array('name' => 'rows','title' => 'Number of items per row','defaultvalue' => 4,'parameter_type' => 'int', 'required' => 1);
$paramArray[] = array('name' => 'type','title' => 'Type','defaultvalue' => 'recent','parameter_type' => 'select', 'required' => 1, 'selectvalues' => 'recent,viewed,mostcomments,toprated');

$ezBlocksInstall[] = array('title' => 'SMF Store ezBlock','description' => '','blockdata' => 'EzBlockStoreBlock','version' => '1.0','blockauthor' => 'EzPortal','blockwebsite'=>'http://www.ezportal.com','no_delete' => 1, 'parameters' => $paramArray);




$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_blocks
(blocktitle, blockdata, blocktype,blockversion,blockauthor,blockwebsite,can_cache,data_editable,no_delete)
VALUES ('" . $installBlock['title']. "','" . $installBlock['blockdata']. "', 'builtin','" . $installBlock['version']. "','" . $installBlock['blockauthor']. "','" . $installBlock['blockwebsite']. "',0," . $data_editable  . "," . $installBlock['no_delete']. ")");

// EzBlock ID
$blockID =  $smcFunc['db_insert_id']('{db_prefix}ezp_blocks', 'id_block');

foreach($installBlock['parameters'] as $myparam)
{
$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_block_parameters
(id_block, title, parameter_name, parameter_type,defaultvalue,required)
VALUES ($blockID,'" . $myparam['title']. "','" . $myparam['name']. "',
'" . $myparam['parameter_type']. "','" . $myparam['defaultvalue']. "',
'" . $myparam['required']. "'
)");

$paramID =  $smcFunc['db_insert_id']('{db_prefix}ezp_block_parameters', 'id_parameter');

if (!empty($myparam['selectvalues']))
{
$selectvalues = explode(",",$myparam['selectvalues']);
foreach ($selectvalues as $sv)
{
// Insert select value
$smcFunc['db_query']('', "INSERT INTO {db_prefix}ezp_paramaters_select
(id_parameter, id_block, selecttext, selectvalue)
VALUES ($paramID,$blockID,'" . $sv. "','" . $sv. "')");

}

}

}


Basically you need to insert a record into the database table ezp_paramaters_select with the blockID, paramID and valuename/displayname
Title: Re: ezPortal
Post by: dungeonseeker on April 19, 2021, 10:39:28 AM
Just installed v5.0.1 onto an otherwise clean SMF 2.1RC3 install and every time I click on Admin > Permissions I get the following 4 errors in the error logs...

Type of error: Undefined
8: Undefined index: permissiongroup_ezportal
https://***/index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1671)


Type of error: Undefined
8: Undefined index: permissionname_ezportal_page
https://***/index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1680)


Type of error: Undefined
8: Undefined index: permissionname_ezportal_blocks
https://***/index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1680)


Type of error: Undefined
8: Undefined index: permissionname_ezportal_manage
https:///index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1680)


Edit - NVM, its the Theme I'm using. Reverting back to Curve removes the errors.
Title: Re: ezPortal
Post by: shadav on April 19, 2021, 02:22:18 PM
Quote from: dungeonseeker on April 19, 2021, 10:39:28 AM
Just installed v5.0.1 onto an otherwise clean SMF 2.1RC3 install and every time I click on Admin > Permissions I get the following 4 errors in the error logs...

Type of error: Undefined
8: Undefined index: permissiongroup_ezportal
https://***/index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1671)


Type of error: Undefined
8: Undefined index: permissionname_ezportal_page
https://***/index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1680)


Type of error: Undefined
8: Undefined index: permissionname_ezportal_blocks
https://***/index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1680)


Type of error: Undefined
8: Undefined index: permissionname_ezportal_manage
https:///index.php?action=admin;area=permissions
/volume1/web/smf/Sources/ManagePermissions.php (Line 1680)


Edit - NVM, its the Theme I'm using. Reverting back to Curve removes the errors.

when you installed it did you check the box(es) to install it on all themes?
use the parse on the download page and make all the template edits to your custom theme(s) or uninstall and reinstall making sure to check all the boxes for it to install on other themes
Title: Re: ezPortal
Post by: vbgamer45 on April 19, 2021, 03:17:21 PM
It looks like you are missing these text lines from your theme/langauges/modifiactions.*.php file


// Begin EzPortal Text Strings
$txt['ezp_forum_tab'] = 'Forum';
$txt['ezportal_admin'] = 'EzPortal';
$txt['ezportal_settings'] = 'Settings';
$txt['ezportal_block_manager'] = 'ezBlock Manager';
$txt['ezportal_page_manager'] = 'Page Manager';

$txt['ezp_settings'] = 'Settings';
$txt['ezp_modules'] = 'Modules';
$txt['ezp_blocks'] = 'ezBlocks';
$txt['ezp_pagemanager'] = 'Page Manager';
$txt['ezp_import'] = 'Import';
$txt['ezp_txt_ordercopyright'] = 'Order Copyright Removal';
$txt['ezp_download_blocks'] = 'Download ezBlocks';
$txt['ezp_installed_blocks'] = 'Installed ezBlocks';
$txt['ezp_txt_copyrightremoval'] = 'Copyright Removal';
$txt['ezp_credits'] = 'Credits';

// Permissions
$txt['permissiongroup_ezportal'] = 'EzPortal';
$txt['permissiongroup_simple_ezportal'] = 'Use EzPortal';

$txt['permissionname_ezportal_page'] = 'Manage Pages';
$txt['permissionhelp_ezportal_page'] = 'Allows adding,editing,and deleting of pages.';
$txt['cannot_ezportal_page'] = 'You are not allowed to manage EzPortal pages.';

$txt['permissionname_ezportal_blocks'] = 'Manage ezBlocks';
$txt['permissionhelp_ezportal_blocks'] = 'Allows adding,editing,and deleting of ezBlocks.';
$txt['cannot_ezportal_blocks'] = 'You are not allowed to manage ezBlocks.';


$txt['permissionname_ezportal_manage'] = 'Admin EzPortal';
$txt['permissionhelp_ezportal_manage'] = 'Allows full control of EzPortal';
$txt['cannot_ezportal_manage'] = 'You are not allowed to manage EzPortal.';

// END EzPortal Text Strings
Title: Re: ezPortal
Post by: vbgamer45 on April 26, 2021, 04:48:51 PM
Update
5.0.2
!Removed || changed to OR in SQL statements for MariaDB for SMF Gallery and Downloads ezBlocks.
Title: Re: ezPortal
Post by: Drug Mile on May 17, 2021, 09:02:36 AM
I have small issue with responsiveness of EZ Portal:

https://www.perforum.info/forum/index.php

Theme is Curve, responsive mod ON and working good. EZ portal updated. With screen width below 640 px it is nice, and also above 1500 px. With screen width 640-1500, Column 1 and Column 3 are resized, but it's content is not, so text overlaps text from next column.

Am I missing some setting in CSS?
Title: Re: ezPortal
Post by: vbgamer45 on May 17, 2021, 10:32:42 AM
Try this then do a hard refresh/clear cache

Copy this to themes/default/css
Title: Re: ezPortal
Post by: vbgamer45 on May 17, 2021, 03:07:29 PM
Update

5.1
+You can now override the css class used for the header and body of ezblocks.
Changes the h3 and tr tags.
The h3 tag you could catbg centertext which allow you to center the title block
Title: Re: ezPortal
Post by: Drug Mile on May 17, 2021, 04:45:35 PM
Updated to 5.1. I didn't quite understand your advice, but in your file ezportal.css I changed
.ezTable {
display: table;
width: 100%;
table-layout: fixed;
position: relative;
}


with this
.ezTable {
display: table;
width: auto;
table-layout: fixed;
position: relative;
}


That gave me much better outfit and I am quite happy with that. This is good enough.
Title: Re: ezPortal
Post by: vbgamer45 on May 17, 2021, 05:16:22 PM
Hmm
I was hoping to see if this css added
white-space: normal;

Would have worked
Title: Re: ezPortal
Post by: Beowulf1976 on May 23, 2021, 06:11:50 AM
I installed ezportal and now my forum is completely broken, and I don't know how to "uninstall" it using cPanel file manager as I can no longer access admin or anything on the forum.


When installing it didn't give me any warnings of discrepancies in files, it installed like a dream, it decided to die when I tried to edit settings and set it up.


Is someone able to show me the files I need to edit and delete, or can someone come and help me fix it? :)

(EDIT: I cannot just roll back the version using backups as I haven't done one today and I've changed a lot since my initial backup :/ )





Title: Re: ezPortal
Post by: vbgamer45 on May 23, 2021, 10:21:55 AM
What type of section did you add if you remember?


To fix via ftp from you forum goto to packages/backups
Find beforezportal

Download that zip file. Extract the contents then upload the contents to your board via ftp. That will undo ezportal.

Other option would involve reversing edits that ezPortal made https://www.smfhacks.com/smf-package-parser.html which you can use if you upload ezportal zip file to




Title: Re: ezPortal
Post by: Beowulf1976 on May 23, 2021, 03:16:26 PM
I didn't get to add any, I was in the first page of the settings lol.


I don't think my issue is JUST ezportal, but it was ezportal that made it impossible to "undo" whatever I did when it died.


I'll try what you suggested and see how I get on :)
Title: Re: ezPortal
Post by: Beowulf1976 on May 23, 2021, 05:58:03 PM
Quote from: vbgamer45 on May 23, 2021, 10:21:55 AM
What type of section did you add if you remember?


To fix via ftp from you forum goto to packages/backups
Find beforezportal

Download that zip file. Extract the contents then upload the contents to your board via ftp. That will undo ezportal.

Other option would involve reversing edits that ezPortal made https://www.smfhacks.com/smf-package-parser.html which you can use if you upload ezportal zip file to






In short, it didn't fix it. I ensured that I selected to overwrite, I can see in file manager that the files are tonight's versions, but I'm no better off, still have no forum any more.
Title: Re: ezPortal
Post by: vbgamer45 on May 23, 2021, 06:55:10 PM
strange... smf 2.0?  if so would check with package paraer to make sure no edits left gor expirtal
Title: Re: ezPortal
Post by: Beowulf1976 on May 24, 2021, 08:30:47 AM
I did all the instructions in the parser to uninstall, I then restored the database from the day before, and I now have the forum back. I'm tempted to try again so I've made a backup now so I have an up to date back up to refer to should it break again.


Edit smf 2.0.18
Title: Re: ezPortal
Post by: Beowulf1976 on May 24, 2021, 08:37:31 AM

"
Sorry, that didn't work.
Please try again or come back later.
500 Error. Internal Server Error."


It installed with no errors, no files to edit, nothing, soon as I press save at the bottom, I get the text above.

I installed all as according to instructions, and all broke some aspect of my forum (tried trouble shooting by removing all but your mods and still broken. )

Edited to remove some unnecessary parts as requested by author. -Lex
Title: Re: ezPortal
Post by: vbgamer45 on May 24, 2021, 09:04:43 AM
What do you mean by hit "save" on what page?? I haven't seen that happen.. If all mods are breaking your forum there is something wrong with your setup as I have had tens of thousands of installs without that reported issue and other people would be reporting it as well.  I just retested the latest release on a clean forum and had no issues.
Title: Re: ezPortal
Post by: Beowulf1976 on May 24, 2021, 09:36:22 AM
When it says it has installed I clicked on the redirect which gave me the first page of ezportal where I selected various options, then there was a save button right at the bottom, that's exactly when it writes my forum off.


The forum is brand new, it was installed by softaculous and I've been installing mods and setting it up.


Ezportal was the only one of your mods that was easy install, I know why they normally fail, it is because they find unexpected code where they need to write their bit, I know this is due to other mods adding code at that point. I'm aware that making the manual changes to the files makes them all play nicely. (I'm obviously aware you know this, I'm showing I know this)



Title: Re: ezPortal
Post by: vbgamer45 on May 24, 2021, 09:48:44 AM
I would need to know what page you were on? I tried the save settings page and adding a block. Both worked fine on my test forum.  Like what pages worked and what was the page that it failed along with the options selected.
I would check your apache error log and forum error log.
Title: Re: ezPortal
Post by: Beowulf1976 on May 24, 2021, 09:56:13 AM
I uninstalled a LOT of mods to ensure they were not causing problems, and then tried ezportal again, and it did the same thing.


So either you have an incompatibility with one of my remaining mods, that seems to do nothing the same as your mod, (can't tell you other mods installed as I can't access admin or anything any longer)  or my original install is a balls up.


As I've barely done anything towards it, I'll wipe the entire forum off the server, and start again.


I can't tell you what page it was or what I checked etc, because my severe long term and short term memory loss has already wiped the page from my mind. I remember it saying it installed, then I chose to redirect, so whatever it redirects to, then I checked boxes, no idea which ones. That's as far as I can tell you.


I'll create a brand new install and only add ezportal, if it does it AGAIN then I know your mod doesn't like my softaculous install, or it doesn't like my server/host :)
Title: Re: ezPortal
Post by: Beowulf1976 on May 24, 2021, 09:57:32 AM
Quote from: vbgamer45 on May 24, 2021, 09:48:44 AM
forum error log.

Do you mean the forum error log that I can't access because it totally broke my entire install? I'd love to know how I'm meant to magick my way around that one.
Title: Re: ezPortal
Post by: vbgamer45 on May 24, 2021, 10:02:12 AM
Database smf_log_errors you can access the table. What is odd that you can only get the format back if you restore the database instead of just removing the files.
Title: Re: ezPortal
Post by: Beowulf1976 on May 24, 2021, 10:41:33 AM
So I totally erased public_html after removing the forum via softaculous, I have now done a fresh forum install and will try ezportal again as the only mod installed. I will screenshot the page that I previously pressed save on, before pressing save so I have exact details in case it somehow borks again.
Title: Re: ezPortal
Post by: Beowulf1976 on May 24, 2021, 11:06:12 AM
I have to hang my head in shame.


I did exactly what I did the three times I tried and it borked, only this time it worked, so there MUST have been an issue with another mod, I can try and look at my smf mods downloads on my iPad to see which were installed when it was breaking?


Although I fear it was more likely another mod that was breaking it due to some kind of incompatibility.


I did what I hate people doing, I jumped to conclusions. Made totally wrong assumptions. I am truly sorry for my crappy behaviour. I am ashamed.


I will redact the crappy comments from that reply but state in that reply why I redacted.


Thanks for not ripping me to pieces when I sat there being the female dog from hell.


I am adding the screenshot of the page I was talking about, I have the same options selected again this time.


Edit, I can't redact what I said as the modify window timed out, nor can I delete it, I'm truly sorry, I'll report it to a moderator for removal






Title: Re: ezPortal
Post by: vbgamer45 on May 24, 2021, 11:22:00 AM
No worries, glad it was figured out. I would like to know which mod caused the issue. So we can see how it broke.
Title: Re: ezPortal
Post by: vbgamer45 on August 11, 2021, 09:13:53 PM
Minor update
5.1.1
!Fixed edit block custom css class name display for SMF 2.1
+Updated copyright links to link to https://
Title: Re: ezPortal
Post by: Johnny Thunder on August 13, 2021, 02:20:28 AM
Good morning everyone. I am after a little help if possible.
I have installed EzPortal and I think I am getting to grips with it.
Our forum has a background image. Is there a way for me to add a solid coloured background
to the blocks so that the text can be seen?

Thank you.
Title: Re: ezPortal
Post by: vbgamer45 on August 13, 2021, 07:30:17 AM
I would do a custom css class and add it to your to the index.css
Then assign it to the block style using the custom css class feature on the block.
Title: Re: ezPortal
Post by: Johnny Thunder on August 13, 2021, 09:04:20 AM
That sounds absolutely fantastic vbgamer.
Unfortunately, I haven't got the slightest idea what that is.
Is this something I could work out from a tutorial or is it beyond a total novice
trying to pick up a few things?

Thank you for your reply.
Title: Re: ezPortal
Post by: vbgamer45 on August 13, 2021, 09:57:21 AM
hmm in that case try using some of the built in smf classes and see if they help
they include

catbg
windowbg
windowbg2
Title: Re: ezPortal
Post by: Shades. on August 17, 2021, 04:10:05 PM
I tried to install this mod in 2.1RC4 through package manager and immediately was sent to a 500 internal error page. I couldn't do anything, even tried reinstalling to forum and starting over but kept getting the 500. (I should've checked the .htaccess but I wasn't thinking) But I turned it in to hosting support and they told me it was in the .htaccess and I went and removed:

QuoteezPortal MOD Starts
RewriteEngine on
RewriteBase /
RewriteRule ^pages/([-_!~*()$a-zA-Z0-9]+)-([0-9]*)?$ ./index.php?action=ezportal;sa=page;p=$2 [L,QSA]
# ezPortal MOD ENDS

and wallah everything works again! How to fix this so I can try ezportal again? 8)
Title: Re: ezPortal
Post by: vbgamer45 on August 17, 2021, 04:17:08 PM
The rewrite rules are not required for ezportal only if you are doing pretty url pages.

Can you post what the .htaccess that was corrupted
Title: Re: ezPortal
Post by: Shades. on August 17, 2021, 04:44:14 PM
This didn't work and was what I had after the install of ezportal
Quote# php -- BEGIN cPanel-generated handler, do not edit
# Set the "ea-php73" package as the default "PHP" programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://somesite.com/$1 [R=301,L]
RewriteOptions inherit
RewriteEngine on

Header set content-Security-Policy: upgrade-insecure-requests# ezPortal MOD Starts
RewriteEngine on
RewriteBase /
RewriteRule ^pages/([-_!~*()$a-zA-Z0-9]+)-([0-9]*)?$ ./index.php?action=ezportal;sa=page;p=$2 [L,QSA]
# ezPortal MOD ENDS

This is the original before install and works
Quote# php -- BEGIN cPanel-generated handler, do not edit
# Set the "ea-php73" package as the default "PHP" programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://somesite.com/$1 [R=301,L]
RewriteOptions inherit
RewriteEngine on

Header set content-Security-Policy: upgrade-insecure-requests
Title: Re: ezPortal
Post by: vbgamer45 on August 17, 2021, 05:11:19 PM
# ezPortal MOD Starts

Should be on it's own line.
Title: Re: ezPortal
Post by: Shades. on August 17, 2021, 05:26:19 PM
Quote from: vbgamer45 on August 17, 2021, 05:11:19 PM# ezPortal MOD Starts

Should be on it's own line.
Ikr but thats the way it installed js ;)
Title: Re: ezPortal
Post by: vbgamer45 on August 17, 2021, 05:27:26 PM
Yeah let me know if that helps if not could be something else maybe duplicate rewrite code causing issues.
Title: Re: ezPortal
Post by: Shades. on August 19, 2021, 07:45:14 PM
Just a request...

How about an option for random products for the store block? It currently have "recent, viewed, mostcomments & toprated" but no random! ;)

Thanks 8)
Title: Re: ezPortal
Post by: vbgamer45 on August 19, 2021, 07:53:36 PM
Yep that would be a good request as well.
Title: Re: ezPortal
Post by: Shades. on August 21, 2021, 11:29:01 AM
Why does the Html block shrink my html?
Title: Re: ezPortal
Post by: vbgamer45 on August 21, 2021, 11:34:15 AM
Can you provide a link?
Title: Re: ezPortal
Post by: Shades. on August 21, 2021, 12:18:43 PM
Quote from: vbgamer45 on August 21, 2021, 11:34:15 AMCan you provide a link?
https://shadesweb.com right column
Title: Re: ezPortal
Post by: vbgamer45 on August 21, 2021, 12:22:54 PM
It's the css doing it from SMF
padding: 0 .4em;
height: 2em;


I think the class needs to be overridden. Or if possible just change from a form to a paypal link with an image?
Title: Re: ezPortal
Post by: Shades. on August 21, 2021, 12:47:38 PM
Was just wondering cause I didn't have any problems with the code on my other site which is using simpleportal at https://bikerhound.com middle right & bottom left blocks. ;)

But I went ahead and changed the form to a image & link as suggested and it shows fine thanks! 8)
Title: Re: ezPortal
Post by: vbgamer45 on August 21, 2021, 01:00:34 PM
It's a SMF 2.1 issue since the css for inputs is controlled by it.
Title: Re: ezPortal
Post by: Shades. on August 21, 2021, 01:51:30 PM
Quote from: vbgamer45 on August 21, 2021, 01:00:34 PMIt's a SMF 2.1 issue since the css for inputs is controlled by it.
Oh ok thanks! ;)  8)
Title: Re: ezPortal
Post by: mickjav on August 21, 2021, 01:55:15 PM
Just posted https://www.simplemachines.org/community/index.php?topic=578599.0 would this be a feature you might think worth adding, I'm using 2,0.18 At present.

thanks mick
Title: Re: ezPortal
Post by: vbgamer45 on August 21, 2021, 08:13:00 PM
I can maybe do a separate permission for managing pages but it would be at the membergroup level
Title: Re: ezPortal
Post by: mickjav on August 22, 2021, 03:29:38 AM
Cool I could work with that thanks.
Title: Re: ezPortal
Post by: vbgamer45 on August 22, 2021, 01:21:08 PM
Update
5.1.2
!Add random parameter for SMF Store ezBlock
!Add extra new line for .htaccess append
Title: Re: ezPortal
Post by: Shades. on August 28, 2021, 11:30:13 PM
Having trouble with the portal login block I think...
https://www.simplemachines.org/community/index.php?topic=578691.0
Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 09:51:48 AM
What settings and permissions do you have the login block?

I was able to login and logout via the portal block and the normal forum way.
Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 10:15:31 AM
Update
5.1.3
!Fixed undefined wireless error on 2.1
!Added more actions/subactions to the not load SetupezPortal function for 2.1
Title: Re: ezPortal
Post by: Shades. on August 29, 2021, 10:30:25 AM
Quote from: vbgamer45 on August 29, 2021, 09:51:48 AMWhat settings and permissions do you have the login block?

I was able to login and logout via the portal block and the normal forum way.
I am using default settings and permissions are set for

Guests
Regular Members
Administrator
Global Moderator

Everything is set default, I only changed the position of the block
Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 10:33:59 AM
Can you try the latest update and see if it makes a difference.
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 01:43:30 PM
Hi I posted about a problem I've been having with the center blocks on my board/topic pages.

I'll post the main points so you don't have to read the whole 6 pages lol

My original question
https://www.simplemachines.org/community/index.php?msg=4095704
QuoteI don't know if this is a EZ Problem or not, I have tried changing the settings but I have not been able to find where the problem is.

I am using 2.0.18

The only thing I can think is, I did something when updating the CSS for the banner centring.

I don't think that could have caused it but still trying to understand CSS I would have thought it would be in one of the templates but again just learning PHP.

What I want is the image of Toyah we'll not that one lol to be able to show above the Topics list and then above the topic/replies.

https://www.databasedreams.co.uk/charts/toyah-wilcox/

Does anybody have any ideas I can try thanks mick

https://www.simplemachines.org/community/index.php?msg=4095743
https://www.simplemachines.org/community/index.php?msg=4095766
https://www.simplemachines.org/community/index.php?msg=4095797
https://www.simplemachines.org/community/index.php?msg=4095810

Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 02:04:01 PM
So center blocks are not appearing on topics and board placements in SMF 2.0.x? But works in 2.1?
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 02:15:44 PM
Yes I can post a link to my 2.1 test forum
Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 03:34:35 PM
@mickjav

Is your center column active?
Under Admin -> ezPortal -> Ezblock manager

There should be a link called "edit column" near the column name and should say enabled if not click the edit column link
Center - Edit Edit Column - Enabled
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 03:50:35 PM
Yes it should show here
https://www.databasedreams.co.uk/charts/toyah-wilcox/
Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 03:53:08 PM
Can you take a screenshot of your center column settings page.
And your ezblock listing page of all your ezblocks.


I tested on my testboard and was able to add a center block on just a board page.
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 04:46:14 PM
These are what I uploaded last night




Above Have Not Changed

Below is the center blooks as you'll see only one disables all except toyah are set dor the portal homepage which works.
You cannot view this attachment.

thanks mick

Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 04:52:25 PM
Can you click on the Edit Column for the center and take a screenshot of that.
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 04:58:33 PM
Didn't know that was there lol

Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 05:00:42 PM
And last screenshot of the visible options on the edit column section.
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 05:10:29 PM
Think I have it working now

https://www.databasedreams.co.uk/charts/toyah-wilcox/

Thank you and all who helped

so from now on I'll have to also set the center plus the block as will be adding others.



Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 05:13:28 PM
Great. What did you do to fix it?
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 05:16:59 PM
Clicked the toyah willcox board its set on the actual block but seems to also have to be set on the main block section so when I add the next artist I'll follow that procedure.

Thanks mick
Title: Re: ezPortal
Post by: mickjav on August 29, 2021, 05:21:11 PM
It on both the topics list and post page which 2.1 rc4 doesn't show on post page but will look at setting
Title: Re: ezPortal
Post by: Shades. on August 29, 2021, 05:42:14 PM
Quote from: vbgamer45 on August 29, 2021, 10:33:59 AMCan you try the latest update and see if it makes a difference.
Update seems to have fixed my issue thanks!
Title: Re: ezPortal
Post by: vbgamer45 on August 29, 2021, 06:11:51 PM
Good to know!
Title: Re: ezPortal
Post by: mickjav on October 02, 2021, 09:18:07 AM
Version: 2.1 RC4
browser: chrome

Started adding Pages but the Show/Hide TinyMCE Editor doesn't seem to work

Also then working with Blocks The Disable TinyMCE when adding/editing html ezBlock Doesn't seem to work As have ticked it but nothing is chenged when viewing blocks.

Also the width of the pages editor is set too wide please see image

You cannot view this attachment.
Title: Re: ezPortal
Post by: vbgamer45 on October 02, 2021, 10:20:54 PM
Update!

5.1.4
+Enable/disable block now added on Add/Edit ezBlock For SMF 2.0,2.1
!Fixed enable/disable TinyMCE on Add/Edit Page  SMF 2.1
!Improve the width on the add/edit page and add/edit block on SMF 2.1
+New icon in the admin center menus for SMF 2.1


@mickjav this update should fix your issues.

Title: Re: ezPortal
Post by: mickjav on October 02, 2021, 10:26:55 PM
Quote from: vbgamer45 on October 02, 2021, 10:20:54 PMUpdate!

5.1.4
+Enable/disable block now added on Add/Edit ezBlock For SMF 2.0,2.1
!Fixed enable/disable TinyMCE on Add/Edit Page  SMF 2.1
!Improve the width on the add/edit page and add/edit block on SMF 2.1
+New icon in the admin center menus for SMF 2.1


@mickjav this update should fix your issues.



Thanks I'll download now
Title: Re: ezPortal
Post by: mickjav on October 02, 2021, 10:35:43 PM
Works a treat thanks
Title: Re: ezPortal
Post by: vbgamer45 on October 04, 2021, 01:09:30 PM
Critical update if you had installed 5.1.4! for SMF 2.0.x and SMF 1.1.x

5.1.5
!Hotfix for adding/editing html blocks if you had installed 5.1.4! for SMF 2.0.x and SMF 1.1.x
Title: Re: ezPortal
Post by: vbgamer45 on October 09, 2021, 12:09:56 AM
Hotfix
5.1.5a
!Hotfix for adding/editing pages if you had installed 5.1.4/5.15! for SMF 2.0.x and SMF 1.1.x
Title: Re: ezPortal
Post by: vbgamer45 on October 18, 2021, 02:38:15 PM
Update

5.2
!Fixes to responsive layout for blocks for SMF 2.0
!Minor optimizations
Title: Re: ezPortal
Post by: vbgamer45 on October 30, 2021, 03:34:32 PM
Update!

5.3
+New sticky column setting. You can now make a column sticky for SMF 2.1.x and SMF 2.0.x
To do this go to ezBlock Manager then click on the "Edit Column" link next to the column name to change the setting.
A sticky column means it will stay at the top of the page even if you scroll down on a page with a lot of content.
Useful to keep a sidebar always visible and easy to access.
!Fixed unclosed classname SMF 2.0.x on block display
!Fixed admin area column collapsed checked html
Title: Re: ezPortal
Post by: mickjav on November 22, 2021, 08:20:43 AM
I have a block set to display center on my forum which contains a Amazon ad.

I have been trying to add a image link to left but only displaying the image link when the /albums-database/ board is displayed.

I found this and tried to adapt it but still a bit above my level.

<?php
// PHP program to find certain substring in an URL
  
// Given URL
$url 'https://www.geeksforgeeks.org/gfg/index';
  
// Search substring 
$key 'gfg';
  
if (
strpos($url$key) == false) {
    echo 
$key ' not exists in the URL <br>';
}
else {
    echo 
$key ' exists in the URL <br>';
}

?>

Mick
Title: Re: ezPortal
Post by: mickjav on November 22, 2021, 08:36:37 AM
Also tried

<div>  <script type="text/javascript">
        $(document).ready(function () {
            if(window.location.href.indexOf("albums-database") > -1)
            {
                 <p>your url contains the name franky</p>
            }
        });
    </script></div>
Title: Re: ezPortal
Post by: vbgamer45 on November 22, 2021, 02:16:17 PM
Javascript could work if you have jquery already setup on the site.

PHP side is easier for me to code though.
Title: Re: ezPortal
Post by: mickjav on November 22, 2021, 02:54:46 PM
Personally I would prefer PHP As that's what I'm trying to learn or want to lol

Does PHP Work in a block??

thanks mick
Title: Re: ezPortal
Post by: vbgamer45 on November 22, 2021, 05:00:04 PM
Yes PHP works in a  block
$_SERVER['REQUEST_URI']  contains the url
Title: Re: ezPortal
Post by: mickjav on November 22, 2021, 05:12:25 PM
COOL tHANKS
Title: Re: ezPortal
Post by: mickjav on November 22, 2021, 05:35:19 PM
Done this

<div>
<?php
$url 
$_SERVER['REQUEST_URI'];
  
// Search substring 
$key 'albums-database';
  
if (
strpos($url$key) == false) {
    echo 
$key ' not exists in the URL <br>';
}
else {
    echo 
$key ' exists in the URL <br>';
}
?>

</div>

But getting this error

'; } else { echo $key . ' exists in the URL
'; } ?>
Title: Re: ezPortal
Post by: vbgamer45 on November 22, 2021, 07:18:41 PM
Try this without the php tags

$url = $_SERVER['REQUEST_URI'];
 echo '<div>';
// Search substring
$key = 'albums-database';
 
if (strpos($url, $key) == false) {
    echo $key . ' not exists in the URL <br>';
}
else {
    echo $key . ' exists in the URL <br>';
}
echo '</div>';


Title: Re: ezPortal
Post by: mickjav on November 23, 2021, 01:17:26 AM
Sorry didn't work see attached image, I have checked the available blocks with only the HTML Being useable for code entry
Title: Re: ezPortal
Post by: vbgamer45 on November 23, 2021, 01:21:20 AM
Did you check the php code option for the block itself?
Title: Re: ezPortal
Post by: mickjav on November 23, 2021, 01:42:53 AM
Can't see a option for that have checked my 2.0.18 which is were I'm working at moment and my support forum which if 2.1 RCA, Goth have same options.

In the installed blokes list there is a column for options which seems unused on both my installs

I'm of to work now will pick this up in 9hrs thanks

Title: Re: ezPortal
Post by: vbgamer45 on November 23, 2021, 07:23:35 AM
Oops you have to use a PHP ezBlock if you are adding PHP code
Title: Re: ezPortal
Post by: mickjav on November 23, 2021, 10:19:01 AM
I havent got one in my list is it a mod I need to add thanks
Title: Re: ezPortal
Post by: vbgamer45 on November 23, 2021, 11:00:31 AM
Block should be there now I had to add it since on createaforum I had that disabled.
Title: Re: ezPortal
Post by: mickjav on November 23, 2021, 12:48:02 PM
Thanks Your A star As Always.
Title: Re: ezPortal
Post by: mickjav on November 23, 2021, 01:33:09 PM
As A Bonus I have been able to get my artists banners attached to there galleries It's only A Temp fix until I get more confident with PHP/MYSQL

Miley Cyrus (https://www.databasedreams.co.uk/charts/index.php?action=gallery;cat=21)

Plus the toyah banner at present there are only 3 artists so can get away with it.
Title: Re: ezPortal
Post by: Shades. on December 11, 2021, 08:28:06 PM
How do I get rid of the collapse arrows on top left of portal? I have unchecked "User can collapse this ezBlock" on all block but the two arrows up top are still there! I have it installed on another site and no arrows so I'm sure I missed something somewhere lol! :o

(Tried to upload an attachment image but got errors) (https://www.simplemachines.org/community/index.php?topic=578848.msg4104588#msg4104588)
Title: Re: ezPortal
Post by: vbgamer45 on December 11, 2021, 08:31:05 PM
You have to also click the option under each column
Click on the edit column link in the block section.
Title: Re: ezPortal
Post by: Shades. on December 11, 2021, 08:36:42 PM
Thanks! Been a while since I messed with the settings and totally forgot about that! 8)
Title: Re: ezPortal
Post by: Shades. on December 14, 2021, 03:48:38 PM
Went in to edit blocks to uncheck the collapsible check box and got these errors in admin but everything seems to be working:

QuoteError
Type of error
General
Error message
2: implode(): Invalid arguments passed
File
/home2/*****/public_html/*****/Sources/EzPortal2.php
Line
1002
URL of page causing the error
https://*****.com/index.php?action=ezportal;sa=editblock2

Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: implode()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 1002
#2: EzPortalEditBlock2()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 123
#3: EzPortalMain()
Called from /home2/*****/public_html/*****/index.php on line 187

QuoteError
Type of error
Undefined_vars
Error message
8: Undefined offset: 11
File
/home2/*****/public_html/*****/Sources/EzPortal2.php
Line
1002
URL of page causing the error
https://*****.com/index.php?action=ezportal;sa=editblock2

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 1002
#1: EzPortalEditBlock2()
Called from /home2/*****/public_html/*****/Sources/EzPortal2.php on line 123
#2: EzPortalMain()
Called from /home2/*****/public_html/*****/index.php on line 187
Title: Re: ezPortal
Post by: vbgamer45 on December 14, 2021, 05:26:24 PM
Will take a look and see what I can figure out.
Title: Re: ezPortal
Post by: vbgamer45 on December 14, 2021, 07:57:52 PM
Think fixed for next update. Looks like just an issue with some blocks for multiselect boards if nothing is set yet.
Title: Re: ezPortal
Post by: mickjav on December 31, 2021, 05:48:38 AM
Hi Just Updated a couple of blocks these being the Galleries and Links headers but wondering if a need all the global items as below just for getting the $Cat

Gallery
global $txt, $smcFunc, $scripturl, $modSettings, $subcats_linktree, $user_info, $context, $gallerySettings;

if (isset($_REQUEST['cat']))
{
$cat = (int) $_REQUEST['cat'];
}

Links
global $context, $mbname, $txt, $smcFunc, $scripturl, $modSettings;

if (isset($_REQUEST['cat']))
{
$cat = (int) $_REQUEST['cat'];
}
Title: Re: ezPortal
Post by: Arantor on December 31, 2021, 08:19:52 AM
$_REQUEST is automatically global everywhere, no need to add it to anything.
Title: Re: ezPortal
Post by: mickjav on December 31, 2021, 08:26:58 AM
Quote from: Arantor on December 31, 2021, 08:19:52 AM$_REQUEST is automatically global everywhere, no need to add it to anything.

Sorry I meant this part as not sure what I can and can't remove

global $context, $mbname, $txt, $smcFunc, $scripturl, $modSettings;
Title: Re: ezPortal
Post by: mickjav on December 31, 2021, 12:44:48 PM
Sorted Decided to delete the global line seems to work without it
Title: Re: ezPortal
Post by: Arantor on December 31, 2021, 01:45:34 PM
Well, it doesn't hurt to leave it in, but if the rest of the function needs those things, you'll need that line. Each item in the list is 'I need this for my block'... if you don't need it, you can skip including it.
Title: Re: ezPortal
Post by: mickjav on December 31, 2021, 01:57:51 PM
Its only a if else statement doesn't use anything else to do its job.

https://www.databasedreams.co.uk/charts/index.php?action=gallery;cat=21


https://www.databasedreams.co.uk/charts/index.php?action=links;cat=8

As I learn more ill keep improving the headers
Title: Re: ezPortal
Post by: Shades. on January 20, 2022, 11:21:24 PM
In the Update Visible Options the Top column block doesnt work when checking the calendar box but when I put a check on "All Actions and Boards" it works everywhere even the calendar but it won't work if I check calendar only. :(
Title: Re: ezPortal
Post by: vbgamer45 on January 22, 2022, 08:28:16 AM
Quote from: Shades. on January 20, 2022, 11:21:24 PMIn the Update Visible Options the Top column block doesnt work when checking the calendar box but when I put a check on "All Actions and Boards" it works everywhere even the calendar but it won't work if I check calendar only. :(
Fixed for next update had a typo.
Title: Re: ezPortal
Post by: vbgamer45 on January 22, 2022, 11:49:21 AM
Update
5.4
Note: focusing on SMF 2.0,2.1 going forward
+Poll ezBlock now has the option to show a random poll, in addition to showing just a specific poll.
+Added file exist check for Arcade block to make sure it is installed. before showing the block
!Fixed bug with visible action calendar had a typo should work correctly now.
Title: Re: ezPortal
Post by: Shades. on January 22, 2022, 09:16:03 PM
Hey thanks for the update! 8)

Only problem is it calls for /images/poll_middle.gif and I can't find a poll_middle.gif anywhere in the zip! ???  O:)
Title: Re: ezPortal
Post by: vbgamer45 on January 22, 2022, 09:54:20 PM
Is that on 2.1? or 2.0?
Title: Re: ezPortal
Post by: Shades. on January 22, 2022, 10:07:59 PM
Quote from: vbgamer45 on January 22, 2022, 09:54:20 PMIs that on 2.1? or 2.0?
Oh sorry 2.1RC4
Title: Re: ezPortal
Post by: vbgamer45 on February 01, 2022, 08:46:43 AM
Update
5.4.1
!Fixes for Poll block For SMF 2.1
!Fixes for Calendar block for SMF 2.1
Title: Re: ezPortal
Post by: Shades. on February 01, 2022, 11:27:05 AM
Tried to download but it says "Couldn't download - network issues". I thought it was my internet at first but was able to download other mods and went back to download this and I keep getting same message! :o
Title: Re: ezPortal
Post by: vbgamer45 on February 01, 2022, 11:31:31 AM
Getting same error. Download from ezportal.com for now.
Title: Re: ezPortal
Post by: Doug Heffernan on February 01, 2022, 11:34:59 AM
The download issue appears to have been fixed now.
Title: Re: ezPortal
Post by: Shades. on February 01, 2022, 11:49:05 AM
Quote from: vbgamer45 on February 01, 2022, 11:31:31 AMGetting same error. Download from ezportal.com for now.
Thanks!
Quote from: Doug Heffernan on February 01, 2022, 11:34:59 AMThe download issue appears to have been fixed now.
Not for me anyways...still getting same error! ???
Title: Re: ezPortal
Post by: Shades. on February 01, 2022, 07:50:39 PM
Download is working now! ;)
Title: Re: ezPortal
Post by: gevv on February 12, 2022, 08:04:55 AM
Hi,

RSS block not pulling RSS from wordpress sites

https://site.com/feed  or  https://site.com/rss   URL does not work


RSS can be pulled from SMF sites  https://site.com/index.php?action=.xml
Title: Re: ezPortal
Post by: vbgamer45 on February 12, 2022, 08:34:26 AM
Can you provide an example wordpress site rss url?
Title: Re: ezPortal
Post by: gevv on February 12, 2022, 08:54:55 AM
Quote from: vbgamer45 on February 12, 2022, 08:34:26 AMCan you provide an example wordpress site rss url?

https://aykutulusan.com/feed
Title: Re: ezPortal
Post by: mickjav on February 18, 2022, 09:41:06 AM
Block widths.

I've just installed a test forum before I undate My 2.0.19 to 2,1.1 And noticed the block widths no longer seem to be set to say 15%

I have checked this on different themes

This is OK

You cannot view this attachment.

When only one side is selected  the left blocks grow

You cannot view this attachment.

Is it posible to have a fixed width for the blocks like in 2.0.18-19

Title: Re: ezPortal
Post by: vbgamer45 on February 18, 2022, 07:09:57 PM
Have to double check to see if that possible. It might be fully responsive though so set height/widths may no longer be supported in 2.1
Title: Re: ezPortal
Post by: vbgamer45 on March 07, 2022, 06:10:33 PM
Update
5.4.2
!Fixes links in parsebbc block in SMF 2.1
Title: Re: ezPortal
Post by: vbgamer45 on March 29, 2022, 05:48:59 PM
Update!
5.5
+Added BBC pages now as option in addition to normal pages
+Added random type to downloads block
!Fixed missing meta tags option for SMF 2.1 for pages
Title: Re: ezPortal
Post by: mickjav on May 08, 2022, 05:14:17 PM
Hi Just been told that a bug with EZ portal is effecting my default Theme please see

Topic: https://www.simplemachines.org/community/index.php?topic=582187.0

Last Message: https://www.simplemachines.org/community/index.php?msg=4123913
Title: Re: ezPortal
Post by: vbgamer45 on May 08, 2022, 06:03:16 PM
That's not something I know how to fix as I didn't do the css for the mod itself. I am more of tables person than css. Would need to find someone to help
Title: Re: ezPortal
Post by: live627 on May 08, 2022, 10:10:19 PM
min-width: 0 on the column
Title: Re: ezPortal
Post by: vbgamer45 on May 10, 2022, 12:04:22 AM
@mickjav try this file copy to themes/default css folder might require cache refresh in the browser
added min-width to all columns so hope it helps
Title: Re: ezPortal
Post by: mickjav on May 10, 2022, 12:37:25 PM
Worked A Treat Thanks
Title: Re: ezPortal
Post by: vbgamer45 on May 10, 2022, 07:49:04 PM
Awesome added the fix to main release thanks to live627
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 01:16:50 PM
Wanted to learn php so thought I would Start With Something simple and work from there, It didn't go as planned  :o  :o

I wanted a php block to show the Latest galleries added for a specific id_parent

2 have 2 HTML blocks below the guest welcome here, Latest Artists Galleries Block (https://www.databasedreams.co.uk/charts/index.php)
global $txt, $smcFunc, $scripturl

//Get the latest 4 Galleries
$dbquery = $smcFunc['db_query']('', '
        SELECT c.id_cat, c.image
    FROM ******_gallery_cat AS c
    WHERE c.id_parent = 35
        ORDER BY c.id_cat ASC
        LIMIT 4');

echo '<table border="0" Width="100%">
<tbody>
<tr>';

while($row = $smcFunc['db_fetch_assoc']($dbresult))
        {
         //Get Each Row
$cat_url = $scripturl . '?action=gallery;cat=' . $row['id_cat'];
echo  '<td style="text-align: center;"><a href="' . $cat_url . '"><img src="' . $row['image'] . '" alt="" /></a></td>'
        }

echo '</tr>
</tbody>
</table>'

Error I'm getting
Parse error: syntax error, unexpected '$dbquery' (T_VARIABLE), expecting ';' or ',' in /home/*****/public_html/charts/Sources/EzPortal2.php(2858) : eval()'d code on line 4

Fatal error: Exception thrown without a stack frame in Unknown on line 0

Thanks in advance for any help

All the best mick
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 01:19:43 PM
Just noticed I missed the last ; from the end Plus on the end of the picture link
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 01:29:41 PM
Found I had used multple lines incorrectly so updated.
global $txt, $smcFunc, $scripturl

//Get the latest 4 Galleries
$dbquery = $smcFunc['db_query']('', '
        SELECT c.id_cat, c.image
    FROM databasedreams_gallery_cat AS c
    WHERE c.id_parent = 35
        ORDER BY c.id_cat ASC
        LIMIT 4');

echo '<table border="0" Width="100%"><tbody><tr>';

while($row = $smcFunc['db_fetch_assoc']($dbresult))
        {
         //Get Each Row
$cat_url = $scripturl . '?action=gallery;cat=' . $row['id_cat'];
echo  '<td style="text-align: center;"><a href="' . $cat_url . '"><img src="' . $row['image'] . '" alt="" /></a></td>';
        }

echo '</tr></tbody></table>';
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 01:46:36 PM
Great job. I like to use a PHP IDE when writing code my preferred one is PHP Storm
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 02:01:38 PM
Quote from: vbgamer45 on June 12, 2022, 01:46:36 PMGreat job. I like to use a PHP IDE when writing code my preferred one is PHP Storm

This is what The php block diplays I have it set to admin.

You cannot view this attachment.

Plus still getting error

Parse error: syntax error, unexpected '$dbquery' (T_VARIABLE), expecting ';' or ',' in /home/*****/public_html/charts/Sources/EzPortal2.php(2858) : eval()'d code on line 4

Fatal error: Exception thrown without a stack frame in Unknown on line 0


Title: Re: ezPortal
Post by: Arantor on June 12, 2022, 02:03:19 PM
Your code is missing a ; on the end of the first line.
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 02:09:45 PM
Thanks @Arantor That gets the Block to display without errors just wont display anything

PHP BLOCK Latest

You cannot view this attachment.

Updated code
global $txt, $smcFunc, $scripturl;

//Get the latest 4 Galleries
$dbquery = $smcFunc['db_query']('', '
        SELECT c.id_cat, c.image, c.id_parent
    FROM *****_gallery_cat AS c
    WHERE c.id_parent = 35
        ORDER BY c.id_cat ASC
        LIMIT 4');

echo '<table border="0" Width="100%"><tbody><tr>';

while($row = $smcFunc['db_fetch_assoc']($dbresult))
        {
         //Get Each Row
$cat_url = $scripturl . '?action=gallery;cat=' . $row['id_cat'];
echo  '<td><a href="' . $cat_url . '"><img src="' . $row['image'] . '" alt="" /></a></td>';
        }

echo '</tr></tbody></table>';
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 02:34:50 PM
You are just displaying the filename with without the gallery url

do this
global $txt, $smcFunc, $scripturl, $modSettings, $boardurl;

if (empty($modSettings['gallery_url']))
$modSettings['gallery_url'] = $boardurl . '/gallery/';

//Get the latest 4 Galleries
$dbquery = $smcFunc['db_query']('', '
        SELECT c.id_cat, c.image, c.id_parent
    FROM *****_gallery_cat AS c
    WHERE c.id_parent = 35
        ORDER BY c.id_cat ASC
        LIMIT 4');

echo '<table border="0" Width="100%"><tbody><tr>';

while($row = $smcFunc['db_fetch_assoc']($dbresult))
        {
         //Get Each Row
$cat_url = $scripturl . '?action=gallery;cat=' . $row['id_cat'];
echo  '<td><a href="' . $cat_url . '"><img src="' . $modSettings['gallery_url']  . $row['image'] . '" alt="" /></a></td>';
        }

echo '</tr></tbody></table>';
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 03:10:33 PM
Thanks @vbgamer45 But Did check the Gallery_Cats table which the image Fields seems to store the full url I.E.

https://www.databasedreams.co.uk/images/Olivia_Rod...
Did Try The code but got same result Thanks for your help

mick
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 03:14:34 PM
My  mistake I thought we were trying to display picture. What page is that on?
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 03:18:27 PM
https://www.databasedreams.co.uk/charts/index.php

The Block is in between the "Latest Artists Analysis Block" And the block this php block is to replace "Latest Artists Galleries"
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 03:33:47 PM
Is the block visible with right permisisons.
Not seeing anything.
I would add an to see if anything is coming out of the block
echo 'test';
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 03:47:28 PM
You can use you "hostit" Account I'll update the perms if you remember the login details?

Also the echo displays
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 03:52:51 PM
This is what i see on the forum homepage.
It doesn't look like guests have permissions to view the block.
You cannot view this attachment.
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 03:54:48 PM
Updated Should be able to see it now
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 04:14:00 PM
So is the goal of the code to show latest 4 images from image galleries then under the category of 35?
I see id_parent call. The code you have right now. Just gets the icon of sub categories under id_cat of 35
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 04:33:36 PM
Yes the Images are all sized 140 High And the sub Gallery 35  holds all Artists Galleries (https://www.databasedreams.co.uk/charts/index.php?action=gallery;cat=35)

It should match the HTML Block "Latest Artists Galleries".

thanks mick
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 05:06:24 PM
I guess my next question does the built in ezPortal SMF Gallery Block not do what you need it to do? If we are just showing images?
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 05:17:32 PM
No The built in blocks only deal with pictures not the galleries themselves, Not sure what I've done  :(  :o  :)
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 05:20:34 PM
Can't it be done with these settings? Or do you need something more. There is a category id option


Still a little confused then. When you say galleries? What do you want to show? If not pictures from inside the gallery category?
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 05:22:30 PM
Not seen that one I'll look see if I can find it thanks
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 05:26:31 PM
These are the blocks I have plus the standard html

I'm on 5.1 2.0.19 Will upgrading sort it??

You cannot view this attachment.
Title: Re: ezPortal
Post by: vbgamer45 on June 12, 2022, 05:30:50 PM
It might if you never upgraded before strange might be an issue with the transfer from createaforum.
Title: Re: ezPortal
Post by: mickjav on June 12, 2022, 05:36:48 PM
Quote from: vbgamer45 on June 12, 2022, 05:30:50 PMIt might if you never upgraded before strange might be an issue with the transfer from createaforum.

I'll Upgrade to 5.5 After work tomorrow I do remember you having to add the php Block as was disabled on the createaforum

I'm using the latest version of gallery pro 9.0.1
Title: Re: ezPortal
Post by: mickjav on June 13, 2022, 01:17:08 AM
Just Checked the DB Blocks table against my test Sites Db there are a number missing from my db, Can I just copy missing rows from test db??

All the best mick
Title: Re: ezPortal
Post by: vbgamer45 on June 13, 2022, 08:22:03 AM
I would not since the id's from the tables would probably be off and cause other issues.
Title: Re: ezPortal
Post by: mickjav on June 13, 2022, 10:21:54 AM
OK do the IDs need to match any code elements as could export table with missing data and adjust ids???
Title: Re: ezPortal
Post by: mickjav on June 13, 2022, 01:37:33 PM
Got It working Final Code below.

global $txt, $smcFunc, $scripturl;

//Get the latest 4 Galleries
$dbquery = $smcFunc['db_query']('', '
    SELECT c.id_cat, c.image, c.id_parent
    FROM {db_prefix}gallery_cat AS c
    WHERE c.id_parent = 35
ORDER BY c.id_cat DESC
LIMIT 4');
 
if ($smcFunc['db_affected_rows']() != 0)
    {
echo '<table border="0" Width="100%"><tbody><tr>';

while($row = $smcFunc['db_fetch_assoc']($dbquery))
{
//Get Each Row
$cat_url = $scripturl . '?action=gallery;cat=' . $row['id_cat'];
echo  '<td  style="text-align: center;"><a href="' . $cat_url . '"><img src="' . $row['image'] . '" alt="" /></a></td>';

}

echo '</tr></tbody></table>';
}
$smcFunc['db_free_result']($dbquery);

To Say I was happy to get it working was putting it mildly  ;D  ;D  ;D

Because I had spliced it together from another mod I had built I made a simple mistake in that I have 2 $dbquery for query and another vartible for the loop lol, live and learn  :D
Title: Re: ezPortal
Post by: vbgamer45 on June 13, 2022, 01:44:19 PM
Glad you have it working. What you made here is not possible with an ezblock since it is just displaying the custom category icon for each gallery.
Title: Re: ezPortal
Post by: mickjav on June 14, 2022, 12:44:13 AM
I've now completed works on this block to where I need it for music & charts site should anybody wish to make use of this block
I've posted the code to my code library (https://www.databasedreams.co.uk/support/index.php?action=showcases;sa=view;id=55)

Moving on to next block  ;D
Title: Re: ezPortal
Post by: Shades. on June 14, 2022, 01:47:39 AM
Quote from: mickjav on June 14, 2022, 12:44:13 AMI've now completed works on this block to where I need it for music & charts site should anybody wish to make use of this block
I've posted the code to my code library (https://www.databasedreams.co.uk/support/index.php?action=showcases;sa=view;id=55)

Moving on to next block  ;D
Do ya have a screenshot? O:)
Title: Re: ezPortal
Post by: mickjav on June 14, 2022, 01:52:52 AM
There you go but am trying to edit the sql without much luck

I want to make sure there is a images

WHERE c.id_parent = 35 AND c.image <> ''
You cannot view this attachment.
Title: Re: ezPortal
Post by: mickjav on June 14, 2022, 01:58:00 PM
I've updated my latest galleries block so that is wont display categories without a image

https://www.databasedreams.co.uk/support/index.php?action=showcases;sa=view;id=55
Title: Re: ezPortal
Post by: mickjav on June 15, 2022, 04:46:33 PM
Just upgraded to 2.1 And loving the New blocks Latest Downloads, Random Pictures & Select Theme plus others

https://www.databasedreams.co.uk/charts/index.php

Got to say thanks to @Diego Andrés for upgrading.

I have a issue with the latest version of EZ Portal 5.5

All My blocks work on left, Middle but the right side wont display on the right but shows at bottom.

The paypal and blocks below should display on right
You cannot view this attachment.

The only time I could get the blocks to display on right was if I disabled all blocks on left

You cannot view this attachment.

I did think it was a problem with a block but after diableing them one at a time I could not correct it
Title: Re: ezPortal
Post by: vbgamer45 on June 15, 2022, 04:53:24 PM
I think it is due to too many images in random pictures block which pushes it down "Random Pictures" try less images across.
Title: Re: ezPortal
Post by: mickjav on June 15, 2022, 05:03:22 PM
Disabled that block but no luck, the problem is not limited to the portal but covers the whole forum for all pages it is set to display on.
Title: Re: ezPortal
Post by: vbgamer45 on June 15, 2022, 05:14:10 PM
Confirmed have to see what changed/happened.
Title: Re: ezPortal
Post by: Diego Andrés on June 15, 2022, 05:22:51 PM
I fixed it for @mickjav . Width on the right panel was 16%, I don't know if that's the default value in the portal settings.
Title: Re: ezPortal
Post by: vbgamer45 on June 15, 2022, 05:27:58 PM
Should be 15%

I fixed on my site using 68% for center column under ezblock manager column settings.
Title: Re: ezPortal
Post by: mickjav on June 15, 2022, 05:56:57 PM
Quote from: Diego Andrés on June 15, 2022, 05:22:51 PMI fixed it for @mickjav . Width on the right panel was 16%, I don't know if that's the default value in the portal settings.

Thanks @Diego Andrés @vbgamer45
Title: Re: ezPortal
Post by: mickjav on June 15, 2022, 06:12:53 PM
I Got the below block working with 2.0.19 But new to 2.1

Can anybody help me update it for 2.1

global $txt, $smcFunc, $scripturl, $user_info, $context;


// Load the language files
if (loadlanguage('Gallery') == false)
loadLanguage('Gallery','english');

require_once($sourcedir . '/Gallery2.php');

//Get the latest 4 Galleries
$dbquery = $smcFunc['db_query']('', '
    SELECT c.id_cat, c.image, c.id_parent, c.title, c.total
    FROM {db_prefix}gallery_cat AS c
    WHERE c.id_parent = 35 AND LENGTH(c.image) > 0
ORDER BY c.id_cat DESC
LIMIT 4');
 
if ($smcFunc['db_affected_rows']() != 0)
    {
echo '<table border="0" Width="100%"><tbody><tr>';

while($row = $smcFunc['db_fetch_assoc']($dbquery))
{
//Get Each Row
$cat_url = $scripturl . '?action=gallery;cat=' . $row['id_cat'];
$totalpics = GetPictureTotals($row['id_cat'], $row['total']);

echo  '<td  style="text-align: center;"><a href="' . $cat_url . '"><img title="' . $row['title'] . '" src="' . $row['image'] . '" alt="" /></a><br />';

echo '<span class="details"><strong><a href="' . $cat_url . '">' . parse_bbc($row['title']) . '</a></strong><br />';

// Show total pictures in the category
echo '<span class="totals">', $txt['gallery_text_totalimages'], ': ' . $totalpics . '</span></td>';


}

echo '</tr></tbody></table>';
}
$smcFunc['db_free_result']($dbquery);

Title: Re: ezPortal
Post by: vbgamer45 on June 15, 2022, 06:16:36 PM
Should work the same. Database queries didn't change
Title: Re: ezPortal
Post by: mickjav on June 15, 2022, 06:32:42 PM
I'm getting thes errors

Notice: Undefined variable: sourcedir in /home/*****/public_html/charts/Themes/default/EzPortal2.1.template.php(1914) : eval()'d code on line 8

Warning: require_once(/Gallery2.php): failed to open stream: No such file or directory in /home/*****/public_html/charts/Themes/default/EzPortal2.1.template.php(1914) : eval()'d code on line 8

Fatal error: require_once(): Failed opening required '/Gallery2.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/*****/public_html/charts/Themes/default/EzPortal2.1.template.php(1914) : eval()'d code on line 8
Title: Re: ezPortal
Post by: vbgamer45 on June 15, 2022, 06:36:05 PM
Just add $sourcedir to the global list in the top of the code block.
Title: Re: ezPortal
Post by: mickjav on June 15, 2022, 06:46:08 PM
Thanks that got it displaying the four categories but on each loop it displays

Trying to access array offset on value of type null in /home/******/public_html/charts/Sources/Gallery2.php on line 15191

But all the details seem correct

https://www.databasedreams.co.uk/charts/index.php
Title: Re: ezPortal
Post by: vbgamer45 on June 15, 2022, 06:50:17 PM
Try after
require_once($sourcedir . '/Gallery2.php');
Add
LoadGallerySettings();
Title: Re: ezPortal
Post by: mickjav on June 15, 2022, 06:55:58 PM
That got it thankyou
Title: Re: ezPortal
Post by: Shades. on June 16, 2022, 01:27:02 AM
Quote from: mickjav on June 15, 2022, 04:46:33 PMAll My blocks work on left, Middle but the right side wont display on the right but shows at bottom.

Had same problem when I first started using ezportal but fixed mine with 10% 65% 15% I think! Working good for me so far! 8)

Leave's 10% to play with somewhere, I know!  :o  :laugh:
Title: Re: ezPortal
Post by: mickjav on June 17, 2022, 08:57:35 AM
Not sure if it's EZ, SMF or me but just noticed after upgrading That my number lists or bullet lists no longer display numbers or bullets but seem to be in correct order??

My Block HTML (I've only added the bullet section added link below)

<ol>
<li>All forums where you can chat about any of the hundreds of Charts Analysis posted to date, Talk about albums (800+ to Date) or vote for Albums</li>
<li>post your own countries chart(s) or analysis, playlists or any other music/chart related information.</li>
<li>Add Artists Pictures or any other pictures to your own galleries.</li>
<li>Access our ever growing charts data files for importing Into Chart Tracker Elite 2525.</li>
<li>Add Albums To Your My Albums List.</li>
<li>You gain 1 Post of each image or download you add.</li>
<li>As your post count increases so will the amount you will be able to do.</li>
<li>If you would like to take part in adding your own chart analysis and have your place on the map below, Join us then contact Admin or a global moderator.</li>
<li>Should you wish a pre-release copy of <a href="https://www.databasedreams.co.uk/charts/index.php?action=ezportal;sa=page;p=37">Chart Tracker Elite 2525</a> then start posting your counties chart(s) analysis contact <a href="https://www.databasedreams.co.uk/charts/index.php?action=profile;u=1">Admin</a></li>
</ol>

https://www.databasedreams.co.uk/charts/index.php
Title: Re: ezPortal
Post by: vbgamer45 on June 17, 2022, 09:47:05 AM
It's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.
Title: Re: ezPortal
Post by: mickjav on June 17, 2022, 09:53:06 AM
Quote from: vbgamer45 on June 17, 2022, 09:47:05 AMIt's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.

@Shades.
Thanks
Title: Re: ezPortal
Post by: Shades. on June 17, 2022, 01:32:29 PM
Quote from: mickjav on June 17, 2022, 09:53:06 AM
Quote from: vbgamer45 on June 17, 2022, 09:47:05 AMIt's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.

@Shades.
Thanks

I don't think it's the theme! I tested in default and it does the same with HTML code. Have to use BBC. (see attachment)

[list type=decimal]
[li]All forums where you can chat about any of the hundreds of Charts Analysis posted to date, Talk about albums (800+ to Date) or vote for Albums[/li]
[li]post your own countries chart(s) or analysis, playlists or any other music/chart related information.[/li]
[li]Add Artists Pictures or any other pictures to your own galleries.[/li]
[li]Access our ever growing charts data files for importing Into Chart Tracker Elite 2525.[/li]
[li]Add Albums To Your My Albums List.[/li]
[li]You gain 1 Post of each image or download you add.[/li]
[li]As your post count increases so will the amount you will be able to do.[/li]
[li]If you would like to take part in adding your own chart analysis and have your place on the map below, Join us then contact Admin or a global moderator.[/li]
[li]Should you wish a pre-release copy of <a href="https://www.databasedreams.co.uk/charts/index.php?action=ezportal;sa=page;p=37">Chart Tracker Elite 2525</a> then start posting your counties chart(s) analysis contact <a href="https://www.databasedreams.co.uk/charts/index.php?action=profile;u=1">Admin</a>[/li]
[/list]


You cannot view this attachment.

I don't know anything about the blocks not working or how it would relate to a theme. Have you tried the block on a default theme?
Title: Re: ezPortal
Post by: mickjav on June 17, 2022, 05:07:07 PM
Quote from: Shades. on June 17, 2022, 01:32:29 PM
Quote from: mickjav on June 17, 2022, 09:53:06 AM
Quote from: vbgamer45 on June 17, 2022, 09:47:05 AMIt's a theme issue. the css says list-style property is none which is why no numbers/bullets are showing.

@Shades.
Thanks

Thanks @Shades. I'll use the BBCode.

All The Best mick

I don't think it's the theme! I tested in default and it does the same with HTML code. Have to use BBC. (see attachment)

[list type=decimal]
[li]All forums where you can chat about any of the hundreds of Charts Analysis posted to date, Talk about albums (800+ to Date) or vote for Albums[/li]
[li]post your own countries chart(s) or analysis, playlists or any other music/chart related information.[/li]
[li]Add Artists Pictures or any other pictures to your own galleries.[/li]
[li]Access our ever growing charts data files for importing Into Chart Tracker Elite 2525.[/li]
[li]Add Albums To Your My Albums List.[/li]
[li]You gain 1 Post of each image or download you add.[/li]
[li]As your post count increases so will the amount you will be able to do.[/li]
[li]If you would like to take part in adding your own chart analysis and have your place on the map below, Join us then contact Admin or a global moderator.[/li]
[li]Should you wish a pre-release copy of <a href="https://www.databasedreams.co.uk/charts/index.php?action=ezportal;sa=page;p=37">Chart Tracker Elite 2525</a> then start posting your counties chart(s) analysis contact <a href="https://www.databasedreams.co.uk/charts/index.php?action=profile;u=1">Admin</a>[/li]
[/list]


You cannot view this attachment.

I don't know anything about the blocks not working or how it would relate to a theme. Have you tried the block on a default theme?
Title: Re: ezPortal
Post by: Shades. on June 18, 2022, 06:29:57 PM
Quote from: mickjav on June 17, 2022, 05:07:07 PMThanks @Shades. I'll use the BBCode.

All The Best mick
8)
Title: Re: ezPortal
Post by: JonathanMC on June 25, 2022, 02:53:02 AM
Whenever I try to make an ezblock calendar on the any column on my portal/homepage, it makes the larger option load. It never lets me load the small option, even if I choose the small option in its settings. I want to get that little 1 month calendar on the side of my homepage which displays birthdays and things of the sort.
Title: Re: ezPortal
Post by: vbgamer45 on June 27, 2022, 12:21:41 PM
What SMF version? and what ezportal version?
Title: Re: ezPortal
Post by: mickjav on June 27, 2022, 07:10:19 PM
Quote from: JonathanMC on June 25, 2022, 02:53:02 AMWhenever I try to make an ezblock calendar on the any column on my portal/homepage, it makes the larger option load. It never lets me load the small option, even if I choose the small option in its settings. I want to get that little 1 month calendar on the side of my homepage which displays birthdays and things of the sort.


Just tried This with 5.5 on 2.1.2 Tried both small and large and get same, see Image

You cannot view this attachment.
Title: Re: ezPortal
Post by: mickjav on July 02, 2022, 02:48:34 AM
Just tried Adding The Todays Birthdays Block
Title: Re: ezPortal
Post by: mickjav on July 03, 2022, 02:52:47 PM
Got My Artists Banner Working so Rather than Edit Each Script I thought I would create A php Block that Would display the header but not going my way Lol

I am getting error "The database value you're trying to insert does not exist: this_gal"

I've tried loads of thing without luck any help would be appreciated.

    global $smcFunc, $sourcedir;

    require_once($sourcedir . '/artists/artists_module.php');
   
    // Get the Category
    if (!empty($_REQUEST['cat']))
        $cat = (int) $_REQUEST['cat'];
   
    //Get the All Artists
    $dbquery = $smcFunc['db_query']('', '
    SELECT art_id, artist_gallery_id
    FROM {db_prefix}artists
    WHERE artist_gallery_id = {int:this_gal}',
            array(
                'this_gal' => $cat
            ));
 
if ($smcFunc['db_affected_rows']() != 0)
    {
        $row = $smcFunc['db_fetch_assoc']($dbquery)
        echo GetArtistBanner($row['art_id']);       
    }
    $smcFunc['db_free_result']($dbquery);
Title: Re: ezPortal
Post by: mickjav on July 03, 2022, 03:14:38 PM
Found One Error ($dbquery))

But Still getting The "The database value you're trying to insert does not exist: this_gal"
Title: Re: ezPortal
Post by: vbgamer45 on July 03, 2022, 05:28:49 PM
5.5.1
!Fixed undefined error with Birthdays block SMF 2.1.x
!Fix small option for Calendar block for SMF 2.1.x
Title: Re: ezPortal
Post by: mickjav on July 04, 2022, 12:54:07 AM
Managed To Sort My BlocK error I keep forgetting to set the $vars = '' lOL

global $smcFunc, $sourcedir;

require_once($sourcedir . '/artists/artists_module.php');

$cat = '';

// Get the Category
if (!empty($_REQUEST['cat']))
$cat = (int) $_REQUEST['cat'];

If ($cat != '')
{

//Get the All Artists
$dbquery = $smcFunc['db_query']('', '
    SELECT art_id, artist_gallery_id
    FROM {db_prefix}artists
WHERE artist_gallery_id =' . $cat);

if ($smcFunc['db_affected_rows']() != 0)
{
$row = $smcFunc['db_fetch_assoc']($dbquery);
        echo GetArtistBanner($row['art_id']);
}
$smcFunc['db_free_result']($dbquery);
}

Took me a while as still trying to figure the Bugging angle  ;D 
Title: Re: ezPortal
Post by: vbgamer45 on October 04, 2022, 10:55:07 PM
Update
5.5.2
!Fixed possible undefined errors in SMF 2.1.x with attach tags in recent post/topics ezblocks
Title: Re: ezPortal
Post by: Shades. on October 29, 2022, 12:23:14 PM
I've noticed that one of my 2.1.2 forums (both with ezportal 5.5.2 installed) has this in .htaccess and the other one doesn't. Does the one without it need it?

Quote# ezPortal MOD Starts
RewriteEngine on
RewriteBase /
RewriteRule ^pages/([-_!~*()$a-zA-Z0-9]+)-([0-9]*)?$ ./index.php?action=ezportal;sa=page;p=$2 [L,QSA]
# ezPortal MOD ENDS
Title: Re: ezPortal
Post by: vbgamer45 on October 29, 2022, 03:45:55 PM
Only if you want seo friendly urls for pages.
Title: Re: ezPortal
Post by: Speed King on December 03, 2022, 12:03:25 AM
Is there a limitation for shoutbox message lenght? I cannot find such option in admin panel.
Title: Re: ezPortal
Post by: vbgamer45 on December 03, 2022, 12:20:10 AM
There is not a hard set limit. Do you want a setting to limit it?
Title: Re: ezPortal
Post by: Speed King on December 03, 2022, 06:50:50 AM
Yes, I think 1000 or 2000 characters would be a good limitation.
Title: Re: ezPortal
Post by: Mightymax44 on April 07, 2023, 01:37:45 PM
Hi,

recent topics and recent post, it's a same?

When  i add new response in a old topic, the old topic appear on recent topic block and recent post...
 ::)
Title: Re: ezPortal
Post by: Diego Andrés on April 07, 2023, 01:41:43 PM
If using SSI, this might be why (https://github.com/SimpleMachines/SMF/pull/7616). Should be fixed in the next SMF patch.
Title: Re: ezPortal
Post by: vbgamer45 on April 07, 2023, 03:06:24 PM
I think it does will have to check if I am using queries themselves.
Title: Re: ezPortal
Post by: Mightymax44 on April 08, 2023, 01:32:21 AM
i'm found a solution for me

I replace reccenttopic block with bloc news and i remplace in the Sub-EzportalMain2.php

foreach ($return as $news)
{
echo '
<div>
<a href="', $news['href'], '">', $news['icon'], '</a> <a href="', $news['href'], '"><b>', $news['subject'], '</b></a>
<div class="smaller">', $news['time'], ' ', $txt['ezp_built_by'], ' ', $news['poster']['link'], '</div>

<div class="post" style="padding: 2ex 0;">', $news['body'], '</div>

', $news['link'], $news['locked'] ? '' : ' | ' . $news['comment_link'];

if ($showlike == true || $showgoogleplus == true)
echo '<br />';

if ($showlike == true)
echo '<iframe src="https://www.facebook.com/plugins/like.php?href=' . urlencode($news['href']) . '&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
';



echo  '
</div>';

if (!$news['is_last'])
echo '
<hr style="margin: 2ex 0;" width="100%" />';
}


with

foreach ($return as $news)
{
echo '
<div>
<a href="', $news['href'], '">', $news['icon'], '</a> <a href="', $news['href'], '"><b>', $news['subject'], '</b></a>
<div class="smaller">', $news['time'], ' ', $txt['ezp_built_by'], ' ', $news['poster']['link'], '</div>

<div class="post" style="padding:  0;"></div>';





echo  '
</div>';

if (!$news['is_last'])
echo '
<hr style="margin: 2ex 0;" width="100%" />';
}


It works well so far and meets my expectations.
 ;)
Title: Smiley missing in shoutbox 2.1.4
Post by: hustreamload on July 26, 2023, 10:20:30 AM
Hello, on our SMF portal in EzPortal's Shoutbox there is an error:
While smileys checkbox is on
(https://imgbox.com/Dz2kRxYK)
in shoutbox it is not appearing
(https://imgbox.com/1Bxy2MhD)
but deafult smiley set is visible in posts
(https://imgbox.com/bkfrIB0c).
Any idea, how to repir it?
Thanks
Title: Re: ezPortal
Post by: vbgamer45 on July 26, 2023, 01:50:46 PM
Have to look into. Looks like I don't have it support custom smilies. But do you want all those to appear? Would take up some space.
Title: Re: ezPortal
Post by: BugginIn on August 12, 2023, 12:57:42 PM
Feeling pretty stupid right now...

Have a fresh install of EZ 5.5.2 - portal home page in non-responsive... Latest 2.1.4 SMF.

Where the heck is that turn responsive on or off? Looked everywhere and I am just way missing it here...

Anyone remember how to do that?


Thank you...
Title: Re: ezPortal
Post by: vbgamer45 on August 12, 2023, 05:22:18 PM
In SMF 2.1 there isn't a setting for ezPortal it should be responsive by default.
Title: Re: ezPortal
Post by: BugginIn on August 13, 2023, 01:43:33 PM
Quote from: vbgamer45 on August 12, 2023, 05:22:18 PMIn SMF 2.1 there isn't a setting for ezPortal it should be responsive by default.

OK, then any thoughts on resetting or something anyone might have?

Just cleared caches, ran all optimizing, still shows up like the below.

Any ideas?



Title: Re: ezPortal
Post by: vbgamer45 on August 13, 2023, 06:40:44 PM
No understanding the issue?
Do you want to change the size of the columns the widths? Or hide certain columns on mobile view?
Title: Re: ezPortal Stats Block
Post by: Chyandour on August 20, 2023, 11:13:01 AM
Hi,

Is there a way to not display the latest user's email address in the left hand stats box?

TIA
Chris
Title: Re: ezPortal
Post by: vbgamer45 on August 20, 2023, 11:15:53 AM
You would have to create a custom php ezblock. But generally users don't want to expose their email address for privacy/spam reasons.
Title: Re: ezPortal
Post by: BugginIn on August 20, 2023, 01:35:58 PM
Quote from: vbgamer45 on August 13, 2023, 06:40:44 PMNo understanding the issue?
Do you want to change the size of the columns the widths? Or hide certain columns on mobile view?

It was really weird, EZ Portal for responsive, cell phones was not working at all no matter what I did.

I figured it had to be one of the 22 mods messing with it.

Did a clean install on test site, did a clean EZ portal only mod.

It still showed all columns as shown above in post. Got frustrated after looking through every setting, I had to have something wrong. Never got it fixed.

I went with another portal, and it worked perfectly. I can only assume it was me not seeing something, but it never did go responsive automatically.


FYI

Title: Re: ezPortal
Post by: vbgamer45 on August 20, 2023, 01:39:54 PM
What columns were not supposed to be there?
Were you hiding them based on mobile usage? We use user agents to detect if mobile or not. So it might depend on the device.
Title: Re: ezPortal
Post by: CraftyLion on November 05, 2023, 07:03:56 PM
How do you edit sections in an existing ezblock? I'd like to have the stats ezblock without the users online section ...
Title: Re: ezPortal
Post by: vbgamer45 on November 05, 2023, 08:47:55 PM
Would require editing the code
Editing the file Sources/Subs-EzPortalMain2.php
Title: Re: ezPortal
Post by: erich199 on November 08, 2023, 11:34:14 AM
Hi,
 I'm using prettyurls mod and I was wondering how I can rewrite the TPDownloads url so that it read something like /tp/downloads or just /downloads/

Thanks for your help
Title: Re: ezPortal
Post by: vbgamer45 on November 08, 2023, 01:39:30 PM
This would be more of a prettyurls section but yes it would be possible to create a filter in prettyurls.
You would have to add some custom .htaccess rules too though.
Title: Re: ezPortal
Post by: CraftyLion on November 08, 2023, 04:02:13 PM
Quote from: vbgamer45 on November 05, 2023, 08:47:55 PMWould require editing the code
Editing the file Sources/Subs-EzPortalMain2.php

Can you be a bit more specific? Which line(s) would I need to edit??
Title: Re: ezPortal
Post by: vbgamer45 on November 08, 2023, 04:07:09 PM
You would remove this code around line 3635

   // Add online users
           echo '<hr /><img src="'. $onlineImage . '" style="margin: 0;" align="bottom" alt="" />
                 <a href="'.$scripturl.'?action=who"><b>',$txt['ezp_stats_users_online'],'</b></a><br />';

            $online = ssi_whosOnline('array');
           echo $bullet,$txt['ezp_stats_members'],': '.$online['num_users'];
           echo '<br />'.$bullet,$txt['ezp_stats_users_guests'],': '.$online['guests'];
           echo '<br />'.$bullet,$txt['ezp_stats_users_total'],': '.$online['total_users'].'<hr />
<div style="width: 100%; ' , $online['num_users']> 14 ? 'height: 23ex;overflow: auto;' : '' ,'">';

      foreach($online['users'] as $user)
      {
echo ' ' , $user['hidden'] ? '<i>' . $user['link'] . '</i>' : $user['link'];
echo '<br />';
      }
        echo '</div>';
Title: Re: ezPortal
Post by: BCK on February 21, 2024, 11:57:22 AM
Hi, I wanted to know if this installs in all themes once installed or do I have to do anything to use in a theme, I am using 2.1.4 and theme purple haze...I am not a coder by any means, so as simple as possible is why I ask...thanks in advance
Title: Re: ezPortal
Post by: vbgamer45 on February 21, 2024, 12:14:13 PM
Works on all themes  8)
Title: Re: ezPortal
Post by: BCK on February 21, 2024, 12:40:56 PM
awesome thank you,,,so i wont need to do any edits it will install itself to theme i'm using,,,? thank you..

i havent had a site for many years, and remember you from years ago helping, very glad you still here and doing exallent work and support,,,thank you very much
Title: Re: ezPortal
Post by: vbgamer45 on February 21, 2024, 12:42:18 PM
No you won't have to do anything else.
Title: Re: ezPortal
Post by: BCK on February 21, 2024, 12:56:19 PM
perfect, thank you very much
Title: Re: ezPortal
Post by: apothocary on February 29, 2024, 05:25:20 AM
I've noticed my "Today's Birthdays" block is displaying birthdays that are still 3-5 (sometimes more) days away. Am I missing something here or is it broken? Thanks
Title: Re: ezPortal
Post by: vbgamer45 on March 27, 2024, 01:13:44 AM
Added translations for dutch, french, german, spanish, portuguese, and turkish. These are AI assited translations.
Title: Re: ezPortal
Post by: Bugo on March 27, 2024, 01:28:27 AM
If you have created a project on Crowdin, share the link, I will add human localization to Russian :)
Title: Re: ezPortal
Post by: vbgamer45 on March 27, 2024, 01:36:25 AM
Possibly have to look into, wish it was built into the customize site maybe one day!
Yeah, I did shortcuts with these using AI so probably not a 100% but hopefully gives a starting point.