Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Gossamer Forum 1.1.7 Released

(Page 1 of 2)
> >
Quote Reply
Gossamer Forum 1.1.7 Released
Gossamer Forum 1.1.7 is now available for download from the Gossamer Forum download page.

1.1.6 -> 1.1.7 CHANGES
======================
Moved thread tracking - forums can now be configured (enabled by default) to
leave a pointer in the old forum indicating that the post has been moved.
The move thread page now contains a checkbox to allow you to move a thread
without leaving a pointer.
Template diffs - The admin panel now contains template diffs for all versions
going back to the initial 1.0.0 release. The diffs are found in the
Templates menu.
Edit reason - when editting a post, a reason for editing can now be entered.
The reason is visible when viewing the editlog (clicking the word "edited"
in the "This post was edited by ..." message).
Duplicate e-mail prevention - a new admin option exists in the Setup -> Users
section that allows an installation to prevent people signing up with an
e-mail address that has already been used. If enabled, the signup is
prevented giving the existing username in the error message.
Several small bug fixes and minor improvements are also included.

NOTE: Due to the handling of moved threads in 1.1.7, some template changes
are necessary for proper operation. It is recommended that you look at the
diff provided and make the necessary changes in any templates that you
have customized.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com

Last edited by:

Jagerman: Jul 11, 2002, 3:01 PM
Quote Reply
Moving trails aren't working In reply to
I moved a post and there is no trail left. I tried several different forums, I tried checking and unchecking the box, nothing worked.


Realiiity.com Forums
Quote Reply
Re: [ellipsiiis] Moving trails aren't working In reply to
Check the value of the forum move pointer for the forums in question - they have to be set to yes before the move pointer will show up.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [ellipsiiis] Moving trails aren't working In reply to
You may also be running into template problems. 1.1.7 requires some template changes in order for the moved posts to properly show up. Take a look at the diff - the required changes are in forum_view.html. The only one absolutely required is basically adding: <%if post_moved%>Moved: <%endif%> in front of the linked post subject.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Good deal Jason. This version has some handy and user/owner friendly stuff in it.

My little board popped the 1,000 subscriber mark this morning. After four months of operation it's all going pretty smoothly and overall I'm happy with the product.

Only significant thing left on my wish list is the "Pin to Top" or "Note" feature. Tongue

Thanks for 1.1.7!
Quote Reply
Re: [Jagerman] Moving trails aren't working In reply to
I just checked and the forums are all set to 1. I did make all the template changes before I tried it.

Edit: I did a query on the row for the post I moved, and there is nothing in post_moved. I noticed in the def that there is a post_moved_id column, but this column doesn't exist on my post table. I'll try adding it and see what happens.

Edit 2: That fixed it. :)


Realiiity.com Forums

Last edited by:

ellipsiiis: Jul 11, 2002, 4:54 PM
Quote Reply
Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released In reply to
In Reply To:
Only significant thing left on my wish list is the "Pin to Top" or "Note" feature. Tongue

Thanks for 1.1.7!
Yes , Can I see the "Pin to Top" feature next version ? It 's the most feature I need !
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Hi Jason,

after upgrading, I got the following error when trying to view forums:

Can't call method "fetchrow_hashref" on an undefined value at /home/yoga/html/forum/admin/GForum/Forum.pm line 85.

The debugging says:

GT::SQL::error = Failed to execute query: '
SELECT *
FROM gforum_Post /*!32312 USE INDEX (p_rfl) */ LEFT OUTER JOIN gforum_User ON gforum_Post.user_id_fk = gforum_User.user_id
WHERE (gforum_Post.post_root_id = '0' AND gforum_Post.forum_id_fk = '4')
ORDER BY post_latest_reply ASC LIMIT 0, 25
' Reason: Key column 'p_rfl' doesn't exist in table

So, I commented out line 60 in GForum/Forum.pm, i.e.

