EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

Re: How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 11:02:52 pm

Re: How to remove the SMF menu on top of the portal by EzPortal
November 04, 2020, 09:29:10 pm

Re: How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 08:17:14 pm

Re: How to remove the SMF menu on top of the portal by EzPortal
November 04, 2020, 07:57:05 pm

How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 07:43:18 pm

Minor Update for SMF 2.1.x by EzPortal
October 18, 2020, 09:33:09 am

Re: EzPortal unable to be seen by user with primary custom usergroup by EzPortal
October 12, 2020, 07:55:08 am

EzPortal unable to be seen by user with primary custom usergroup by radi27
October 11, 2020, 04:46:32 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 11:02:52 pm

Minor Update for SMF 2.1.x by EzPortal
October 18, 2020, 09:33:09 am

EzPortal unable to be seen by user with primary custom usergroup by EzPortal
October 12, 2020, 07:55:08 am

Show Likes mod by NickT
July 10, 2020, 12:09:44 pm

ezPortal inbuilt module downloaders not working. by EzPortal
March 26, 2020, 08:19:48 am

Recent Topic Ezblock randomly showing "New" message indicator by EzPortal
January 14, 2020, 10:17:10 pm

Block hiding issue on smf 2.1 mobile devices by EzPortal
January 07, 2020, 08:21:08 am

Install error. Duplicate column name 'metatags' by EzPortal
January 06, 2020, 03:52:03 pm

ezPortal 4.5.5 now with PHP 7.2/7.3 support by EzPortal
December 30, 2019, 04:18:18 pm

Unable to load EZportal when Maintenance mode disabled? by EzPortal
December 06, 2019, 09:21:56 am

Author Topic: ezBlock Format - Creating Custom ezBlocks  (Read 53244 times)

0 Members and 1 Guest are viewing this topic.

Offline DrawingDrewfly

  • Posts: 2
  • Karma: 0
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #15 on: February 04, 2010, 12:39:41 pm »
I have a few questions.
1, I am kinda confused what tags to start with.
2, Do I put it in an EzPortal HTML block?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1229
  • Karma: 66
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #16 on: February 04, 2010, 12:44:00 pm »
What type of custom ezBlock are you trying to create?
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline sunja

  • Posts: 2
  • Karma: 0
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #17 on: June 18, 2010, 06:39:18 pm »
How exactly do I install a block that I've made? Do I upload it to the ezportal/blocks dir in its own sub dir? I tried this but ezportal doesn't seem to know its there. The ezportal block upload page doesn't seem to work either.

Offline Maxx

  • VN Vet E4
  • Hero Member
  • *****
  • Posts: 560
  • Karma: 8
  • Gender: Male
  • Web Designer
    • SurfaceThemes - Web Design Ideas Classic Rock
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #18 on: June 18, 2010, 07:45:16 pm »
Please follow this link to see if it helps the understand of creating a custom block:

http://www.ezportal.com/ezblock-coding-forums/ezblock-format-creating-custom-ezblocks/

regards,
Maxx
If you find this Portal System useful, please consider supporting us with a small Donation!
Check out the How to Section!!
Please remember to keep your back ups, up to date, before you try anything new!

Offline sunja

  • Posts: 2
  • Karma: 0
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #19 on: June 18, 2010, 09:57:10 pm »
yes yes yes, I know how to create a block but it doesn't say how to install a block using ftp.  And the inbuilt block installer doesn't want to update the list of available blocks after it uploads...

I'll update my ezportal build but I'd like to know this, its oddly not mentioned.

Offline Maxx

  • VN Vet E4
  • Hero Member
  • *****
  • Posts: 560
  • Karma: 8
  • Gender: Male
  • Web Designer
    • SurfaceThemes - Web Design Ideas Classic Rock
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #20 on: June 19, 2010, 07:18:13 am »
Ok this is only a guess, but have you tried to compress the block using Win Zip, not war, then upload it, most everything in the SMF system needs this format to work in the upload functions.

Then upload through the EzPortal manager upload system.

If you do not have the win zip you can get the Zipgenious totally free here:
Code: [Select]
http://www.zipgenius.it/
Make certain when compressing you don't compress it into 2 folders, right click when zipgeious menu appears click on add to " your folder name or block name" it will compress it!
try to do this from you desktop so you can find it right off!

regards,
Maxx
If you find this Portal System useful, please consider supporting us with a small Donation!
Check out the How to Section!!
Please remember to keep your back ups, up to date, before you try anything new!

Offline letsswing

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #21 on: April 23, 2015, 12:32:53 pm »
Hi i have attempted to create a block using the sample code above and when i try ad run it through my text editor i get the following message:

Unspecified error Error processing resource 'http://www.ezportal.com/xml/block-info'.

