51
jlm69
Re: Module xdirectory not working
  • 2011/7/6 21:40

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


The module xdirectory is very old. You probably should not use it unless you know how to fix code.
You should be using mxdirectory. That replaced xdirectory YEARS ago.

I don't know why mamba wasted his time updating the gui on that module. Believe me xdirectory is on of my favorite modules and the one that got me started with fixing code. And I still use it on almost half of my sites. But as a community module, its days are over.

For an example look at the file contact.php file. it is all hard coded. Look at the file mailcenter.php it is from a very old myads module.

You really need mxdirectory.

Hope this helps,

John



52
jlm69
Re: real estate modules?? any?
  • 2011/6/30 13:42

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Why would you pay for a module that you will need to modify anyway?

If you are going to have to edit any module to do what you want, then you should start with the classifieds module. It's FREE.

As far as adslight, that is a copy of an old version of classifieds with some changes.

Adslight Pro better NOT have any of MY code in it. If anyone knows please tell me.

If you really want to pay for a module I have an old real estate module that works with new versions of Xoops, I always keep it working. If you want, I will work with you to get it how you want.

But if you can do some things yourself I would start with the classifieds module.
No matter what you decide I can help you with some real estate specific additions to the module.

If you want contact me at the email in my profile.


John



53
jlm69
Re: bug in upgrade to 2.5.x ??
  • 2011/6/14 15:37

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


UPDATE:

I guess it does not matter if mainfile.php is writable or not it does not process the mainfile to secure.php.

So it must be a bug and maybe alot of peoples little problems.

On a new install the database info is stored in secure.php but not an upgrade. On upgrade secure.php is empty.


John



54
jlm69
bug in upgrade to 2.5.x ??
  • 2011/6/14 14:24

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


When I upgraded my site from 2.4.4 to 2.5.1 there was no upgrade folder in 2.5.1 so I used the upgrade folder from 2.5.0

Everything went nice and smooth. But afterwards I noticed little things in the admin not working right. Not sure why I looked, but in the mainfile.php I noticed all my database info was there. I thought to myself that should not be there, it should be in secure.php.

I FORGOT to make the mainfile.php writable. The Upgrade SHOULD have noticed that and warned me, I would think. But it did not, it went right through the upgrade process. So I had to create secure.php by hand and also recreate mainfile.php manually.

It happened to two sites before I caught it.

Just thought I should let someone know

Thanks,

John




55
jlm69
Re: How to upgrade Xoops to a newer version?
  • 2011/6/14 12:46

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Normally you would just read the release notes and the directions for the release you want to use.

For 2.5.1 try these:

https://xoops.org/modules/news/article.php?storyid=5881

You could also google 'upgrade xoops'

The most important thing to know is which version of Xoops you are using now.
You can find out by going to your root directory and go to include/version.php that will tell you what version you have.

Also which modules you have installed? Some old modules will not work with new Xoops.

If you list the modules the site uses maybe people here will tell you if they work and how to upgrade them, or which module can replace the old modules.

Welcome to Xoops,

John



56
jlm69
Re: Adding to notification email
  • 2011/6/4 21:28

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I see no one has takin a chance with this one.

Well here it goes.
This would be for 2.5.x


in profile/register.php around line 152 look for this line:

if ($current_step == 1) {

after it add this line, and any other you want(replace state with other field name):

$state = isset($_POST['state']) ? $myts->stripSlashesGPC(trim($_POST['state']) ) : '';


then go down to about line 169 or so and find this line:

$newuser->setVar('uname', $uname);

before it add this line:

$profile->setVar('state', $state);


then go down to around line 190 or so and find this line:

$uname = isset($_POST['uname']) ? $myts->stripSlashesGPC(trim($_POST['uname'])) : '';

before it add this line:

$state = isset($_POST['state']) ? $myts->stripSlashesGPC(trim($_POST['state'])) : '';


then go down a few lines and find this line:

$newuser->setVar('uname', $uname);

before it add this line:

$profile->setVar('state', $state);

then go down to about line 257 or so and find this line:

$xoopsMailer->setTemplate('adminactivate.tpl');

after it add this line:

$xoopsMailer->assign('STATE', $profile->getVar('state'));


save that page.

Now go to the adminactivate.tpl and add:

{STATE}

where you want.

And that should do it.

Hope this helps.

John





57
jlm69
Alumni 3.01 RC Released
  • 2011/4/11 15:03

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I just released Alumni 3.01 RC today.

I would like some feedback please.
If you have any problems, or just what you like or don't like.

you can get it HERE.

Thanks,

John





58
jlm69
Re: Update from 1.3.10. to 2.0.4.
  • 2011/4/11 2:15

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I knew if it could be found Mamba could do it.

If any problems post them here.

John



59
jlm69
Re: ModuleAdmin Class
  • 2011/4/11 2:11

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I was wondering if that GUI was going to be in the future releases of Xoops.

I have it in my modules so if you are using Xoops 2.5.x it will use the new ModuleAdmin class, if you are not using Xoops 2.5.x it will use the Xoops Standard GUI.

John



60
jlm69
Re: Update from 1.3.10. to 2.0.4.
  • 2011/4/10 18:19

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I believe a while ago someone hacked into Xoops and they lost all that stuff. It has been rebuilt since then. The only thing I don't see is an upgrade patch from 1. to 2.

If all you need is to get the users transfered it doesn't look like it would be to bad.

Do you have a new site made?

If not, you should set one up, then try to import the old users tables (there are 2 for your version) to the new users table(only one in newer versions).

If that works O.K. then move to the modules part. using the modules you want. If using newer versions of the old mods then you can usually do an upgrade from the old module database. You could do that first.

If you need a hand converting the old users table to the new one, maybe I can help.

John


P.S. TO EVERYONE
This is why you really should not let your Xoops Sites get to old, Keep them up to date, no more than 2 final versions out of date.









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



Login

Who's Online

289 user(s) are online (188 user(s) are browsing Support Forums)


Members: 0


Guests: 289


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