Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Reply window position
Avatar
steve.engelking
Member
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2012 - 2:34 pm

One of our users has asked the following:

Would it be possible to change where the reply window appears? At present if you want to type a reply to a post at the top, you have to scroll right down to the bottom to write your reply. Ideally the reply window should appear directly above or below the post you are replying to.

It would also be good to be able to collapse the posts so you can just see summary details of the thread.

I would add that I have it ordered so that newest posts are at the top.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2012 - 10:06 pm

in 5.0, you can change the location of the reply window, by changing the location of the template tag in your sp theme that locates it... sp_TopicEditorWindow() in forum view and sp_PostEditorWindow() in topic view...

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2012 - 10:37 pm

steve.engelking said

One of our users has asked the following:

Would it be possible to change where the reply window appears? At present if you want to type a reply to a post at the top, you have to scroll right down to the bottom to write your reply. Ideally the reply window should appear directly above or below the post you are replying to.

.

Are you maybe talking about having to scroll down to click on the reply button?

If you sort newest to oldest then I can see why you would want the reply button on top, maybe next to or above the quote button.

You could add a reply button to the top by editing the spTopicView.php file and adding another entry or moving the original one to where you want it to be.

It does make sense that if sorting newest to oldest the default "Add Topic" & "Add Reply" are moved to the top automatically also.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2012 - 10:41 pm

its just a matter of where it is in the template file... its done by template tag, so if you want it in new location you simply have to move the template tag to where you want it...

Avatar
steve.engelking
Member
Free Members
sp_UserOfflineSmall Offline
Feb 10, 2012 - 8:13 am

That is really great help. I've managed to move the editor window to the top. It is really great to have such flexibility. You might want to make that automatic when changing the order because it is more logical as you say. Add topic and add reply are already at the top and bottom so you have already thought of that. 

I was wondering if it would be even better if the editor window always just appeared under the post entry and the buttons for 'Add reply' was next to 'Quote'. That might seem more logical than the current placing. I was not sure how to move it there without messing up the whole code as I am not a true geek.

At this point I would like to congratulate you guys on all your hard work, a fantastic piece of software and the super support and I hope you are getting some donations to help feed your kids. You are certainly on my list.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 10, 2012 - 8:57 am

since its theme based with template tag, it cannot happen automatically (at least not without major rework and special code)... to make it automatically, would remove the flexibility of putting it where ever a user wants...

I dont really understand underneath the post entry (the logic that is) as that would indicate to me I wanted to reply specifically to that post which is what quote does...

you can still put a button for reply next to each quote button...  just replicate the add reply button template tag next to the quote template tag... it will auto scroll to the form itself...

Avatar
steve.engelking
Member
Free Members
sp_UserOfflineSmall Offline
Feb 10, 2012 - 9:46 am

Thanks - really works like a dream! The difference is that the quote button will include the text out of the original post so it seems logical to me to have them next to each other. It think it is really exciting how this can be manipulated with a little care.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 10, 2012 - 11:18 am

Excellent. I will give some thought to editor placement for the future.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620