inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 29, 2022 23:28:09 GMT -8
I'm new to phpBB and ProBoards and more familiar with MyBB - But I think this should have a fairly simple answer...
I want to add the HTML to create an href button that is "Back to Forum" next to the "Reply" button at the bottom right of each thread...
Purpose - to take member back to the general discussion forum when read the last post in a thread: href:(https://btf-refuge.freeforums.net/board/1/general-discussion)...
Placement - next to the "Reply" button that allows member to reply without quoting...
Appearance - as the "Reply" button but with the text of button reading "Back to Forum"...
I have no idea where to put the code or even what the code should look like having snooped around in the HTML parts of the Admin Panel...
I've done similar before when I had full control of the code pages - but this is throwing me off some...
Many thanks for any help you can offer...
|
|
inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 31, 2022 8:05:58 GMT -8
I've added a link in the footer for now - as it's frustrating having to scroll back up a thread to click the breadcrumbs to go back to the forum - but would still really like help putting a button link next to the reply button...
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 31, 2022 8:10:12 GMT -8
I've added a link in the footer for now - as it's frustrating having to scroll back up a thread to click the breadcrumbs to go back to the forum - but would still really like help putting a button link next to the reply button... For what it's worth, in v6 there's an inherent "back to board" button that stays stickied when you scroll so there's no scrolling up. For v5, have you considered the "back to top" plugin? It doesn't add a button, but it might help users who don't want to scroll back to top. Additionally, the best way to do what you're doing is in admin > structure > layout templates > post list. You can add the HTML in there.
|
|
inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 31, 2022 8:54:29 GMT -8
Thanks - only just installed it about 3 days ago and don't know how to find what ver I'm running...
The pagination and Actions box stick fixed at top of screen - which saves a lot of other coding - but Actions options are only next thread or previous thread...
If I need to update ver - would that be in Admin - Settings..?
Thanks for responding...
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 31, 2022 9:53:03 GMT -8
Thanks - only just installed it about 3 days ago and don't know how to find what ver I'm running... The pagination and Actions box stick fixed at top of screen - which saves a lot of other coding - but Actions options are only next thread or previous thread... If I need to update ver - would that be in Admin - Settings..? Thanks for responding... So for clarity: you haven't installed anything as PB is remotely hosted! ProBoards is universally running on v5; since it's remotely hosted, everyone gets updated simultaneously. You cannot upgrade to v6 yet, as it is not released. This was more an informative "in the future" comment :) The actions box is a drop down on the same bar as the pagination; is there something specific you're doing?
|
|
inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 31, 2022 10:18:05 GMT -8
Thanks - only just installed it about 3 days ago and don't know how to find what ver I'm running... The pagination and Actions box stick fixed at top of screen - which saves a lot of other coding - but Actions options are only next thread or previous thread... If I need to update ver - would that be in Admin - Settings..? Thanks for responding... So for clarity: you haven't installed anything as PB is remotely hosted! ProBoards is universally running on v5; since it's remotely hosted, everyone gets updated simultaneously. You cannot upgrade to v6 yet, as it is not released. This was more an informative "in the future" comment The actions box is a drop down on the same bar as the pagination; is there something specific you're doing? Aha - that makes sense - thanks again... The specific of what I wanted is in the 1st Post here - but looking closer at the code it seems it would require php coding added - not only can I not do php - I don't think you can edit the core php in PB... Just a link (as I've already done) or making that code an img button when I have time IN THE FOOTER, will suffice - I think your input has made me realise it (my objective) is probably not possible in PB - which is fine, it's still the best free option out there... You have been very helpful though - thanks again...
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 31, 2022 10:46:34 GMT -8
So for clarity: you haven't installed anything as PB is remotely hosted! ProBoards is universally running on v5; since it's remotely hosted, everyone gets updated simultaneously. You cannot upgrade to v6 yet, as it is not released. This was more an informative "in the future" comment The actions box is a drop down on the same bar as the pagination; is there something specific you're doing? Aha - that makes sense - thanks again... The specific of what I wanted is in the 1st Post here - but looking closer at the code it seems it would require php coding added - not only can I not do php - I don't think you can edit the core php in PB... Just a link (as I've already done) or making that code an img button when I have time IN THE FOOTER, will suffice - I think your input has made me realise it (my objective) is probably not possible in PB - which is fine, it's still the best free option out there... You have been very helpful though - thanks again... It's not PHP -- it's just HTML, with a handful of ProBoards-specific variables. I'm happy to help, it's just some HTML. How exactly would you like it to function, and where specifically would you like it to appear? If you can do a 1-2-3 step list of like: 1. Button Appears Next to the Edit Button 2. Button looks like other buttons 3. Clicking on button takes you to [location] or something like that, that would be super helpful!
|
|
inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 31, 2022 11:46:30 GMT -8
Aha - that makes sense - thanks again... The specific of what I wanted is in the 1st Post here - but looking closer at the code it seems it would require php coding added - not only can I not do php - I don't think you can edit the core php in PB... Just a link (as I've already done) or making that code an img button when I have time IN THE FOOTER, will suffice - I think your input has made me realise it (my objective) is probably not possible in PB - which is fine, it's still the best free option out there... You have been very helpful though - thanks again... It's not PHP -- it's just HTML, with a handful of ProBoards-specific variables. I'm happy to help, it's just some HTML. How exactly would you like it to function, and where specifically would you like it to appear? If you can do a 1-2-3 step list of like: 1. Button Appears Next to the Edit Button 2. Button looks like other buttons 3. Clicking on button takes you to [location] or something like that, that would be super helpful! 1. Button Appears Next to the Reply Button (Bottom Right of last post in every thread) 2. Button looks like other buttons (YES but with "Back to Forum" as inner text) 3. Clicking on button takes you to (https://btf-refuge.freeforums.net/board/1/general-discussion) General Discussion page If you can help with that and tell me where to drop it - I would forum marry you (LOL) - I'd be most definitely grateful and you'd have done a great deed for the day/week/month/year... Forum to check if you need (I'll drop construction for a while if you need to see): btf-refuge.freeforums.net/board/1/general-discussion
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 31, 2022 11:49:35 GMT -8
It's not PHP -- it's just HTML, with a handful of ProBoards-specific variables. I'm happy to help, it's just some HTML. How exactly would you like it to function, and where specifically would you like it to appear? If you can do a 1-2-3 step list of like: 1. Button Appears Next to the Edit Button 2. Button looks like other buttons 3. Clicking on button takes you to [location] or something like that, that would be super helpful! 1. Button Appears Next to the Reply Button (Bottom Right of last post in every thread) 2. Button looks like other buttons (YES but with "Back to Forum" as inner text) 3. Clicking on button takes you to (https://btf-refuge.freeforums.net/board/1/general-discussion) General Discussion page If you can help with that and tell me where to drop it - I would forum marry you (LOL) - I'd be most definitely grateful and you'd have done a great deed for the day/week/month/year... Forum to check if you need (I'll drop construction for a while if you need to see): btf-refuge.freeforums.net/board/1/general-discussiongimme a few hours (i'm at work rn) and I'll get back to you :)
|
|
inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 31, 2022 11:54:23 GMT -8
1. Button Appears Next to the Reply Button (Bottom Right of last post in every thread) 2. Button looks like other buttons (YES but with "Back to Forum" as inner text) 3. Clicking on button takes you to (https://btf-refuge.freeforums.net/board/1/general-discussion) General Discussion page If you can help with that and tell me where to drop it - I would forum marry you (LOL) - I'd be most definitely grateful and you'd have done a great deed for the day/week/month/year... Forum to check if you need (I'll drop construction for a while if you need to see): btf-refuge.freeforums.net/board/1/general-discussiongimme a few hours (i'm at work rn) and I'll get back to you You Rock Kami... I'm in the UK so may be offline for a while after you next post - but I will be sure to reply...
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 31, 2022 12:56:31 GMT -8
gimme a few hours (i'm at work rn) and I'll get back to you You Rock Kami... I'm in the UK so may be offline for a while after you next post - but I will be sure to reply... Back! Easy enough solve. Go to Admin > Structure > Layout Templates. Once you're there you'll see a list of templates; you want the one that says "Thread". Click that, and it'll take you to another page that has 3 tabs on it. You want the first tab that says "Thread". Scroll the text box all the way to the bottom. Look for this text: {if !$[quick_reply]}{if $[bottom_reply_button]} <div class="reply_button pad-all-double">$[bottom_reply_button]<br class="clear" /></div> {/if}{/if}
Click into the textbox after that last {/if}, and create a new line (press return). Add this HTML: <div class="reply_button pad-all-double"><a class="button" href="/">Back to Forum</a><br class="clear" /></div>
Then save your changes. That should sort ya! Note that if you have multiple themes, you'll need to make this change for every theme -- you can select which theme is being edited on that main list of template locations, in the upper left dropdown. Here's my test forum where you can see it in action: kamitest3.proboards.com/thread/19/test2?page=1&scrollTo=46
|
|
inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 31, 2022 13:16:50 GMT -8
You Rock Kami... I'm in the UK so may be offline for a while after you next post - but I will be sure to reply... Back! Easy enough solve. Go to Admin > Structure > Layout Templates. Once you're there you'll see a list of templates; you want the one that says "Thread". Click that, and it'll take you to another page that has 3 tabs on it. You want the first tab that says "Thread". Scroll the text box all the way to the bottom. Look for this text: {if !$[quick_reply]}{if $[bottom_reply_button]} <div class="reply_button pad-all-double">$[bottom_reply_button]<br class="clear" /></div> {/if}{/if}
Click into the textbox after that last {/if}, and create a new line (press return). Add this HTML: <div class="reply_button pad-all-double"><a class="button" href="/">Back to Forum</a><br class="clear" /></div>
Then save your changes. That should sort ya! Note that if you have multiple themes, you'll need to make this change for every theme -- you can select which theme is being edited on that main list of template locations, in the upper left dropdown. Here's my test forum where you can see it in action: kamitest3.proboards.com/thread/19/test2?page=1&scrollTo=46I was trying to make that so much harder than it was - thank you so much - I owe you a beer or something... I may be pushing my luck - not just with you but with forum rules - but if you want a project for a few days/weeks in your developing evenings please have a look at my other query here (Plug-in suggestion): support.proboards.com/thread/671698/add-imgur-button-editorYou have fixed my problem and this can be marked as solved or whatever - WOW, you're good - thank you again...
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 31, 2022 13:29:27 GMT -8
Back! Easy enough solve. Go to Admin > Structure > Layout Templates. Once you're there you'll see a list of templates; you want the one that says "Thread". Click that, and it'll take you to another page that has 3 tabs on it. You want the first tab that says "Thread". Scroll the text box all the way to the bottom. Look for this text: {if !$[quick_reply]}{if $[bottom_reply_button]} <div class="reply_button pad-all-double">$[bottom_reply_button]<br class="clear" /></div> {/if}{/if}
Click into the textbox after that last {/if}, and create a new line (press return). Add this HTML: <div class="reply_button pad-all-double"><a class="button" href="/">Back to Forum</a><br class="clear" /></div>
Then save your changes. That should sort ya! Note that if you have multiple themes, you'll need to make this change for every theme -- you can select which theme is being edited on that main list of template locations, in the upper left dropdown. Here's my test forum where you can see it in action: kamitest3.proboards.com/thread/19/test2?page=1&scrollTo=46I was trying to make that so much harder than it was - thank you so much - I owe you a beer or something... I may be pushing my luck - not just with you but with forum rules - but if you want a project for a few days/weeks in your developing evenings please have a look at my other query here (Plug-in suggestion): support.proboards.com/thread/671698/add-imgur-button-editorYou have fixed my problem and this can be marked as solved or whatever - WOW, you're good - thank you again... Happy to help! Unfortunately I'm not a plugin developer :) I am handy with PB templates, HTML, and CSS, but plugins are written in Javascript which I only have a rudimentary knowledge of. I will say that it's probably unlikely you'll get that filled, as the imgur TOS forbids turning their service in a content delivery network. If your entire forum is uploading to a single account, as per the original script, then that would likely go against imgur's TOS and result in PB services being banned from interacting with imgur.
|
|
inherit
266853
0
Sept 3, 2022 10:51:39 GMT -8
Munchaab
17
August 2022
munchaab
|
Post by Munchaab on Aug 31, 2022 13:43:12 GMT -8
I was trying to make that so much harder than it was - thank you so much - I owe you a beer or something... I may be pushing my luck - not just with you but with forum rules - but if you want a project for a few days/weeks in your developing evenings please have a look at my other query here (Plug-in suggestion): support.proboards.com/thread/671698/add-imgur-button-editorYou have fixed my problem and this can be marked as solved or whatever - WOW, you're good - thank you again... Happy to help! Unfortunately I'm not a plugin developer I am handy with PB templates, HTML, and CSS, but plugins are written in Javascript which I only have a rudimentary knowledge of. I will say that it's probably unlikely you'll get that filled, as the imgur TOS forbids turning their service in a content delivery network. If your entire forum is uploading to a single account, as per the original script, then that would likely go against imgur's TOS and result in PB services being banned from interacting with imgur. Well thank you once more then - I guess stand alone phpBB and MyBB boards are not "content delivery network" as PB is a group of forums not just one alone - I have it on a MyBB forum but that is a stand alone .com site and we just uploaded the API - global login and such with PB is still new to me - so thanks for letting me know the limitations... I say again - YOU ROCK - I really do love able people who are willing to help even a stranger...
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 31, 2022 14:30:20 GMT -8
Happy to help! Unfortunately I'm not a plugin developer I am handy with PB templates, HTML, and CSS, but plugins are written in Javascript which I only have a rudimentary knowledge of. I will say that it's probably unlikely you'll get that filled, as the imgur TOS forbids turning their service in a content delivery network. If your entire forum is uploading to a single account, as per the original script, then that would likely go against imgur's TOS and result in PB services being banned from interacting with imgur. Well thank you once more then - I guess stand alone phpBB and MyBB boards are not "content delivery network" as PB is a group of forums not just one alone - I have it on a MyBB forum but that is a stand alone .com site and we just uploaded the API - global login and such with PB is still new to me - so thanks for letting me know the limitations... I say again - YOU ROCK - I really do love able people who are willing to help even a stranger... Ah, you're misunderstanding me, sorry! Let me try to rephrase. The issue here is not with ProBoards, but Imgur. In Imgur's TOS, it states that you cannot use their service in a fashion that turns them (imgur) into a Content Delivery Network, or CDN. This means, you cannot use the imgur service in a fashion where it is the primary way that a particular website hosts their images and other media uploads. Specifically, the Imgur TOS states: (Emphasis mine) This script, as a whole, goes against Imgur's TOS. The reason for that is because the intent behind the script is to allow 1 account to serve the whole forum; because of this, that means imgur is the primary way a forum hosts its images and other media uploads, which turns imgur into a CDN. Even if it's a popular script, and even if you've used it before with no negative ramifications, that only means that the activity hasn't yet been flagged. It has nothing to do with ProBoards; someone with the necessary scripting skills can create the plugin, but because of Imgur's TOS, it is unlikely a PB plugin developer will go through the trouble of coding this as it would violate Imgur's TOS. The only thing that makes PB unique in its role as a remote hosting service is that if one PB forum gets banned of imgur, there's a chance that all PB forums will get banned from imgur due to how PB URLs work. EDIT: You may want to consider this plugin instead - support.proboards.com/thread/671702/cloudinary-plugin-v2
|
|