2014-06-08, 05:22 PM
2014-06-12, 03:10 AM
I can't find any tutorial or plugin for it here. I would be willing to make a text only preview though.
2014-06-12, 12:34 PM
I just finished making a plugin that does a text only preview. It should be validated shortly. You will be able to find it under the forum display category for plugins.
2014-06-12, 05:44 PM
A plugin which provides text preview has already been made: http://mybbhacks.zingaburga.com/showthread.php?tid=267
2014-06-12, 06:15 PM
Mine is written differently because it doesn't alter the database in any way.
2014-06-15, 12:07 AM
Just personal opinion, I suggest you to change a line of your code to:
for better viewing color and void stretching table for long mycode above 50 chars (such img etc..)
One of thread list wider..
Anyway,, its nice plugin..
$thread['preview'] = "<div style=\"background-color: lightyellow;margin: 0 auto; position: relative; width: 510px; height: 100%; padding: 10px;\">".$firstpostcache[$thread['tid']]."</div>";
for better viewing color and void stretching table for long mycode above 50 chars (such img etc..)
One of thread list wider..
Anyway,, its nice plugin..
2014-06-15, 01:14 PM
I don't force the color of the background so it can work with any theme. A lightyellow background to me would seem ugly on a dark background theme. I don't use the parser in my plugin either because it is just suppose to be a preview. There isn't really a need to force parse content.