31
jlm69
Re: How to add a new editor for XOOPS ?
  • 2013/5/22 10:33

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


All you should need to do is add the editor to XoopsRoot/class/xoopseditor

Then update the system module, then update any module that uses the editors.

John



32
jlm69
Re: mime type in TDMDownloads
  • 2013/5/17 12:20

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I hate to always show grammer errors but i notice in the line you added to htaccess is:

AddType application/vnd.android.package-archive .apk

there is a space between archive and .apk

not sure if that is right.

John



33
jlm69
Re: The need to keep XOOPS module development in one location
  • 2013/5/14 10:26

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I think you all are forgetting something.
A long time ago there used to be a module development section of Xoops, I had all my development going on in there and one day it got hacked. All work was gone. Had to start all over. Many developers were very upset, we probably lost some developers because of it. Ever since then I do all my development on my own servers, and will always do it that way.
To be honest with you I hate sourceforge and svn, you can't beat clicking on a link and getting the download, no need to have special software, plus know the right svn address to get the files you need.

Just my thoughts,

John



34
jlm69
Re: question about <a href="<{$xoops_url}>
  • 2013/5/14 10:04

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


In content you can use XOOPS_URL

something like this:

<a href='".XOOPS_URL."/modules/$mydirname/'>".XOOPS_URL."/modules/$mydirname/</a>

John



35
jlm69
Re: templates
  • 2013/5/12 15:22

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


In your first post you wrote this:

<td id="headerlogo"><a href="<{xoAppUrl /}>" title="<{$xoops_sitename}>"><img src="roofstar_logo.png"

in your last post you wrote this:

<td id="headerlogo"><a href="<{xoAppUrl /}>" title="<{$xoops_sitename}>"><img src="<{xoImgUrl roofstar-logo.png}>"


They are not the same, you are missing the smarty reference" <{xoImgUrl roofstar-logo.png}>" in your first post.

Not sure if that is your problem or just a typo in this forum but just something I noticed


John



36
jlm69
Re: XSitemap v1.52 Beta 1 - Test
  • 2013/5/8 21:59

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


@chefry,

I am not sure why xsitemap does not paying attention to weighting. Maybe the developer could help.
I only looked at xsitemap because you were complaining that classifieds was not working with it. I actually thought I would have to make a plugin for it. If I find time I will look into it, but I have a few things going on right now.

John



37
jlm69
Re: XSitemap v1.52 Beta 1 - Test
  • 2013/5/8 11:29

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


@Mamba
Looking at the svn code the file is named plugin.php, in the file I have it is called xsitemap_plugin.php.

As long as the file is plugin.php there is no change needed.

John



38
jlm69
Re: XSitemap v1.52 Beta 1 - Test
  • 2013/5/8 5:29

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


If I look in the folder xsitemap/class I see xsitemap_plugin.php
not plugin.php
and it is calling for plugin.php
It through an error on my test site.

John



39
jlm69
Re: XSitemap v1.52 Beta 1 - Test
  • 2013/5/7 21:57

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Found one more,

xsitemap/include/functions.php

line 184:

$xoopsDB =& Database::getInstance();

change to:

$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();

John



40
jlm69
Re: XSitemap v1.52 Beta 1 - Test
  • 2013/5/7 21:12

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Something I forgot to mention in the last post.
There is an error in admin/admin_header.php around line 70 look for this line:

include_once XOOPS_ROOT_PATH."/modules/xsitemap/class/plugin.php";


It should be this:

include_once XOOPS_ROOT_PATH."/modules/xsitemap/class/xsitemap_plugin.php";



John




TopTop
« 1 2 3 (4) 5 6 7 ... 53 »



Login

Who's Online

241 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 241


more...

Donat-O-Meter

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

Latest GitHub Commits