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: 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
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: DJ 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: DJ 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: 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).
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: DJ 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: DJ 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 + fire