81
tedsmith
MyAlbum - Allowing a user group global delete priviliges
  • 2006/11/8 18:03

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Hi

MyAlbum 2.83, XOOPS 2.0.13.2

Also posted here at Peak.ne.jp/xoops

In my case, on my lost dogs site, I have a user (a moderator) who is going to delete reports (photos) that she knows are now invalid or that have expired. So I need her to be able to 'Edit' and therefore have access to the delete button to delete photos even though she did not submit them.

I have a user group, called 'Moderators'. I have added the user in question to both the 'Registered Users' group and the 'Moderators' user group.

I have given the user group 'Moderators' permission to 'Super Post', 'Super Edit' and 'Super Delete'. But when they log in, there is no 'Edit' button for the members of the moderators group to delete photos submitted by other users - only the photo's submitted by themselves can be deleted.

The only way, it seems, is to give them administrative permissions over the entire module, but I don't want that.

Is there any way that I can enable this single user delete priviliges over the MyAlbum module? Am I doing something wrong?

Thanks

Ted



82
tedsmith
Re: Xaraya
  • 2006/11/8 13:27

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Quote:
but VERY complicated to pick up


In what way?



83
tedsmith
Xaraya
  • 2006/11/8 11:39

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I've recently stumbled across Xaraya athttp://Xaraya.com.

Other than this thread I can't find any discussion of it.

What are people's experience/knowledge etc on it? What are it's good points and bad points? etc

Ted



84
tedsmith
Re: How to set one editor in CBB 3.07
  • 2006/11/4 9:34

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Selecting a default editor should be done by setting $customConfig[”editor_default”] = ““; in /include/plugin.php. You need to put the name of the editor between the ““. So you need to alter the line of code so it looks like this:
// Set the default editor
$customConfig["editor_default"] = "dhtmltextarea";

Where "dhtmltextarea" is the name of your selected text editor

Other examples would be
// Set the default editor
$customConfig["editor_default"] = "koivi";

// Set the default editor
$customConfig["editor_default"] = "tinyeditor";


Copied and pasted fromhttp://xoopsdocs.net/modules/dokuwiki/doku.php?id=en:module:released:manual:newbb:install



85
tedsmith
Re: CBB - Internal IP Address range being transmitted - how?
  • 2006/11/3 23:00

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Quote:

according to rfc1918 and are not routed through the internet. It just does not happen.


I know, this why I'm a bit bamboozadled. As per 1st post, it's an internal Class A IP range (10.xxx.xxx.xxx). That't the address of her workstation. Yet whenever she posts, I can see her IP address as webmaster.

And this is what I don't get. I should only see the IP address of the default gateway of her organisation or some other IP address that was set up specifically for external communication to Internet. She physically should not be able to communicate over the net using 10.xxx etc so something else must be getting used for the actual communications, but regadless of that, her internal address is still detectable, whether or not it's actually been used for the communications themselves.

Bizarre, don't you rekon?



86
tedsmith
Re: CBB - Internal IP Address range being transmitted - how?
  • 2006/11/3 19:20

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


I don't know that much about their setup. I can't give type up too many details about it either, but lets just say you really don't want your internal IP address been transmitted from it!



87
tedsmith
CBB - Internal IP Address range being transmitted - how?
  • 2006/10/31 18:46

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Hi

A user of one of my websites accesses the site from an internal network with a Class A internal IP address range (10.11.12.3 for example).

The IP address of her workstation is visible to me though, when I would have thought it would have been masked by the default gateway of her organisation and transmit only the outward facing external IP address?

Can anyone tell me how CBB determines the IP address of the workstation (i.e. which line(s) of code do that exercise) so that I can then try to work out why their internal IP address range is been communicated when they surf the web.

This is not an XOOPS issue as only I see it anyway (as webmaster) but what concerns me is that if my site can pick up her internal IP address, so can every other website on the Internet. If they access a site who's intentions are not pure they might use this knowledge for ill gotton gains.

Thanks

Ted



88
tedsmith
Re: Add New Block - Content type php script HELP
  • 2006/10/13 22:53

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Not entirely sure, but if you select PHP script, I think it has to be pure PHP without HTML in it. You have, in effect, seperate PHP code intertwined with HTML. So I expect that the PHP is being parsed but not displayed because it's ignoring the HTML.

Try 'Autoformat' instead of 'PHP Script' and see if that helps?

On my homepage, I have a PHP script as follows that has no PHP declarations (<?) or HTML tags, but it is set as a PHP script and so is treated as such by XOOPS without the declarations, and it works fine :

$db =& Database::getInstance();
list( 
$countA ) = $db->fetchRow$db->query"SELECT COUNT(*) FROM ".$db->prefix("myalbum_photos")." WHERE status>0" ) ) ;

echo 
'The total number of lost dog reports on this site is currently ' $countA;



89
tedsmith
Re: Xoopers Names to Faces
  • 2006/10/5 16:10

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Resized Image

One of my better days in Greece. Usually I look like a tramp. BTW Wizdana - your picture isn't working!



90
tedsmith
Re: 2.0.15 Continual Looping
  • 2006/9/18 15:07

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Sorry for the delay. I been away. Also Brash is now globe trotting so I doubt he'll reply to this as his on-line time is very limited now.

Anyway, yes, a fresh install caused the problem initially. So then I tried installing 2.0.14 and then upgraded to 2.0.15. At first I thought it was OK, but after about 10 minutes it happended again.

So in the end I reverted back to 2.0.13.2 which I use now and it is running without a hitch.




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



Login

Who's Online

216 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 216


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