11
bradburn
Re: Google Module
  • 2006/2/14 15:16

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


Great,

Thanks for your really speedy responses!
I had a look at the xoogle module, but in the end it was easier to copy and paste the google html.

It works great (I wanted it to search the corporate website and not the intranet) - Thanks guys!




12
bradburn
Google Module
  • 2006/2/14 11:54

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


I found this site;
http://smartfactory.ca/

If you scroll to the bottom there is a google module that can search google and the website itself.

Does anyone know which module this is?
(I have a google module on my XOOPS intranet but its rubbish)

Thanks for any help!



13
bradburn
Re: I would like a module that can do a countdown ticker
  • 2006/1/30 15:53

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


Quote:

JMorris wrote:
Here's an amazingly simple PHP-based countdown timer I found. We chose to use this script over a Javascript version because we have a lot of dial-up visitors and adding more javascripts to the site was slowing it down.

Live demo (bottom-right block on homepage):http://cit.wvup.edu

Just paste the following code (exactly as shown) in a Custom PHP block and edit to suite:

?>
<?
// enter target date below like this: "January 2, 2001"
$target "February 10, 2006";

// enter string of what this start date is. $top_text appears above the counter, $bottom_text displays below the counter
$top_text "There are ";
$bottom_text "until the last day to apply to graduate in May!";

//--------------------------
$now strtotime ("now");
$then strtotime ("$target");
$difference $then $now;
$num $difference/86400;
$days intval($num);
$num2 = ($num $days)*24;
$hours intval($num2);
$num3 = ($num2 $hours)*60;
$mins intval($num3);
$num4 = ($num3 $mins)*60;
?>
<div style="font-weight:bold;" align="center"> <? echo $top_text ?><br />
  <table border="0" cellspacing="0" cellpadding="0" style="color:#00CC00;font-size:10px;font-family:'Courier New', Courier, mono;border-top:2px solid #AAAAAA;border-right:2px solid #333333;border-bottom:2px solid #333333;border-left:2px solid #AAAAAA;background-color:#000;padding:0px;width:125px;">
    <tr align="center" valign="middle">
      <td><? echo $days ?></td>
      <td>:</td>
      <td><? echo $hours ?></td>
      <td>:</td>
      <td><? echo $mins ?></td>
    </tr>
    <tr align="center" valign="middle">
      <td>Days</td>
      <td>|</td>
      <td>Hrs</td>
      <td>|</td>
      <td>Mins</td>
  </table>
  <? echo $bottom_text ?> </div>
<?



James


When you put the expiry date in for the countdown, the count down is set to stop at Midnight. Is there a way to set which time the count down stops at? I would like the countdown to finish at a 18:00 on the expiry date, not at 00:00 when the day starts....

Does anyone know how I could do that using this script?
Many many thanks for any help!



14
bradburn
images in PHP script
  • 2006/1/27 16:25

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


Hi there, (im a noob and cant code by the way)

I have some php script that works really well, but I would like to add a picture to it.

I tried this html code which works fine but it didnt work...
<IMG alt="Great Manchester Run" src="http://intranet/modules/news/images/wc2.gif" border=0>

Does any one know how i would add an image to this countdown script I found?

?>
<?
// enter target date below like this: "January 2, 2001"
$target = "July 10, 2006";

// enter string of what this start date is. $top_text appears above the counter, $bottom_text displays below the counter

$top_text = "There are ";
$bottom_text = "until Great Charity Run";

//--------------------------
$now = strtotime ("now");
$then = strtotime ("$target");
$difference = $then - $now;
$num = $difference/86400;
$days = intval($num);
$num2 = ($num - $days)*24;
$hours = intval($num2);
$num3 = ($num2 - $hours)*60;
$mins = intval($num3);
$num4 = ($num3 - $mins)*60;
?>
<div style="font-weight:bold;" align="center"> <? echo $top_text ?><br />
<table border="0" cellspacing="0" cellpadding="0" style="color:#00CC00;font-size:10px;font-family:'Courier New', Courier, mono;border-top:2px solid #AAAAAA;border-right:2px solid #333333;border-bottom:2px solid #333333;border-left:2px solid #AAAAAA;background-color:#FFF;padding:0px;width:125px;">
<tr align="center" valign="middle">
<td><? echo $days ?></td>
<td>:</td>
<td><? echo $hours ?></td>
<td>:</td>
<td><? echo $mins ?></td>
</tr>
<tr align="center" valign="middle">
<td>Days</td>
<td>|</td>
<td>Hrs</td>
<td>|</td>
<td>Mins</td>
</table>
<? echo $bottom_text ?> </div>
<?



Many thanks for any help!



15
bradburn
Re: World Cup Count down
  • 2006/1/27 11:39

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


Wasnt able to get that to work when I pasted it in a new 'php' block,

Thanks anyway, I will try searching google - havent had any luck so far though!

Cheers,
Rob



16
bradburn
World Cup Count down
  • 2006/1/26 11:07

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


Hi there,

I have a small company intranet using XOOPS (2.0.3 - a bit old school now days!),

I would really like a block that has a count down in days to the World Cup in Germany.

I would like everyone to see it (there are no user accounts except admin) on the main page if possible....

Does anyone know of a way I can do this or has seen a module which can do something similiar?

Thanks for any help,
Rob



17
bradburn
New Xoops theme
  • 2006/1/18 11:32

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


Hi there,

I like the new theme for XOOPS and was wondering if it was available for download. I would be using it on a small company intranet which works really well with 2.0.3 (not sure if I really should look at upgrading too!).

Thanks for any response!
Rob



18
bradburn
search a .csv file
  • 2005/9/21 14:27

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


Hi there,

i had posted this question in another forum and I did get a reply but I was seeing if anyone else had any ideas....

We are a small company using XOOPS as an Intranet.
We have a few people who sell things over the phone,
we have a list (a CSV file) of telephone numbers from people
who do not wish to be called.

We would like our sales people to type in the number they are about to call, and do a 'search' against the CSV file.
If the number they call come us with a match then they are not allowed to call that person.

Is there any modules, or anyway to do this kind of thing in xoops?

It would basically be using the search engine to search a spreadsheet, if the numbers match then it will find the entry, so the sales person knows not to ring it.

Does any of this sound possible or even understandable?
thanks for any help,
Brad



19
bradburn
Re: Fast CGI or ISAPI
  • 2005/9/13 7:53

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


bump!



20
bradburn
Fast CGI or ISAPI
  • 2005/9/7 10:56

  • bradburn

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/1/26


I have an Intranet running XOOPS with 200 or so people using it (Windows 2003 - IIS 6).

Recently I have been recieving this error message..
"Server Error, unable to connect to fastcgi server."
This message will stay for ten minutes or so when eventually everything works again.

Should I setup ISAPI rather than Fast CGI?
I would be really interested in you opinion of what I should do - stick with fast cgi, or setup ISAPI?
Is there anything I should worry about if I do switch?
Thanks again for any advise anyone can offer!




TopTop
« 1 (2) 3 4 5 ... 11 »



Login

Who's Online

199 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 199


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits