1
csloh
GREEN TEA Theme has a missing JAVASCRIPT header!
  • 2004/12/10 6:25

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


I have downloaded the "Green Tea" Theme, but found that my FORUM (NewBB 2.0 Final) was broken... After some searching around, I found that the theme.html of GreenTea is missing the JAVASCRIPT Header, thus the PM, Smilies and dropdown menus in the NewBB 2.0 will not work!

It also does not have the
<{$xoops_module_header}>

section which is needed for NEWBB 2.0. Must be an old theme, no?

Any way, Here's how to fix it.

Look for the closing "head" tag: i.e. the one with the / slash before the word head (/head) in theme.html and add the following lines right above it. So that it reads like this:
<{$xoops_module_header}> 

<
script type="text/javascript" language="javascript">
<!--
<{
$xoops_js}>
//-->
</script>
</
head>


This solution should work with themes that are "misbehaving" under NEWBB2.0.

Hope this help.



2
csloh
Re: Booklists crashes my notifications [fixed]
  • 2004/12/10 6:01

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


Sorry guys, haven't been checking the forum (nor inbox) for sometimes.

That was my first attempt in cloning a module (from "MyLink") and oobviously I did not do a very clean job and had left some "link" uncorrected.

There is now a 0.9 version of booklists. I have double-checked and clean out the "wrong directory" codes, and it should work better. You can download it here.



3
csloh
A Glossary function that highlight with definition
  • 2004/10/26 22:02

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


Does anyone know of any module that allow users to define new terms into a "GLOSSARY" and additionally provide a hotlink to these definition whenever the "glossaried word" appeared in the XOOPS site? The hotlink could either pop-up or balloon-up the definition of the word.

Someone told me moodle is the only CMS that provide this function. I use Wordbook currently, and this is not available on Wordbook.

Feature request: a "Glossary" that highlighted certain terms and linked them to definitions.

Thanks.



4
csloh
BookLists 0.9 (update)
  • 2004/10/18 21:19

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


Description:

I have cleaned up some of the codes inconsistency, and fixed the problem raised by some users who used the earlier version.

You can download the Booklists (0.9) using this link.

History (Version 0.8):

I had wanted to use the MyLinks module in XOOPS to display a recommended booklist s which showed cover shots of books, and allowed users to quickly order the books through the click of a link (I used Amazon, and BookPool) for technical books, you may have your favorite online Book sellers.

The problem I faced is that I already have MyLinks, so mixing Booklists and WebLinks is not ideal. With the addition of BookLists as a XOOPS Module, I can use both modules side by side. If you capture the book covers and upload them into "shots" firectory, you can also display the covers in Booklists much like the "Screenshots" in MyLinks.

You can think of this as a MyLinks duplicate, but I have renamed all the relevant database fields so that it is a little bit better than simply cloning MyLinks.

Thanks to CARNUKE who suggested I look into cloning it myself. "If you don't try you'll never learn."



5
csloh
Re: Problem with template set manager
  • 2004/5/18 3:05

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


Thanks, will check on line 93.

Read the thread you suggested, it's probably the XCgallery, I had it installed then uninstalled it. Probably took my line 93 with it! Bad gallery.

Thanks for the help.



6
csloh
Re: Problem with template set manager
  • 2004/5/18 1:11

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


okay, PHP Debug showed:

Fatal error: Call to a member function on a non-object in /home/virtual/site27/fst/var/www/html/room/modules/system/admin/tplsets/main.php on line 93

MYSQL/BLOCK showed:
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 = 'xxx I removed this xxx'
SELECT * FROM xoops_users WHERE uid=3
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2))

Did i do it right?



7
csloh
Problem with template set manager
  • 2004/5/17 21:26

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


This issue has occured a few time before, if anyone can suggest why it's happening and how to fix it, I will be grateful. (In the past I have reinstall XOOPS to fix the issue.)

When I login to check on the template, athttp://[mysite]/modules/system/admin.php?fct=tplsets

I will see a partial box/table, like this
Resized Image
with nothing below it. I know there should be a box for me to add new template or something like that, but it appear the php files is "corrupted" after the Forzen Bubble entry...

This has happen 3-4 times before, always with a partial Templates column, and a blank Action column.

Am I the only one with the problem? Urggh

Please help...



8
csloh
Is it possible I am hacked?
  • 2004/4/5 3:41

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


I am the admin of a XOOPS site, and when I visit my site today, I got the following:

=============
Warning: main(/home/virtual/site25/fst/var/www/html/room/include/common.php): failed to open stream: No such file or directory in /home/virtual/site27/fst/var/www/html/room/mainfile.php on line 72

Warning: main(): Failed opening '/home/virtual/site25/fst/var/www/html/room/include/common.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site27/fst/var/www/html/room/mainfile.php on line 72

Warning: main(/home/virtual/site25/fst/var/www/html/room/class/xoopsblock.php): failed to open stream: No such file or directory in /home/virtual/site27/fst/var/www/html/room/header.php on line 28

Warning: main(): Failed opening '/home/virtual/site25/fst/var/www/html/room/class/xoopsblock.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site27/fst/var/www/html/room/header.php on line 28

Warning: main(/home/virtual/site25/fst/var/www/html/room/class/template.php): failed to open stream: No such file or directory in /home/virtual/site27/fst/var/www/html/room/header.php on line 62

Fatal error: main(): Failed opening required '/home/virtual/site25/fst/var/www/html/room/class/template.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site27/fst/var/www/html/room/header.php on line 62
============

The site was still function on Friday, can anyone give a suggestion on what might have happen? I am the only admin, and I did not do any maintenance on these two days. In fact I only loggin to read and logout.

Is it the problem with my web hosting company?

Thank you for any input...



9
csloh
Re: Is there a "book list" module?
  • 2004/2/18 21:19

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


Quote:

carnuke said:
It is possible to clone modules of course; essentially you need to change the tables created in the database, named constants etc. to avoid conflicts, . Do a search for clone module. If you have some experience, you may be able to do this

Hey, thanks for the suggestion and "challenge." I tried and here is the BOOKLISTS module. Hope ONOKAZU don't mind.


download BOOKLISTS 0.8
NEW NOTE: if you downloaded the file before April 18 2004, please download it again. I have fixed the "blank page" bug...

============================
DESCRIPTION:
I wanted to use the LINK module in XOOPS to display a recommended booklist wich show cover shot of the book, and recommend users of my site to online bookstore such as Amazon or BN.

Using the LINK to cover both books and URL is too cumbersome, and I lose the ability to show a BOOK LISTS item on the menu.

CARNUKE suggested I look into cloning it myself, and this is the result of that.

BOOKLISTS is basically the same as LINK, but modified to store the book title in a separte database, and will now accept book titles recommedation, In place of the "Screenshots" in LINK, you can show the book cover shots.

Have fun using. I don't intend to support this (since I am not really a coder), but if you find typo errors, I will be happy to correct them.



10
csloh
Re: How do you add a new "thread" using WIKI Mod?
  • 2004/2/18 20:40

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


should have read further. I stopped at the first half...
Thanks.




TopTop
(1) 2 »



Login

Who's Online

73 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 73


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