 |
 |
 |
 |
#311899 - 11/06/06 05:43 PM
PhotoPost BB Code Popup
|
Journeyman
Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
|
PhotoPost PopupThis was an old 6.x mod that myself, JustDave, and Omegatron had all worked on at some point in time. It essentially add's a button to the rich text editor panel (that shows in all post/reply windows) which launches a pop-up panel with a user's photos that are in PhotoPost. Once a photo is clicked, bbcode is placed in the post window to link the image. Modified Files/ubb_js/standard_text_editor.js /templates/standard_text_editor.tpl New Files/scripts/photopost.inc.php /templates/photopost.tpl /languages/photopost.php RequirementsUBB 7 and Photopost InstructionsFollow the text file inside the zip. UpdatedAttached proper zip with bug fixes.
Attachments
2291-panel.gif (140 downloads)2297-2293-PhotoPostPanel-V0.2.zip (106 downloads)
Edited by chillin (11/16/06 10:20 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#311909 - 11/07/06 01:02 PM
Re: PhotoPost BB Code Popup
[Re: Zarzal]
|
Coder
Registered: 07/03/01
Posts: 807
Loc: Berlin, Germany
|
Next problem. The pagnation dont work. Seems to hardcodet to work with you board: //Pagnation $totalphotos = get_photo_total($user_id); $TotalP = ceil($totalphotos / $pp_images); $pages = $html->paginate($page,$TotalP," tripreports{$var_sep}sb{$var_eq}$sb{$var_sep}sk{$var_eq}$sk{$var_sep}page{$var_eq}"); The result is an unuseable link like this: http://www.dragonclan-forum.de/board/ubbthreads.php/ubb/tripreports/sb//sk//page/2/edit: replace tripreports with photopost and it work as it should. Finished, well done.
Edited by Zarzal (11/07/06 02:07 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#312026 - 11/16/06 10:18 PM
Re: PhotoPost BB Code Popup
[Re: Gizmo]
|
Journeyman
Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|