[OK] 3.0.7PL1 / POST - change order of options

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
ldd
Registered User
Posts: 26
Joined: Thu Feb 12, 2004 9:16 am
Location: France

[OK] 3.0.7PL1 / POST - change order of options

Post by ldd »

Support Request Template
What version of phpBB are you using? phpBB 3.0.7-PL1
What is your board's URL? none (in local)
Who do you host your board with? My Own Server
How did you install your board? I used the download package from phpBB.com
Is your board a fresh install or a conversion? Conversion from phpBB2
Do you have any MODs installed? No
Is registration required to reproduce this issue? No
What styles do you currently have installed? prosilver
What language(s) is your board currently using? french
Which database type/version are you using? MySQL 5
What is your level of experience? Experienced with PHP and phpBB
When did your problem begin? conversion phpbb2 to phpbb3
Please describe your problem.

Hi,

I want to change one option in the posting action :

How to do for changing the first option avalable : no Options but Upload Attachment ?

By default I want to have [Upload Attachments], not [Option].

Best regards

Generated by SRT Generator ($Rev: 3988 $)
Last edited by ldd on Mon May 03, 2010 4:10 pm, edited 1 time in total.
LDD

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51350
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: 3.0.7PL1 / POST - change order of options

Post by stevemaury »

OPEN styles/prosilver/template/posting_editor.html

FIND:

Code: Select all

<li id="options-panel-tab" class="activetab"><a href="#tabs" onclick="subPanels('options-panel'); return false;"><span>{L_OPTIONS}</span></a></li>
            <!-- IF S_SHOW_ATTACH_BOX --><li id="attach-panel-tab"><a href="#tabs" onclick="subPanels('attach-panel'); return false;"><span>{L_ADD_ATTACHMENT}</span></a></li><!-- ENDIF -->
REPLACE WITH:

Code: Select all

<li id="options-panel-tab" ><a href="#tabs" onclick="subPanels('options-panel'); return false;"><span>{L_OPTIONS}</span></a></li>
            <!-- IF S_SHOW_ATTACH_BOX --><li id="attach-panel-tab" class="activetab"><a href="#tabs" onclick="subPanels('attach-panel'); return false;"><span>{L_ADD_ATTACHMENT}</span></a></li><!-- ENDIF -->
Then purge the phpbb cache from the ACP, General tab.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

ldd
Registered User
Posts: 26
Joined: Thu Feb 12, 2004 9:16 am
Location: France

Re: 3.0.7PL1 / POST - change order of options

Post by ldd »

Hello,

I do all, but no changment...

:cry:


/////////////////////////////////

Finaly,

I find !

in the file : styles\prosilver\template\posting_buttons.html

find :
var show_panel = 'options-panel';

change with :
var show_panel = 'attach-panel';
LDD

Locked

Return to “[3.0.x] Support Forum”