161
culex
Re: Letter r not shown in date
  • 2010/6/21 21:31

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Quote:

\r


In php makes linefeed. If you need to escape it use like this

Quote:

define("_YESTERDAY", "\i\g\å\\r H:i");


In this example I'd had to use trible and double because of code sanitazion
Programming is like sex:
One mistake and you have to support it for the rest of your life.



162
culex
Re: White Screen- No Style or graphic missing
  • 2010/6/21 20:29

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Yes, you can delete if you uninstall from modules otherwise you'll have error.

But better to get the updated version from reposit. As I can understand the version you are havin is compressing code on upload, and this is why you have one long line of code in the xoops_version.php file.

Download the revised version from here and upload again to see if this make error.

But when you deactivate and uninstall the module do you still have white screen or is the faulty output resolved ??
Programming is like sex:
One mistake and you have to support it for the rest of your life.



163
culex
Re: news module
  • 2010/6/21 18:44

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


I had a few issues with this a while ago, and amongs some of the fixes was this missing font error.

Try to look for 2 lines like these
$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN''PDF_FONT_SIZE_MAIN));
$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA''PDF_FONT_SIZE_DATA));



change these 2 line to
$pdf->SetFont('FreeSans'''11);
$pdf->setHeaderFont(Array('FreeSans'''10));
$pdf->setFooterFont(Array('FreeSans'''10));
Programming is like sex:
One mistake and you have to support it for the rest of your life.



164
culex
Re: White Screen- No Style or graphic missing
  • 2010/6/21 18:27

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


It's the parse error. The reason why you dont see this module in the list you wrote is because this error halts the reading of this module and everything after.

Check your imenu module. Open the file xoops_version.php and check line 1.

I see Burning covered this issue in the comments for this module version 2.03.
This comments

Check to see if line 1 is like this.:

<?php$modversion['name'] = _IM_IMENU_NAME;


if so, change to something like this

<?php
$modversion
['name'] = _IM_IMENU_NAME;
Programming is like sex:
One mistake and you have to support it for the rest of your life.



165
culex
Re: White Screen- No Style or graphic missing
  • 2010/6/21 16:22

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Quote:
I do not have that option in my preferences.


Go to admin->system->preferences->General settings

In Debug mode choose "enable debug (inline mode)" Then go to "modules" and in the bottom of the screen you'll be able to see what errors occur
Programming is like sex:
One mistake and you have to support it for the rest of your life.



166
culex
Re: White Screen- No Style or graphic missing
  • 2010/6/21 10:08

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Try to go to admin and turn on -> preferences-> php error.

My guess is you have a module making error, and this is halting the reading of your admin.
Programming is like sex:
One mistake and you have to support it for the rest of your life.



167
culex
Re: Counter modules statistics
  • 2010/6/16 10:50

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Personally I'm using piwik, actually this could make a pretty cool module. I'll have to look into this
Programming is like sex:
One mistake and you have to support it for the rest of your life.



168
culex
Re: Change Language
  • 2010/6/16 9:55

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


The easiest way is to use a multilanguage module. I have always used xlanguage

This mean all content can be placed in language tags [ en ] for english etc what ever you set it up to be. And users then choose the content they need english language, german language from a block in the frontpage showing small letters or flag symbols
Programming is like sex:
One mistake and you have to support it for the rest of your life.



169
culex
Re: View RSS from other sites
  • 2010/6/16 9:51

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Several look at Module deposit in this category

Syndication, click here
Programming is like sex:
One mistake and you have to support it for the rest of your life.



170
culex
Re: Counter modules statistics
  • 2010/6/15 20:42

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Programming is like sex:
One mistake and you have to support it for the rest of your life.




TopTop
« 1 ... 14 15 16 (17) 18 19 20 ... 49 »



Login

Who's Online

227 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 227


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