1
praditya
Re: Little Problem with News 1.55 on Xoops 2.0.17
  • 2007/8/25 16:16

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


Quote:

what changes did you make to theme2.html

only WYSIWYG, removing left and right column from default template.

Quote:

and where did you change the redirect page?

I have posted it...
redirect_header(XOOPS_URL.'/index.php', ..., _NOPERM);

I redirect it to Home Page (index.php)

Quote:

It sounds like 2.0.17 default installation with the News 1.55 default files does work

You're right... Actually the title of this post belong to News 1.55 hacked problem when running on XOOPS 2.0.17.

Thx,


PHP debug logged after news module redirect the page (blank screen) after I submitted (or other) the news:
Fatal error: Cannot redeclare class xos_opal_ThemeFactory in C:\xampp\htdocs\alazka\class\theme.php on line 22



2
praditya
Re: Little Problem with News 1.55 on Xoops 2.0.17
  • 2007/8/25 16:03

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


header2.php (root):
- require_once XOOPS_ROOT_PATH . '/class/theme.php'; into require_once XOOPS_ROOT_PATH . '/class/theme2.php';

then...

theme2.php (class folder):
- var $canvasTemplate = 'theme.html'; into var $canvasTemplate = 'theme2.html';

(theme.html and theme2.html is template file in my template folder)

submit.php (news folder):
- (line 34) include_once XOOPS_ROOT_PATH.'/header.php'; into include_once XOOPS_ROOT_PATH.'/header2.php'; (I do that in order to get larger area by removing left and right column from my template, theme2.html)
- all of news redirect function (8 changes): redirect_header(XOOPS_URL.'/modules/news/index.php', ..., _NOPERM); into redirect_header(XOOPS_URL.'/index.php', ..., _NOPERM);

Only that!

Oh, I forgot to tell this... The news I submitted was stored on database and it has no problem (the problem is only blank screen redirected page).



3
praditya
Re: Little Problem with News 1.55 on Xoops 2.0.17
  • 2007/8/25 14:10

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


Quote:

mortuk wrote:
wich 2.0.17 download?


here...
http://sourceforge.net/project/showfiles.php?group_id=41586&package_id=153583&release_id=533464



4
praditya
Little Problem with News 1.55 on Xoops 2.0.17
  • 2007/8/25 13:16

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


Today, I upgraded my XOOPS 2.0.16 site into XOOPS 2.0.17 (see SourceForge).

I also make a copy of file header.php (Xoops root folder), so there are 2 file:
- header.php
- header2.php

header.php define a XOOPS template with left and right column (theme.html --> called in theme.php in class folder) and header.php define a XOOPS template without left and right column (theme2.html --> called in theme2.php in class folder, also duplicated from theme.php) so I have a bigger text area and didn't break my template.

I also modify file in news 1.55 module folder, submit.php
I change default header template in submit.php (line 34) into header2.php (have a bigger text area) and by default, after we submit, edit, or delete the news, news module will redirect the page to XOOPS_URL.'/modules/news/index.php'. But, I redirect it to XOOPS_URL.'/index.php'.

There was no problem with my XOOPS 2.0.16 site, but after I upgraded my XOOPS into 2.0.17, after I submitted (or other), news module redirect me to blank page (the URL still ..../modules/news/submit.php)! I'm trying to change again (line 34) into header.php, and it's work! The news module redirect me to XOOPS index page. I changed it again into header2.php, the problem still remain.

Anyone can help me to solve this problem?



5
praditya
How to display recent comment block on guest mode?
  • 2006/7/2 8:11

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


I'm using XOOPS 2.0.14rc1. I have a question...

How can I displaying recent comment block on guest mode like this site? On member or webmaster mode, that block appeared. But, on guest mode it didn't show up..

I have try to using system --> group, but I can't found anything about that block....



6
praditya
Footer tag doesn't work....
  • 2006/6/28 12:37

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


My footer tag doesn't work on my site. When I input footer text in admin CP and submit it, the footer still not showing in my template. I have try other template too... But it doesn't work.

Is it corrupt or damage in my php file? Which one?



7
praditya
Way to change date format?
  • 2006/6/27 14:50

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


How can I change the date format in newbb and system module? I can't change date format of newbb and system module as easy as news module....

Can anyone help me?



8
praditya
Way to change admin theme in v2.0.14-rc1?
  • 2006/6/7 13:54

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


How can I change the admin theme in XOOPS 2.0.14-rc1? In 2.2.x, I change the admin theme by editing theme_admin.html in my template package, but 2.0.14-rc1 not included theme_admin.html in package.... Please help me...



9
praditya
Buggy Message in Alumni v.2 module
  • 2006/5/30 15:02

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


Please help... I got a buggy message when I click "E-Mail" link in alumni profile. The BUGGY message:

Notice: Undefined variable: submit in C:\sokkit\site\mysite\modules\alumni\contact.php on line 22

Please help me to remove that buggy message....



10
praditya
Re: Missing English Definition on my newbb2
  • 2006/5/30 14:50

  • praditya

  • Just popping in

  • Posts: 14

  • Since: 2006/5/30


thank's for your help!




TopTop
(1) 2 »



Login

Who's Online

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


Members: 0


Guests: 157


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