291901
Freaky
Re: My God... ADMIN ICON IS GONE... HEEEEELP PLEASE !!!
  • 2003/9/14 18:50

  • Freaky

  • Just popping in

  • Posts: 37

  • Since: 2003/9/14


Thank you, but i get the following message "you do not have permission to access this page".

What can i do next...?

Sorry....

Oh yeah, this problem came up after installing a "WELCOME" module,if this can help?



291902
hsalazar
Re: My God... ADMIN ICON IS GONE... HEEEEELP PLEASE !!!
  • 2003/9/14 18:47

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Freaky:

Try typing this in your browser's URL field:

http://www.yoursitesname.com/modules/system/admin.php?fct=modulesadmin

If you get the modules list page, go to the System module line, look for the "Action" column and click on the left icon to update the module.

I hope this works.

Cheers.



291903
Freaky
My God... ADMIN ICON IS GONE... HEEEEELP PLEASE !!!
  • 2003/9/14 17:59

  • Freaky

  • Just popping in

  • Posts: 37

  • Since: 2003/9/14


Almost finished with the layout of my new website, but today i was login in and so far so good. But when i was looking after my ADMIN icon on the left to click on it...... GONE ???

Can anyone help me please, i do not want to start all over again with my new website. All the other module icons on the left are there, exept the most important one !

I've tryed to call it up by ../modules/system/admin, but is not working



291904
Mikhail
Re: Postnuke 0.726 to XOOPS 2.0.3 Converter Script (apha)
  • 2003/9/14 17:36

  • Mikhail

  • Just can't stay away

  • Posts: 412

  • Since: 2003/1/19


Thanks, Herko! Is just a "hack", the original version was made by Boobtoob...

Please, can you help me to improve this script?




291905
Rou4cn
Re: Auto login
  • 2003/9/14 14:22

  • Rou4cn

  • Just popping in

  • Posts: 16

  • Since: 2003/5/3 1


Quote:
change the patch for common.php.


It is great!
Since I use xoops2.0.2 with many hack, So what do you mean the changes? Do you mean that manully change it?

Thanks a lot.







291906
philou
Re: WebSlave Project - a project managment tool
  • 2003/9/14 14:17

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


I test this new release now !!!



291907
gronice
Re: WebSlave Project - a project managment tool
  • 2003/9/14 14:10

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Next Version!

Download v.0.7.8

Change-Log:

v.0.7.8
- fixed a typo in sql -file
- fixed problem with ticks
- added a mytasks block

It's not tested very well, but I hope it run's properly.
If not, please report bugs. Thx.

Have fun
G'Ron



291908
GIJOE
Re: Auto login
  • 2003/9/14 8:31

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


This is the best auto login hack, I think.

The older hacks I tried have troubles like "cannot logout", "must use custom block", "send wrong and long cookie in some environment".

This patch is only for XOOPS 2.0.3.
If you use XOOPS older than 2.0.2, you should upgrade to 2.0.3 or change the patch for common.php.

I prepared an archive includes 4 patched files.
download here

Just upload 4 files, and update system module in module manager.
If you use customized template, patch to the template manually.

You don't have to turn 'custom session' on.

You can set the life time of auto-login(=cookie) by "Session expiration" in General Setting of preferences.

If you use IPBM or phpBB, try Olorin's code.

*** user.php.orig    Tue Jun 17 03:20:41 2003
--- user.php    Mon Sep  8 19:06:27 2003
***************
*** 
70,75 ****
--- 
70,81 ----
      
$message '';
      
$HTTP_SESSION_VARS = array();
      
session_destroy();

//autologin code//
+     setcookie'uid' , -time() - 3600 '/' '' ) ;
+     
setcookie'pass' , -time() - 3600 '/' '' ) ;
//end autologin code//

      if (
$xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
          
setcookie($xoopsConfig['session_name'], ''time()- 3600'/',  ''0);
      }



*** include/checklogin.php.orig    Tue Jun 17 03:21:32 2003
--- include/checklogin.php    Mon Sep  8 19:05:05 2003
***************
*** 
66,71 ****
--- 
66,80 ----
      
$HTTP_SESSION_VARS = array();
      
$HTTP_SESSION_VARS['xoopsUserId'] = $user->getVar('uid');
      
$HTTP_SESSION_VARS['xoopsUserGroups'] = $user->getGroups();

//autologin code//
+     if( isset( $_POST['rememberme'] ) && $_POST['rememberme'] == 'On' ) {
+         
$expire time() + $xoopsConfig['session_expire'] * 60 ;
+         
setcookie'uid' $user->uid() , $expire '/' '' ) ;
+         
setcookie'pass' md5$pass ) , $expire '/' '' ) ;
+     }
//end autologin code//

      if (
$xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
          
setcookie($xoopsConfig['session_name'], session_id(), time()+$xoopsConfig['session_expire'], '/',  ''0);
      }



*** common.php.orig    Wed Jun 18 00:21:35 2003
--- common.php    Wed Sep 10 16:48:18 2003
***************
*** 
145,150 ****
--- 
145,174 ----
      }
      
