News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Two questions re: calendar events...

Started by lemur21, September 29, 2006, 09:39:49 AM

Previous topic - Next topic

MoreBloodWine

Quote from: [SiNaN] on August 21, 2008, 12:30:20 AM
Added these two lines back:

$dhtml_collapsed = get_collapsed_state("category_" . $category['href']);

$dhtml_collapsed = get_collapsed_state("info_center");

As I didn't had the "get_collapsed_state()" function, the page was broken, so I removed these to lines while using the file.

Probably theme uses a different collapse script than the default one. I'll check it myself.
Well, the theme I use is the WoW-DK theme.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


OliB150

Quote from: akabugeyes on October 03, 2006, 05:05:25 PM
Found the culprit. :)

Open Sources/Subs-Post.php

Find:

if (strlen($_POST['evtitle']) > 30)
$_POST['evtitle'] = substr($_POST['evtitle'], 0, 30);

And change both occurrences of 30 to the number you want, in your case it would probably be 60.

I just wanted to add a massive thanks to you for this post. I have been trawling through these files for a few days now trying to get this to work first time, but couldn't work it out.
Only difference was that it actually read;
if ($func['strlen']($_POST['evtitle']) > 30)
$_POST['evtitle'] = $func['substr']($_POST['evtitle'], 0, 30);

In my files (SMF 1.1.13) but after changing that it works a treat!

Apologies though for bumping this topic by quite a few years, but this is the only topic I found that actually had the solution in it, so hopefully other users using the search function will be up to date and have a confirmed fix now!

Once again, thanks!

Advertisement: