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

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


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

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: ezBlock Format - Creating Custom ezBlocks  (Read 85589 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: 1299
  • Karma: 67
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: 1299
  • Karma: 67
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
5460 Views
Last post September 16, 2010, 03:25:59 pm
by _pi
2 Replies
10466 Views
Last post September 21, 2012, 07:20:14 pm
by Xehara
1 Replies
5193 Views
Last post September 05, 2013, 07:10:12 pm
by EzPortal
1 Replies
7467 Views
Last post July 27, 2014, 05:24:20 am
by Maxx
2 Replies
6710 Views
Last post September 30, 2014, 11:29:24 pm
by fobnicat

+-SMF Gallery

Quick Menu


Powered by EzPortal