Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.2.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2011, 02:28 PM
ipengu's Avatar
ipengu ipengu is offline
Member
 
Join Date: Aug 2011
Location: Central NY
Posts: 50
Gender: Male
Credits: 7,357
ipengu is on a distinguished road
Default Longer Shoutbox

Well by longer, I mean more shouts before it starts over-writing them on the page.
(Strong suggestion to developers working on the official releases, make the shoutbox store the shouts and let people browse the old shouts)

Open: shoutbox.php
Find: (Around line 14) NOTE: You will not find this exact line as I replaced the number of shouts to show with the # sign
PHP Code:
$query "SELECT * FROM ".$prefix."shoutbox ORDER BY id DESC LIMIT 0, #"
Replace with: (I put 20 as an example, as that's what I use on my website)
PHP Code:
$query "SELECT * FROM ".$prefix."shoutbox ORDER BY id DESC LIMIT 0, 20"
Now say you put 50, that's going to make one longggggg page considering this script does not use much control of the shoutbox shout div, so add the following to any/every theme's css on your website
Code:
.enclosecomments
{
height:400px; 
overflow: auto;
}
I feel 400px is adequate room to show shouts at a basic level, and the overflow tag is set for once, and only once the shouts break past 400px long it will then add a scroll bar.
__________________
Coder/Marketer/Etc
Super busy, lack of time for computer related things for awhile.

Current Mods:
Slim Profile | Disallow unfreezing adoptable
Longer Shoutbox | IP Tracking/Account Limiter
Colorblast | Flux Series

In the works:
Integrated Forum (Very unlikely to be a free public mod, at first anyways)15%
Better admin control panel (current one is terrible)
Couple Themes
Few other things.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shoutbox Mod Controls Abronsyth Suggestions and Feature Requests 0 05-03-2015 02:33 PM
Longer Custom Pages through the AdminCP? Kyttias Questions and Supports 1 12-15-2014 11:23 AM
Shoutbox? parayna Questions and Supports 17 10-30-2013 03:59 PM
Shoutbox Alaric Questions and Supports 2 12-21-2011 01:53 PM
Side Shoutbox Mod rickasawr Mys v1.2.x Mods 6 09-12-2011 05:40 PM


All times are GMT -5. The time now is 06:46 PM.

Currently Active Users: 450 (0 members and 450 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636