Hello again, i have a little problem with Recent topics module included with TP v1.0 Beta 4.
With some topics (maybe with a long title) it put a horizontal scroll bar below them.
Since there isn't any code to edit (with the old version of TP i had a recent topics module made with a code copied from this forum), how to fix this problem?
Thank you.
smartmouse,
If you want us to help you, you are going to have to be a little more open with us about your site. As a support person here, I, for one, will ignore your support requests in the future if you continue to refuse to give us the information we need to be able to help you. This means that we want you to Please read and reply to the Posting Guidelines (http://www.tinyportal.net/index.php/topic,581) and post the information requested in every support topic that you start. It is a waste of time for us to continue to have to ask you questions over and over. If we have the information we need in your original post in a topic, these support issues can generally be answered very quickly and this not only saves us time, but it helps us to give you the answers you seek more quickly, thus saving you time as well.
With that being said, here is what we need to know about the current topic ...
Link to my site: http://www.yourdomain.com
SMF version: SMF ver. here
TP version: TP ver. here
Theme name and version: Theme name here
Browser Name and Version: Browser name/version here
Mods installed: Mods listed here
Related Error messages: Error message here
In addition, the following questions are appropriate to this topic ...
1. Does this happen with a specific browser or does it happen with all browsers? What browsers does it happen in?
2. Does this happen on the SMF default theme, a custom theme, or both?
3. Have you increased the width of the panel this happens in to see if it solves the problem? What is the width of the panel?
4. What is the screen resolution that your monitor is currently set to?
5. Have you experimented to see how long the title (number of characters) is which causes this to happen? What is that number?
6. Include a screenshot of the behavior.
Perhaps, with this information, we can at least try to help you with the issue.
Thank You,
ZarPrime
Link to my site: http:/ /www.mon*ywant*rsforum . com (* = e)
SMF version: SMF v1.1.11
TP version: TP v1.0 Beta 4
Theme name and version: Black14k
Browser Name and Version: Firefox 3.5.7
Mods installed: YouTube BBCode, reCAPTCHA, Topic description, Global Announcements, Post Prefix, Hide SMF Version, Favicon, VisualWarning, TinyPortal, View Single PM, Rename Topic, Ad Managment, SMF File Manager
Related Error messages: None
Sorry :(
Your right panel is very narrow. Have you tried making it wider to see if that fixes it?
ZarPrime
Quote from: ZarPrime on January 27, 2010, 02:54:58 PM
Your right panel is very narrow. Have you tried making it wider to see if that fixes it?
ZarPrime
Next time that scrollbars appear i will try as you suggested.
An alternative is to try the following. Try the code below in a php block. This is the code for the recent posts block in TinyPortal version 0.98. It works fine in a php block in TP 1.0 beta 4. See if this will work better for you.
ZarPrime
//Start Here ...
// is it a number?
//if(!is_numeric($context['TPortal']['recentboxnum']))
// Change 15 in the next line to whatever number of recent posts you want to show
$context['TPortal']['recentboxnum']='15';
// leave out the recycle board, if any
if(isset($modSettings['recycle_board']))
$bb=array($modSettings['recycle_board']);
else
$bb=array();
$what=ssi_recentTopics($num_recent = $context['TPortal']['recentboxnum'], $bb, $output_method = 'array');
// Output the topics
$counter=1; $cmax=count($what);
echo '
<div style="width: 100%; overflow: auto; height: 30ex;">';
foreach($what as $w){
echo '
<div class="smalltext"><a href="'.$w['href'].'">'.$w['short_subject'].'</a></div>
<div class="smalltext">', $txt[525], ' <b>', $w['poster']['link'], '</b></div>
<div class="smalltext">';
if(!$w['new'])
echo '<a href="'.$w['href'].'"><img border="0" src="'.$settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';
echo '['.$w['time'].']
</div>';
if($counter != $cmax)
echo '<hr />';
$counter++;
}
echo '
</div>';
I tried to use this block.
I prefer to use that integrated with TP.
Thank you anyway ;)