session_set_save_handler(array(&$sess_handler'open'), array(&$sess_handler'close'), array(&$sess_handler'read'), array(&$sess_handler'write'), array(&$sess_handler'destroy'), array(&$sess_handler'gc'));
      
session_start();

//autologin code//
+     if( empty( $HTTP_SESSION_VARS['xoopsUserId'] ) && isset( $_COOKIE['uid'] ) && isset( $_COOKIE['pass'] ) ) {
+         
$passSQL "SELECT COUNT(uid) FROM ".$xoopsDB->prefix("users")." WHERE pass='{$_COOKIE['pass']}' AND uid='{$_COOKIE['uid']}'" ;
+         @
$passRS $xoopsDB->query$passSQL ) ;
+         list( 
$numrows ) = $xoopsDB->fetchRow$passRS ) ;
+         if( 
$numrows == ) {
+             
$HTTP_SESSION_VARS['xoopsUserId'] = $_COOKIE['uid'] ;
+             
$xoopsUser =& $member_handler->getUser($_COOKIE['uid']);
+             
$HTTP_SESSION_VARS['xoopsUserGroups'] = $xoopsUser->getGroups();
+             
// update time at last login
+             $updateSQL "UPDATE ".$xoopsDB->prefix("users")." SET last_login='".time()."' WHERE uid='{$_COOKIE['uid']}'" ;
+             
$xoopsDB->queryF$updateSQL ) ;
+             
// extends autologin Cookies (if you need not, do comment out)
+             $expire time() + $xoopsConfig['session_expire'] * 60 ;
+             
setcookie'uid' $_COOKIE['uid'] , $expire '/' '' ) ;
+             
setcookie'pass' $_COOKIE['pass'] , $expire '/' '' ) ;
+         } else {
+             
setcookie'uid' , -time() - 3600 '/' '' ) ;
+             
setcookie'pass' , -time() - 3600 '/' '' ) ;
+         }
+     }
//end autologin code//

      if (!empty(
$HTTP_SESSION_VARS['xoopsUserId'])) {
          
$xoopsUser =& $member_handler->getUser($HTTP_SESSION_VARS['xoopsUserId']);
          if (!
is_object($xoopsUser)) {



*** modules/system/templates/blocks/system_block_login.html.orig    Tue Mar 18 18:31:20 2003
--- modules/system/templates/blocks/system_block_login.html    Mon Sep  8 19:32:28 2003
***************
*** 
1,****
! <
form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post"><{$block.lang_username}><br /><input type="text" name="uname" size="12" value="<{$block.unamevalue}>" /><br /><{$block.lang_password}><br /><input type="password" name="pass" size="12" /><br /><input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" /><input type="hidden" name="op" value="login" /><input type="submit" value="<{$block.lang_login}>" /><br /><{$block.sslloginlink}>
  </
form>
  <
a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
  <
br /><br />
--- 
1,----
! <
form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post"><{$block.lang_username}><br /><input type="text" name="uname" size="12" value="<{$block.unamevalue}>" /><br /><{$block.lang_password}><br /><input type="password" name="pass" size="12" /><br /><input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" /><input type="hidden" name="op" value="login" /><input type="submit" value="<{$block.lang_login}>" /><br /><input type="checkbox" name="rememberme" value="On" class ="formButton" checked />Auto Login<br /><{$block.sslloginlink}>
  </
form>
  <
a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
  <
br /><br />





291909
philroy
Donations to development?
  • 2003/9/14 8:07

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Hi all,

I use both phpBB and phpAdsnew on a site I run. I'm about to set up XOOPS on a site that I'm developing. I know that Open Source is a superb concept, but I also like to say thanks for the work that others have done.

I've made donations to both phpBB and phpAdsnew, but I can't see anything here on donating to the XOOPS development team.

Are they just a very gracious group of people, or am I looking in the wrong place?

Phil



291910
GIJOE
Re: Myalbum on 1.3 > Myalbum-P on 2.0
  • 2003/9/14 7:59

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Quote:

Wingz wrote:
I'm assuming there'll well and truly be table differences between the two. So I was wondering if just a normal upgrade of XOOPS and its modules - substituting myalbum-P v2.0.0 instead of myablum v1.13 will result in a flawless upgrade, or will there be work beyond my poor PHP (and code generally) skills?

Yes. There is no differences among table structures of myalbum1.04, 1.13, and myalbum-P2.0.
But, while 1.04 store the comments into xoops_myalbum_comments, 1.13 and myAlbum-P2.0 store the comments into xoops_xoopscomments included in XOOPS core.

Only 1.13 has comment converter.
(I don't know the feature works fine.)

If you have many comments about photos, you should upgrade like this:

1. Backup 5 tables --- xoops_myalbum_photos, xoops_myalbum_cat, xoops_myalbum_text, xoops_myalbum_votes, xoops_myalbum_comments.
2. check the full paths of photos and thumbs.
3. upgrade XOOPS from 1.3.x to 2.0.x.
4. install myAlbum 1.13.
5. convert comments table in admin of myAlbum 1.13.
5. install myAlbum-P 2.0
6. set paths of photos and thumbs into preferences of myAlbum-P.









Login

Who's Online

229 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 229


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