121
zyspec
Re: Xoops Partners module
  • 2016/7/12 2:28

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


XoopsPartner is a module that was started a long time ago (probably more than 10 yrs) and it's gradually been brought along with XOOPS. There's no reason that XoopsPartner couldn't use the XoopsEditor(s) - it just hasn't been updated to do so.



122
zyspec
Re: Xoops Partners module
  • 2016/7/11 18:51

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@Zap_English

You will need to change the required XOOPS version in xoops_version.php from 2.5.8 to 2.5.7 for your needs in XoopsPartners v1.12 Final.

There currently isn't anything in XoopsPartners v1.12 Final that requires XOOPS 2.5.8 and I know you're rebuilding your site using 2.5.7 - this module should work with 2.5.7 (although there's no guarantee that future releases will work with 2.5.7).



123
zyspec
Re: how to protect single custom page ?
  • 2016/7/4 17:04

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@mjoel,

Since you've included ./mainfile.php you should be able to just add:
(($xoopsUser instanceof XoopsUser) && ($xoopsUser->isAdmin(0))) || exit(_NOPERM);

after:
include("../../mainfile.php");   
include(
XOOPS_ROOT_PATH."/header.php");


although I would change the include("../../mainfile.php") to require_once dirname(dirname(dirname(__DIR__))) . "/mainfile.php";
- but that's not required to make it work. You can do something similar (although a little more complex) for other groups...



124
zyspec
Re: Is there a working newsletter module?
  • 2016/7/1 15:40

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@Zap_English,

Maybe I misunderstood. I thought you were trying to import SimpleNewsletter users into xNewsletter. If so, you go to the xNewsletter Admin panel, select the Import tab and there should be a selection for SimpleNewsletter (as long as that module is installed on your server). You can see an example of a partial screenshot from my server.

Resized Image



Isn't this what you were asking to be able to do?



125
zyspec
Re: Is there a working newsletter module?
  • 2016/6/30 14:17

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@Zap_English

I created a SimpleNewsletter plugin. Please download xNewsletter again from my GitHub repository.

I imported a few users and it looks like it works but please try it and let me know...



126
zyspec
Re: Is there a working newsletter module?
  • 2016/6/30 5:44

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I'll look at this tomorrow to see if I can create a plugin for simplenewsletter so you can import subscribers. Stay tuned...



127
zyspec
Re: Is there a working newsletter module?
  • 2016/6/29 20:08

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


There were problems due to xNewsletter's use of direct mysql statements instead of using the XOOPS API for database access. I've fixed those and a few other bugs in the import plugins (XoopsUser and CSV). Please download again from my GitHub repository and let me know what you find.

https://github.com/zyspec/xnewsletter/archive/master.zip



128
zyspec
Re: Is there a working newsletter module?
  • 2016/6/29 14:35

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@Zap_English

We need a little more information to be able to help. Can you tell us what the settings are/were on the Import page when it "didn't work"?

Any information you can give us helps reduce the time it takes to find the problem and hopefully resolve it quickly.



129
zyspec
Re: Is there a working newsletter module?
  • 2016/6/28 15:44

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You might try this one... I made some quick changes to remove setting a default value on MySQL text columns...

https://github.com/zyspec/xnewsletter/archive/master.zip

Let me know if this worked. If so, I'll submit a GitHub pull request for the change(s).



130
zyspec
Re: bug in admin/userhandling
  • 2016/6/23 17:24

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


@goffy

You're right. This appears to be a bug. Hopefully @mamba or @geekwright has time to look into it - definitely should be reviewed in XOOPS 2.6. It's a problem with the way the Profile module tries to hook into the preloads for user editing. The Profile module tries to jump into the middle of the editing sequence and redirect to a different page. The problem is this only works when the preload event is triggered - which it isn't when editing/creating the user from the Admin side.

Unfortunately I don't see a "quick and dirty" work-around to fix it other than triggering the same preload event in more than one place - which could turn into an ugly hack pretty quickly.




TopTop
« 1 ... 10 11 12 (13) 14 15 16 ... 100 »



Login

Who's Online

258 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 258


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