Bored? Looking to kill some time? Want to chat with other SMF users? Join us in IRC chat or Discord
Started by Bugo, February 15, 2011, 03:48:12 PM
Quote from: jobey on October 15, 2012, 06:42:15 PMIn the verification metatags section, what type of text am i supposed to be putting in the boxes? Thanks.
Quote from: zoki on October 13, 2012, 07:29:18 AMIs it possible for META Description tag to have not first sentence, but for example first 200 characters from the post? That would be awesome.
if ($smcFunc['strlen']($teaser) < 150) return strip_tags($teaser);
if ($smcFunc['strlen']($teaser) < 200) return strip_tags($teaser);
$teaser = $smcFunc['substr']($teaser, 0, 150);
$teaser = $smcFunc['substr']($teaser, 0, 200);
$result = !empty($tmp1) ? $tmp1 : (!empty($tmp2) ? $tmp2 : (!empty($tmp3) ? $tmp3 : rtrim($teaser)));
$result = rtrim($teaser);
Quote from: Bugo on November 07, 2012, 07:40:35 PMTry to use original index.template.php, without ANY changes.