|
Page 2 of 3
|
pax
Joined: March 2009
Posts: 46
|
Re: [MOD IPv1.3.0.*] Sliding Options When Posting
fresh istallation:
and tabs disappear immediately...
|
#16 Thu 05 Nov, 2009 21:02 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7191
Location: Borgo San Michele
|
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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#17 Thu 05 Nov, 2009 21:42 |
|
Yros
Joined: April 2009
Posts: 283
Location:
|
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.
|
#18 Thu 05 Nov, 2009 21:53 |
|
pax
Joined: March 2009
Posts: 46
|
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...
|
#19 Thu 05 Nov, 2009 23:47 |
|
Yros
Joined: April 2009
Posts: 283
Location:
|
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 >.>"
|
#20 Fri 06 Nov, 2009 01:01 |
|
pax
Joined: March 2009
Posts: 46
|
Re: [MOD IPv1.3.0.*] Sliding Options When Posting
the bar now is aligned perfectly:
and work perfectly!
Thanks!
|
#21 Fri 06 Nov, 2009 09:44 |
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
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!
____________ Gabriel Anca
Edited by KasLimon, Fri 06 Nov, 2009 13:34: Added PS |
#22 Fri 06 Nov, 2009 13:26 |
|
Yros
Joined: April 2009
Posts: 283
Location:
|
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 )
|
#23 Fri 06 Nov, 2009 14:58 |
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
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!
____________ Gabriel Anca
|
#24 Fri 06 Nov, 2009 15:23 |
|
Yros
Joined: April 2009
Posts: 283
Location:
|
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.
|
#25 Fri 06 Nov, 2009 16:10 |
|
Yros
Joined: April 2009
Posts: 283
Location:
|
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.
|
#26 Sun 08 Nov, 2009 23:18 |
|
ankur0412
Joined: August 2008
Posts: 39
|
Re: [MOD IPv1.3.0.*] Sliding Options When Posting
Does it work on prosilver?
|
#27 Tue 05 Jan, 2010 13:41 |
|
KasLimon
Joined: November 2006
Posts: 494
Location: Madrid (Spain)
|
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
____________ Gabriel Anca
|
#28 Wed 06 Jan, 2010 20:26 |
|
Jopie89
Joined: December 2009
Posts: 15
|
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..
|
#29 Wed 09 Feb, 2011 14:53 |
|
Yros
Joined: April 2009
Posts: 283
Location:
|
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
|
#30 Tue 15 Feb, 2011 03:35 |
|
|
Page 2 of 3
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|