Hello all and thank you in advance for even considering helping with this small hack project.
The script is MyPHPNuke > http://www.myphpnuke.com and the problem is that the moduel which comes preinstalled called eGallery will not let me place very much text in the descriptions under each photo. It truncates the text after about 4 lines, we need much more than that. I asked the guys on the forum who wrote the thing and they told me where to look. I fooled with it a little but could not get it to work.
I uploaded a copy of the code (minus the start and end tags) on a static page here:
http://www.ndse.com/phphack.html
An example of the eGallery is here:
http://web-dj.net/mpn/myegallery.php?&do=showgall&gid=1
He says it is in here and I should edit this section of code:
function displayDescriptionGall($row, $crow) { global $textcolor1, $textcolor2; $m = 90 / $crow[numcol]; if (strlen($row[description]) > $m) { $row[description] = trim(substr($row[description],0,$m)); $p = strrpos($row[description], ' '); $row[description] = trim(substr($row[description],0,$p)).'...'; } return "$row[description]\n"; }
But of course me not being a PHP programmer it all looks like greek to me...
Any assistance would be greatly appreciated..
thanks
CaliT😕