| « change shortname length | Social Bookmarks » |
As of now, b2evo cuts off long urls for permalinks. Here is the hack to make them loooooonnnnnnnger. Tested in version 2.4. Credits go to astonishme for the original hack for version v0.9.1.0 and to ¥åßßå for her tips.
1) Enter your MYSQL database and review table evo_items__item. Here you’ll need to edit the field post_urltitle, changing the length/values from 50 to 250.
2) Next you’ll need to edit file inc/items/views/_item_expert.form.php at approximately line 219, changing the $field_maxlength from 50 to 250.
Code:
T_('("slug" to be used in permalinks)'), $field_maxlength = 50 ) ; |
3) Finally you’ll need to edit file inc/items/model/_item.funcs.php at approximately line 134 changing the number 40 to 250.
Code:
$urlbase = substr( $matches[1], 0, 40 ); |
Done!