I helped Jan_AQ set this up for her site. You can see it at http://www.potionsandsnitches.net/fanfiction/
And the instructions for this change are here:
http://efiction.hugosnebula.com/forum/viewthread.php?forum_id=18&thread_id=29&pid=67#post_67
just something I've discovered with my site is that the length counter doesnt actually work (in i.e it generates a javascript error in the statusbar also doesn't work in firefox) but the shoutbox itself works fine
is the mod on Tammys site ( http://efiction.hugosnebula.com/forum/viewthread.php?forum_id=18&thread_id=29&pid=67#post_67) a fix for this issue?
my shoutbox is the one that came with efiction 3.2.1 btw unmodified π
~Spikey~
my site url: http://www.fanfictionworld.org
efic version:3.5.3
There's a problem with the shout with 3.2.1, but it should be fixed with 3.3.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
aha thank you Jan_AQ π
~Spikey~
my site url: http://www.fanfictionworld.org
efic version:3.5.3
The link provided by Tammy is not working anymore... can anyone help me?
I would like to change the shout limit (200 characters) to 500 characters.
Here are my modifications... I changed it to 300:
blocks/shoutbox/admin.php
line 25:
$shout_message = preg_replace("/^(.{300}).*$/", "$1", $shout_message); # 2010-01-17: changed to 300 characters
blocks/shoutbox/shoutbox.php
line 15:
$shout_message = preg_replace("/^(.{300}).*$/", "$1", $shout_message); # 2010-01-17: changed to 300
line 49 (?):
if(isMEMBER || !empty($blocks['shoutbox']['guestshouts'])) { # changed to 300!
There should be some JavaScript below. Change values of 200 to 500.
line 81 (?):
$content .= "<label for="shout_MESSAGE">"._SHOUT.":</label> <input name="shout_message" class="mceNoEditor" id="shout_message" maxlength="300" onkeyDown="return ismaxlength(this)" /> <input type='submit' name='shout' id='shout' value='"._SHOUT."'> <input size='1' class='small' type='text' id='counter' value='300'></form></div>"; # 2010-01-17: changed to 300
archive:
site:
Available for skin/mod commission! π
Tammy's website these days is
But you will probably have to post over there and ask because much of the old website is gone. But it looks like Elle has something that may work for you.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
The limit in the database is 200 so even if you change the code, it'll still cut off at 200.
Oo. That's what I was forgetting to post.
alter table fanfiction_shoutbox modify shout_message VARCHAR(300) ;
... I think.
archive:
site:
Available for skin/mod commission! π