You can simply replace the files, if you already had them installed.
If not, you can make them from the codes I provided...(it contains all files needed)
Moderator: Integra Moderator
<?php /*************************************************************************** * blocks_imp_online_users.php * ------------------- * begin ]http://www.integramod.com[/url] * email : <a>webmaster@integramod.com</a> * * note: removing the original copyright is illegal even you have modified * the code. Just append yours if you have modified it. ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } srand ((double) microtime() * 1000000); // First we need some info about the quotes-file // --------------------------------------------- // Filename $zitate = file("quotes.txt"); // How long is that file? $filelength = count($zitate)-1; // PHP sees the first line as line 0 // while we would see that as line 1 on an editor // How many lines about one qoute? $onequote = 3; // Quotes starting from line $quotestart = 7-1; // Because PHP starts from 0, we have to take 1 line less // Quotes ending at line $quoteend = $filelength-$quotestart; // Quotations $quotelines = $quoteend-$quotestart; $quoteamount = $quotelines/$onequote; // Taking one random quote from the amount of quotes $i = $quoteamount-1; $randomquote = rand(0,$quoteamount); // Here again, by starting from 0 we have to take 1 from the amount // Random quote location $zitatetext = ($randomquote*$onequote)+$quotestart; // Here, 0 comes in very handy to keep the first quote possible // Author location $zitateauthor = $zitatetext+1; // Quotation source $zitatesource = $zitatetext+2; $template->assign_vars(array( 'QUOTE' => $zitate[$zitatetext], 'FROM' => $zitate[$zitateauthor], 'SOURCE' => $zitate[$zitatesource] )) ?>
<table> <tr> <td><img></td> <td><span><br> <b>"</b>{QUOTE}<b>"</b><br> </tr> <tr> <td><div><em>{FROM} - "{SOURCE}"</em></div></td></td> </tr> </table>
"Nevertheless, while I was deprived of the privilege of a natural rest, there may have also been some profit gained: the awful opulence of the dream, a rich and swollen world nourished by the exhaustion of the flesh. The world, in fact, as such. Any other realm seemed an absence by comparison, at best a chasm in the fertile graveyard of life. "
[align=center:1z9f4xul]Thomas Ligotti - "Mrs. Rinaldi's Angel "[/align:1z9f4xul]
"Dr. Bantham";p="7725" wrote:A great Block made greater!
"Dr. Bantham";p="7725" wrote:I do have a couple of minor issues with my template that you might be able to help out with:[list type=decimal][*]The <b> tags are not taking for the quotation marks around the quotation itself. I tried the <strong> tag as well, to no avail. I would rather use text than the images you provided, as I wish for these to match the template style rather than be a graphic image which must be changed to match each template.[*]A singular space is being added to each quotation and source, just prior to the closing quotation mark. (See Below)[/list]"Nevertheless, while I was deprived of the privilege of a natural rest, there may have also been some profit gained: the awful opulence of the dream, a rich and swollen world nourished by the exhaustion of the flesh. The world, in fact, as such. Any other realm seemed an absence by comparison, at best a chasm in the fertile graveyard of life. "
[align=center:3r95bev5]Thomas Ligotti - "Mrs. Rinaldi's Angel "[/align:3r95bev5]
"Dr. Bantham";p="7725" wrote:I am not nearly as proficient as you are with Excel. If it is not too much trouble, it would be greatly appreciated if you would modify your spreadsheet to accommodate the third variable. It is a wonderful asset to this block! Again, thanks for sharing this with us!
That had no effect. Note that I am successful in applying the bold attribute to the line containing the Author and Source. Curious. Do you have any ideas on why an extra space is being added before the closing quotation marks?[quote=""evolver""]I will create an excel file for 3 variables... <!-- s]Fantastic! I am elated that you are going the extra mile by accommodating the request. Many thanks!"evolver" wrote:class="gen" overwrites every other style in the <span>.
That's why the <b> tags won't have any effect there...
See what happends when you delete class="gen"
Your skill is matched by your kindness. This is a great tool! Thanks[sup:1sl8ju0l]2[/sup:1sl8ju0l] (great MOD x great support)."evolver";p="7793" wrote:8) Here's the Excel file for 3 lines/quote:
When I attempt a sort on the referenced page (Rangschikking), it informs me that this sheet is protected. Attempting to remove protection results in a password prompt. Am I in the right place?"evolver";p="6826" wrote:Sorting can be done before the last page...
(sort first on column A, secondly on B or C)
"doswald";p="8110" wrote:hi guys, where can i download the whole and updated MOD of this?
regards
doswald
Registered users: App360MonitorBot, Bing [Bot], Google [Bot]