Fork me on GitHub

Search

Donat-O-Meter

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

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 admin Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield Blocks Bootstrap By Captcha cell chronolabs Cloud content CĂN demo docek download Dresses evden eve facebook Fat Food for free Gateway Google Guide herre Home Honeypot Human HỘ IP iPhone jQuery Language Law Legal List Loss mobile module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher Rapid release RESIDENCE responsive review Rights rmcommon security Sentry Signed Signup site Smartphone Smarty Solution Spam Studio tag tdmcreate The Theme themes web weight xoops Xortify XPayment

New Users

Registering user

# 138253

natalka

Welcome to XOOPS!

Forum Index


Board index » All Posts (Mamba)

Bottom   Previous Topic   Next Topic

(1) 2 3 4 ... 640 »


#1 Posted on: Today 16:41 Re: [Search Results] Problem after upgrade 2.4.4 to 2.5.7
Quote:
The hack still pemanece same?

After looking closer into it, you don't need it anymore, because it is already included in /preloads/core.php

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#2 Posted on: Today 14:57 Re: [Search Results] Problem after upgrade 2.4.4 to 2.5.7
Quote:

AngeloRocha wrote:

The problem is the rw-banner module when i insert the hack in the header.php of xoops core.

$mod XoopsModule::getByDirname("rw_banner");
if (
$mod){
    include_once (
XOOPS_ROOT_PATH.'/modules/rw_banner/include/maketags.php');
}

You said, you have "rw-banner 1.6"

Where did you get it? Do you have a link? I am aware only of 1.51, and Zyspec made some changes and it will become then 1.52.

One more thing:

You need to be careful where you insert the hack in the header.php, otherwise you'll get a "Fatal Error" and a blank screen, because when XOOPS gets to maketags.php, and goes to this line:

$xoopsTpl->assign($lista_tags[$i]->getName(), $rwbanner->showBanner($lista_tags[$i]->getCateg(), $lista_tags[$i]->getQtde(), $lista_tags[$i]->getCols()));


and because the $xoopsTpl is not defined yet, it will generate something like this because the $xoopsTpl is not yet available:

Quote:
Fatal error: Call to a member function assign() on null in \modules\rwbanner\include\maketags.php on line 53


So the best way is to insert your hack lines after these lines in header.php:

$xoTheme  =& $xoopsThemeFactory->createInstance(array('contentTemplate' => @$xoopsOption['template_main']));
    
$xoopsTpl =& $xoTheme->template;


Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#3 Posted on: Yesterday 13:05 Re: Put news title in blocks
I assume that the news are different, i.e. you have something like this:

Volleyball:
News1
News5
News6

Basketball:
News3
News7

Football:
News2
News4
News8


Then it is still the easiest way to do as I've suggested before:
Resized Image


a) Clone three blocks out of one of the original News blocks

Resized Image

b) change the name of each block to the category you want and select the corresponding category to show:

Resized Image


c) and you're done:

Resized Image

Am I missing something?

Maybe you're not aware that you can "clone" each block?

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#4 Posted on: Yesterday 10:04 Re: Put news title in blocks
Quote:
I want to create a new block, except for the block.

Unfortunately, I don't understand what you want to achieve.

Could you give a detailed example showing what you would like to see?

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#5 Posted on: Yesterday 8:22 Re: [Search Results] Problem after upgrade 2.4.4 to 2.5.7
Quote:
The error appears in any module.

What I normally do is to deactivate the modules one by one to see which one is causing the problem.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#6 Posted on: Yesterday 8:19 Re: Put news title in blocks
You should be able to do it by using one of the blocks like the "Top News" or "Recent News". Clone the block twice, and then in each of the blocks select the topic that you want to show, and place one block on the left, and the other on the right.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#7 Posted on: 7/3 23:31 Re: [Search Results] Problem after upgrade 2.4.4 to 2.5.7
Which module?
What PHP version?

Did you run the /upgrade ?

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#8 Posted on: 7/2 18:35 Re: Problem after upgrade 2.4.4 to 2.5.7
I would expand on what Brutalicuss suggested:

1) in the file /language/YOURLANGUAGE/calendar.php add or replace this line:

define('_CAL_FORMAT',_SHORTDATESTRING);


2) in the file /language/YOURLANGUAGE/global.php make sure that you have the correct definition for _SHORTDATESTRING, for example:

define('_SHORTDATESTRING'Y-m-d');


Sometimes the local language files from older XOOPS versions miss the new additions like the _SHORTDATESTRING. So make sure that you also update the local language files.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#9 Posted on: 7/1 4:32 XOOPS News 1.71 Beta 1 available for testing
XOOPS News module has been updated to 1.71 Beta 1 and is available for testing.

You can download it from GitHub:

XOOPS News 1.71 Beta 1

Please fork it and submit back any improvements or bug fixes.

Please note: we suggest to migrate to and use Publisher, as this will be our focus as a content/news module.

You can download Publisher also from GitHub:

XOOPS Publisher 1.02 RC-2



Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum


#10 Posted on: 7/1 3:34 WF-Channel 2.07 Beta 1 and WF-Resource 2.06 Beta 1 available for testing
If you are using WF-Channel for your static pages, we've updated it to XOOPS 2.5.7.1

The Beta versions of both WF-Channel and WF-Resource have been released and are available for testing on GitHub:

WF-Channel
WF-Resource

Please fork them and submit back any improvements or bug fixes you might have.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debug | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8309
(Show More) (Show Less)
Topic | Forum



Top
(1) 2 3 4 ... 640 »



[Advanced Search]