can anyone tell me what i am doing wrong  my code is below
Code: [Select]
<?xml version="1.0"?>
<!DOCTYPE block-info SYSTEM "http://www.ezportal.com/xml/block-info">
<block-info xmlns="http://www.ezportal.com/xml/block-info" xmlns:ezportal="http://www.ezportal.com/">
<id>kevin1961:Meets&Events</id>
<title>Meets Block</title>
<version>3.0.3</version>
<blocktype>php</blocktype>
<forumversion>SMF 2.0.9</forumversion>
<author>Kevin1961</author>
<website></website>
<editable>1</editable>
<can_cache>1</can_cache>
<parameter1>
<type>select</type>
<required>1</required>
<title>Meet Type</title>
<selectvalues>Choose meet type...,Meet at your place,Social meetup,Meet at our place,Dogging meet,Gangbang,Night out,Anything anywhere,Hotel meet,Club meet</selectvalues>
<order>1</order>
</parameter1>
 
<parameter2>
<type>select</type>
<required>1</required>
<title>Meet Date</title>
<selectvalues>24 April 2015,25 April 2015,26 April 2015,27 April 2015,28 April 2015,29 April 2015,30 April 2015,01 May 2015,02 May 2015,03 May 2015,04 May 2015,05 May 2015,06 May 2015,07 May 2015,08 May 2015,09 May 2015,10 May 2015,11 May 2015,12 May 2015,13 May 2015,14 May 2015,15 May 2015,16 May 2015,17 May 2015,18 May 2015,19 May 2015,20 May 2015,21 May 2015,22 May 2015,23 May 2015,24 May 2015,25 May 2015,26 May 2015,27 May 2015,28 May 2015,29 May 2015,30 May 2015,31 May 2015,01 June 2015,02 June 2015,03 June 2015,04 June 2015,05 June 2015,06 June 2015,07 June 2015,08 June 2015,09 June 2015,10 June 2015,11 June 2015,12 June 2015,13 June 2015,14 June 2015,15 June 2015,16 June 2015,17 June 2015,18 June 2015,19 June 2015,20 June 2015,21 June 2015,22 June 2015,23 June 2015,24 June 2015,25 June 2015,26 June 2015,27 June 2015,28 June 2015,29 June 2015,30 June 2015</selectvalues>
<order>2</order>
</parameter2>   
 
<parameter3>
<type>select</type>
<required>1</required>
<title>Meet Region</title>
<selectvalues>Any,Channel Islands,East Midlands,Greater London,Isle of Man,North East,North West,Northern Ireland,Scotland,South East,South West,Wales,West Midlands</selectvalues>
<order>3</order>
</parameter3>
         
<parameter4>
<type>string</type>
<required>1</required>
<default>Meet Postcode</default>
<title>Your Postcode</title>
<order>4</order>
</parameter4>

<parameter5>
<type>string</type>
<required>1</required>
<default>Meet Town</default>
<title>Your Town</title>
<order>5</order>
</parameter5>

<parameter6>
<type>string</type>
<required>1</required>
<default>Meet Title</default>
<title>Your Title</title>
<order>6</order>
</parameter6>

<parameter7>
<type>textarea</type>
<required>1</required>
<default>Meet Advert</default>
<title>Your Advert</title>
<order>7</order>
</parameter7>

<parameter8>
<type>checkbox</type>
<required>1</required>
<default>8</default>
<title>This is a checkbox</title>
    <checkboxvalues>Females,Males,Couples mf,Couples mm,Couples ff,Tvtscds</checkboxvalues>
<order>8</order>
</parameter8>
<blockdata><![CDATA[echo '<b>Meets Block</b> My Meet Details Are ' . $parameter1 . ' ' . $parameter2 . ' ' . $parameter3 . ' ' . $parameter4 . ' ' . $parameter5 . ' ' . $parameter6 . ' ' . $parameter7 . ' ' . $parameter8;]]></blockdata>

</block-info>

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1229
  • Karma: 66
Re: ezBlock Format - Creating Custom ezBlocks
« Reply #22 on: April 23, 2015, 02:08:54 pm »
Try taking out these two lines
Code: [Select]
<!DOCTYPE block-info SYSTEM "http://www.ezportal.com/xml/block-info">
<block-info xmlns="http://www.ezportal.com/xml/block-info" xmlns:ezportal="http://www.ezportal.com/">
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3959 Views
Last post September 16, 2010, 03:25:59 pm
by _pi
2 Replies
7496 Views
Last post September 21, 2012, 07:20:14 pm
by Xehara
1 Replies
3698 Views
Last post September 05, 2013, 07:10:12 pm
by EzPortal
1 Replies
4417 Views
Last post July 27, 2014, 05:24:20 am
by Maxx
2 Replies
4198 Views
Last post September 30, 2014, 11:29:24 pm
by fobnicat

+-SMF Gallery

Quick Menu



Members Online

19 Guests, 0 Users
Powered by EzPortal