FAP SUPPORT - Mouseover Of Thumbnail In Forum


Subject: FAP SUPPORT - Mouseover Of Thumbnail In Forum
Hi there..

There is a very useful option - the using of thubnails in the forum:
Is it possible to show the decription of the picture if hoverig over the thumb instead of the number??

tia!!

Profile PM  
Subject: Re: Mouseover Of Thumbnail In Forum
I would think that is possible.... I shall look see.

Do you prefer pic description or pic title ? (not all pics have description)

EDIT: On second thought, it may not be as simple as it seems, but I will look anyway

Profile PM  
Subject: Re: Mouseover Of Thumbnail In Forum
Hi artie

I would prefer the same as it is on the album index. that is pic description.
Thank you in advance for your efforts...

Profile PM  
Subject: Re: Mouseover Of Thumbnail In Forum
I am sorry Helmut71, but I had no luck getting this done. :cry:
Maybe someone will find this useful and figure it out for us.

Profile PM  
Subject: Re: Mouseover Of Thumbnail In Forum
It is not so easy... an extra SQL should be added when the BBCode is parsed... :wink:

I think it isn't worth to be implemented... :wink:

Subject: Re: Mouseover Of Thumbnail In Forum
hello MG: perhaps you could post the extra SQL here? Please...if it is not too difficult...

For me it is worth to be implemented...
I use many thumbs from the album in the forum..and if the mouseove shows the correct picture information, my visitors know what is on the picture before they click on it...and I don't have to write a thumbnail description beneath the thumbnail, it all would be in the picture...

So if it doens't make too much work for you, please post the extra sql here :-)

tia

Profile PM  
Subject: Re: Mouseover Of Thumbnail In Forum
if someone can give me a hint, I could try it allone...........
or perhaps someone can help me??

Profile PM  
Subject: Re: Mouseover Of Thumbnail In Forum
The SQL part it is easy... what is difficult is to integrate it through BBCodes... :wink:

Code: [Download] [Hide]
  1. $sql = "SELECT p.*, c.*  
  2. FROM ". ALBUM_TABLE ." AS p, ". ALBUM_CAT_TABLE ." AS c  
  3. WHERE p.pic_id = '$pic_id'  
  4. AND c.cat_id = p.pic_cat_id";  
  5.  
  6. if( !($result = $db->sql_query($sql)) )  
  7. {  
  8. message_die(GENERAL_ERROR, 'Could not query pic information', '', __LINE__, __FILE__, $sql);  
  9. }  
  10.  
  11. $thispic = $db->sql_fetchrow($result);  
  12.  
  13. $cat_id = $thispic['pic_cat_id'];  
  14. $album_user_id = $thispic['cat_user_id'];  
  15. $pic_filename = $thispic['pic_filename'];  
  16. $pic_title = $thispic['pic_title']; 


Once you have the pic_id and these vars you may easily add them into the BBCode generated code...

If you have Icy Phoenix I can try to show you an easy way to integrate it into BBCodes.

Subject: Re: Mouseover Of Thumbnail In Forum
hi Luca..

unfortunately I have "normal" phpbb :-(

but the code is a good start..perhaps you or someone else could finish it???

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1576s (PHP: 12% SQL: 88%)
SQL queries: 10 - Debug Off - GZIP Enabled