php forum
php mysql forum
php mysql smarty
 
Topic Options
#206776 - 12/06/00 07:09 PM Inline images for PHP.
poil Offline
Enthusiast

Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
Remember to Back up your files before you try this, there is no gaurantee that this will work at all.<br /><br /><br />These Are the Modified Files:<br />showflat.php<br />showthreaded.php<br /><br />In showflat.php, find this:<br />[:blue]<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR><br /> </td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /></font color=blue><br /><br /> and change it to:<br /><br />[:red]<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR>";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "<br /> </td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /></font color=red><br /><br /> and then find:<br /><br />[:blue]<br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <P class=\"post\"><br /> $Body<br /> <BR><BR><br /> </td></tr><br /> ";<br /></font color=blue><br /><br /> and change it so it looks like this:<br />[:red]<br /><br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <P class=\"post\"><br /> $Body<br /> <BR><BR><br /> ";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "<br /> </td></tr><br /> ";<br /></font color=red><br /><br />in showthreaded.php find this:<br />[:blue]<br /> echo "<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR><br /> </td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /><br /></font color=blue><br /> and change it to look like this:<br />[:red]<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR>";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "</td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /></font color=red><br /><br /><br /> then find this:<br />[:blue]<br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <br /><P class=\"post\"><br /> $Body<br /> <BR><BR><br /> </td></tr><br /> ";<br /></font color=blue><br /> and change it so it looks like this<br />[:red]<br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <br /><P class=\"post\"><br /> $Body<br /> <BR><BR><br /> ";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "</td></tr><br /> ";<br /></font color=red><br /><br />i uploaded the text file also.<br />example at http://www.extremeforums.org/showflat2.p...p;part=&vc=<br /><br />[:red]--------------</font color=red><br />http://extremeforums.org/index


Attachments
26475-inlineimages.txt (4 downloads)

_________________________
Extreme!!!

Top
#206777 - 12/13/00 09:33 PM Re: Inline images for PHP. [Re: vent]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
Wonderful. Another I must have for Amdragon. (if I may?)<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#206778 - 12/14/00 08:57 AM Re: Inline images for PHP. [Re: Chris Schreiber]
poil Offline
Enthusiast

Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
so far most of the hacks/mods that i have done are all yours. just modified to work with php. so of course you may have it. i would hope that maybe some people would find it usefull and helpfull.<br /><br />[:red]--------------</font color=red><br />http://extremeforums.org/index
_________________________
Extreme!!!

Top
#206779 - 12/14/00 10:40 AM Re: Inline images for PHP. [Re: vent]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
Thanks poil, I for one will definitely find them useful when I get to installing the php version.<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top


Who's Online
0 registered (), 24 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Today at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Today at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Today at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Today at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks