11
kenogui
Re: SCROLL
  • 2004/2/19 7:18

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


really easy, it's a DHTML tag, allowed by the HTML standard now :

in your block put this at the beginning:

<marquee align="center" behavior="scroll" direction="up" height="120"  scrollamount="2" scrolldelay=" 10" onmouseover='this.stop()' onmouseout='this.start()'>


then here come such content for your block
and finish it with
</marquee>



12
kenogui
Re: Question need answer by a xoops code guru
  • 2004/2/17 21:00

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


Done.

I have submitted a news, with the complete mod and instructions.

So please validate it



13
kenogui
Re: Question need answer by a xoops code guru
  • 2004/2/17 15:26

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


YESSSSS !!!! you're a killer

it works perfectly now, I will start to write a full tuto about my modrewrite and submit it in the news asap ...

thx a lot !!!



14
kenogui
Gzip compression really working ?
  • 2004/2/17 13:24

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


Hi all,

after making several tests and comparisons between gzip compression on / off, I'm not sure there is real difference.

If I use several tools to analyze source code produced by xoops:

http://www.websiteoptimization.com/services/analyze/

http://leknor.com/code/gziped.php

http://www.edginet.org/cgi-bin/http_head.cgi (don't forget to check the Gzip detection box)

all of them reply me there is no compression used by xoops, and I'm sure to have turn the option ON.

So I'm quite confuse about this important feature, and I would like to be sure that Gzip is really working on xoops.

I know XOOPS code is very "clean" and well-written, so I'm a little bit surprised about this if it's not working.

Thx.



15
kenogui
Question need answer by a xoops code guru
  • 2004/2/17 10:34

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


Maybe I'm wrong, I have posted a question about XOOPS code in the Q & A forum, sorry about this mistake ...

https://xoops.org/modules/newbb/viewtopic.php?topic_id=16781&post_id=70584&order=0&viewmode=flat&pid=0&forum=7#forumpost70584



16
kenogui
Need xoops developpers answer about the code
  • 2004/2/17 10:31

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


Hi all,

I'm currently working on a mod rewrite full hack to allow search engine to crawl most important URLs in xoops.

I have finished with it, and everything works perfectly, articles, stories, downloads, weblinks and even IPBM module are completely rewritten into bot-friendly URLs.

To finish my job and do a tutorial + release of this mod, I have a minor pb to solve before.

URLs are rewritten correctly only when there is no cache on pages. It's due to the fact I open a buffer in the header, put all contents into, and close it in the footer. Then I parse all urls in this buffer with some regular expressions to turn them into friendly URLs.

BUT, when cache is enabled, I do not understand everything in the code, but the core process is slightly different, because it uses cached pages, and they have been generated without being parsed by my mod. So URLs are not rewritten.

So my question is : where are the variables which contains the "$content" which will be written into each modules cache HTML pages ... ?

This morning I have found where are the content of the sided blocks, I have "intercept" the content, and rewritten it correctly, so the pb of the side block is solved. But it still remains the "main area" of the page to be caught, the modules in fact.

so where is the code line which take the content of a given module, and write in into the cache file ?

To help you to understand my pb, here is the example of the side block content which is intercepted and rewritten by my parser:

--- in header.php ----
//HACK -- rewrite urls dans blocks cote avant mise en cache
                
$bcontent=replace_for_mod_rewrite($bcontent);
                
//--- fin hack --
                
