Hi, for me making a pdf or html backup of a forum would be very welcome. I want to use Simple:Press for small projects lasting a few days to a few weeks and at the end of the project the text in the forum is the data input for the end result. So you need a kind of snapshot of the forum on the last day and then wipe the Forum for the next project. A program like HTTrack could maybe do that if it could see the Forum (which is NOT my intention). So I dont need the whole database … just the input.
Support Forum
Chrome has a built in PDF printer that you could use to take the snapshot, or you could use the windows built in xps printer and then convert it to pdf here https://xps2pdf.co.uk/
Well there is our Print Topic plugin that would also work bit that would have to be done topic by topic. So depends perhaps on the number of topics being generated that you want to include.
The only other way to capture a whole forum is to cull the data directly from the database with queries but it’s not a great way to see the data as such.
Hi, thanks for the input. Per topic printing to PDF would be possible yes. Was hoping for a kind of export to one big HTML file for the whole forum (which I used on another ‘VisionsLive’ platform, However this platform is build especially for researchers) which I could print offline to one big PDF file. However that is when used with approximately 20 users and 20 topics so not too big.
I hope it can help with what you want. It does perform what I think is a neat print-out or save to PDF. But then I would say that as I wrote it!
I tried the print plugin and it works fine. Though I would like it to be permission related. A member can now use it as well I noticed. Often I have to show things that are not for the public eye and I know they can copy what they want … however trust is important as well if you explain it is not finished yet they will probably understand. However providing the tools to easily print is another thing …
Adding a permission to allow users to print is definitely not an unreasonable request! Thanks for the input.
sorry, not always a fan of extra ‘options’… besides, easy to do now… change
if (function_exists('sp_PrintTopicView')) sp_PrintTopicView('tagClass=spLink spRight', '', __sp('Topic Print Options'));
to
if ($spThisUser->admin && function_exists('sp_PrintTopicView')) sp_PrintTopicView('tagClass=spLink spRight', '', __sp('Topic Print Options'));
Hi Steve, don’t know if that code was intended for me to use? I would not know where to place or how to use it.
It is from your SP theme’s spTopicView template and such a change would only show the print topic icon for admins.
Yellow Swordfish said
It is from your SP theme’s spTopicView template and such a change would only show the print topic icon for admins.
OK!, well was able to adjust this in the spTopicView template however that does not change the view for a member when I login as a member.
first, are you sure you modified the active theme?
second, please post your exact code so we can check for syntax issues (though if wrong would have likely cause errors)…
third, do you run any caching? do you have a link to example?
# Start the ‘topicHeader’ section
# ———————————————————————-
sp_SectionStart(‘tagClass=spTopicViewSection’, ‘topic’);
sp_TopicHeaderRSSButton(‘tagClass=spButton spRight’, __sp(‘Topic RSS’), __sp(‘Subscribe to the RSS feed for this topic’));
if (function_exists(‘sp_RelatedTopicsButton’)) sp_RelatedTopicsButton(‘tagClass=spButton spRight’, __sp(‘Related Topics’), __sp(‘Get a list of related topics based on tags for this topic’));
if ($spThisUser->admin && function_exists(‘sp_PrintTopicView’)) sp_PrintTopicView(‘tagClass=spLink spRight’, ”, __sp(‘Topic Print Options’));
sp_TopicHeaderIcon(‘tagClass=spHeaderIcon spLeft’);
sp_TopicHeaderName(‘tagClass=spHeaderName’);
if (function_exists(‘sp_TopicHeaderShowBlogLink’)) sp_TopicHeaderShowBlogLink(”, __sp(‘Read the original blog post’), __sp(‘Click to goto original blog post’));
sp_InsertBreak();
if (function_exists(‘sp_ShareThisTopicTag’)) sp_ShareThisTopicTag(‘tagClass=ShareThisTopic spRight’);
sp_InsertBreak();
if (function_exists(‘sp_TopicIndexRating’) || function_exists(‘sp_TopicTagsList’) || function_exists(‘sp_TopicStatus’)) {
if (function_exists(‘sp_TopicIndexRating’)) sp_TopicIndexRating(‘tagClass=spTopicRating spRight’, __sp(‘Topic Rating:’));
if (function_exists(‘sp_TopicTagsList’)) sp_TopicTagsList(‘tagClass=spTopicTagsList spLeft’, __sp(‘Tags: ‘));
if (function_exists(‘sp_TopicStatus’)) sp_TopicStatus(‘tagClass=spTopicViewStatus spButton spLeft’, __sp(‘Search for other topics with this status’), __sp(‘Status: ‘));
sp_InsertBreak();
}
sp_SectionStart(‘tagClass=spTopicPostContainer’, ‘postlist’);
No – that code is working fine. The Print Topic icon is NOT being shown as I believed.
What you are probably thinking of is the Print Post icon which IS being shown and is a different function altogether. If you want to alsostop that then you will need to change the call to:
sp_PostIndexPrint('tagClass=spButton spLeft', '', __sp('Print this post'));
with
if ($spThisUser->admin) sp_PostIndexPrint('tagClass=spButton spLeft', '', __sp('Print this post'));
which will do the same thing.