141
ghia
Re: Account Management Question...
  • 2010/12/1 6:28

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


In general all these modules of the three kinds have a block with these summaries and can be showed on the front page as a general overview.



142
ghia
Re: Menu help
  • 2010/11/30 22:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Ad a display: block; for mainmenu in your CSS.

About that view source / missing content, could you give an example?



143
ghia
Re: Drop-Down Menu
  • 2010/11/30 13:43

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


About which files are you talking exactly?

If you use or reuse JavaScript this poses no additional threads or overhead, as long as it stays to pure Javascript functions in the browser manipulating the browser document.

If you are meaning Ajax, which is also run with JavaScript, then the situation is different, because it will request additional data of the server, which is delivered by some PHP code. For this PHP code, the security rules have to be observed for not inducing security leaks.



144
ghia
Re: Slider/carousel effect like Xoops home page
  • 2010/11/30 9:15

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


There are many themes in the library, which contains sliders. You can easily integrate them in your theme.
See also the slider module.



145
ghia
Re: Header Website
  • 2010/11/30 9:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Edit the theme.html and/or one of the included files. Replacing the image could also do the trick.

Quote:
as u mention... r cooperation....can u show
Please no SMS language!



146
ghia
Re: Avatars dont show in Admin?
  • 2010/11/30 9:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


As said before the three occurences of false === strpos to 0 === strpos in the 2 files.



147
ghia
Re: Avatars dont show in Admin?
  • 2010/11/30 0:10

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Humm, after looking into the code I get more convinced that it is a 2.5 bug and that the intention of
if (false === strpos($user_avatarpathrealpath(XOOPS_UPLOAD_PATH)) && is_file($user_avatarpath)) {
        
$oldavatar $xoopsUser->getVar('user_avatar');
        
$xoopsUser->setVar('user_avatar'$user_avatar);
        
$member_handler =& xoops_gethandler('member');
        if (!
$member_handler->insertUser($xoopsUser)) {
            include 
$GLOBALS['xoops']->path('header.php');
            echo 
$xoopsUser->getHtmlErrors();
            include 
$GLOBALS['xoops']->path('footer.php');
            exit();
        }
        if (
$oldavatar && preg_match("/^cavt/"strtolower(substr($oldavatar,8)))) {
            
$avatars $avt_handler->getObjects(new Criteria('avatar_file'$oldavatar));
            if (!empty(
$avatars) && count($avatars) == && is_object($avatars[0])) {
                
$avt_handler->delete($avatars[0]);
                
$oldavatar_path str_replace("""/"realpath(XOOPS_UPLOAD_PATH '/' $oldavatar));
                if (
false === strpos($oldavatar_pathrealpath(XOOPS_UPLOAD_PATH)) && is_file($oldavatar_path)) {
                    
unlink($oldavatar_path);
                }
            }
        }
        if (
$user_avatar != 'avatars/blank.gif') {
            
$avatars $avt_handler->getObjects(new Criteria('avatar_file'$user_avatar));
            if (
is_object($avatars[0])) {
                
$avt_handler->addUser($avatars[0]->getVar('avatar_id'), $xoopsUser->getVar('uid'));
            }
        }
    }
(was in 2.3.3
if (=== strpos($user_avatarpathrealpath(XOOPS_UPLOAD_PATH)) && is_file($user_avatarpath)) {
)
is to process the if block when the path starts with the XOOPS upload path and not something to do when the upload path is not present.

So all these 3 changes in /edituser.php and /modules/profile/edituser.php should be reverted!



148
ghia
Re: Avatars dont show in Admin?
  • 2010/11/29 23:30

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Then there should be no reason to revert the code back from false === to 0 ===



149
ghia
Re: I need to have 2 registration forms in my website
  • 2010/11/29 15:18

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


With this hack, you can make them register to an additional user group.
Afterwards when they edit their profile, other custom data fields can be presented according to the user group (field permissions in module profile).



150
ghia
Re: How to resolve xoops lib and data security issues in wampp
  • 2010/11/29 9:35

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


When did you do the move?
Before or after install?




TopTop
« 1 ... 12 13 14 (15) 16 17 18 ... 461 »



Login

Who's Online

140 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 140


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