6581
Hadesteam
Re: News module keywords do not appear in utf8
  • 2014/8/28 10:35

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


none of these proposals did not work. I would like to note that if I type manually metatags when adding the article, then everything is OK. But it's hard to edit more than 1000 articles, which is why I use the option Metagen, which generates 20 words, but does not display properly.



6582
bernard93
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1
  • 2014/8/28 8:05

  • bernard93

  • Just popping in

  • Posts: 1

  • Since: 2005/9/20


hi all ^^
i have just one question :
iam looking for members notifications for this excellent module ??

ty for ask me about forums notifications ...
have a good day all^^



6583
brutalicuss
Re: News module keywords do not appear in utf8

OK, i mean other but OK :)

1st: try set this: just under your in theme.html in your theme folder
This is for html5 but you just try
(must clear all chache)

if not

Try set this:
mb_internal_encoding("UTF-8");
?>

must be at the top in your article.php file in your news folder

if not

find the line
$string preg_replace('/s+?(S+)?$/'''substr($string0$length+1));
around line 650 in file function.php in your news/include folder
and replace with
$string preg_replace('/s+?(S+)?$/'''mb_substr($string0$length+1));



hope it will work :)



6584
Bleekk
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2014/8/27 13:22

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


sorry my fault! I have changed some things and didn't update the database



6585
Bleekk
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2014/8/27 13:08

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


Hi,

I have copied a created module in a fresh xoops 2.5.7 and there I get following error
Fatal error: Call to a member function getForm() on a non-object in C:\xampp\htdocs\xoops257final_1\modules\mymodule\admin\atable.php

the created module works fine when the tdmcreate module is installed

this line causes the error
$form $atableObj->getForm();



6586
micrexc
Converting xoops comments to Wordpress
  • 2014/8/27 12:04

  • micrexc

  • Just popping in

  • Posts: 1

  • Since: 2014/8/26


Hi

I have to convert a Xoops project into a Wordpress one. Right now I'm having problems to convert the Xoops comments to Wordpress. I got to know the table which stores the comments is the table "xoopscomments", but I don't know the meanings of the fields of it and I searched a lot around and found nothing about it. Just about the class "XoopsComment".

Does anybody know? Here is the schema of the table:

CREATE TABLE `xoops_xoopscomments` (
`com_id` mediumint(8) unsigned NOT NULL auto_increment,
`com_pid` mediumint(8) unsigned NOT NULL default '0',
`com_rootid` mediumint(8) unsigned NOT NULL default '0',
`com_modid` smallint(5) unsigned NOT NULL default '0',
`com_itemid` mediumint(8) unsigned NOT NULL default '0',
`com_icon` varchar(25) collate latin1_general_ci NOT NULL default '',
`com_created` int(10) unsigned NOT NULL default '0',
`com_modified` int(10) unsigned NOT NULL default '0',
`com_uid` mediumint(8) unsigned NOT NULL default '0',
`com_ip` varchar(15) collate latin1_general_ci NOT NULL default '',
`com_title` varchar(255) collate latin1_general_ci NOT NULL default '',
`com_text` text collate latin1_general_ci,
`com_sig` tinyint(1) unsigned NOT NULL default '0',
`com_status` tinyint(1) unsigned NOT NULL default '0',
`com_exparams` varchar(255) collate latin1_general_ci NOT NULL default '',
`dohtml` tinyint(1) unsigned NOT NULL default '0',
`dosmiley` tinyint(1) unsigned NOT NULL default '0',
`doxcode` tinyint(1) unsigned NOT NULL default '0',
`doimage` tinyint(1) unsigned NOT NULL default '0',
`dobr` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`com_id`),
KEY `com_pid` (`com_pid`),
KEY `com_itemid` (`com_itemid`),
KEY `com_uid` (`com_uid`),
KEY `com_title` (`com_title`(40))
) ENGINE=MyISAM AUTO_INCREMENT=19443 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;


Thank You.



6587
Hadesteam
Re: News module keywords do not appear in utf8
  • 2014/8/27 11:23

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


My xoops version is 2.5.7 and in to news module i didnt see strings.php and multibyte.php ...



6588
brutalicuss
Re: News module keywords do not appear in utf8

This is not utf-8 problem. This is special characters problem. See here and try to fix with Multibyte String



6589
lionhell
Re: Using variable in block title
  • 2014/8/26 12:25

  • lionhell

  • Just popping in

  • Posts: 20

  • Since: 2006/8/13


OK , I've inserted the code in header.php , now it works.

// LionHell
        
$m['01']='janvier';
        
$m['02']='février';
        
$m['03']='mars';
        
$m['04']='avril';
        
$m['05']='mai';
        
$m['06']='juin';
        
$m['07']='juillet';
        
$m['08']='août';
        
$m['09']='septembre';
        
$m['10']='octobre';
        
$m['11']='novembre';
        
$m['12']='décembre';
        
$jour=new DateTime();
        
$ce_jour $jour->format('d').' '.$m[$jour->format('m')];
        
$xoopsTpl->assign('cejour'$ce_jour);
// Fin - LionHell




6590
lionhell
Re: Using variable in block title
  • 2014/8/26 11:58

  • lionhell

  • Just popping in

  • Posts: 20

  • Since: 2006/8/13


The code itself is working, it's only the $xoopsTpl that is generating blank page.




TopTop
« 1 ... 656 657 658 (659) 660 661 662 ... 29425 »



Login

Who's Online

356 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 356


more...

Donat-O-Meter

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

Latest GitHub Commits