21
carlos1426
I look for a module to use a self design table with filter citeria
  • 2007/3/22 16:58

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi!.

I'm newbbie to XOOPS and php, but I've programming knowledge. I need to wrap a self design table into a XOOPS module with two functions:

* In admin section: manage the data (create, modify, delete)
* In user section: browse the data perhaps with filter criteria.

Someone can help me?.

Thank you in advance.

Carlos Ponce de León



22
carlos1426
Re: After upgrade from 2.0.9 to 2.0.13.2, I've Smarty Errors. I don't know where to look for
  • 2005/12/30 8:41

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Thank you DobePath.

I tried to update every module because I readed it somewhere in the FAQ section.

I was using 2.0.9.0 or .1 (I don't remember) and first, I'd updated to 2.0.9.2, then to 2.0.10, then to 2.0.12a, and so on.

I'll try that you said me, and will proceed with 2.0.13.2 directly.

But, Do you know the origin of those smarty errors?.

Thanks again.



23
carlos1426
After upgrade from 2.0.9 to 2.0.13.2, I've Smarty Errors. I don't know where to look for
  • 2005/12/30 2:03

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi.

I'll describe the upgrade proccess first:

A) I'd a fine working 2.0.9 local served Xoops.
D) I downloaded all upgrades from "2.0.9 to 2.0.10" until "2.0.13.1 to 2.0.13.2"
C) I unzipped every downloaded file an replace all the files inside the zip over those in the htdocs directory. I'd made this process zip by zip
D) After end, all seems to work fine except I obtain the next error:

Warning [Xoops]: Smarty error: unable to read template resource: "db:system_block_dummy.html" in file C:\Archivos de programa\Apache Group\Apache2\htdocs\class\smarty\Smarty.class.php line 1042

This warning apears on every module I use, included in the main page (the home module is set to nothing in the system preferences. This error is not show in Admin section pages.

I readed somewhere in the FAQ that this error is due to bad config in xoops_version.php file, but In the main page, I'm not using any module.

I readed that is necesary to update all modules. Well, when I try to do that, I obtain the following error:

*** In system module update *****
Warning [PHP]: main(C:/Archivos de programa/Apache Group/Apache2/htdocs/class/smarty/core\core.load_plugins.php): failed to open stream: No such file or directory in file C:\Archivos de programa\Apache Group\Apache2\htdocs\templates_c\db%3Asystem_notification_list.html line 3

The errors apears on not all modules.

Can anyone give me a little help?

Thank you in advance.

Carlos



24
carlos1426
Help needed with non standard module permissions
  • 2005/12/18 16:28

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi!

I'm trying to write a module to register domains. It has a block to introduce the domain's name end then I execute a php module that shows the whois results table.

I want every body be able to ask whois (introducing the domain's names in the firs screen block). I configured the block with anonimous users permission, and it works fine.

The problem arise when the whois button is pressed (this button calls the whois query php module from the home page) because a "you have no rights to access this site" error is arised.

I think that the problem dealed with the whois php program, but I don't know how to solve it.

Can anyone help me?.

Thanks in advance.



25
carlos1426
Module size problem
  • 2005/12/10 2:25

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi.

I have this html template.

<form action='<{$block.XOOPS_URL}>/modules/regdominios012/whois_results.php' method='post' enctype="application/x-www-form-urlencoded" ID="Form1">
<table with="50%" border="0" cellpadding="1" cellspacing="0" summary="">
<tr>
<td><{$block.block_text1}><br><br></td>
</tr>
<tr>
<td><{$block.block_text2}></td>
</tr>
<tr>
<td><{$block.block_text3}><br></td>
</tr>
<tr>
<td align="left" colspan="1"><textarea rows="5" cols="25" name="ddomains"></textarea></td>
</tr>
<tr>
<td align="center">
<input type="hidden" name="action" value="checkdom">
<input type="hidden" name="type" value="all">
<input type='submit' value='<{$block.search_submit}>' ID="whoisbtn" NAME="whoisbtn" />
<br><br>
</td>
</tr>
<tr>
<td><{$block.block_text4}><a href="<{$block.busqueda_avanzada}>"><{$block.adv_search}></a></td>
</tr>
</table>
</form>

All seems to work fine except the width of the text area: it doesn't matter what cols witdh I assing it. Always painted with the same width.

I tried in the left side and in the right side and always be the same.

I need to reduce the total witdth of the left side of the page.

I'm using Treemenuxl and Wfchannel.

How can I set the max width of the left or right sides?.

Thank you in advance.



26
carlos1426
Re: Hosting XOOPS-site locally...
  • 2005/12/5 19:38

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi.
I'm not sure to understand you, but it seems to me you have a DNS problem.

If you assign a valid (and DNS registered) url yo your main site, all below this there could be accesible (with a valid url in the address bar).

As far as in a LAN, an external address is resolved via DNS query to DNS servers, if your local PCs can't reach your main site (when you assign an url in mainfile.php) it's due to a DNS error.

By other side, you can try to add an entry to <hosts> (or <lmhosts>) file to point to your local server.

In a LAN to solve an address, first of all, windows looks at <host> file to find a "direct" assigned IP - server name.



27
carlos1426
whois block problem
  • 2005/12/5 17:24

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi.

I want to display a block in top page left side. This block is a whois search with a text, a box to intro the domain name and a button to do the search.

I was be able to display a block like this by adding a new custom block in the "Admin Blocks" section of the "System" option.

My problem begin now:

Once the button is pressed, I need to open a new page to display the whois search results.

I'm using mrWhois Lite (www.mrscripts.co.uk. Thanks Marek!) and this script opens a new page with a table with results, but the menu, blocks, etc. don't appear. The mrWhois script is locates in the wfchannel dir (./modules/wfchannel)

When the block's button is pressed, the script is well excuted (./modules/wfchannel/whois_test.php), but all XOOPS theme is deleted (menu, blocks, logo, links, etc.)

I know this is done by script code, as it build the page from the begining, but ...

How must I modify the code to display those resutls in a wfchannel page (or other kind of page). I have not special interest in use wfchannel. Simply it seems to me easier. The last target is not to lost the XOOPS view.

Thank you in advance.



28
carlos1426
Re: WF-Channel problem...¡Solved!
  • 2005/5/27 13:52

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi!.

I'm posting the solution to my problem to help comunnity with those simptoms.

The solution was delete blank lines after ?> in the mainfile.php.

thanks for your support.



29
carlos1426
Re: WF-Channel problem
  • 2005/5/26 23:46

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi again!.

I turned on debug mode, and when I change the start module option to wfchannel, I obtain this error:

Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/eljefe/public_html/mainfile.php:101) in file index.php line 39

What does it mean?. How can I solve it?

Thank you very much for your help



30
carlos1426
WF-Channel problem
  • 2005/5/26 23:22

  • carlos1426

  • Just popping in

  • Posts: 38

  • Since: 2004/5/18


Hi!.

I've installed wf-channel in a remote hosting. I've delete de "Welcome page" and create a new one (ID=2 and Index Page=yes) - Under construction page -.

The problem arise when I configure my XOOPS site (under preferences option - general configuration) with wfchannel as
start module (I want this "under construction" page apears when users go into the site). With this option set, I obtain a blank page, and I need to restore manually the start module in the database to "--" value in order to see the login page.

The question is if I do the same on my local test site, all works fine.

Why?. Can anayone help me?

Thank you in advance.

Carlos




TopTop
« 1 2 (3) 4 »



Login

Who's Online

208 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

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

Latest GitHub Commits