Icy Phoenix
Old Customizations - [MOD IPv1.3.0.*] Sliding Options When Posting
Yros [ Wed 04 Nov, 2009 19:33 ]
Post subject: [MOD IPv1.3.0.*] Sliding Options When Posting
Hello,
*Tip(s) : you can choose to show the content of the menus UNDER the tabs. Everything is explain in the installation.
( @ MG : Maybe another thing to add to the default IP package hm ? ^^ )
- Name of the Mod : Sliding Options when Posting
- Description : Replace the long part of options when starting a thread ( posting.php / posting_body.tpl ) by a reducted and animated menu with tabs ( and permissions ), reducting the whole page a lot and making it easier.
- Version : 1.1.0
- Démo : n/a
- Screenshots : ( under Mozilla/Firefox with BlackPearl skin )( It is in English in the package )
Credits :
@ Informpro for making the code I gave him working with multi-tabs.
@ KasLimon for giving the solution for perms on tabs and idea of lang_var.
~ This mod perfectly work with IP styles ( tested on Pearl and Frozen Phoenix ) but have a little unwanted issue on prosilver_ip : a space between content & tabs.
~ I support every troubles with the code until they are fixed but not the design : You're free to edit yourself the .css and the pictures ^^
DWho [ Wed 04 Nov, 2009 20:53 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
Great looking mod... I will be tesing and adding to my sites
Thanks
Costa [ Thu 05 Nov, 2009 00:02 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
Great looking mod
Yros [ Thu 05 Nov, 2009 00:41 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
I'm yours ^.^
If anyone have an idea on how to set up the permissions on tabs ... ( as I said, if a user isn't allowed to use this feature, make the tabs hide too ). If you find any bug or if you have any suggest on the code, don't be shy and tell it for let me update the mod with your ideas / corrections ^^.
pax [ Thu 05 Nov, 2009 01:25 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
don't go...
copy all file in ../template/...
but don't go...
Yros [ Thu 05 Nov, 2009 03:01 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
Have you a link of your forum ?
Wich theme are you using ? Did you try another theme ?
Edit : in Local I tested for Black Pearl and Frozen Phoenix : both worked perfectly.
Check in the template folder you are using if there isn't a file " posting_body.tpl ". If yes it would explain many things.
pax [ Thu 05 Nov, 2009 10:52 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
In local.
Theme: ProSilver IP
posting_body.tpl
<!-- BEGIN switch_ajax_features -->
<script type="text/javascript">
<!--
var L_RESULTS = '{L_SEARCH_RESULTS}';
var L_RESULT = '{L_SEARCH_RESULT}';
var L_MORE_MATCHES = '{L_MORE_MATCHES}';
var L_AJAX_NO_RESULTS = '{L_AJAX_NO_RESULTS}';
//-->
</script>
<!-- <script type="text/javascript" src="{T_COMMON_TPL_PATH}js/ajax/ajax_core.js"></script> -->
<script type="text/javascript" src="{T_COMMON_TPL_PATH}js/ajax/ajax_postfunctions.js"></script>
<!-- END switch_ajax_features -->
<script type="text/javascript">
<!--
function attach_rules(forum_id)
{
window.open('{U_ATTACH_RULES}' + forum_id + '&sid={S_SID}', '_attach_rules', 'height=200,width=500,resizable=no,scrollbars=yes');
}
//-->
</script>
<!-- BEGIN switch_privmsg -->
{CPL_MENU_OUTPUT}
<table width="100%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" style="vertical-align:top;">
<div class="forumline" style="margin-left:5%;margin-right:5%">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="25%" align="center">{INBOX_IMG}<br /><span class="forumlink">{INBOX}</span></td>
<td width="25%" align="center">{SENTBOX_IMG}<br /><span class="forumlink">{SENTBOX}</span></td>
<td width="25%" align="center">{OUTBOX_IMG}<br /><span class="forumlink">{OUTBOX}</span></td>
<td width="25%" align="center">{SAVEBOX_IMG}<br /><span class="forumlink">{SAVEBOX}</span></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<!-- END switch_privmsg -->
<!-- BEGIN switch_prv_msg_review -->
<table class="forumline" width="100%" cellspacing="0">
<tr><td class="row-header" colspan="2"><span>{switch_prv_msg_review.PRIVATE_MSG_TITLE}</span></td></tr>
<tr><td align="left" valign="top" colspan="2" width="65%" class="row2"><div class="post-text post-text-hide-flow">{switch_prv_msg_review.PRIVATE_MSG_REVIEW}</div></td></tr>
</table>
<!-- END switch_prv_msg_review -->
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this);" {S_FORM_ENCTYPE}>
<!-- BEGIN save_draft_confirm -->
{IMG_THL}{IMG_THC}<span class="forumlink">{L_DRAFTS}</span>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
<tr><td class="row1g">{L_DRAFT_CONFIRM}<br /><br /><input type="submit" name="draft_confirm" value="{L_YES}" class="mainoption" /></td></tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
<br />
<!-- END save_draft_confirm -->
<input type="hidden" name="post_time" value="<?php echo time(); ?>" />
{POST_PREVIEW_BOX}
{ERROR_BOX}
<!-- IF S_FORUM_RULES -->
<div class="navbar rules-box" style="margin-top: 5px;">
<div class="inner"><span class="corners-top"><span></span></span>
<div style="text-align: left;">
<span class="forumlink"><b>{L_FORUM_RULES}</b></span><hr class="cell-title" />
<div class="post-text">{FORUM_RULES}</div>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<br />
<!-- ENDIF -->
{IMG_THL}{IMG_THC}<span class="forumlink">{L_POST_A}</span>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
<!-- BEGIN switch_username_select -->
<tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></span></td>
</tr>
<!-- END switch_username_select -->
<!-- BEGIN switch_privmsg -->
<tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" class="post" name="username" maxlength="25" size="25" tabindex="1" value="{USERNAME}" {S_AJAX_PM_USER_CHECK} /><span id="pm_username_select"> </span> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onclick="window.open('{U_SEARCH_USER}','_phpbbsearch','width=400,height=200,resizable=yes');return false;" /></span></td>
</tr>
<tr id="pm_username_error_tbl" style="display:none;">
<td class="row1"> </td>
<td class="row2"><span class="gen" id="pm_username_error_text"> </span></td>
</tr>
<!-- END switch_privmsg -->
<tr>
<td class="row1"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2"><input type="text" name="subject" size="45" maxlength="120" style="width: 98%" tabindex="2" class="post" value="{SUBJECT}" {S_AJAX_BLUR} /></td>
</tr>
<!-- BEGIN switch_ajax_features -->
<tr id="subject_error_tbl" style="display:none;">
<td class="row1"> </td>
<td class="row2"><span class="gen">{L_EMPTY_SUBJECT}</span></td>
</tr>
<tr id="searchresults_tbl" style="display:none;">
<td class="row1"> </td>
<td class="row2"><span class="gen"><a href="#" target="_blank" class="gen" id="searchresults_lnk">{L_AJAX_NO_RESULTS}</a></span></td>
</tr>
<!-- END switch_ajax_features -->
<!-- BEGIN topic_description -->
<tr>
<td class="row1"><span class="gen"><b>{L_TOPIC_DESCRIPTION}</b></span></td>
<td class="row2">
<span class="gen"><input type="text" name="topic_desc" size="45" maxlength="60" style="width: 98%" tabindex="2" class="post" value="{TOPIC_DESCRIPTION}" /></span>
</td>
</tr>
<!-- END topic_description -->
<!-- BEGIN switch_type_toggle -->
<tr>
<td class="row1"><span class="gen"><b>{L_TYPE_TOGGLE_TITLE}</b></span></td>
<td class="row2"><span class="gen"><b>{S_TYPE_TOGGLE}</b></span></td>
</tr>
<!-- END switch_type_toggle -->
<!-- BEGIN switch_news_cat -->
<tr>
<td class="row1"><span class="gen"><b>{switch_news_cat.L_NEWS_CATEGORY}</b></span></td>
<td class="row2"><select name="{switch_news_cat.S_NAME}">{switch_news_cat.S_CATEGORY_BOX}</select></td>
</tr>
<!-- END switch_news_cat -->
<tr>
<td class="row1" width="22%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr><td><span class="gen"><b>{L_MESSAGE_BODY}</b></span></td></tr>
<tr>
<td valign="middle" align="center"><br />
<!-- Begin Lo-Fi Mod -->
<?php
global $lofi;
if ( !$lofi )
{
?>
<!-- End Lo-Fi Mod -->
{BBCB_SMILEYS_MG}
<!-- Begin Lo-Fi Mod -->
<?php
}
?>
<!-- End Lo-Fi Mod -->
<br />
</td>
</tr>
</table>
</td>
<td class="row2" width="78%" valign="top">
{BBCB_MG}
<div class="message-box"><textarea id="message" name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea></div>
</td>
</tr>
<!-- BEGIN switch_edit -->
<tr>
<td class="row1"><span class="gen"><b>{L_EDIT_NOTES}</b></span></td>
<td class="row2"><input type="text" name="notes" size="45" maxlength="60" style="width: 98%" tabindex="2" class="post" value="{switch_edit.NOTES}" /></td>
</tr>
<!-- END switch_edit -->
<tr>
<td class="catBottom" colspan="2">
<input type="button" tabindex="4" class="liteoption" value="{L_POST_HIGHLIGHT}" onclick="copymetasearch();" />
<input type="submit" tabindex="5" name="preview" class="liteoption" value="{L_PREVIEW}" />
<!-- BEGIN allow_drafts -->
<input type="submit" tabindex="6" name="draft" class="altoption" value="{L_DRAFT_SAVE}" />
<!-- END allow_drafts -->
<input type="submit" accesskey="s" tabindex="7" name="post" class="mainoption" value="{L_SUBMIT}" />
</td>
</tr>
<tr>
<td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2">
<div class="genmed">
<!-- BEGIN switch_show_portal -->
<label><input type="checkbox" name="topic_show_portal" {S_TOPIC_SHOW_PORTAL} /> {L_SHOW_PORTAL}</label><br />
<!-- END switch_show_portal -->
<!-- BEGIN switch_html_checkbox -->
<label><input type="checkbox" name="disable_html" {S_HTML_CHECKED} /> {L_DISABLE_HTML}</label><br />
<!-- END switch_html_checkbox -->
<label><input type="checkbox" name="disable_acro_auto" {S_ACRO_AUTO_CHECKED} /> {L_DISABLE_ACRO_AUTO}</label><br />
<!-- BEGIN switch_bbcode_checkbox -->
<label><input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label><br />
<!-- END switch_bbcode_checkbox -->
<!-- BEGIN switch_smilies_checkbox -->
<label><input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label><br />
<!-- END switch_smilies_checkbox -->
<!-- BEGIN switch_signature_checkbox -->
<label><input type="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} /> {L_ATTACH_SIGNATURE}</label><br />
<!-- END switch_signature_checkbox -->
<!-- BEGIN switch_bookmark_checkbox -->
<label><input type="checkbox" name="setbm" {S_SETBM_CHECKED} /> {L_SET_BOOKMARK}</label><br />
<!-- END switch_bookmark_checkbox -->
<!-- BEGIN switch_notify_checkbox -->
<label><input type="checkbox" name="notify" {S_NOTIFY_CHECKED} /> {L_NOTIFY_ON_REPLY}</label><br />
<!-- END switch_notify_checkbox -->
<!-- BEGIN switch_mark_edit_checkbox -->
<label><input type="checkbox" name="mark_edit" {S_MARK_EDIT_CHECKED} /> {L_MARK_EDIT}</label><br />
<!-- END switch_mark_edit_checkbox -->
<!-- BEGIN switch_delete_checkbox -->
<label><input type="checkbox" name="delete" /> {L_DELETE_POST}</label><br />
<!-- END switch_delete_checkbox -->
<!-- BEGIN switch_lock_topic -->
<label><input type="checkbox" name="lock" {S_LOCK_CHECKED} /> {L_LOCK_TOPIC}</label><br />
<!-- END switch_lock_topic -->
<!-- BEGIN switch_unlock_topic -->
<label><input type="checkbox" name="unlock" {S_UNLOCK_CHECKED} /> {L_UNLOCK_TOPIC}</label><br />
<!-- END switch_unlock_topic -->
</div>
</td>
</tr>
{ATTACHBOX}
{POLLBOX}
{REGBOX}
<!-- BEGIN switch_type_cal -->
<tr><th colspan="2">{L_CALENDAR_TITLE}</th></tr>
<tr>
<td class="row1" valign="top"><span class="gen"><b>{L_CALENDAR_TITLE}</b></span></td>
<td valign="top" class="row1">
<table cellpadding="2" cellspacing="0" width="100%" border="0">
<tr>
<td align="right" nowrap="nowrap"><span><b>{L_CALENDAR_TITLE}: </b></span></td>
<td align="left" width="100%">
<span class="genmed">
{S_CALENDAR_DAY}{S_CALENDAR_MONTH}{S_CALENDAR_YEAR}
<a href="#" class="genmed" onclick="document.post.topic_calendar_day.value={TODAY_DAY};document.post.topic_calendar_month.value={TODAY_MONTH};document.post.topic_calendar_year.value={TODAY_YEAR};" />{L_TODAY}</a>
</span>
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap"><span><b>{L_TIME}: </b></span></td>
<td align="left" width="100%">
<span class="genmed">
<input name="topic_calendar_hour" type="text" maxlength="2" size="3" value="{CALENDAR_HOUR}" class="post" /> {L_HOURS}
<input name="topic_calendar_min" type="text" maxlength="2" size="3" value="{CALENDAR_MIN}" class="post" /> {L_MINUTES}
</span>
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap"><span><b>{L_CALENDAR_DURATION}: </b></span></td>
<td align="left" width="100%">
<span class="genmed">
<input name="topic_calendar_duration_day" type="text" maxlength="5" size="3" value="{CALENDAR_DURATION_DAY}" class="post" /> {L_DAYS}
<input name="topic_calendar_duration_hour" type="text" maxlength="5" size="3" value="{CALENDAR_DURATION_HOUR}" class="post" /> {L_HOURS}
<input name="topic_calendar_duration_min" type="text" maxlength="5" size="3" value="{CALENDAR_DURATION_MIN}" class="post" /> {L_MINUTES}
</span>
</td>
</tr>
</table>
</td>
</tr>
<!-- END switch_type_cal -->
<!-- BEGIN switch_confirm -->
<tr><td class="row1 row-center" colspan="2"><br /><br />{CONFIRM_IMAGE}<br /><br /></td></tr>
<tr>
<td class="row2 row-center" colspan="2">
<span class="gen"><b>{L_CT_CONFIRM}</b></span><br />
<span class="gensmall">{L_CT_CONFIRM_E}</span><br /><br />
<input type="text" class="post" style="width: 200px" name="confirm_code" size="6" value="" />
{S_HIDDEN_FIELDS}
</td>
</tr>
<!-- END switch_confirm -->
<tr>
<td class="cat" colspan="2">
{S_HIDDEN_FORM_FIELDS}
<input type="submit" tabindex="8" name="preview" class="liteoption" value="{L_PREVIEW}" />
<input type="submit" accesskey="s" tabindex="9" name="post" class="mainoption" value="{L_SUBMIT}" />
</td>
</tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
</form>
<!-- BEGIN switch_privmsg -->
</td>
</tr>
</table>
<!-- END switch_privmsg -->
<div align="right">{JUMPBOX}</div>
{TOPIC_REVIEW_BOX}
Informpro [ Thu 05 Nov, 2009 12:32 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
Thanks Yros.
You could use SWITCH / Block for perm's (because the number of tabs are automatically calculated with the number of li (CSS3: li > a.open)
If anyone have issues with this, tell me
Yros [ Thu 05 Nov, 2009 14:32 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
Pax, the main problem with Prosilver IP is that it's an adaptation from Subsilver of phpBB 2.x.x and isn't totally adapted to IP >.> I can't provide support for every theme ( as I can't do buttons for every themes ). This mod is just a little useful code for help in a way.
That's what anyone would have reply but I'm too stupid *sigh*
I just updated the new package with some changes :
- Sliding Option.txt greatly modified for add all the changes made in posting_body.tpl
- a Contrib folder added with /default/posting_body.tpl already modified and same for /subsilver IP/posting_body.tpl
Pax, just download the new package and upload /subsilver IP/posting_body.tpl in your template directory.
It should be fixed now.
pax [ Thu 05 Nov, 2009 16:36 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
don't go...
Yros [ Thu 05 Nov, 2009 17:13 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
Of course . . . If I forget the main script in the file it won't start >.>"""
Sorry for that. I updated ( again ) the package. Now it's ok ( I tested on local with prosilver_ip black & blue ).
The only thing with prosilver_IP is that I can't explain a little space between content and tabs *hm*
Screen under Mozilla and prosilver_ip Black :
Ps : I of course updated the whole installation with these modifications. I also added some notices and I cut the code in 4 parts :
<!-- BEGIN / END Sliding Options - Script 1 / Content / Tabs / Script 2 Part -->
I hope it will help you. The script can be used in many other way. Feel free to take advantage of that.
EDIT : I removed [beta] from the title because it now looks like a true mod / plug in for IP. I will try to fix the unwanted space with prosilver's styles and to find a way to add perms on the tabs.
pax [ Thu 05 Nov, 2009 18:10 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
in the package there are two folder pro silver IP...
Yros [ Thu 05 Nov, 2009 18:16 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Ah yeah ... Package updated ( the right folder is subsilver_ip ). Little mistake with WinRar >.>"
pax [ Thu 05 Nov, 2009 18:30 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Yros [ Thu 05 Nov, 2009 18:49 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
You know, if you follow the installation part you haven't to add the file in the contrib directory ... In local it work perfectly for me so if it doesn't for you it's not because of the mod but because of one of your modification. Just download the package again, include again the root/ folder into your root and then add contrib/subsilver_ip/posting_body.tpl into {your_board}/templates/subsilver_ip.
There's no reason it won't work.
pax [ Thu 05 Nov, 2009 21:02 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
fresh istallation:
and tabs disappear immediately...
Mighty Gorgon [ Thu 05 Nov, 2009 21:42 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Thanks for sharing.
I like this MOD, I thought some weeks ago to code something similar, but I didn't found the time for doing it properly yet.
Maybe I will have a look later on.
Thanks.
Yros [ Thu 05 Nov, 2009 21:53 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
@ MG : I'm glad to be able to help you in your work on IP ^^
@ Pax : you can't open a tab when you don't have enough rights.
About your fresh install, is it a fresh install of the mod or of the board ? Are you sure you are using IPv1.3.0* ? ( RC2 mb ... As if I don't really think the difference between first release and RC2 is big enough to cause this disturb ). Tonight I'm a bit boring/tired so I will check further more only tomorrow but, you know, if you can use another style than prosilver_ip, it would be better for your forum ;). That's just my point of view.
pax [ Thu 05 Nov, 2009 23:47 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Fresh install, fresh board!
My Ip versione is 1.3.0*
I like prosilver IP Theme...
Yros [ Fri 06 Nov, 2009 01:01 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
I am . . . STUPID >.< !
Seriously sometimes I really think that my brain fly away >.>"
I updated the package ... If this time it doesn't work, I go check step by step what I forgot between my local board and the package mode because actually all errors are due to my mistakes >.>"
pax [ Fri 06 Nov, 2009 09:44 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
the bar now is aligned perfectly:
and work perfectly!
Thanks!
KasLimon [ Fri 06 Nov, 2009 13:26 ]
Post subject: Re: [Beta] Sliding Options When Posting [For IPv1.3.0.*]
Nice mod!
I'm yours ^.^
If anyone have an idea on how to set up the permissions on tabs ... ( as I said, if a user isn't allowed to use this feature, make the tabs hide too ). If you find any bug or if you have any suggest on the code, don't be shy and tell it for let me update the mod with your ideas / corrections ^^.
So let me show you the solution to this problem you have:
Open includes/attach_mod/positng_attachments.php
Find $template->assign_var_from_handle('ATTACHBOX', 'attachbody');
After, add $template->assign_block_vars('switch_attach', array());
Open posting.php
Find $template->assign_var_from_handle('POLLBOX', 'pollbody');
After, add $template->assign_block_vars('switch_pollbox', array());
Find $template->assign_var_from_handle('REGBOX', 'regbody');
After, add $template->assign_block_vars('switch_regbox', array());
Open templates/default/posting_body.tpl
Find<a id="close0" style="display: none;" class="close" onclick="return false;">Close Panel</a>
</li>
After, add <!-- BEGIN switch_attach -->
Find <a id="close1" style="display: none;" class="close" onclick="return false;">Close Panel</a>
</li>
After, add <!-- END switch_attach -->
<!-- BEGIN switch_pollbox -->
Find <a id="close2" style="display: none;" class="close" onclick="return false;">Close Panel</a>
</li>
After, add <!-- END switch_pollbox -->
<!-- BEGIN switch_regbox -->
Find <a id="close3" style="display: none;" class="close" onclick="return false;">Close Panel</a>
</li>
After, add <!-- END switch_regbox -->
I tested it and it works
PS: Just a suggestion, to make it multilanguage:
In posting_body.tpl
FindReplace withFindReplace withFindReplace withFindReplace withFindReplace withFindReplace with
Greets!
Yros [ Fri 06 Nov, 2009 14:58 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
As I said, it is in English in the package and add 2 time {L_OPTIONS} for two different things is a bit ... well ^^' I think I just will add some lang var, that's all **
And for your help about perms on tabs, THAAAAAAAAAAAAAAAAAAAAAAAANKS ! ^^ Yeah it perfectly works but you forgot for calendar ^^ <!-- BEGIN switch_type_cal --><!-- END switch_type_cal -->. Thanks anyway *o* I will add it to the next package ( I'm busy now )
KasLimon [ Fri 06 Nov, 2009 15:23 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
As I said, it is in English in the package and add 2 time {L_OPTIONS} for two different things is a bit ... well ^^' I think I just will add some lang var, that's all **
LOL I noticed when I was posting
Yes, the only solution I saw was to add a lang var.
Ok, I didn't noticed you've added it also in English, sorry
And for your help about perms on tabs, THAAAAAAAAAAAAAAAAAAAAAAAANKS ! ^^ Yeah it perfectly works but you forgot for calendar ^^ <!-- BEGIN switch_type_cal --><!-- END switch_type_cal -->. Thanks anyway *o* I will add it to the next package ( I'm busy now )
You're welcome! I didn't add switch_type_cal because I saw it was already donein the files I downloaded today
Greets!
Yros [ Fri 06 Nov, 2009 16:10 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Nop, I did not upgraded yet the pack with your modifications ^^ I still doubt between making a new file ( like " lang_extend_sliding_options " ) or just add 5 lines to lang_main >.>" ( Because, as if there isn't a lot of lines, IMHO a mod always should have a new lang file for don't have to edit every time when updating etc ... ).
I still have some things to do but I'll upgrade it tonight, promise ^^'
EDIT Sat.07 at 5h30 :
I'm sorry to be in late but I really had many things to do yesterday ... BUT the package is finally updated with latest KasLimon's ideas added. I checked every files this time ( I edited both files in contrib and the instructions to install it ). If you have any problem, reply there. ( Screenshots help ^^ ).
I also updated my first post for show the updates.
@ KasLimon : Nah it wasn't done for calendar but I just took this switch some lines ago in the code, in the content part ( I think it's there you saw it, not for the tabs until now ^^ ). Anyway, really thanks for your help
It's really better to do not have unusable tabs displayed ^.^
@ Pax : I didn't see your latest reply the first time, no problem ^^ It's my job to support mods I release.
Yros [ Sun 08 Nov, 2009 23:18 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
I'm sorry for double-post but I have to announce it : I just fixed a major bug with this mod so if you could download it for enjoy it ... I forgot to replace {S_HIDDEN_FORMS} and that created a major bug, making impossible previewing neither submitting posts. Now fixed in installation and contrib files.
ankur0412 [ Tue 05 Jan, 2010 13:41 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Does it work on prosilver?
KasLimon [ Wed 06 Jan, 2010 20:26 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
give it a try, and then you'll see if it works... I think it does
Jopie89 [ Wed 09 Feb, 2011 14:53 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Hi installed the mod on IcyPhoenix 1.3.0.53a. With black pearl.
When posting a new message you get offcoure the textbox but standard is open: calenderevent. (see screenshot):
[IMAGE REMOVED]
Clicking Message Options and attachement will result in the following:
[IMAGE REMOVED]
Poll, Event and Calender don't work at all...
What can be wrong?
(Sorry for my bad english.. I hope you understand.. )
Just copied the postinb_body.tpl from /contrib/default
Now it's ok
My bad..
Yros [ Tue 15 Feb, 2011 03:35 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
You might have missed something during the install, it happens :p Btw, I up this topic for MG : I'd like to know if it was possible to implement this mod in the default package and to extend it to the other similar tabs ? The code works on the latest revisions of the SVN without any trouble to report. Of course, the style might be changed to fit with the .CSS, I could update it in this way if you want to or you can do it while implementing it as a default function into IP. =P
Mighty Gorgon [ Sun 20 Feb, 2011 10:37 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Before adding it to the default package I need to check it and trying to understand how it is impacting the code (php, html, css, etc.).
I'll do it when I have some free time and let you know.
KugeLSichA [ Wed 02 Mar, 2011 17:56 ]
Post subject: Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Hi installed the mod on IcyPhoenix 1.3.0.53a. With black pearl.
When posting a new message you get offcoure the textbox but standard is open: calenderevent. (see screenshot):
[IMAGE REMOVED]
Clicking Message Options and attachement will result in the following:
[IMAGE REMOVED]
Poll, Event and Calender don't work at all...
What can be wrong?
(Sorry for my bad english.. I hope you understand.. )
Just copied the postinb_body.tpl from /contrib/default
Now it's ok
My bad..
Same problem here... the install instructions are not correct... but if you diff the posting_body.tpl with your current... all is working as it should...
Thanks for this great MOD!