hi there I got a imagehosting script now this script dont have database system if I upload the 10 images at a time the its give me for types of image link code BBCode(s) for Forum HTML Codes for Site Hotlinks for Forums Hotlinks for Site Code (markup): following is the code from where its gerate the code <table class="code_table"> <tr> <td class="td_code_fields"> <h1>Code for all images</h1> <table class="table_100"> <tr> <td> BBCode(s) for Forum <br /> <textarea rows="3" onClick="javascript:this.style.height='100px';sel_txt(this);" class="code_box_full">$forum_codes</textarea> <br /> HTML Codes for Site <br /> <textarea rows="3" onClick="javascript:this.style.height='100px';sel_txt(this);" class="code_box_full">$html_codes</textarea> <br /> Hotlinks for Forums <br /> <textarea rows="3" onClick="javascript:this.style.height='100px';sel_txt(this);" class="code_box_full">$direct_codes</textarea> <br /> Hotlinks for Site <br /> <textarea rows="3" onClick="javascript:this.style.height='100px';sel_txt(this);" class="code_box_full">$thumbs_codes</textarea> <br /> </td> </tr> </table> </td> </tr> </table> <br> Code (markup): and they fech the link from msci.php which is look like this $forum_codes []= $settings['seourls']=='Y' ? "[url=$root_path/share-$id.html][img]$root_path/thumb-$id.jpg[/img][/url]" : "[url=$root_path/share.php?id=$id][img]$root_path/thumb.php?id={$id}[/img][/url]"; $html_codes []= $settings['seourls']=='Y' ? "<a href=\"$root_path/share-$id.html\"><img src=\"$root_path/thumb-$id.jpg\" border=\"0\"></a>" : "<a href=\"$root_path/share.php?id=$id\"><img src=\"$root_path/thumb.php?id=$id\" border=\"0\"></a>"; $direct_codes []= $settings['seourls']=='Y' ? "[url=$root_path/share-$id.html][img]$root_path/image-$id.{$gif}[/img][/url]" : "[url=$root_path/share.php?id=$id][img]$root_path/image.php?id=$id&{$gif}[/img][/url]"; $link_codes []= $settings['seourls']=='Y' ? "$root_path/share-$id.html\" : "$root_path/share.php?id=$id\"; $thumbs_codes []= $settings['seourls']=='Y' ? "<a href=\"$root_path/share-$id.html\"><img src=\"$root_path/image-$id.{$gif}\" border=\"0\"></a>" : "<a href=\"$root_path/share.php?id=$id\"><img src=\"$root_path/image.php?id=$id&{$gif}\" border=\"0\"></a>"; } Code (markup): now I want to do something so that it creats which contains only the one line link which if we click it can take us too the page which can show on my site eg. http://thepiratepic.com/share.php?id=761F_4D25CA9C Code (markup): is it possible. thanks
Yes it's not that much hard.Just delete rest of codes from the template file.If you give us the script name or a complete code set of the template file we can show the way to do it. Regards.
Sorry for delay dude.I red your pm before few minutes and I have done the alteration for you.You just need to replace "template" folder in "root/theme/default" and "misc.php" file in "root" folder with your existing one. I have attached a screenshot of the view of the new update. Hope this solves your problem.If you have any issue with this just let me know. Regards.
thanks a lot bro. bingo right on money. thats what I want. but you had removed other links I need them too thanks.