1
happierr
Can I use XOOPS Form Handler for cust script...
  • 2005/5/19 15:32

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


I have a php script I wrote, and wrapped XOOPS around it (I am very proud.)

I want to place a form within my php and I want to use the farm handler that is in XOOPS right now. (The one that is used when you send mail to users...)

Can I do that? If not, anyone know of a simple generic SMTP Form Handler...

Issue 2
Also, is there a way to grab the XOOPS user name and adding it to a field?

THANKS!



2
happierr
Re: PHP in a block, not working...
  • 2005/3/23 21:09

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


Worked! Thanks!



3
happierr
Re: PHP in a block, not working...
  • 2005/3/23 20:56

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


Okay, php is set for the block, i will give the <php thing a shot



4
happierr
PHP in a block, not working...
  • 2005/3/23 20:32

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


I have a php app that displays a bar chart from the a database.

Here is the code for it...

<?php require_once('/var/www/html/qap/testapp/Connections/TestDirector.php'); ?>
<?php 
include_once('/var/www/html/qap/testapp/includes/MXCharts/mx_charts.inc.php'); ?>
<?php
mysql_select_db
($database_TestDirector$TestDirector);
$query_Recordset1 "SELECT TEST.TS_STATUS, Count(TEST.TS_SUBJECT) AS CountOfTS_SUBJECT, TEST.TS_RESPONSIBLE FROM TEST GROUP BY TEST.TS_STATUS, TEST.TS_RESPONSIBLE";
$Recordset1 mysql_query($query_Recordset1$TestDirector) or die(mysql_error());
$row_Recordset1 mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 mysql_num_rows($Recordset1);

$Chart_1 = new MX_Chart();
     
$Chart_1->setRelativePath("../../testapp/");
     
$Chart_1->setChartType("Bar"500300);
     
$Chart_1->setDataRange($Recordset1"TS_RESPONSIBLE""CountOfTS_SUBJECT""Normal""");
     
$Chart_1->setSort("None""ASC");
     
$Chart_1->setChartTitle("Test Case Writing");
?>

<?php
echo $Chart_1->getImage();
?>

<?php
mysql_free_result
($Recordset1);
?>


Now, the chart shows up if you just load the php page alone, but it will not show up if you take the code and place it in a block..

All the blocj has in it (When I do a source on the preview) is

<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><meta http-equiv="content-language" content="en" /><title>e-Secureity ::: QA Portal :::</title><link rel="stylesheet" type="text/css" media="all" href="http://172.16.0.101/qap/themes/GrayMeetsPurple/style.css" /></head><body><table><tr><th>1234</th></tr><tr><td></td></tr></table></body></html>


Anyone have a tought on a solution for this... thanks..



5
happierr
WebSlave Project, Blocks not working well...
  • 2005/3/14 15:35

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


I am using Firefox, and the block is suppose to show all 4 active projects I have... in firefox it shows only 2, in IE all 4.

Anyone know if there is an issue with this mod and firefox?

Thanks



6
happierr
How can I wrap a few php pages into xoops?
  • 2005/3/12 15:12

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


I have 4 php pages that query a database for work. They are just informational, but right now they are just out there by themselfs.

I want to make them a "modual" within xoops... Is there an easy wat to do this? No real need for a admin area, I just want the pages to be "in" xoops...

THANKS!



7
happierr
Re: Refresh Blocks, so frustrated.
  • 2005/2/28 22:35

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


That worked, thanks!



8
happierr
Refresh Blocks, so frustrated.
  • 2005/2/28 21:41

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


Hello hello,

I am setting up a new site, and here is what I have done

GuildScribe.org

I setup XCGallery

in /modules/xcgal/templates/blocks there is a block titles xcgal_block_scroll.html

Within this block, I made some changes, (changed a width (125 to 200))

So I have deleted the cache, I have deleted all the files in templat_c and can not think about anything else.

No matter what I do the block is being painted with the 125, not the 200

How do I get XOOPS to pull the new block code.

Thank you for your time.



9
happierr
Re: Donations Mod 1.4 "Donat-o-Meter"
  • 2005/1/10 13:24

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


Nothing?



10
happierr
Donations Mod 1.4 "Donat-o-Meter"
  • 2005/1/2 5:13

  • happierr

  • Just popping in

  • Posts: 26

  • Since: 2004/8/26


This mod was working...

I changed servers and was getting everything setback up...

Now it says...

Donat-o-Meter Stats
January's Goal: $25.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Surplus: $-25.00

It use to be RED...

How can you have a surplus of -25?

Any advice on how to fix this?

Thanks, and Happy New Year!!!!!




TopTop
(1) 2 3 »



Login

Who's Online

191 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 191


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