Changeset 24198


Ignore:
Timestamp:
Aug 20, 2013, 6:05:44 PM (11 years ago)
Author:
Eric
Message:

Fix a FluxBB issue (FluxBB mod) : When a new user registers, "Newest registered user" does not show him.

Tips in language/en_UK/plugin.lang.php and language/fr_FR/plugin.lang.php updated to give the way to apply the above fix.

Location:
extensions/Register_FluxBB
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/Register_FluxBB/admin/template/register_fluxbb.css

    r21431 r24198  
    1919
    2020.info{
     21  color: #0a0;
     22  background-color:#c2f5c2;
     23  text-align: left;
    2124  margin: 5px;
    2225  padding: 50px 50px 10px 10px;
     
    2831}
    2932
    30 .info {
    31   color: #0a0;
    32   background-color:#c2f5c2;
    33 }
    34 
    3533.mod{
     34  color: #f22;
     35  background-color: #ffd5dc;
     36  text-align: left;
    3637  margin: 5px;
    3738  padding: 50px 50px 10px 10px;
     
    4142  padding: 5px 60px 0pt 60px;
    4243  min-height: 20px;
    43 }
    44 
    45 .mod {
    46   color: #f22;
    47   background-color: #ffd5dc;
    4844}
    4945
  • extensions/Register_FluxBB/language/en_UK/plugin.lang.php

    r23513 r24198  
    4646  <b>with :</b>
    4747  <div class="info">&lt;a href=&quot;../[YourPiwigoRoot]/password.php&quot; tabindex=&quot;5&quot;&gt;&lt;?php echo $lang_login[\'Forgotten pass\'] ?&gt;&lt;/a&gt;</div>
    48   <br/>';
     48<br/><br/>
     49  <b>* Modify the file</b> : [FluxBBRoot]/index.php <b>after</b> ligne 18 :
     50  <div class="mod">
     51// Load the index.php language file<br/>
     52require PUN_ROOT.\'lang/\'.$pun_user[\'language\'].\'/index.php\';
     53  </div>
     54  <b>Insert :</b>
     55  <div class="info">
     56// Mod to regenerate user cache on each load<br/>
     57&nbsp;if (!defined(\'FORUM_CACHE_FUNCTIONS_LOADED\'))<br/>
     58&nbsp;&nbsp;&nbsp;require PUN_ROOT.\'include/cache.php\';
     59<br/><br/>
     60&nbsp;&nbsp;&nbsp;generate_users_info_cache();<br/>
     61// ------------------------------------------<br/>
     62  </div>
     63<br/>';
    4964
    5065
  • extensions/Register_FluxBB/language/fr_FR/plugin.lang.php

    r23513 r24198  
    4848  <b>par :</b>
    4949  <div class="info">&lt;a href=&quot;../[VotreRacineDePiwigo]/password.php&quot; tabindex=&quot;5&quot;&gt;&lt;?php echo $lang_login[\'Forgotten pass\'] ?&gt;&lt;/a&gt;</div>
    50   <br/>';
     50<br/><br/>
     51  <b>* Modifiez le fichier</b> : [RacineDeFluxBB]/index.php <b>après</b> la ligne 18 :
     52  <div class="mod">
     53// Load the index.php language file<br/>
     54require PUN_ROOT.\'lang/\'.$pun_user[\'language\'].\'/index.php\';
     55  </div>
     56  <b>Insérez :</b>
     57  <div class="info">
     58// Modif régénération du cache à chaque visite<br/>
     59&nbsp;if (!defined(\'FORUM_CACHE_FUNCTIONS_LOADED\'))<br/>
     60&nbsp;&nbsp;&nbsp;require PUN_ROOT.\'include/cache.php\';
     61<br/><br/>
     62&nbsp;&nbsp;&nbsp;generate_users_info_cache();<br/>
     63// ------------------------------------------<br/>
     64  </div>
     65<br/>';
    5166
    5267
Note: See TracChangeset for help on using the changeset viewer.