Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Deprecated since Xoops 2.5.4: how can I solve this
by Mamba on 2014/3/7 10:01:35

1) "dirty" was meant here as "quick & dirty", so something that will work, but it's not the best/cleanest solution. But it works, and I am using it all the time when I am converting modules to XOOPS 2.5.6 Admin GUI, because it is faster.

2) Replacing XoopsTree with XoopsObjectTree is not easy, so if you are not comfortable with PHP I would not recommend to do it.

But you can try by following this recommendation from Bumciach



Re: Deprecated since Xoops 2.5.4: how can I solve this
by lionhell on 2014/3/7 9:46:28

It's ok now Mamba ! I forgot to edit an include call in a file of lexikon directory.

Let's say that at the 1st reading it's not so clear to realize when the changes concerne only the xoopstree file or all other files.
For me, a bit narrow minded, it was confusing and I've had to read 2 or 3 times to be sure what to do !!!

But finally I achieved to make the modification ! Working well ...

Just a question ... 2 in fact ...
- Why is it considered as "dirty" ?
- How to replace the call to xoopstree by a call to xoopsObjectTree ? How to load or implement xoopsObjectTree ? I tried but got an error.

THX !
Re: Deprecated since Xoops 2.5.4: how can I solve this
by Mamba on 2014/3/7 5:30:13

Quote:
Quote:
- Copy class/xoopstree.php into your module/class folder and replace all file includes to use that new path.
- Open the file and rename 'class XoopsTree' into class 'ModulenameTree'
- Remove the xoopsLogger->addDeprecated line from the file.
- Rename XoopsTree calls into 'ModulenameTree'

Hi Trabis, not sure to understand the way you describe dirty replacement of xoopsTree ... I got error message, can you be more accurate

The instructions seem to be pretty straight forward.

What kind of error messages are you getting?
Re: Deprecated since Xoops 2.5.4: how can I solve this
by lionhell on 2014/3/6 23:25:08

Hi Trabis, not sure to understand the way you describe dirty replacement of xoopsTree ... I got error message, can you be more accurate , Peut-ĂȘtre en français ?

Lionel
Re: Deprecated since Xoops 2.5.4: how can I solve this
by nikita on 2013/1/16 20:36:46

Quote:

zyspec wrote:
I don't want to alarm you but you should be very careful using this module. The module uses an unsecure method of importing _GET and _POST variables. I personally would not be comfortable using this module on any of my sites as I believe it is a security risk.


when do you recommend as module classifieds ?

Who's Online

167 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 167


more...

Donat-O-Meter

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

Latest GitHub Commits