xoops forums

Forum Index


Board index » All Posts (zyspec)




zyspec

Module Developer
Posted on: 3/30 6:01
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#1

Re: Yogurt, social networking module ready for testing and some spicing up :)

1. in notes - in ./class/NotesHelper.php change line 230 from:
$myts = new MyTextSanitizer();

to:
$myts = new \MyTextSanitizer();

2. There are several problems with the template definitions in ./xoops_version.php

change line 431 from:
['file' => 'yogurt_Notebook.tpl''description' => _MI_YOG_PICTURE_TEMPLATENOTEBOOKDESC],

to:
['file' => 'yogurt_notebook.tpl''description' => _MI_YOG_PICTURE_TEMPLATENOTEBOOKDESC],


change line 433 from:
['file' => 'Seutubo.tpl''description' => _MI_YOG_PICTURE_TEMPLATESEUTUBODESC],

to:
['file' => 'yogurt_seutubo.tpl''description' => _MI_YOG_PICTURE_TEMPLATESEUTUBODESC],


change line 435 from:
['file' => 'Tribes.tpl''description' => _MI_YOG_PICTURE_TEMPLATETRIBESDESC],

to:
['file' => 'yogurt_tribes.tpl''description' => _MI_YOG_PICTURE_TEMPLATETRIBESDESC],


You'll then need to either update or reinstall the module for the references to the template changes to be updated

3. To solve the problem when trying to view other profile by using
http://localhost/11/modules/yogurt/index.php?uid=2 with the Class 'XoopsModules\Yogurt\Yogurt\Visitors' not found

Go to ./class/VisitorsHandler.php and any place you find
new Yogurt\Visitors()
replace it with
new Visitors()


I haven't had time to look at everything you found but hopefully this will get you past these problems and on to finding some more....


zyspec

Module Developer
Posted on: 3/28 15:15
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#2

Re: How to implement a notification for comments

Thanks @goffy!

It's always great to have examples how to implement a feature.


zyspec

Module Developer
Posted on: 3/21 20:07
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#3

Re: Time for an upgrade/update host no longer supporting older php

I see... the same problem exists on line 127...

change:


Quote:

heh26 wrote:
Parse error: syntax error, unexpected '='

modules/happy_linux/class/time.php on line 127
[$usec$sec] = explode(' 'microtime());

to:
list($usec$sec) = explode(' 'microtime());


public function get_microtime()
{
[$usec, $sec] = explode(' ', microtime());
$time = (float)$sec + (float)$usec;

return $time;

Thank you for the reaction, of course, I can change, but it did nothing. I still can't use the module. Regards, Rafał.


zyspec

Module Developer
Posted on: 3/21 17:38
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#4

Re: Time for an upgrade/update host no longer supporting older php

@heh 26,

I think you should be able to change ./class/time.php line 69 from:
[$count$time_now$time_elapse$time_lap] = $this->get_lap_time();

to:
list($count$time_now$time_elapse$time_lap) = $this->get_lap_time();


zyspec

Module Developer
Posted on: 3/16 16:20
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#5

Re: latest xoops modules

Most of the modules that are kept up to date are in the GitHub repository at https://github.com/XoopsModules25

Some of these have been 'forked' and may require a little searching to get the most up to date version until the forks are 'pulled' back into the master.

There are some other modules that individual developers have in their personal GitHub repositories too.

As @alain01 said - if you can tell us what you want to do we might be able to guide you towards the best module(s) to get you started.


zyspec

Module Developer
Posted on: 3/12 4:09
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#6

Re: paid xoops dev/consultant

Ok, makes sense. Most of what you're seeing looks like it's compatibility problem with your current version of PHP.

Can you tell us:

* What PHP version you're server currently has installed.
* What version of XOOPS you have installed. The easiest way to find this is to go to your xoops folder and then open ./include/version.php

* Which modules "might be" installed. Without digging into the database a "close approximation" of the modules installed will be to go to the ./modules directory and look at the directory names.

I can help you look at your Xoops installation if you want to give me access ftp and dB access. If so then send me a Private Message with the information - https://xoops.org/modules/profile/userinfo.php?uid=24642

I can't commit to fixing it for you but I can at least take a look at what's there and help you sort it out. Depending on how old the Xoops installation is (and what modules are installed) it might be as simple as copying the current Xoops version into the folder structure and running the update script. If it's too old then it might be a little more tricky to get things up and running.

Depending on the modules used there could either be an updated version or possibly a similar module with an "import" utility to copy the data so you wouldn't have to recreate everything that was there.


zyspec

Module Developer
Posted on: 3/9 15:47
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#7

Re: paid xoops dev/consultant

Is the site "online"? If so can you post a link to it so we can get a feel for what might be required.

If we have a little more information we can help direct you towards someone who can help. For example it may be you need someone who is more familiar with themes/templates or it could be we need to help find someone who can help you find the appropriate modules and tweaking them to meet your needs.


zyspec

Module Developer
Posted on: 3/5 22:59
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#8

Re: Job module

I quickly patched the JobCategory class so you should be able to add Job Categories now too...

Again - let us know if it's working or if you're still having problems. Feedback either way is appreciated.

Once I hear from you I'll commit some additional changes I've made to improve the admin side.


zyspec

Module Developer
Posted on: 3/5 21:23
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#9

Re: Job module

@heh26,

I've uploaded a quick fix to my fork to allow you to set permissions.

I also uploaded a quick fix for the dB tables. They weren't being uninstalled correctly when the module was uninstalled.

I have several other changes to improve the module but I didn't want to include them until we're sure the permissions issue is fixed.

Please let me know if this fixes the issue you were seeing. I'll look into the issue you were seeing adding a category next.

You can see my fork at https://github.com/zyspec/jobs


zyspec

Module Developer
Posted on: 3/3 18:52
zyspec
zyspec (Show more)
Module Developer
Posts: 1072
Since: 2004/9/21
#10

Re: Job module

I'll try and find some time in the next few days to load this on my test server and see if I can find anything.... I'll let you know the outcome.



TopTop
(1) 2 3 4 ... 98 »