1
abdala
Re: File Upload / Download Module?
  • 2004/10/7 16:17

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


Thanks for this module. It is amazing!

I have one small question: in the submit download form, is it possible to limit the user to be able to submit only to categories that he has access to?

I.e. I have user1 who has access to cat1 and not cat2. however, when user1 submitted a download to cat2, it accepted the submission.

Thanks,
Abdala



2
abdala
Re: Modify fields in Contact and Register forms
  • 2004/4/6 15:46

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


I can answer the first question, but not sure about the second.

Basically all changes are made in the contactform.php file under the contact module. Is, say, u want to remove the location files, then delete lines: 33 and 42 which are:

$location_text = new XoopsFormText(_CT_LOCATION, "usersCompanyLocation", 50, 100, $location_v);

and

$contact_form->addElement($location_text);

The best way to learn these things is to install a local copy of XOOPS on your machine and play with these files. To install a local copy, look for something called XAMPP on the forums.

Now, to add a field, just duplicate one of the existing fields in the same files making sure you change the variable names.

I hope this helps.

Cheers,
Abdala



3
abdala
Re: Hacking Mydownloads.
  • 2004/4/6 15:30

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


The link does not work.

Abdala



4
abdala
How to Change Language in MyDownloads Module
  • 2004/4/6 15:29

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


The MyDownloads module that I have has the default language set to Spanish. How do I change it to English. I see an "English" folder under language, but I don't know how to make the change.

Thanks,
Abdala



5
abdala
Achiever's Module
  • 2004/4/5 16:50

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


I am not sure if there is a module that would achieve this already or not. But what I am thinking of is organizations that want to honor certain indivduals for their outstanding contributions, this would be a module for that. It would contain their picture, bio, job position, achievement, etc.

Thanks,
Abdala



6
abdala
Re: Cannot find netpbm
  • 2004/3/9 21:50

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


thanks for the pointers.

I'll try with my ISP.

Abdala



7
abdala
Cannot find netpbm
  • 2004/3/8 16:25

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


Hi there,

I am just not clear on the directory structure of XOOPS when I am in the admin panel for xcgal. I put netpbm under the xcgal directory and in admin I pointed it to netpbm/. However, I got the following error when I tried to batch add pictures:

netpbm/jpegtopnm "D:\xampp\htdocs\xoops\modules\xcgal\albums\userpics\DCP01450.JPG" | pnmscale -xsize=100 -ysize=75 | pnmtojpeg -quality=80 > "D:\xampp\htdocs\xoops\modules\xcgal\albums\userpics\thumb_DCP01450.JPG"Unable to create thumbnail or reduced size image.Warning [PHP]: chmod(): No such file or directory in file D:\xampp\htdocs\xoops\modules\xcgal\include\picmgmt.inc.php line 252
Warning [PHP]: getimagesize(albums/userpics/thumb_DCP01450.JPG): failed to open stream: No such file or directory in file D:\xampp\htdocs\xoops\modules\xcgal\include\picmgmt.inc.php line 255.

I tried different locations and I still got the same error.

Can someone give me a hint please.

Thanks,
Abdala



8
abdala
Search Engine not picking WF-SNIPPETS and WF-FAQ
  • 2003/12/17 19:26

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


I installed the above two modules and added some items in them. However, when I search for these items using the search engine, I don't get any results back from them.

Any pointers?

Thanks,
Abdala



9
abdala
Re: How to Change Heading Names in the Search Engine
  • 2003/12/17 15:25

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


yup! that does it. I remember trying it once before on a different site with XOOPS 1.3 or so an dit did not work. Most likely I was doing something wrong then.

Thanks anyways,
Abdala



10
abdala
How to Change Heading Names in the Search Engine
  • 2003/12/17 15:00

  • abdala

  • Just popping in

  • Posts: 42

  • Since: 2003/2/5 1


I am using the "My Links" module as the links to a list of projects. Now, when a user does a search, I would like him to get the results under the heading "Projects" instead of "My Links".

In the search.php file, this is the line that outputs the heading title:

echo "<h4>".$module->getVar('name')."</h4>";

However, I did not know how to track the 'name' to the origin.

I also changed the modules name in the modinfo.php file under modules/mylinks/language/english/modinfo.php but this did not help either.

Any ideas how to do that?

Thanks,
Abdala




TopTop
(1) 2 3 4 »



Login

Who's Online

238 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 238


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