How to show page preview of PM posts in tooltip box!
| Author |
Message |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: How to show page preview of PM posts in tooltip box! Posted: Wed Jun 30, 2010 3:43 am |
|
Was looking into a simple way to show the preview pop up box of the message in the inbox, when hovered over.
Basically just like forums center block module does, as it could be done other ways.
Kendle got me thinking more on this with his jquery post and have been thinking of things to do with DF enhancements and this was one of them.
I put this in the private message module folder, index.php up near the top, as was not sure where exactly to place it and also I tried a few getlinks and no avail, so if anyone has any tips on this way or via basic pop tool tips as with forums center block module, please share them
Quote:
$jQ = tips jquery();
$jQ->tips(500);
$jQ->header();
echo $jQ->tips_showTip( 'Read PM', getlink('Private_Messages') );
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
greenday2k


Joined: Aug 11, 2005 Posts: 484 Location: CO
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Wed Jun 30, 2010 4:14 am |
|
You want to preview the Inbox or The content of private Message?
_________________ www.greenday2k.net


greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
|
| Back to top |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Wed Jun 30, 2010 3:17 pm |
|
thanks, Kendle was all sounding great, till got to the last bit.
PHPBB 3 has the hack for Topicreview, preview for the forums, so I do not see it being impossible to do, via tooltips, the same way, as presumably the forums center block module shows the preview, so the code is available to do it for the forums, obviously, and since pm's pretty much same thing, should not be issue there either, for someone who knows what they are doing.
when you say rewrite and rename the read.php, I do not think this is going to be required to be to extensive, if it needs to be done at all, to achieve, the objective, of previewing messages, as cool iris and other firefox extensions do it and seems like it should be not quiet so hard to do, even if we take the shortcut and simple route of doing it just like hover tips in the forums center block module, as the author there, may be the one we need to talk to about it and see if has any response or suggestions on how to do it, if unable to get it done by 2012
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Wed Jun 30, 2010 3:25 pm |
|
greenday2k wrote:
You want to preview the Inbox or The content of private Message?
Preview the messages when scrolling over the subject in the inbox view, so a pop up displays the text and not all the html, scroll over the forums details center block module, that is on dfaddons, and each post displays, plain text 500 characters and smilies in the tool tip popup box.
I looked at the module forums center block and tried to find the pieces needed and was so much code there, was a little lost and it was made into the module with all this if active and such, was confused a little at first glance and did more googling.
check out the topic preview hack at phpbb3, that is one would like to have functioning equally so, as who wants to open up each thread and wait for page to load, when it is not what ya looking for, same as with the pms, so two applications more or less with same type functions, more or less?
Has everyone who is reading this, tried forums center block module, and seen the tool tip display function in action, one of the most popular functions of the block module combo, imho.
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Wed Jun 30, 2010 11:09 pm |
|
here is portion of code from FCB module
any one know where and how to make this one work, say on just forums, or forums pro,
I took a stab at modded it into forumspro and no go at all
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Fri Jul 02, 2010 10:45 am |
|
OK, I couldn't resist, I knew it'd be fairly easy ....
Attached is a mod for Private Messages which adds a pop-up preview box showing the content of a message when you hover over the message icon in the inbox / outbox etc. listings.
It works on the icon rather than the subject because I think that's a lot neater, as the subject is a clickable link.
This package replaces 2 core files :-
modules/Private_Messages/index.php
themes/YOURTHEME/template/private_msgs/index_body.html
Please make sure you copy those somewhere safe so you can restore them if need be
(everything else in the package should be new files you won't already have)
_________________ Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk
Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Fri Jul 02, 2010 12:07 pm |
|
Kendle wrote:
OK, I couldn't resist, I knew it'd be fairly easy ....
Attached is a mod for Private Messages which adds a pop-up preview box showing the content of a message when you hover over the message icon in the inbox / outbox etc. listings.
It works on the icon rather than the subject because I think that's a lot neater, as the subject is a clickable link.
This package replaces 2 core files :-
modules/Private_Messages/index.php
themes/YOURTHEME/template/private_msgs/index_body.html
Please make sure you copy those somewhere safe so you can restore them if need be
(everything else in the package should be new files you won't already have) kendle, thank you and going to credit your account $5 for this one, and when you are ready to collect, let me know, as I know it is not much, however want to offer it to you, for this one, and greenday, has like $20, that he has suggested we send in here to df and personally think we should let the pot grow a little and apply credits to projects that we agree on, as like to have $1000 available for projects by the end of the year to sponsor projects!
Thanks again Kendle, and if you need anything, please let me know!
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Fri Jul 02, 2010 12:19 pm |
|
Donate to DF if you want to spend your money ...
You have a feed to my site on dfaddons, but you're referencing the news module, which I haven't used for years. If you want a feed to my news use this :-
www.cmsdreams.co.uk/rss/core.php
(I use my own content module, as I don't like Nuke News)
_________________ Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk
Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Fri Jul 02, 2010 12:32 pm |
|
will add that one as well and get the banner system back up and will do a few more things that are planned to promote the developers like yourself!
thanks again and I have phoenix account plus mod, so I may have to make the index.php changes manually, as I think his overwrites that on, not sure, maybe going to install now and will send screen shot back for everyone, however I got to go to town today and may be later on today, before I respond back.
thanks again,
ttyl
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Fri Jul 02, 2010 12:56 pm |
|
works great, like for it to do it over subject title as well, as the icon, sure I can figure that part out, and be fun learning how ya did it, as well!
here is a screen shot!
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
MikeSSC


Joined: Jul 11, 2006 Posts: 87 Location: northants
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Sun Jul 11, 2010 6:24 pm |
|
This little PM mod gets my thubs up 
Many thanks Kendle.
Regards,
Mike
_________________ Forwards Ever, Backwards Never!
MikeSSC's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux-CentOS 5. Apache 2.2.3. SQL 5.0.87. PHP 5.2.11. DF9.2.1 |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Tue Jul 20, 2010 2:55 pm |
|
This package has been updated and now includes modified core files. Don't use it if you're not comfortable using modified files, and do be aware it'll break if you re-upload those core files or update DragonFly.
_________________ Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk
Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
InspectorClueNo


Joined: Mar 26, 2008 Posts: 215
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Wed Jul 21, 2010 12:38 am |
|
Mod is great and works too!
But, I always liked the idea that I knew when someone reads my messages (message get moved from outbox to sent) ... this way it wont happen
InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) none available |
|
| Back to top |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Re: How to show page preview of PM posts in tooltip box! Posted: Wed Jul 21, 2010 12:10 pm |
|
thanks K.
_________________ dfaddons.com
earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS/Apache/Mysql/php/9.2.X/ |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|