81
m0nty
Re: Am I allowed and where do I go
  • 2006/11/3 16:57

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


header image can be changed by replacing the logo.gif & xoops2.gif in modules/system/images/

and the background colours etc can be changed by editing the style.css in the modules/system/ folder



82
m0nty
Re: cannot understand News modules template code. please help.
  • 2006/11/2 13:01

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


in the block settings for that block i would presume.



83
m0nty
Re: Kernel hack
  • 2006/11/2 12:55

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


Quote:
mithrandir

Usually, when calling the database in a handler class, the database object is referenced in a class variable $db - which is used with $this->db->functionName()

In functions and browser-called files, the $xoopsDB variable is usually used with the similar $xoopsDB->functionName().

$this->db is usually set in the handler class constructor (or its parent's constructor)

For more information on $this->something, please refer to the PHP manual on class variables.


from your other thread posted on the 27th.

it might also be helpful to describe in detail exactly what you are trying to achieve.



84
m0nty
Re: beginner question, where the templates for module.
  • 2006/11/2 0:03

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


FAQ section will help you with themes & templates. also check the documentation by clicking documentation in the menu top left ;)



85
m0nty
Re: use $xoposDB in own php file
  • 2006/11/2 0:01

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


include_once '../../mainfile.php';


think that's all..

but you have to declare $xoopsDB before you use it in a query.

global $xoopsDB;



86
m0nty
Re: Displaying total number of registered users
  • 2006/11/1 23:55

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i'd use Miths method tho, having sql queries in a block using mysql_query and totally unsanitized queries should be avoided at all cost, it's a very potential security threat which can possibly exploited exploited



87
m0nty
Re: WF-Channel 1.07 link to us section doesnt "work" with .swf banners.
  • 2006/11/1 23:47

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


maybe yeah.. not sure what version the flash file was that i tested with.

let me know.

also add (for debugging)

<p>swf value = <{$linktous.is_swf}></p>

just before <{if $linktous.banner && $linktous.is_swf == 0}>


then update the module/clear templates_c..

then when you goto the link to us screen, just above the banner link etc.. you should see swf value = 1.. the number should be a '1', if it's a '0' then something is wrong in the edits on index.php



88
m0nty
Re: WF-Channel 1.07 link to us section doesnt "work" with .swf banners.
  • 2006/11/1 23:01

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


did you update the wf-channel module & empty templates_c?



89
m0nty
Re: XOOPS without Javascript?
  • 2006/11/1 11:23

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


well as jcdunnard says.. it will work, but they may have problems as mentioned..

there's lots of modules that use javascript.

in fact xoops.js will not function..

calendar will not function, some menu items may not function.. and there's probably more things that will not function either.

so what i should have said was Yes XOOPS will work, but as a lot of things require the use of javascript, but it won't work properly if javascript is disabled.



90
m0nty
Re: My site went down recently...
  • 2006/11/1 10:28

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


please read the FAQ section on troubleshooting.

mysql can't connect to database is frequently asked and answered here, it's all on the forum or in the FAQ section if you search.




TopTop
« 1 ... 6 7 8 (9) 10 11 12 ... 289 »



Login

Who's Online

226 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

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

Latest GitHub Commits