Navigation

Pligg Support

i have a few modules used for versions before 2.0, and they work somewhat. However they override something leaving the dropdown function not working.

i was really hoping to use this module. So is there a chance to get it working?

Maybe i could send the pligg team the module and they could include support for it in a future update ?

Possible Answers

    Here are a couple tips that may end up fixing some older modules so that they will continue to work on Pligg 2.0.

    The first update is the location where we store the Smarty.class.php file. We moved this (and other files) to a new /internal directory. Search your module files for the text 'Smarty.class.php" and update the location so that it now includes the new directory. Here is a before an after example:

    Pligg 1.x.x

    include_once('iSmarty.class.php');

    Pligg 2.x.x

    include_once('internal/Smarty.class.php');

    Next we changed the highest user level from 'god' to 'admin'. Because of this, you will need to search the module files for the term 'god' and probably replace it with 'admin'. A common example of this is demonstrated below:

    Pligg 1.x.x

    $canIhaveAccess = $canIhaveAccess + checklevel('god');

    Pligg 2.x.x

    $canIhaveAccess = $canIhaveAccess + checklevel('admin');

    | Posted 326 days ago | Permalink | Hide Replies

    i do believe that my problem is with jquery / javascript.

    Something of which i have no experience. i have tried to read up on it the past few days, but obtaining the amount of insight in javascript needed to troubleshot even a minor problem like this is not just something you do i think.

    http://i.imgur.com/Uxf5agF.gif

    | Posted 325 days ago | Permalink | Hide Replies

    Without even knowing the name of the module in question it would be very difficult for anyone to help you out. I can only suggest contacting the developer or hiring a freelancer.

    | Posted 324 days ago | Permalink | Hide Replies

    i thought about it. But decided against it as i cannot afford it.

    The developer has not responded in almost 6 months, so that possibility has also been exhausted sadly. if i delete the 5 .js javascript files, everything works as it should. That is how i pinpointed the problem. Crude, but it atleast directs me towards the issue.

    Out of the 5 .js files. All functions are pretty normal when deleting a jquery-min.js file.

    http://codepad.org/xmXVxm4g

    | Posted 323 days ago | Permalink | Hide Replies

Who Upvoted this Story

Pligg.com's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire pligg.com domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.