41
king76
A hack for IPBOARD and Multilanguage, please ?
  • 2004/4/29 14:39

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello,

I using the hack of MARCAN "Multilanguage 1.2", so it's possible to found a hack for IPBOARD Forum ? My website is in French, english and Spanish, but the FORUM/Profil is French

thks



42
king76
Re: Strange Upload Error
  • 2004/4/26 8:15

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello Samuels,

I have the same problem with "saveAccess()" on the page : USERINFO.PHP (Error !!)

so, I have do a hack for change categorie into other subcategorie

File : index.php (folder ADMIN) :

After line 771 ($sform->addElement( new XoopsFormText( _MD_TITLEC, 'title', 50, 80, $title ), true );)

ob_start();
$mytree->makeMySelBox("title", "title", $pid, 1, "pid");
$sform->addElement( new XoopsFormLabel( _MD_MOVESUBIN, ob_get_contents() ) );
ob_end_clean();


Line 806 :
//$sform->addElement( new XoopsFormHidden( 'pid', $pid ) );

So add new define into folder language :
_MD_MOVESUBIN

thks

A+



43
king76
Re: Strange Upload Error
  • 2004/4/23 9:31

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello,

It's possible for Mydownload 1.05 to add a new option : ?

For example, If I want to modify a category and I want to moving this category in other PARENT CATEGORIE... it's possible ?

It's a simple hack ?

Thks

king

ps : If You want, I can to do this hack for Mydownload Pro



44
king76
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/15 13:50

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Rich,

Do you have a problem with groupaccess functions ?

Look here :
https://xoops.org/modules/newbb/viewtopic.php?topic_id=16805&post_id=80181&order=0&viewmode=flat&pid=80178&forum=4#forumpost80181

I think that you must rename functions saveaccess, listgroups, etc.. because You have also some conflicts with others module (Wfsection, Mydownload, etc ..)

Thank you very much

king



45
king76
Re: Strange Upload Error
  • 2004/4/15 13:48

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Yes I know this problem about "groupaccess.php" lot of module :)

On my "userinfo.php" page, I have :

Mylinks, Mydownload and "Newbb's hack" (look here :https://xoops.org/modules/newbb/viewtopic.php?topic_id=14089&forum=21&viewmode=flat&order=DESC&start=40)

I think that probleme come from : "Newbb hack", He use "groupaccess.php".

Thk you Samuels !

king



46
king76
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/15 13:17

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hi,

Quote:
I love your english... You sound like one of the french knights from Monty Python and the 'oly Grail...


Lol ! Your luck it's I like the Chicago Blues, also.. grrr

Quote:

Seriously, take a look at your webmaster group. Being the Admin user, it is possible that you have somehow been removed from the webmaster group. The hack cares only about group membership.

As for the script not cleaning up old forums? No it leaves everything in place, but creates a new table that you must populated with forum group access rights.


Excuse me, but I don't understand...

I've found a solution, using a new account 'king' (group admin) for access to my private forum and don't use my another account (webmaster) for logging

Thks



47
king76
Re: Strange Upload Error
  • 2004/4/15 12:25

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Samuels,

I have a new error on "Userinfo.php"

Quote:

Fatal error: Cannot redeclare saveaccess() (previously declared in /var/www/html/ressources/modules/mydownloads/include/functions.php:138) in /var/www/html/ressources/include/groupaccess.php on line 105



48
king76
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/15 8:08

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello regen,

You like my english ? :)

Quote:

In forum preferences you are using :
Permission Assigned by - Groups
Hide private forums from users without permission - Yes

You have a private forum to which two groups have access:
Webmaster, comite.

When you who are the site admin look at the site, you cannot see the forum, When you add yourself to the comite group, you can see the forum.


YES !

If I have interpreted the circumstances correctly, then one of two things can be true:
1) you are not in the webmaster group
>> I'm the webmaster, administrator (id=1)

2) the patch is not completely installed
>> I have updated all the files again.

* Create a new user and assign him to the webmaster group only
* determine if he can see the private forum.
>> I have created the user "testwebmaster" assigned in WEBMASTER's group (admin group) and I can see the private forum !

* if he can, the problem is likely with your user group record in webmaster group.
>> The problem is with my XOOPS Installation ??

Other Things :

- If I created one another user in group "comite", He can see the private forum...
- If I using : "Permission Assigned by - User", I can to see private forum with my account "webmaster" (group admin/webmaster)
- My table "xoops_bb_forum_group_access" is :

forum_id - group_id - can_post
1 - 2 - 0
1 - 1 - 0
2 - 1 - 1
2 - 22 - 1

The forum private id = 2 (group webmaster=1, group comite=22)

The problem is the forum_id=1, it's a old forum, that I deleted there is one moment... ?? Your script don't delete the old forum in this table ?

Thks you for helping me !

king





49
king76
Re: Strange Upload Error
  • 2004/4/15 7:37

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello,

For My problem, I have changed my search's file :

DELETE THIS :
Quote:
include_once XOOPS_ROOT_PATH . '/modules/mydownloads/include/groupaccess.php';


And add this :

Quote:

function checkPermission($groupid, $usersid)
{
global $xoopsUser;

if (!$xoopsUser)
{
$grps = array(XOOPS_GROUP_ANONYMOUS);
$uid=null;
}
else
{
$grps = array_merge( $xoopsUser->getGroups(), XOOPS_GROUP_ANONYMOUS);
$uid = $xoopsUser->getVar('uid');
}
$groupid = explode(" ", $groupid);
for ($i=0; $i<count($groupid); $i++)
{
if (@in_array($groupid[$i], $grps))
{
return true;
}
}

$usersid = explode(" ", $usersid);
for ($i=0; $i<count($usersid); $i++)
{
//echo $usersid[$i];
if ($usersid[$i]==$uid)
{
return true;
}
}
return false;

}


If you have a better solution :)

Thks




50
king76
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/14 16:46

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello,

I have a problem with this hack...

On my website :

- One forum : PRIVATE (access by 2 groups only : Webmasters and "comité")

In the preference, I use : "Hidden Private forum without permissions"

But... If I turn on this option, the private forum is Hidden... same is I am the webmaster of the website...
If I from of "Comité" group, I can See the forum !!

You understand my bad english ?

I use XOOPS 2.06

Thks you

king





TopTop
« 1 2 3 4 (5) 6 7 »



Login

Who's Online

227 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

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

Latest GitHub Commits