[MOD IPv1.3.0.*] Clone Post »  Show posts from    to     

Icy Phoenix


Old Customizations - [MOD IPv1.3.0.*] Clone Post



TuningBEB2008 [ Sun 08 Nov, 2009 23:10 ]
Post subject: [MOD IPv1.3.0.*] Clone Post
#--------[ BEGIN MODIFICATION ]-------#

Clone Post 1.0.6 for IPv1.3.0.*

Allows a user to clone a post to a new topic that can be placed in any forum.

Spoiler: [ Show ]


This mod is only for ADM and MOD.

Demo:
demo1
demo2

#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM :mrgreen: :mricy:

First update, thanks MG

OPEN: templates/default/clone_target_forum_selection.tpl

FIND:
<input type="radio

REPLACE WITH:
<input type="checkbox

Very soon 1.0.7, Greets


Yros [ Sun 08 Nov, 2009 23:27 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
*hmmm* *o*
Thx Thuning.
Is it only admins or also users themselves who can " clone " a post ? ( or is their permissions possible ? ).
Anyway it seems really useful, thank you for sharing ^^


TuningBEB2008 [ Sun 08 Nov, 2009 23:37 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
Yros wrote: [View Post]
Is it only admins or also users themselves who can " clone " a post ? ( or is their permissions possible ? ).
Anyway it seems really useful, thank you for sharing ^^


well i am upgrade a extra for this mod to allow admin to set cloning permissions in ACP (yet untested)

greetings :mrorange:


Mighty Gorgon [ Mon 09 Nov, 2009 12:28 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
Please replace the Radio Buttons with a Select Box, because if you have several subforums that form will be a mess. :wink:


Mighty Gorgon [ Fri 13 Nov, 2009 18:13 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
Sorry TuningBEB2008, maybe I didn't explained correctly...

I didn't mean CHECKBOX... I meant a SELECT BOX, like (Forum JumpBox at the bottom of this page)! :oops:


Gianni PB [ Sat 14 Nov, 2009 11:47 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
great mod! 8)


TuningBEB2008 [ Fri 27 Nov, 2009 07:17 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
Mighty Gorgon wrote: [View Post]
Sorry TuningBEB2008, maybe I didn't explained correctly...

I didn't mean CHECKBOX... I meant a SELECT BOX, like (Forum JumpBox at the bottom of this page)! :oops:


Well I'm trying to do that, the code is write but not is visible... anyone know why? :oops:


KasLimon [ Fri 27 Nov, 2009 09:15 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
If you don't post the code it's hard to explain you what happens...

You should write something like this:
Code: [Hide] [Select]
<select name="aaaaaaa">
<option value="0" selected="selected">BLANK_DEFAULT_OPTION</option>
<option value="forum_id1">FORUM_NAME1</option>
<option value="forum_id2">FORUM_NAME2</option>
</select>


You may look for something already done... in includes/functions_categories_hierarchy.php I guess you can see how Jumpbox is made.

Nice mod! Greets!


Mighty Gorgon [ Sat 28 Nov, 2009 19:59 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
For example in modcp.php you can copy the code for topic moving:

Code: [Hide] [Select]
'S_FORUM_SELECT' => selectbox('new_forum', $forum_id),


TuningBEB2008 [ Sat 28 Nov, 2009 20:15 ]
Post subject: Re: [MOD IPv1.3.0.*] Clone Post
Ok, thanks for the help :mricy:




Powered by Icy Phoenix