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: Issue with blockdata  (Read 7313 times)

0 Members and 1 Guest are viewing this topic.

Offline wireplay

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Issue with blockdata
« on: February 08, 2012, 09:46:40 pm »
Guys,

The blockdata tag is appearing on the screen with the other parameters. This is even happening in the sample.

I am trying to create a recent topics ezblock but with filtering by a board. It seems like this has been started in the code, to some extent.

Here is my current code:

<?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>TBL:RecentTopicsWithFilter</id>
<title>Recent Topics With Filter</title>
<version>1.1</version>
<blocktype>php</blocktype>
<forumversion>SMF 2.0.x</forumversion>
<author>TBL</author>
<website>http://www.trueblueliberty.com</website>
<editable>1</editable>
<can_cache>1</can_cache>
<parameter1>
   <type>int</type>
   <required>1</required>
   <title>Number of Topics to show</title>
   <order>1</order>
</parameter1>
<parameter2>
   <type>boardselect</type>
   <required>1</required>
   <title>Board to select from</title>
   <order>2</order>
</parameter2>
<blockdata><![CDATA[
function EzBlockTBLTop....
]]>
</blockdata>
</block-info>

I saw that it was alluded to in another post but will you support a recent topics by board soon?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Issue with blockdata
« Reply #1 on: February 08, 2012, 09:52:21 pm »
I would change
<editable>1</editable>
To
<editable>0</editable>

That should stop the editable portion if you see all the block code.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline wireplay

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Issue with blockdata
« Reply #2 on: February 08, 2012, 09:52:43 pm »
Wait, wait, wait. That was a STUPID question. Of course it will be in there for editing.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6968 Views
Last post February 15, 2009, 08:16:13 pm
by EzPortal
1 Replies
7803 Views
Last post August 16, 2009, 09:14:09 am
by kinin
7 Replies
11598 Views
Last post August 12, 2010, 06:31:52 am
by EzPortal
0 Replies
5929 Views
Last post June 27, 2013, 09:15:48 am
by saintblue
2 Replies
6718 Views
Last post September 30, 2014, 11:29:24 pm
by fobnicat

+-SMF Gallery

Quick Menu


Powered by EzPortal