switch ($block_arr[$i]->getVar('side')) {
                case 
XOOPS_SIDEBLOCK_LEFT:
                        
$xoopsTpl->append('xoops_lblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent));
                        break;
                case 
XOOPS_CENTERBLOCK_LEFT:
                        if (!isset(
$show_cblock)) {
                                
$xoopsTpl->assign('xoops_showcblock'1);
                                
$show_cblock 1;
                        }
                        
$xoopsTpl->append('xoops_clblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent));
                        break;
                case 
XOOPS_CENTERBLOCK_RIGHT:
                        if (!isset(
$show_cblock)) {
                                
$xoopsTpl->assign('xoops_showcblock'1);
                                
$show_cblock 1;
                        }
                        
$xoopsTpl->append('xoops_crblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent));
                        break;
                case 
XOOPS_CENTERBLOCK_CENTER:
                        if (!isset(
$show_cblock)) {
                                
$xoopsTpl->assign('xoops_showcblock'1);
                                
$show_cblock 1;
                        }
                        
$xoopsTpl->append('xoops_ccblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent));
                        break;
                case 
XOOPS_SIDEBLOCK_RIGHT:
                        if (!isset(
$show_rblock)) {
                                
$xoopsTpl->assign('xoops_showrblock'1);
                                
$show_rblock 1;
                        }
                        
$xoopsTpl->append('xoops_rblocks', array('title' => $block_arr[$i]->getVar('title'), 'content' => $bcontent));
                        break;
                }
                unset(
$bcontent);


I hope I'm clear enough, and I really hope someone familiar with XOOPS code will be able to answer this question.

Thanks a lot !



17
kenogui
Re: About google and Xoops URLs
  • 2004/2/3 13:00

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


hmm, why do you say it "shouldn't" ...

url rewriting worked fine with phpnuke.

I'm sorry to post again about this topic, I have searched for old topics about that, but I didn't find anything ...



18
kenogui
About google and Xoops URLs
  • 2004/2/3 9:28

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


I have turned my entire old phpnuke/phpBBport website to xoops/IPBM recently.

By the past I had to use URL rewriting to made phpnuke compliant with googlebot, to reach a good ranking in the search engine.

Today, I'm looking at the XOOPS URLs, and it seems they are very shorter than phpNuke ones.

So I wanted to know if I need to use rewrite engine again to help googlebot to crawl my XOOPS site, or if I can forgot URL rewriting, because world is nicer with XOOPS

here is my site : www.bloodbowl-fr.com



19
kenogui
performances troubles with xoops 2.0.5.1 / ipb 1.23
  • 2004/1/19 12:45

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


hi all,

I installed XOOPS 2.0.5.1 + ipb port 1.23 and it works well ...

but I have a little trouble about performance .... when I browse all my forums, it's ok, everything works .... but when I click on the "last post" link on the left side of each topic in a given forum, I need about 10 to 15 sec to see the latest post !!!!

I have made the same test with the [B]same[/B] posts inserted into a ipb 1.2 forum (not the port this time, a "pure" ipb), on the same server, and it's 100 times faster !

so I have a pb with xoops, ipb port or something I missed ....

I have checked my indexes in phpMyAdmin, and they seems ok ...

I really don't understand ... adding to the fact bbpixel.com is running the same configuration and I have only 4500 posts, and here everything is perfect ! Any idea ?



20
kenogui
blank page problem on userinfo.php
  • 2004/1/19 12:33

  • kenogui

  • Just popping in

  • Posts: 25

  • Since: 2004/1/19


hi all,

I'm using XOOPS 2.0.5.2 with ipb 1.23 port from bbpixel.com

seems we all have the same bug with this blank page when viewing userinfo.php ...
(for example :http://bloodbowl-fr.com/modules/ipboard/in....php?showuser=1 returns a blank page with no output)

for me, it has worked just after my installation of ipb module.

I had the bug a first ime when installing wfsection AND wffaq together ... I removed wffaq and the bug disappeared ... so it was a kind of conflict between these two modules.

but yesterday, I moved my XOOPS installation from one folder to another (and it's the only modification I've made ....) on my website, and now when I try to view a user profile, same error again ! BLANK page ....

I turned on PHP debug, and there is no errors, only some warnings about unused variables.

But, I'm not sure if it's really linked, but when I turned on the MySQL debug, I have this error :

*******************************************
SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 1) ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '5a7d071b877496e713c730059bbf87ff'
DELETE FROM xoops_session WHERE sess_updated < 1074502513
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT mid FROM xoops_modules WHERE dirname='ipboard' AND isactive='1'
DELETE FROM xoops_ipb_validating WHERE member_id = 1 AND lost_pass = 1
Error number: 0
Error message: Action not allowed
SELECT * FROM xoops_users WHERE uid = 1
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_configcategory
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 1 OR gperm_groupid = 2))
Total: 11 queries
***********************************************

My new version of my website need to be launched in next weeks, but I have to solve this bug before .... please, if anybody can give us clues or workaround ....

thanks !




TopTop
« 1 (2)



Login

Who's Online

236 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 236


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