- You are here:
- Main › Forum › Application Support
Blank Block character size
3 posts
• Page 1 of 1
-
- vzbob
- Posts: 2
- Joined: Fri Apr 27, 2012 3:47 am
Fri Apr 27, 2012 4:03 am • via Web
Hi I am running a PHPBB3 forum latest version 3.10 with your Portal Version: 1.0.1. I used to use MKPortal but as it has been abandoned now for quite a while now so i have changed over to your new Portal system and i like it a lot.
The problem i have is with creating new blocks from the Blank Block you have with HTML code. The blocks i am trying to create use more than the 2000 characters limit and i am wondering how to increase this value so it does not cut of the html code i am trying to use.
I see the html_truncate limit in the blank_block.php file and have changed that but it seems not to have any effect on the block.
Where else would this need to be changed to be able to go above the 2000 character limits please.
My knowledge of PHP is limited learning as i go.
Any help would be appreciated with this.
The problem i have is with creating new blocks from the Blank Block you have with HTML code. The blocks i am trying to create use more than the 2000 characters limit and i am wondering how to increase this value so it does not cut of the html code i am trying to use.
I see the html_truncate limit in the blank_block.php file and have changed that but it seems not to have any effect on the block.
Where else would this need to be changed to be able to go above the 2000 character limits please.
My knowledge of PHP is limited learning as i go.
Any help would be appreciated with this.
- IvanPF
- Administrator
- Posts: 2010
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Fri Apr 27, 2012 11:43 am • via Web
Hi,
You can change the character limit easily.
Open the file /portal/block/blank_block.php and find this:
Change 2000 with the limit you want or put 0 for unlimited (I don't recommend this, you can create a problem or bug )
You can change the character limit easily.
Open the file /portal/block/blank_block.php and find this:
- Code: Select all
$new['block_content'] = html_truncate($new['block_content'], 2000, '', true);
Change 2000 with the limit you want or put 0 for unlimited (I don't recommend this, you can create a problem or bug )
-
- vzbob
- Posts: 2
- Joined: Fri Apr 27, 2012 3:47 am
Sat Apr 28, 2012 4:25 am • via Web
Ok thank you for that, I shall try it over again as i did change the 2000 to a larger number but it still chopped of half of it.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2024 CaniDev