91
zer0fill
Re: re-arrange admin menus?
  • 2003/12/21 9:48

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


thanks, but that seems to re-order it in the main menu (user side), i was referring to the admin side w/ those orange menus



92
zer0fill
Re: Xoops Login Script
  • 2003/12/21 8:55

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


Quote:

Carlz0r wrote:
I have 2 questions:
1) Why doesn't the XOOPS SSL login page work that came in the extras folder of XOOPS 2.0.5.1?
2) Is there any way to integrate the XOOPS portal login into my own webpage? I have two parts to my website. The XOOPS portal and my main page. I want people to be able to log in to my website using the same user name as they do on XOOPS so they have a universal username and password for the whole site. I really need to get this up and running so any suggestions would be great.


I can answer #2, since i have no experience with #1 (SSL)

the easiest, afaik, thing to do is to convert your webpage_users table to xoop_users. my reasoning is because you know your website better than the innards of XOOPS so it'll be easier to modify your site. you will probably have to add some of your own columns (to match webpage_users) and make a script to do the INSERTs for you if you have a lot of users. you can, of course, go the other way but that means modifying xoop's core php files like how it finds usergroups, login script, etc.

another thing i can think of, if you want two user tables (this is bad as it creates redundancy) is to do the initial conversion w/ your current userbase to xoops. after that's done, whenever a new user is created on your webpage, your script will also insert the user/pass and other required info to xoops_users. be sure to remove any registration links and php files from XOOPS or the two tables will not be in sync. more coding will have to be done on your webpage if a user wants to change their password/email/avatar/etc (you'll have to make those changes reflect in xoops_users as well).



93
zer0fill
re-arrange admin menus?
  • 2003/12/21 8:44

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


is there a way to re-arrange the admin menus or at least keep system at the top?



94
zer0fill
Re: templates not updating
  • 2003/12/20 23:11

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


what i do is

1. have the first browser window re-compile/update the module
Module data updated.
Updating templates...
  
Template info/info_leader.tpl inserted to the database.
  
Template info/info_local.tpl inserted to the database.
  ...


2. have another window open to test the changes

now, whenever you make a change reload window1 then see the changes in window2. i wouldn't want to edit the files directly off the database because if i wanted to send my module to another domain, i'd have to cut/paste to the files to reflect the updates than just sending over the files that were already updated.

btw, it doesn't seem that the automatic-update works all the time, hence this method.



95
zer0fill
Re: Xoops.org theme & banners
  • 2003/12/20 22:50

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


Quote:

Herko Coomans wrote:
Zer0fill: I've put it up for download, check the news section.

Herko


Thanks a lot Herko!
Now time to fix those broken links in the admin panel



96
zer0fill
Re: Smarty version that XOOPS uses
  • 2003/12/20 18:37

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


what about adding "custom_plugins" subdirectory under the smarty dir? that way we can seperate our own custom plugins and the official plugins (without editing the XOOPS template class)



97
zer0fill
NewBB: Show reference anchor links to replied posts & direct post anchor
  • 2003/12/20 9:44

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


How hard would it be to add two links in each post?

Additional links in flat view
1. Link going to recipient (who post was for)
- Right-alined on the "Posted on" bar
- <a href...>@Post#</a>
2. Link for that specific post (for easy reference linkage)
- Before poster's name
- Probably post #in thread (ie: 3rd post has an <a href...>3</a>



98
zer0fill
(RESOLVED) Cascading group permissions problems
  • 2003/12/20 8:34

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


Is it possible to create several groups with varying module-specific permissions? I went though the XoopsModuleGroupPermission and was able to get it working with individual groups but when i try to cascade permissions it doesn't seem to work. I'm testing permissions by doing:
// File: /modules/mymodule/index.php

$perm_name              'dirperm';
$groups                 = ($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS;
$module_id              $xoopsModule->getVar('mid');
$gperm_handler          =  &xoops_gethandler('groupperm');
$perm['edit_locals']=$gperm_handler->checkRight($perm_name,1,$groups,$module_id);
$perm['edit_leadership']=$gperm_handler->checkRight($perm_name,2,$groups,$module_id);
$perm['delete_locals']=$gperm_handler->checkRight($perm_name,3,$groups,$module_id);
$perm['delete_leadership']=$gperm_handler->checkRight($perm_name,4,$groups,$module_id);
echo 
'<pre>',print_r($perm,1),'</pre>';

but when i try to cascade permissions (1 user in many groups), it only keeps permission from their original group.

ex:
1. registered users have no edit or delete permissions
2. zer0fill is a registered user
3. create editor group
4. go into module and enable edit_local and edit_leadership permission for editor group
5. add zer0fill to the editor group (zer0fill is now in both registered user and editor groups)

when testing what permissions zer0fill has, it is still none.

[edit]
Uh. Oh!
I added print_r($groups) and it only showed zer0fill is in the registered user group even though the Editors group shows zer0fill is still in there

[edit2]
Ok. So it was the session that was causing the trouble. After logging out/in, it saw that zer0fill is in both sessions

(i know i was talking in the 3rd person. it was just to make it clear i was talking about the account and not me personally)



99
zer0fill
Re: Xoops.org theme & banners
  • 2003/12/20 7:38

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


can you let us know when the news article is submitted.

anxiously waiting



100
zer0fill
Re: Debug only in admin.
  • 2003/12/20 2:08

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


what about another dropdown item for debug all and debug all (exclude notices/warning)




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



Login

Who's Online

256 user(s) are online (174 user(s) are browsing Support Forums)


Members: 0


Guests: 256


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