# Submission of RForum modifications

**URL:** <https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216>\
**Category:** Ruby-Forum\
**Created:** [July 5, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216 "2006-07-05T18:06:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pond](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/7ab992/32.png) [@pond](https://www.ruby-forum.com/u/pond)\
**Post date:** [July 5, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216/1 "2006-07-05T18:06:03Z")

</div>

I am currently setting up RForum on a site where it is not useful to  
allow guests to reply to topics or post new topics. Spam will be rife.  
Consequently, I’ve added a configuration switch to the ‘site.rb’ file  
and extended the various ‘…\_permissions.rb’ model files with  
“can\_reply?” and “can\_post?” methods which are always ‘true’ for normal  
or admin users, but check the new configuration flag for guests.

I’d like to submit this for inclusion on the trunk but I’m not sure  
where I should send the patch or what format it should be sent in. I did  
e-mail the developers but after a couple of days I’ve not heard anything

- perhaps they’re busy, or perhaps I’m missing something obvious 🙂

In conjunction with the very useful recently posted  
acts\_as\_authenticated patch I hope in due course to implement a “single  
sign on” with captcha protection or similar. That’ll ensure that the  
site’s wiki, blog and forum can only be used by registered “real humans”  
rather than bots, but to minimise irritation they’ll only have to use  
one set of login credentials (it seems I’ll need to extend both Typo and  
Instiki to also only support authenticated write operations). If anyone  
else has been working on similar problems I would be very interested to  
hear about your approach.

As a side-issue, the extensive customisation of RForum that I’ve done  
includes in passing a number of fixes for assumptions that RForum will  
run in the document root. On my site, it has to coexist with Instiki,  
Typo and other applications under the same virtual host, so rigorous use  
of helper methods rather than hard-coded URLs is important. This is an  
ongoing process as I discover other areas that need attention (URLs in  
notification e-mail messages are still wrong, for example) but again, I  
would like to submit these fixes for inclusion in the trunk once I’m  
happy that they’re comprehensive and have completed proper testing.

So, any suggestions for RForum patch submission? TIA…

---

<div class="post-metadata">

**Author:** ![pond](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/7ab992/32.png) [@pond](https://www.ruby-forum.com/u/pond)\
**Post date:** [July 13, 2006, 12:45pm UTC](https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216/2 "2006-07-13T12:45:44Z")

</div>

Andrew H. wrote:

> So, any suggestions for RForum patch submission? TIA…

I’ve since fixed a few other things, including a minor bug where going  
to an unsubscribe link (e.g. clicking twice on the link in a  
notification message) will result in an application error.

Again, I would like to submit these fixes and changes - but how?

Thanks…

---

<div class="post-metadata">

**Author:** ![pond](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/7ab992/32.png) [@pond](https://www.ruby-forum.com/u/pond)\
**Post date:** [July 15, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216/3 "2006-07-15T18:27:32Z")

</div>

Andrew H. wrote:

> Andrew H. wrote:
> 
> > So, any suggestions for RForum patch submission? TIA…
> 
> I’ve since fixed a few other things, including a minor bug where going  
> to an unsubscribe link (e.g. clicking twice on the link in a  
> notification message) will result in an application error.
> 
> Again, I would like to submit these fixes and changes - but how?
> 
> Thanks…

Hi,

please create a ticket on [http://rforum.andreas-s.net](http://rforum.andreas-s.net) and write [PATCH]  
in the subject.

Thanks  
Andreas

---

<div class="post-metadata">

**Author:** ![pond](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/7ab992/32.png) [@pond](https://www.ruby-forum.com/u/pond)\
**Post date:** [August 2, 2006, 7:47pm UTC](https://www.ruby-forum.com/t/submission-of-rforum-modifications/97216/4 "2006-08-02T19:47:57Z")

</div>

Andreas S. wrote:

> please create a ticket on [http://rforum.andreas-s.net](http://rforum.andreas-s.net) and write [PATCH]  
> in the subject.

OK, done. For some reason the severity and priority of the tickets has  
been changed to strange values shortly after I submitted some - e.g.  
ticket 120 is now listed as high priority and critical, though IMHO it  
is no such thing.

[http://rforum.andreas-s.net/trac/ticket/119](http://rforum.andreas-s.net/trac/ticket/119) - enhancement / possible  
bug fix  
[http://rforum.andreas-s.net/trac/ticket/120](http://rforum.andreas-s.net/trac/ticket/120) - minor bug fix  
[http://rforum.andreas-s.net/trac/ticket/121](http://rforum.andreas-s.net/trac/ticket/121) - permissions enhancement  
[http://rforum.andreas-s.net/trac/ticket/122](http://rforum.andreas-s.net/trac/ticket/122) - enhancement / possibly of  
use  
[http://rforum.andreas-s.net/trac/ticket/123](http://rforum.andreas-s.net/trac/ticket/123) - bug fix
