http://www.rmcgirr83.org/viewtopic.php?f=48&t=1697SwT-CarbonzZ wrote:you have a collapse script? also for forums?

http://www.rmcgirr83.org/viewtopic.php?f=48&t=1697SwT-CarbonzZ wrote:you have a collapse script? also for forums?
Code: Select all
The board requires you to be registered and logged in to view this forum.
Code: Select all
You are not authorised to read this forum.
My two cent: If its be a must, to take config table bcs. of may simplify the mod, just make a config field for a txt file name. Store the so configured filename eg. invectra-mods wrote:Notes:
As per requested many times i was asked if there was any way to increase the character limit of the simple version of this mod "Info Boxes" Could not be done as it only used the phpBB config table.
root/info_box/info_box.txt
. After configure the text from admin in acp, the file will be written by submit and read out and parsed from a little scipt to present it to the users. So you have two flys with one clap: Your config field and the needed more text.Ahyes, not know that "info Boxes" is unlike "Info Boxes Advanced". I thought it is related to this mod here. So it was just a short thought. By the way: BBCoded text can also be stored in a textfile and read out and can be parsed after reading, so xml is not needed in every case.vectra-mods wrote:"info Boxes"
What about speed though? I personally don't know if reading from a file would slow things down.4_seven wrote:Ahyes, not know that "info Boxes" is unlike "Info Boxes Advanced". I thought it is related to this mod here. So it was just a short thought. By the way: BBCoded text can also be stored in a textfile and read out and can be parsed after reading, so xml is not needed in every case.vectra-mods wrote:"info Boxes"
Jessica wrote:How did you get your Info Boxes to show up like what it is in the demo link? Mine's not like that :S
Code: Select all
<!-- IF not S_DISPLAY_END -->
<!-- IF MESSAGE_INDEX && not S_DISPLAY_INDEX_PAGE && U_INFO_BOXES -->
<!-- IF SCRIPT_NAME != 'info_boxes' -->
<div class="forabg" style="margin-top: 3px;">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{TITLE_INDEX}</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li class="row">
<div class="content" style="width:auto; height:auto; padding:10px;">
<div class="info_box" <!-- IF BACKGROUND_COLOR_INDEX or BORDER_COLOR_INDEX -->style="<!-- IF BACKGROUND_COLOR_INDEX -->background-color: #{BACKGROUND_COLOR_INDEX};<!-- ENDIF --><!-- IF BORDER_COLOR_INDEX -->border-color: #{BORDER_COLOR_INDEX}<!-- ENDIF -->"<!-- ENDIF -->>
<br />{MESSAGE_INDEX}<br />
</div><div style="float: right;"><strong>{L_POSTED}: {TIME_INDEX} {L_DISPLAYS_UNTIL}: {DISPLAYS_UNTIL}</strong></div>
</div></li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
Code: Select all
<!-- IF not S_DISPLAY_END -->
<!-- IF MESSAGE_INDEX && S_DISPLAY_INDEX_PAGE && U_INFO_BOXES -->
<!-- IF SCRIPT_NAME != 'info_boxes' -->
<div class="forabg" style="margin-top: 3px;">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{TITLE_INDEX}</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li class="row">
<div class="content" style="width:auto; height:auto; padding:10px;">
<div class="info_box" <!-- IF BACKGROUND_COLOR_INDEX or BORDER_COLOR_INDEX -->style="<!-- IF BACKGROUND_COLOR_INDEX -->background-color: #{BACKGROUND_COLOR_INDEX};<!-- ENDIF --><!-- IF BORDER_COLOR_INDEX -->border-color: #{BORDER_COLOR_INDEX}<!-- ENDIF -->"<!-- ENDIF -->>
<br />{MESSAGE_INDEX}<br />
</div><div style="float: right;"><strong>{L_POSTED}: {TIME_INDEX} {L_DISPLAYS_UNTIL}: {DISPLAYS_UNTIL}</strong></div>
</div></li>
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->