# local $PostUser->{tables_ord}->[0] = "$PostUser->{tables_ord}->[0] /*!32312 USE INDEX (p_rfl) */"; # MySQL hack to use the intended index

and now it seems to work fine.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
I really like the template diffs! Nice job, and very useful.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Post deleted by ArmyAirForces In reply to
Post deleted by ArmyAirForces In reply to
Quote Reply
Re: [yogi] Gossamer Forum 1.1.7 Released In reply to
That's strange - you should have the p_rfl index, and we found we were running into speed problems in some cases without it. Try running this query:

Code:


ALTER TABLE gforum_Post ADD INDEX p_rfl (post_root_id, forum_id_fk, post_latest_reply)

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Jason,

Is there a way of having a clickable bit of text that would send a user to the "Lost Password?" page from SIGNUP_EMAIL_EXISTS?

Users are inherently lazy and I'd like to trim a step if possible.

Also how does SIGNUP_EMAIL_EXISTS? print out the e-mail address and then the user name with the same - %s - statement ? Is it the preceeding text that defines what %s is?

Hmmm, no it must be determined some other way as my experiment failed. Little help?

Last edited by:

ArmyAirForces: Jul 12, 2002, 10:19 AM
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Jason,

Should there be some changes for post_move_select.htm ? Believe I've made all listed template differences but am not seeing this moved post pointer or the check box to select it when moving a thread.

-Scott
Quote Reply
Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released In reply to
Uh oh - the post_move_select.html template change was made only a few minutes before release - after I had made the diffs. It's a simple three lines added after the "Move Thread" button:

Code:


<%if forum_move_pointer%><br>
<input type="checkbox" name="skip_pointer" value="1"> Don't leave moved post pointer
<%endif%>

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Okay that fixed that bit. I'm still not seeing the pointers though. Do you have an example on the forums here I could look at?

I want to see if it might not be showing up because of other modifications I've made.

-Scott
Quote Reply
Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released In reply to
There are two %s's in the variable - the first gets the e-mail, the second gets the username.

I'd do it using a global like this:

In the template, inside <%loop errors%>, just after <%error%>, add this:

<%if error contains 'has already been used with another username'%> - <%show_existing($user_email)%><%endif%>

The "show_existing" global is going to be:

sub { my $email = shift; my $username = $DB->table('User')->select(user_username => { user_email => $email })->fetchrow; return \(qq|<a href="gforum.cgi?do=lost_password;user_username=| . $IN->escape($username) . qq|">Click here to e-mail your password</a>|); }

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Jason,

I ran your query, uncommented the line again, and it now works.

Thanks.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Where there any other template changes made in relation to this feature?

I do have the check box to disable the pointer now, but there are no pointers being left in my forum at this time.

What should I check?
Quote Reply
Re: [Jagerman] Gossamer Forum 1.1.7 Released In reply to
Jason,

is <%if foo contains 'bar'%> a new function in the template parser? Any other new (hidden) features? (I guess I should study the ChangeLog...)

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Gossamer Forum 1.1.7 Released In reply to
Nope, it's been there forever - it just isn't used very often ;)

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released In reply to
Bump.

Where there any other template changes made in relation to this feature?

I do have the check box to disable the pointer now, but there are no pointers being left in my forum at this time.

What should I check?

Last edited by:

ArmyAirForces: Jul 15, 2002, 10:08 AM
Quote Reply
Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released In reply to
There's a list of template changes in your Admin via the Templates menu.


Realiiity.com Forums
Quote Reply
Re: [ellipsiiis] Gossamer Forum 1.1.7 Released In reply to
Yeah I followed that. You have the pointer working?

Guess I'll have to go back over it line by line. Fun! Wink
Quote Reply
Re: [ellipsiiis] Gossamer Forum 1.1.7 Released In reply to
I retored forum_view.html where I thought my problem was, back to baseline and still no joy.

New ideas?
> >