91
CeBepuH
Re: password protecting certain pages
  • 2004/8/18 13:53

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


When creating a file or directory in icontent you can assign access rights to different user groups.



92
CeBepuH
Re: Changing MIME Types Globally on entire Xoops System
  • 2004/8/17 13:13

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10



I tried it and it worked for me.

I just did a search for mimetypes and it seems there are several additional types. I'm no expert on mimetypes but there seems there are quite a lot more to add for bitmaps. For example there is the Microsoft Windows bitmap which is 'image/x-ms-bmp'. I would suggest further investigating in to that :)



93
CeBepuH
Re: Changing MIME Types Globally on entire Xoops System
  • 2004/8/17 11:50

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


uhm, sorry. Stupid mistake

You need to look at edituser.php somewhere around line 271:

if ($op == 'avatarupload') {
    if (!
is_object($xoopsUser) || $xoopsUser->getVar('uid') != $uid ) {
        
redirect_header('index.php',3,_US_NOEDITRIGHT);
        exit();
    }
    if (
$xoopsConfigUser['avatar_allow_upload'] == && $xoopsUser->getVar('posts') >= $xoopsConfigUser['avatar_minposts']) {
        include_once 
XOOPS_ROOT_PATH.'/class/uploader.php';
[
color=FF0000]        $uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, [b]array('image/gif''image/jpeg''image/pjpeg''image/x-png''image/png'[/b]), $xoopsConfigUser['avatar_maxsize'], $xoopsConfigUser['avatar_width'], $xoopsConfigUser['avatar_height']);[/color]


I think you should add 'image/bmp', 'image/x-bmp', 'image/x-windows-bmp' but i'm no programmer either


On the other hand this is not global, it's just for uploading avatars



94
CeBepuH
Re: Changing MIME Types Globally on entire Xoops System
  • 2004/8/17 9:58

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


I think this is the file you need:

class/uploader.php



95
CeBepuH
Re: Xoops and SEO ?
  • 2004/8/10 6:38

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


PageRank is based mostly on how many sites have links to your site, what is their PR, etc. So fora a new site PR is bound to be lower...

Anyway has anyone noticed the following funny thing: most sites accessed with www.somesite.com have a higher PR with 1 than the same sites than the same sites accessed without www.

Google relies quite a lot on titles. There was a Titles hack round here which you could use.

Another thing is: i've changed my website design 3 months ago. I've found that google cache still returns searches from that period with my previous design. So it really makes a difference between dynamic pages and static pages. (Actually I've just found that text onhttp://www.google.com/webmasters/guidelines.html: Quote:

If you decide to use dynamic pages (i.e., the URL contains a '?' character), be aware that not every search engine spider crawls dynamic pages as well as static pages. It helps to keep the parameters short and the number of them small.
)

Maybe using one of the module rewrites from here would do the the trick but... I'm not sure on how much load would that be for my apache.

I suppose an alternative is the eXploz hack. But it has some bugs...


Anybody heard whether Google has any problems with '+'?



96
CeBepuH
Re: Modification to IM's in User Profile
  • 2004/8/9 6:52

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


take a look at /kernel/user.php



97
CeBepuH
Re: news 1.2 troubles - group premissions
  • 2004/6/25 7:20

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10




1. oops, been too tired and didn't saw that there were 3 different submits. feel dumb now

10x anyway



98
CeBepuH
Re: news 1.2 troubles - group premissions
  • 2004/6/24 13:09

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10



I'm using 2.0.7



99
CeBepuH
news 1.2 troubles - group premissions
  • 2004/6/24 12:04

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Several problems:

1. The View/Approve permissions page sets only the permissions for viewing news. Not a big deal as i have separated view/submit/approve permissions on their own pages and works like a charm for now.

2. Attaching files
a) when I select a file to attach and instead of Publish hit Preview, I have to select again which file has to be attached
b) is it possible to attach mp3 files for example? for now i can attach only gif/jpeg's
c) i suppose it would be nice if smth. like attaching several at once is possible




100
CeBepuH
Re: www.xoops.org vs xoops.org
  • 2004/5/11 13:33

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10



thanks.

i've been looking for that desperately...




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



Login

Who's Online

301 user(s) are online (185 user(s) are browsing Support Forums)


Members: 0


Guests: 301


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