Hello, I found there is a Random quote in the footer on forum page in statistic block
Tell me please how can I edit this quotes and change them to ours and also is it possible to move this quotes up at the head of forum index page, may be where "Latest news'' block is?
When we were at phpbb3 I changed overall header with this script:
<SCRIPT language="javascript">
<!--
/* Измените количество сообщений на то, которое у вас будет */
var howMany = 54
var quote = new Array(howMany+1)
quote[0]="Я думаю, что мы постоянно оказываемся там, где должны быть.И люди, которые готовы стать удачливыми, обладают способностью поймать этот момент.Phil Hellmuth, чемпион WSOP 1989 года"
function rndnumber(){
var randscript = -1
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany*54))
}
return randscript
}
quo = rndnumber()
quox = quote[quo]
document.write(quox)
//-->
</SCRIPT><br>
Random Quote Customize?
Subject: Re: Random Quote Customize?
hey ripley
to change random quotes you nee to edit this file
language/lang_XXX/lang_randomquote.php
not sure if you can move the quotes view easily to the news...
maybe you need to edit another file
to change random quotes you nee to edit this file
language/lang_XXX/lang_randomquote.php
not sure if you can move the quotes view easily to the news...
maybe you need to edit another file
Subject: Re: Random Quote Customize?
There is a Random Quote Block in the CMS... you can add it everywhere! :wink:
Page 1 of 1
You cannot post new topicsYou 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
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.2624s (PHP: 7% SQL: 93%)
SQL queries: 10 - Debug Off - GZIP Enabled