31
patagon
Re: article 1.0 email to a friend feature doesnt work?
  • 2007/7/7 22:36

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


well..it seems its not the admin email that its sending from, because I changed it to something else, and it still sends my mail when a non registered user sends an article...I even cleared the cache (everything on xoops/cache) and it didnt help..



32
patagon
Re: article 1.0 email to a friend feature doesnt work?
  • 2007/7/7 21:51

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks siweb, that fixed it

Now, I just noticed that when a user is not logged the email comes from an IP address and the email of the admin, I would like to replace that with info@mysite.com...

I can probably figure that with a lot of blindly trying, but if anyone knows how to do this, it will save me some time/mistakes



33
patagon
article 1.0 email to a friend feature doesnt work?
  • 2007/7/7 17:07

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I'm using article module, and the 'email to a friend' doesnt seem to work. After the screen where you set the email to send to, it shows a blank screen (when hitting send) and the email never arrives...is this a local problem or a known bug? any solution or advice?

thanks



34
patagon
Re: thinking outloud
  • 2007/6/15 22:28

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks bluestocking. That would work for giving them a page, I guess I would have to manually limit who gets to have userpages (there will be about 10-20 organizations, and hopefully much more users, some of them belonging to one of the organizations) but that shouldnt be a problem since there are a limited number of organizations. What I also wanted and dont see how to do with this module is the ability to display the organization a user belongs to across the site (in a forum for example the post would mention that the poster belongs to X organization) but maybe thats asking too much, and this could do the basic job.



35
patagon
Re: thinking outloud
  • 2007/6/15 21:38

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


I found this that may work...didnt test it yet:

https://xoops.org/modules/news/article.php?storyid=2116



36
patagon
Re: article 1.0 - How to create dropdown
  • 2007/6/15 21:38

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


up



37
patagon
Re: article 1.0 - How to create dropdown
  • 2007/6/13 15:22

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks, this almost works, but:

whenever someone enters the data for the first time it works, showing the option. if you go to edit the entry and change the value in the select, it then shows 'array' (instead of the chosen option' in that field).



38
patagon
Re: article 1.0 - How to create dropdown
  • 2007/6/13 3:16

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


up



39
patagon
Re: article 1.0 - How to create dropdown
  • 2007/6/12 13:48

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks, I managed to modify /form.article.elements.php so that I can see a select (I couldnt find any example of dropdown, but a select could work) by doing this:

original:
// Source
$form_element["active"]["art_source"] = new XoopsFormText(art_constant("MD_SOURCE"), "art_source", 50, 255, $art_source);
$form_element["inactive"]["art_source"] = new XoopsFormHidden("art_source", $art_source);

Modified:
// Source - reused as a select
$form_element["active"]["art_source"] = new XoopsFormSelect(art_constant("MD_SOURCE"), "art_source", 50, 3, $art_source);
$form_element["inactive"]["art_source"] = new XoopsFormHidden("art_source", $art_source);

Now, my problem is how do I 'populate' this select with my 3 options? I see places where it does a similar thing, but it pulls the content from somewhere else (or I dont understand it). I would need to define only 3 possible values, say A, B, C.



40
patagon
thinking outloud
  • 2007/6/12 13:25

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


I am making a site for a nonprofit. Most of the visitors belong to different nonprofit organzations themselves (say PETA, Greenpeace, etc, though these are small unknown organizations). I want to be able to have a page where I can list all the organizations, ideally with a page they can customize in some way, or links to a organization specific forum and/or wiki. I also want to be able to show if a user belongs to X organization (say that in this case my message would say 'patagon' 'joined since whatever' 'xnumber of post' and 'Greenpeace member'). I guess I could do this with premissions and users, but that would mean a lot of work to me, when ideally each person that 'creates' an organization (say submits the organizaton to this main page) has the ability to handle this themselves, and give permission to someone else in the organization to help).

Any ideas, module suggestions? I think I saw once a module that did something similar, orginally meant for football (soccer if you are in the US ;) fans, but I cant find it...

thanks




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



Login

Who's Online

161 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 161


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