Forum

Mambo 3rd Party Addon Hacks => Module Hacks => Topic started by: noobie on June 02, 2005, 11:33:09 AM



Title: Smf recent topics mod
Post by: noobie on June 02, 2005, 11:33:09 AM
I get en error ... Fatal error: Call to undefined function: db_query() in /home/*******/public_html/modules/mod_smf_recent_topics.php on line 44

i'm a complete novice, and a quick learner, but i dont understand whats going on to be able to fix it.

any help woould be greatly appreciated.
Thanks
Noobie


Title: Re: Smf recent topics mod
Post by: cowboy on June 02, 2005, 12:22:24 PM
You should not be getting that error. What version of that module and mambo-smf forum are you using?


Title: Re: Smf recent topics mod
Post by: noobie on June 02, 2005, 12:38:24 PM
i can only guess at the latest, downloaded and installed today.


Title: Re: Smf recent topics mod
Post by: cowboy on June 02, 2005, 12:44:20 PM
I am using that module in this website. Did you already configure Mambo-SMF component in mambo admin? I'm guessing that you have not properly configured it yet. Installation checklists must be marked installed or done.


Title: Re: Smf recent topics mod
Post by: noobie on June 02, 2005, 01:27:27 PM
didnt realise i had to install the mambosmf forum too, just backing up smf so i can upgrade to 1.0.3, just to get the smf mod installed.
Thanks for the help, i will be back for help later no doubt.
Thankyou
Noobie


Title: Re: Smf recent topics mod
Post by: noobie on June 02, 2005, 02:19:04 PM
done all that, but i'm getting an error when i try to run Mambo-SMF Forum Configuration.
here a ling to the captured error
http://ripoffbritain.org/wallpapers/displayimage.php?pos=-7234

its also reporting that, the smf forum is not installed on the same DB as mambo, but as far as i can tell, they are, i've got mysql to copy the 2 dbases into 1 with full privelages.
its also saying the the SMFMamboMod.zip isnt installed, well that certainly is, but there appears to nothing configurable within SMF, just install and go???

any further help???
thankyou
Noobie


Title: Re: Smf recent topics mod
Post by: cowboy on June 02, 2005, 07:21:50 PM
I don't see your captured error....


Title: Re: Smf recent topics mod
Post by: noobie on June 03, 2005, 12:34:55 AM
sorry, try again


Title: Re: Smf recent topics mod
Post by: d3vlabs on June 14, 2005, 06:21:40 PM
Different question, same module. Didnt' want to start a new thread.

Here we go, is it possible to customize the appearance of the  Recent Topics module? I'm mainly looking into changing the font style/size/color. Was looking for a .css file yet not sure what function it uses if it uses SMF's theme css. Also checked the mod_smf_recent_topics.php, yet empty there for me as well. Thank you.

Here are the files that came with the mod:

mod_smf_recent_topics.php - wasn't able to find anything that affected the style.
mod_smf_recent_topics.xml - just mambo installation info


P.S. Should I make my own CSS and then add the function to the .php file?


Title: Re: Smf recent topics mod
Post by: cowboy on June 14, 2005, 10:14:29 PM
the modules use mambo's template css.


Title: Re: Smf recent topics mod
Post by: d3vlabs on June 14, 2005, 10:54:14 PM
Thanks cowboy. Simpler than i thought. Here's for those who are interested:

template_css.css of your mambo template:

/* mambo core stuff */
a:link, a:visited {
color: #838383; text-decoration: none;
font-weight: normal;
}

a:hover {
color: #C4C4C4; text-decoration: none;
font-weight: normal;

Self explanatory


Title: Re: Smf recent topics mod
Post by: Tawan on June 18, 2005, 07:04:39 AM
I'd like to add more info on noobie's issue, since I've got that kind of error too.

first is : this is what I've got :-
Fatal error: Call to undefined function: db_query() in /home/noom/www/Mambo-SMF/modules/mod_smf_recent_topics.php on line 45

However, If I enter the forum, this module will work as expected.

Currently I'm using Mambo 4.5.2.3 with SMF 1.0.4, PHP 4.3.10, MySQL 4.1.10a(on Linux), Apache 2.0.53. All of these is run on Ubuntu 5.04 Linux.

Edit : Oops, I should crop it to just small picture, so sorry about large image
Edit2: OK, I've got it work right now, just do some operation on the bottom of Mambo-SMF Forum Configuration page. I think this have to be mensioned in the installation note also (Or I just blind, didn't see any statement on it :D)

:D


Title: Re: Smf recent topics mod
Post by: cowboy on June 19, 2005, 01:19:54 AM
Looks like you had a problem installing the SMFMamboMod.zip. Because you should not have that "constant WIRELESS..." error if it's properly installed. Uninstall it and then re-install it.


Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.