21
kaper
Re: can't add custom block :(
  • 2006/9/29 10:38

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


I have similar problem. After upgrading from 2.0.7 to 2.0.15, all content of my custom blocks disappeared. I have only title bars of the blocks without content. I can edit and preview the blocks in system admin. I tried adding new custom block - it was added to database (newblocks table), but is not displayed at all, neither title nor content.

Module blocks work correctly.



22
kaper
Re: Question about the News module
  • 2005/9/5 18:00

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


I think you don't understand what I wrote. I mentioned replacing the "12345 bytes more" message with whatever you want, especially with an empty string. In this case you would have
Read more... | | 7 comments write comment

There is an additional "pipe" character. If you want to remove it as well, then find a part of script where the constant _NW_BYTESMORE appears (grep is a good tool) - this shoul be a fragment where the $story.morelink variable is composed - and change it as you like.



23
kaper
Re: Question about the News module
  • 2005/9/3 20:01

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


<span class="itemPermaLink"><{$story.morelink}></span>

In /modules/news/language/yourlanguage/main.php
find
define("_NW_BYTESMORE","%s bytes more");
and replace "%s bytes more" with whatever you want. %s represents byte count, you may remove this symbol.

For reference make a commented copy of original line.

Kaper



24
kaper
XOOPS log facility
  • 2004/10/22 9:31

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


Did anybody look for a bad guy who deleted an article you had almost finished after a month of work? Now it's difficult to find such person. Analyzing Apache, PHP and MySql logs is difficult and may be inconclusive. Did XOOPS team think about implementing a system logging facility? I think about something that would register events triggered in the system and would contain information like:

- user name
- user IP
- module name
- item ID
- event name
- event description, parameters etc.

In next stages some log levels could be implemented.

I realize it will be a big task, affecting both core and modules, but maybe it is worth to show tha way to do it?



25
kaper
Re: Will 2.0.7.3 run on PHP 4.1.2? (semi-blank pages :-)
  • 2004/9/23 14:21

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


With debug turned on I get:
Warning [Xoops]: Smarty errorunable to read template resource
"db:system_userform.html" in file class/smarty/Smarty.class.php line 1042

There is only one file - default^theme.html in templates_c.
BTW. I successfully installed the same XOOPS on different host with PHP 4.3.1.



26
kaper
Re: Will 2.0.7.3 run on PHP 4.1.2? (semi-blank pages :-)
  • 2004/9/23 14:04

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


I can't login - user.php gives empty content, admin.php gives message "You don't have rights to access this area".

The installation procedure gave no errors - database accessible, file/directory rights OK, 'show tables' given from CLI gives 31 tables... what are the database temp folders?



27
kaper
Will 2.0.7.3 run on PHP 4.1.2? (semi-blank pages :-)
  • 2004/9/23 13:32

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


I am trying to install the newest XOOPS 2.0.7.3. After installing I obtain pages with header and footer only, without content. I noticed that PHP is quite old at the host - it's 4.1.2. Can it be the problem?

You may look at the problematic XOOPS at
http://kolbudy.zk-p.pl

and PHPINFO at
http://kolbudy.zk-p.pl/index1.php



28
kaper
Re: News hack - submit separate intro and body tekst
  • 2004/9/6 20:37

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


Quote:
didn'tunderstand everything here

In original submit form you there is one box for entire text, which then appears as the intro. Administrator can manually divide it into intro and body: there are separate boxes for these two parts of an article in the edit form available at the admin module.

In my hack these two boxes appear right in the submit form as it is made in the administrative form. Thus a submitter can initially divide the article into intro and body.



29
kaper
News hack - submit separate intro and body tekst
  • 2004/9/4 15:27

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


The hack allows submitting article initially divided into intro and body text. It may liberate administrator from some editor's work . The hack contains modified submit.php and storyform.inc.php files.
http://kaper.zk-p.pl/xoops/news_submitform_hack.tar.gz



30
kaper
Re: Mail Encoding Bug
  • 2004/7/3 18:25

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


Too trivial to put an answer?

Encoding is hard-coded in /class/phpmailer.php. You should set $charSet='iso-8859-2';

But what role plays constant _CHARSET in lang/global.php?




TopTop
« 1 2 (3) 4 5 6 »



Login

Who's Online

201 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 201


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