11
mCity
Re: NewBB2 Final show no text in adv. search
  • 2004/12/7 8:31

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


Thanks.
Typo error only. I agree.
Well, which file... I am thinking...

Just sumited to dev.xoops.org!



12
mCity
NewBB2 Final show no text in adv. search
  • 2004/12/7 7:57

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


Hi, I am testing the newbb2 final of Dec 5. It shows no text in adv. search. Please check for us and show us which file we could edit to fix it.
Thanks a lot!



13
mCity
Re:Does xoops support MySql 4.1.7?
  • 2004/11/4 2:37

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


I try to setup today. when I try to seach anyone tried. I found you.
Well, have you compiled PHP with mysqli extension?
have you checked http://php.net/mysqli



14
mCity
install newer PHPMailer 1.71 or stay on 1.65
  • 2004/1/6 2:01

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


I am going to add sending mail in Xoops. I found the coding inform me to use PHPMailer for future. I noticed that PHPMailer 1.71 released. Could I install it?

Did XOOPS modify the v1.65 suiting for XOOPS that I shouldn't install the new version without modification?

Thanks a lot for advice!
mCity



15
mCity
Re: WF Sections
  • 2003/11/11 7:51

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


For any Xoops's module you want to know, you may find by simply type the name "WF Sections" in advanced search with checked modules/themes. Then, you will get a list, and you will get WF-Sections

Hope this help.



16
mCity
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/11/7 14:58

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


Chris, I'd suggest to place /include/common.php after the language hack statement.

if language ru, setlocale(LC_ALL, "rus_RUS") else setlocale(...)

mCity



17
mCity
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/11/6 13:00

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


watar, if you tried, that was good. My files contained other hacks that were not suitable to you. Well here is my simply note and hope to solve your "screw things". I made the note in order to apply it on the XOOPS next release before copy over on my site. So, you need to know which file and where changed for apply to next XOOPS version. That's great that XOOPS sounded to include this in next release. If you still busy or lazy, wait for other post the set of files or next XOOPS release.

#multilingual hack


INSTALL module language

# add include to include/common.php to line 117 before ### Include site-wide lang file; 205 OK
// ############ Include function for language selection ##############
include_once(XOOPS_ROOT_PATH."/modules/language/common/functions.php");

# core coding, content title of news, forums; 205 OK
vi /class/module.textsanitizer.php
function xoopsCodeDecode #line 149
global $xoopsConfig;
$patterns[] = "/\[cc](.*)\[\/cc\]/sU"; ...
$patterns[] = "/\[ee](.*)\[\/ee\]/sU"; ...
function makeTboxData4Show
$text =& $this->xoopsCodeDecode($text, 0);
function makeTboxData4Preview
$text =& $this->xoopsCodeDecode($text, 0);

# dropdown select
vi /class/xoopstree.php
function makeMySelBox
$name = $myts->makeTboxData4Show($name); # line 168

# blocksadmin; 205 OK
vi /class/xoopsblock.php
function &getAllBlocks
$myts =& MyTextSanitizer::getInstance(); # line 344
$ret[$block->getVar("bid")] = $myts->makeTboxData4Show($name); # line 377, under case list

# module names for listbox in admin, checkbox in adv. search, etc; 205 OK
vi /kernel/module.php
function &getList # line 501
$myts =& MyTextSanitizer::getInstance();
$ret[$i] = $myts->makeTboxData4Show($ret[$i]);

# modules names in userinfo; 205 OK
vi userinfo.php
$myts->makeTboxData4Show($module->getVar('name')) # line 175

# modules names in mainmenu; 205 OK
vi /modules/system/blocks/system_blocks.php
function b_system_main_show # line 106
$myts =& MyTextSanitizer::getInstance(); # line 109
$block['modules'][$i]['name'] = $myts->makeTboxData4Show($modules[$i]->getVar('name')); # line 122

# modules names in system preference; 205 OK
vi /modules/system/admin/preferences/main.php
case 'module_cache'
$selform = new XoopsFormSelect($myts->makeTboxData4Show($modules[$mid]->getVar('name')) # line 186
# recover if /kernel/module.php can handle <<---

# Block administration 205 OK
vi /modules/system/admin/blocksadmin/blocksadmin.php
function list_blocks
$myts =& MyTextSanitizer::getInstance(); # line 42 add
$title = $myts->makeTboxData4Show($block_arr[$i]->getVar("title")); # line 99->138
$name = $myts->makeTboxData4Show($block_arr[$i]->getVar("name")); # line 101->140
$myts->makeTboxData4Show($module_list2[$block_arr[$i]->getVar('mid')]) # line 102->141 echo
function edit_block
$myts =& MyTextSanitizer::getInstance(); #225 add
$myts->makeTboxData4Show($myblock->getVar('name')) #235

# block title, page title; 205 OK
vi header.php # block line 170, page title line 97,115
$myts =& MyTextSanitizer::getInstance(); # line 29 just after include xoopsblock.php
$xoopsTpl->assign('xoops_pagetitle', $myts->makeTboxData4Show($xoopsModule->getVar('name'))); # line 95, 113
$xoopsTpl->assign('xoops_pagetitle', $myts->makeTboxData4Show($xoopsConfig['slogan'])); # line 102, 120
switch ($block_arr[$i]->getVar('side')) # blocks title, line 169-197, 5 cases
$myts->makeTboxData4Show($block_arr[$i]->getVar('title'))

# for Admin->News->Modify Topic, show [cc] for edit, use 4Edit not 4Show ; 205 OK
vi /modules/news/admin/index.php
function topicsmanager
<input type='text' name='topic_title' size='50' maxlength='50' /> # 176 size 50
<input type='text' name='topic_title' size='50' maxlength='50' /> # 196 size
function modTopic
<input type='text' name='topic_title' size='50' maxlength='50' value='".$xt->topic_title('E'). # 241 size
vi /modules/news/blocks/news_top.php
$title = substr($myts->makeTboxData4Show($myrow['title']),0,($options[2] -1))."..."; # 39 logic

# News title in blocks
vi /modules/news/blocks/news_top.php
function b_news_top_show
$title = substr($myts->makeTboxData4Show($myrow['title']),0,($options[2] -1))."..."; # line 39




18
mCity
Re: Language hack
  • 2003/11/6 12:26

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


Have you read this thread and it solved your request.
BTW, it didn't use language files.
And, XOOPS next release will have it also.



19
mCity
Re: xf-section module
  • 2003/11/6 4:24

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


Well, they are using charset=EUC-JP. It is unicode.
What is their last statement mean with crying face?



20
mCity
Re: blank page while setting preferences
  • 2003/10/15 9:18

  • mCity

  • Just popping in

  • Posts: 52

  • Since: 2003/3/31


If you're using linux, there is a kompare under development menu. Using it to apply those different to your current system. But it'd depends on which one is more changed. It may be lower heavy if you reapply your modifications after upgrade.

I always record files and lines I changed due to this reason.

Well, if you are using Linux, you may try this way.

1. make your modified file the date later than the 2.0.5 upgrade files dated 10/8.

2. run cp -uR [205update]/html [yourdir]/html

3. use Kompare to check different files, apply new code to your modified files.


Good Luck.




TopTop
« 1 (2) 3 4 »



Login

Who's Online

59 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 59


more...

Donat-O-Meter

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

Latest GitHub Commits