TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 05, 2024, 10:18:58 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 182
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 186
  • Total: 186

[Discussion] Recent topics table with hover over previews.

Started by alhaudhie, September 14, 2009, 04:58:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Blue Steel

great thanks.. i'll try it out when i get back from droping my son at school

Ken.

Thanks Freddy... this is great stuff. :up:

EDIT: Works great in an upper block Freddy. Unfortunately it can't be used on my live site because of the large images (banners actually) that are being used in place of board names.  ???
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Blue Steel

ok back.. working great..

only change i've made to seperate the messages a little was to change this line (about line 224)

from

      <tr class="windowbg">';

to

      <tr class="windowbg2">';


this way they are in a diff colour to the Background of the main table

lurkalot

Quote
// Used alongside the NiceToolTips mod, will show
// recent topics in a table with tool tip previews.
// Also requires sorttable.js which can be found at
// http://www.kryogenix.org/code/browser/sorttable/
// Drop the sorttable.js in your Themes/default/scripts directory

I wanted to give this block a try, but for the life of me I can't get it to work.  :(  I've installed the Nicetooltips package, and that's working fine.  Also downloaded the the attached sortable.js file from the bottom of your post, unzipped and dropped into my Themes/default/scripts directory.

When I try this in a upper block all I get is a blank white block with title above it, and it stops my right hand blocks from displaying.

Any ideas what I can try to resolve this please?  :smiley6600:

This was on my test site running SMF2 RC3 and TP 1.0b5.1 I also have this bridged with Coppermine 1.5RC if that makes a difference. ;)

Freddy

Blue Steel, glad that's working for you there :)

Lurkalot, have you got any error messages in the error log ?

Try opening two windows/tabs  - one with error log and one with the page where the block is.

Clear the error log and refresh the page with the block to reload the page.

Then refresh the error log tab and see if it is generating any errors.

lurkalot

Quote from: freddy888 on April 22, 2010, 11:05:38 AM

Lurkalot, have you got any error messages in the error log ?


Sorry for the late reply Freddy,

Done what you suggested, turned on the block and clicked my home page button, this is the error I get in the error log,

Quote
Type of error: Database 
http://cctestsite.info/forums/index.php?Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND id_member = 1
GROUP BY id_topic
ORDER BY null
LIMIT 0' at line 4File: /home/xxxxxxxx/public_html/cctestsite.info/forums/Sources/Load.php(2105) : eval()'d code(48) : eval()'d code
Line: 184



Freddy

Hmm well that LIMIT 0 doesn't look right.

How have you got it configured ?  The number of days, topics etc... at the top.

Freddy

Can you cut and paste the config section...  so I can see exactly...thanks.

lurkalot

Quote from: freddy888 on April 22, 2010, 06:20:38 PM

How have you got it configured ?


Configured?  :P   Now you might have stumbled upon something here.  I used code as is from your last post, thought it would work without any adjustment.  :embarrassed:

Freddy

Yes well it should do lol

Tell me do you actually have any posts in your forum ?

Or possibly are all the posts by someone else and not you ?  ie nothing by admin - assuming you are logged in as admin...