246981
Groover
Re: Module template stopped updating
  • 2004/7/9 20:16

  • Groover

  • Just popping in

  • Posts: 23

  • Since: 2004/7/1 2


I haven't cloned my module so yes, I'm using the default template set.

If I remove my one line change to the PHP code and modify the template so the only thing added is the line:

Name:<br>

update the module, clear templates_c. It doesn't show "Name:" at the start or in the page source code.

Groover



246982
ReCkage
Re: Security Problem
  • 2004/7/9 20:10

  • ReCkage

  • Just popping in

  • Posts: 39

  • Since: 2004/5/24


any other ideas?



246983
Mithrandir
Re: Module template stopped updating

Sorry for stupid counter-question, but you are using the default un-cloned template set, right?

And you are 100% certain that the error is not in the PHP coding prior to display? (just eliminating causes)



246984
Dave_L
Re: Chess module - needs beta testing
  • 2004/7/9 19:49

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


mariuss:

Thanks, I would appreciate any error reports.

I don't know how I missed changing the version number. But I've corrected that, and also a minor typo in a template. The current version is now 1.0.4.

I guess you're referring to entering a board setup position using FEN when creating a game?

I chose FEN because it's a well-documented, standard format, and other chess applications such as ChessMaster 9000 provide FEN import/export.

Also, I wasn't sure whether anyone would really make use of the board setup position feature. I added it partly so that I could more easily test checkmate/stalemate handling.

But I've added your suggestion to my TODO list.

Yes, I should probably post a news item.



246985
Bender
Re: Forum features
  • 2004/7/9 19:47

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10



Check this thread.

newbb development

It contains a link to the demosite of NewBB 2 which will replace the current one.

Don´t ask for a release date but it should be expected within the next months.



246986
Tocpe
Re: myReviews v2.1 module update!
  • 2004/7/9 19:43

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


Is it too late in the process for the module to be able to do that?



246987
Groover
Module template stopped updating
  • 2004/7/9 19:43

  • Groover

  • Just popping in

  • Posts: 23

  • Since: 2004/7/1 2


I've spent the last week working on a completely custom module that includes a couple of blocks. I've been editing the template in Pico, saving and then logging in as Admin and updating the module. No problems.

Today I made a couple template changes, updated the module, cleared templates_c, tested, etc. then went back and made another change to the template. Now XOOPS won't use my changed template nomatter how many times I update the module and clear templates_c. When I update the module it says that the template and block code were updated to the database... I did manage to somehow get it to do one update but now I've made another change it is back to ignoreing them again. This is getting very frustrating.

I'm using XOOPS 2.0.7. The block is only visible to one group and is set to "no cache".

I would be grateful for any help!

Groover



246988
chapi
Re: Apache mod_rewrite RewriteRule Success
  • 2004/7/9 19:39

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


I also tried this mod_rewrite thing today and I have a little problem I think. I'm using only one rewrite rule at the moment.

RewriteRule ^contact(.*)$ /modules/contact$[L]


So when I call nowhttp://www.mydomain.com/contact it showshttp://www.mydomain/modules/contact

But why is there a redirect in it? I thought it should stay athttp://www.mydomain.com/contact and not show the real URL.

Can anyone give me a hint about that? Maybe some misconfiguration on my server?



246989
Micke
Maximum number if images?
  • 2004/7/9 19:38

  • Micke

  • Just popping in

  • Posts: 1

  • Since: 2004/7/9 1


does XOOPS have a maximum number if image files that it allows? I started putting images in my articles using the bb code i.e. Resized Image
This worked for a while and then quit working. It would show the code/line in the article but no image. I then switched over to using straight HTML coding. I.E. <img src="http://whatever.jpg" /> This worked great for a while but now os not working at all. If I try to put an image into an article and then save the article and look at it from the users page, the whole article is blank with a symbol indicating I tried to put in an image but it was an invalid link. If I then go back to the administration page and take out the image tag, then the rest of the article (all text) will reappear.
My server is not full, and seems to be caching properly. Does anybofy have any ideas??




246990
phillipd
Re: Most extensive module you can think of (I'm going to attempt at a tutorial)
  • 2004/7/9 19:38

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


I've tried your minitutorial at:http://wiki.xoops.org/wakka.php?wakka=FormHowTo

It works except aren't there some variables missing? I get:

Notice [PHP]: Use of undefined constant _FT_NAME - assumed '_FT_NAME' in file modules/formtest/formtest.php line 2
Notice [PHP]: Use of undefined constant _FT_DESC - assumed '_FT_DESC' in file modules/formtest/formtest.php line 3
Notice [PHP]: Use of undefined constant _FT_SUBMIT - assumed '_FT_SUBMIT' in file modules/formtest/formtest.php line 4
Notice [PHP]: Use of undefined constant _FT_TESTFORM - assumed '_FT_TESTFORM' in file modules/formtest/formtest.php line 5

I don't see those defined anywhere. As I am a beginner, where is the appropriate place to define them?

(Edit)

I could of course define them in "formtest.php" but should any and all "text" constants be defined in the language/english dir? If so how do you get them recognized by other pieces of code? Is this where the common language strings come in? Should I use something like define('_MD_FT_NAME', 'Item') in languages/english/main.php (doesn't seem to work). (Real newbie here)

(2nd edit)
Looked at other modules and now see the how others do it. define('_FT_NAME', 'Item') in languages/english/main.php. All defines seem to be there.

Thanks for the tutorial.

Doug P







Login

Who's Online

192 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 192


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