81
ipwgc
Re:How can I a call a theme with a direct link (url) ?
  • 2009/5/28 10:14

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


Quote:

Mithrandir wrote:
come on - do a little of the leg-work, will ya?

Can't be here always, holding your hand, now can I?

include/common.php - line 226-228
if (!empty($HTTP_POST_VARS['xoops_theme_select']) && in_array($HTTP_POST_VARS['xoops_theme_select'], $xoopsConfig['theme_set_allowed'])) {
        
$xoopsConfig['theme_set'] = $HTTP_POST_VARS['xoops_theme_select'];
        
$HTTP_SESSION_VARS['xoopsUserTheme'] = $HTTP_POST_VARS['xoops_theme_select'];

Change it to:
if (!empty($_REQUEST['xoops_theme_select']) && in_array($_REQUEST['xoops_theme_select'], $xoopsConfig['theme_set_allowed'])) {
    
$xoopsConfig['theme_set'] = $_REQUEST['xoops_theme_select'];
    
$HTTP_SESSION_VARS['xoopsUserTheme'] = $_REQUEST['xoops_theme_select'];


And let the image point to the current URL?xoops_theme_select=thisthemesname


Please I need to know it this info above apply in the XOOPS version 2.3.3

Questions:
1. Can I use this changed above on the /include/common.php ??
2. I need to learned how to change a thema by clicking in a link,
3. or clicking in a module images.
4. or click direct in the thema.php
5. I don't want to use the block to change the thema.

Regards, and thank you for any advice
David







82
ipwgc
Re: working on yogurt module
  • 2009/5/12 18:26

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


About search members link,
I make same changes on the /template/yogurt_navbar.html

1. IN ORDER TO APPEAR THE SEARCH IMAGE LINK. I ADD IN THE LINE 43 THE BELOW CODE TEXTS

  • class="tabs-selected" <{/if}>> <{$lang_search}>




  • 2. This way the people will see immediately the search link at the top menu bar
    3. I insert the a new image "search2.gif" on the images folder.
    Resized Image

    NOTE: I need discover the reason not appear the text in the bar , appear only went you click on the menu <{$lang_search}>
    It a lither modification, but it important for the new users to find immediately the members.

    Regards,
    David Yanez



    83
    ipwgc
    Re: Auth module 1.16
    • 2009/4/30 21:36

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    Hi,
    Please help me to resolve the problem on your module auth version 1.16

    if you click on any of this links, it coming a blank page, and my IP go direct true the protector module
    http://www.alianzadeministerios.cl/modules/auth/index.php/index.html

    http://www.alianzadeministerios.cl/modules/auth/index.php/iglesias.html

    http://www.alianzadeministerios.cl/modules/auth/index.php/ministerios.html

    I use XOOPS version 2.3.3 on my portal
    also I have the same version on my other domain in Spanish and English and No present any problem.
    see here:
    http://www.ipwgc.com/espanol/modules/auth/index.php/index.html

    Any idea to resolve this problem?
    Regards,
    David



    84
    ipwgc
    which is the best solution to change the colors of the modules?
    • 2008/9/7 7:12

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    which is the best solution to change the colors of the modules?.

    I can use the multi thema, and I can change the color of the modules, but if I want to change the colors of 5 modules below, as example. newbb, news, smartfaq, xfguestbook, mylinks, in this case I need to have 5 different themas with different names.

    this is not good for me, because it increases the number of files in the "template_c" folder.

    I look for a single thema that does the whole work of changing the colors in these 5 modules.

    for reference and exemple you can see this portal clic here http://www.univision.com/portal.jhtml

    Any solution and idea it welcome.
    Regards,
    David



    85
    ipwgc
    Re: Compatibility Forum Newbb with XOOPS 2.0.17 ??
    • 2007/9/14 20:16

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    Quote:

    coopersita wrote:
    I also can't edit forums (2.0.17). That seems to be the only problem.
    When in the edit forum page I don't get any errors.
    I tried changing form.php in class/xoopsform, but didn't help...
    Has anyone figured out how to fix it?


    Hi coopersita,
    You are being referring to the forum newbb. 2.0.02 version?

    1. Apparently it is the only problem that newbb 2.0.02 has, the rest is working perfectly well.
    2. For this reason I opened this forum, but until now nobody had the solution for this small problem of editing the forum inside of the administrator.
    3. The only solution that I have is to upgrade to the CBB 3.08 version. but it was pending and without solving the problem in newbb 2.02

    Regards,
    David



    86
    ipwgc
    Re: Compatibility Forum Newbb with XOOPS 2.0.17 ??
    • 2007/9/6 17:12

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    Dear friends,
    I followed all you last instructions posted here, and finally I could install the forum cbb 3.8
    --portugues/
    ----cache/
    ----class/
    ----Frameworks/
    ----images/

    1. The installation was with Frameworks 1.10
    2. I check the debug mode and the forum is correct without errors
    3. Conclusion definitively the forum 3.8 works well in XOOPS 2.0.17
    Please see the working forum here http://www.ipwgc.net/portugues/modules/newbb/index.php

    Note: The only question I have without answer: If the forum CBB 3.8 works with Frameworks 1.20?
    (I'm going to do a test to see that it happens, and I will give a return.)

    //////////////////////////// REGARDING A NEWBB 2.0.2 ///////////////////////

    QUESTION: I should assume that the database of cbb 3.8 is the same of NewBB 2.0.2 ??

    This is what I pretend to do, in order to upgrade the forums in the other portals:
    1. Download from sql all forum tables database
    2. I will erase the forum newbb 2.0.2
    3. I will install a new and fresh version cbb 3.8
    4. I will place the tables of the forum in SQL database
    5. Or you recommend me upgrade direct without these steps above?

    Thank you, peterr, skenow, davidl2
    Definitively the XOOPS support is the best of the best, (y es el mejor de los mejores) congratulations.

    Blessings,
    David



    87
    ipwgc
    Re: Compatibility Forum Newbb with XOOPS 2.0.17 ??
    • 2007/9/5 17:40

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    Dear friends

    I am doing two things with newbb
    1. I am testing the operation of newbb 2.0.2 in XOOPS 2.0.17
    and I am using this portal http://ipwgc.net/chile/

    2. for the installation of cbb 3.8 I am using this portal http://ipwgc.net/portugues/
    3. I don't want to touch the other portals because they are being used now by the people.
    *****************************

    :: Regarding the instalation of cbb 3.8 here http://ipwgc.net/portugues/
    1. I move the Frameworks 1.10 to the root
    2. I made the required language files example (spanish, portuguese, french)
    3. RESULT: The newbb module doesn't appear in the list to install it.

    ////////////These are the debug errors on cbb 3.8 /////////////

    Fatal error: Call to undefined function: mod_ismoduleaction()
    in /public_html/portugues/modules/newbb/xoops_version.php on line 59

    HERE IS THE LINE 59
    $isModuleAction = mod_isModuleAction($modversion['dirname']);

    Errors
    Notice: Only variables should be assigned by reference in file /modules/system/admin/modulesadmin/modulesadmin.php line 46

    HERE IS THE LINE 46
    $installed_mods =& $module_handler->getObjects();

    Warning: main(/Frameworks/art/functions.ini.php) [function.main]: failed to open stream: No such file or directory in file /modules/newbb/xoops_version.php line 57

    HERE IS THE LINE 57
    include_once(XOOPS_ROOT_PATH."/Frameworks/art/functions.ini.php");

    Warning: main() [function.include]: Failed opening '/Frameworks/art/functions.ini.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file /modules/newbb/xoops_version.php line 57



    //////////////////////


    Now, Regarding to the Newbb 2.0.2
    that already is installed here http://ipwgc.net/chile/
    1. everything works well
    2. you can create categories, and create forums

    WHEN I EDIT THE CATEGORY ON DEBUG MODE APPEAR THIS MESSAGE
    -----------------------------------
    Notice: Only variables should be assigned by reference in file /modules/newbb/admin/admin_cat_manager.php line 83

    HERE IS THE LINE 83 ==> $group_list = &$member_handler->getGroupList();
    -----------------------------------
    Notice: Only variables should be assigned by reference in file /modules/newbb/admin/admin_cat_manager.php line 107

    HERE IS THE LINE 107 ==> $graph_array = &XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . $imgdir);
    -----------------------------------
    Notice: Only variables should be assigned by reference in file /class/xoopsform/formdhtmltextarea.php line 183

    HERE IS THE LINE 183 ==> $smiles =& $myts->getSmileys();



    NOW, WHEN I EDIT THE FORUM ON DEBUG MODE APPEAR THIS MESSAGE
    -----------------------
    Editing Forum:
    Fatal error: Call to undefined function: xoopsformselect()
    in /public_html/chile/modules/newbb/class/formselectuser.php on line 34

    HERE IS THE LINE 34 IN newbb/class/formselectuser.php
    $this->XoopsFormSelect($caption, $name, $value, $size, $multiple);

    ==================
    Errors
    Notice: Only variables should be assigned by reference in file /modules/newbb/class/forum.php line 100

    HERE IS THE LINE 100 IN newbb/class/forum.php
    $moderators_new = &$member_handler->getUserList(new Criteria('uid', $moderators_new, 'IN'), true);



    88
    ipwgc
    Re: Compatibility Forum Newbb with XOOPS 2.0.17 ??
    • 2007/9/5 4:59

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    Hi, skenow and davidl2

    This is the progress.
    I used one of my site to test the cbb 3.08 this one http://ipwgc.net/portugues/

    1. I change the "form.php" and I insert on the folder class/xoopform/
    2. I upload the module Framaworks 1.10 with a capital "F"
    3. I upload /class/xoopseditors
    4. I upload the forum cbb 3.08
    5. Below is the error message, and the module NewBB not appear to install it.

    =========================
    Fatal error: Call to undefined function: mod_ismoduleaction() in /portugues/modules/newbb/xoops_version.php on line 59

    All errors (3) queries (13) blocks (0) extra (0) timers (3)
    =========================
    Errors
    Notice: Only variables should be assigned by reference in file /modules/system/admin/modulesadmin/modulesadmin.php line 46
    =========================
    Warning: main(/Frameworks/art/functions.ini.php) [function.main]: failed to open stream: No such file or directory in file /modules/newbb/xoops_version.php line 57
    =========================
    Warning: main() [function.include]: Failed opening '/Frameworks/art/functions.ini.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file /modules/newbb/xoops_version.php line 57
    =========================

    I don't have another alternative that to return for the version XOOPS 2.16 until release the version XOOPS 2.1.7.1

    Regards,
    David



    89
    ipwgc
    Re: Compatibility Forum Newbb with XOOPS 2.0.17 ??
    • 2007/9/4 15:45

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    Quote:

    skenow wrote:
    Here is the proper link - form.php

    copy all this text into a new file - form.php - and replace /class/xoopsform/form.php


    Thank you Steve to try to solve this small problem, but very important for my.

    The curious thing seems that I am the only one that has this problem??
    Nobody has problems with the newbb 2.0.2 in English, Spanish, Portuguese and French?

    Remember I check the Newbb 2.0.2
    1. I erase the old form.php and change for this last "form.php"
    Now another problem appeared, when I make a forum inside the administrator appears the white page with the text edit forum. before it was when I gave click in the edit clipart.

    2. in another portal I try to install CBB 3.08 with Frameworks 1.10, the module doesn't appear in the install list.

    Regards,
    David



    90
    ipwgc
    Re: Compatibility Forum Newbb with XOOPS 2.0.17 ??
    • 2007/9/2 1:45

    • ipwgc

    • Quite a regular

    • Posts: 216

    • Since: 2005/8/13


    OK Steve,
    I will follow your instructions and I will give you then a return.

    Regards,
    David




    TopTop
    « 1 ... 6 7 8 (9) 10 11 12 ... 14 »



    Login

    Who's Online

    145 user(s) are online (103 user(s) are browsing Support Forums)


    Members: 0


    Guests: 145


    more...

    Donat-O-Meter

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

    Latest GitHub Commits