TAV1702 Posted October 21, 2012 Report Posted October 21, 2012 Has anyone ever figured out how to make it so that it shows when new posts have been made? I am trying to use the code to show latest posts on the front page but I am having no such luck getting a new posts icon or notification to show up in the forum. Quote
Felipe Posted November 5, 2012 Report Posted November 5, 2012 Hello, everyone! I'm having problem with the charset using this add-on. My language is portuguese. It has accents into some words. This, for example, should be... não tão bom, mas no momento não há diferença ... and it is being shown as... n?o ? t?o bom, mas no momento n?o h? diferen?a It has to be something inside the add-on, because on other parts of my site and add-ons it does not happen. Does anybody know how to solve it? It would be very appreciated. Quote
freshJet Posted November 26, 2012 Report Posted November 26, 2012 How could you implement a Recent Forum posts to this? Quote
mattsmith Posted November 27, 2012 Report Posted November 27, 2012 Import "install.sql" file to database How do you do this? Quote
Moderators servetas Posted November 28, 2012 Moderators Report Posted November 28, 2012 From your phpmyadmin... Go to your database and then inport this file into your database. Quote
freshJet Posted November 28, 2012 Report Posted November 28, 2012 Or just open the file and copy it into phpmyadmin and run it Quote
mattsmith Posted November 28, 2012 Report Posted November 28, 2012 OK got the forum working but how can i get a "forum" button on the website to get to it? Quote
Moderators servetas Posted November 28, 2012 Moderators Report Posted November 28, 2012 To link to the forum index use -> <a href="<?php echo url('/Forum'); ?>">Forum</a> Quote
mattsmith Posted November 28, 2012 Report Posted November 28, 2012 To link to the forum index use -> <a href="<?php echo url('/Forum'); ?>">Forum</a> Thanks Quote
freshJet Posted December 28, 2012 Report Posted December 28, 2012 Quick and helpful update to this: <script type="text/javascript" src="http://js.nicedit.com/nicEdit-latest.js"></script> <script type="text/javascript"> //<![CDATA[ bkLib.onDomLoaded(function() { nicEditors.allTextAreas() }); //]]> </script> <textarea style="width:100%; height:150px;"> </textarea> Replace your normal message textbox with that and you'll get a nice rich-text editor. This will: Prevent displaying a slash where the user enters an apostrophe Allows formatting such as bold, underline, italics etc Allows the importing of images and links Simples 1 Quote
HighFlyerPL185 Posted January 6, 2013 Report Posted January 6, 2013 Great add-on Tom, I was looking for ages on how to link the phpBB forum with the phpVMS DB's, before realizing that phpBB is actually utter rubbish compared to all forum software out there. I was wondering, as a suggestion but also as a cheeky request, is there any possibility of adding Sticky Posts feature? I'll try to have a crack at scripting it if I'll get some time this week, but with my limited PHP knowledge, I probably won't get far. I'll see how I go Quote
freshJet Posted January 6, 2013 Report Posted January 6, 2013 I have thought about that before, should be quite simple. Quote
freshJet Posted January 18, 2013 Report Posted January 18, 2013 NOTE: In order for my code to work you need to add name="message" to the textarea otherwise the message will not appear. Also, be sure to remove the PHP that removes HTML tags (found in the core/modules/Forum/Forum.php under new post, edit post and new topic functions) Quote
TAV1702 Posted February 2, 2013 Report Posted February 2, 2013 Ok the million dollar question. Has anyone ever figured out how to show an image or something in the forum index if there is a new post made? I have recent posts on my front page of my site but I don't like it being there. I have tried until I was blue in the face and I can not get it to let me know if there is a new post or not to show and imjage. Quote
TAV1702 Posted February 6, 2013 Report Posted February 6, 2013 After I've finished my last exam I'll have a look further into the permissions. As for the line breaks, when adding a message you should use nl2br($message); and then when displaying the message you can use ForumData::br2nl($message) I hate to kick this up again, I did this once before and it worked. I have since replaced my files and now don't recall where I used this at. Can you give me a quick refresher Tom? Thanks! Quote
Tom Posted February 6, 2013 Author Report Posted February 6, 2013 Checked the code on github it seems to do that already. If you download a fresh copy and try does it do it? Looking back over this now it clearly needs rewriting, this can all be done so much better. I just have no time for it Quote
TAV1702 Posted February 7, 2013 Report Posted February 7, 2013 I actually got it solved. Thanks for replying though Tom. And boy do I know how time goes. I try and squeeze this all in when I can. Quote
zubeek Posted March 9, 2013 Report Posted March 9, 2013 Hey Guys, Currently testing this on our site - Everything is working fine until you click edit on a post and try to delete it, it is showing the following error Warning: Invalid argument supplied for foreach() in /home/xx/public_html/xx/core/templates/forum_post_list.tpl on line 9 Quote
Tom Posted March 10, 2013 Author Report Posted March 10, 2013 Hey Guys, Currently testing this on our site - Everything is working fine until you click edit on a post and try to delete it, it is showing the following error Warning: Invalid argument supplied for foreach() in /home/xx/public_html/xx/core/templates/forum_post_list.tpl on line 9 Is it the first post in a topic? You need to delete the topic else it's trying to take you into a topic with no posts. Quote
TAV1702 Posted March 16, 2013 Report Posted March 16, 2013 Hi Tom. Long time nochit chat. Hope all is well your way. I just bumped in to something after using the forum the last few years. I have had this happen twice now. I will use you and I as the example. Here is the order of the problem: 1. Tom posts a new post 2. Ray replys to the post and submits. 3. Upon returning to the the forum I just replied to Tom in, there is no reply. Only the original post. 4. Ray checks the database to find that the data for the reply was entered in to the database correctly. 5. Ray checks latest forum posts on front page and it shows that I was the last to post but yet when clicking that link and going to the forum, there is no reply at all. 6. No matter if I go to the forum directly, or through the link from the latest posts, the reply will not be there. 7. Having others try to reply, same thing happens. Only the OP's post shows up. No replies. Odd to say the least. This has only ever happened twice and it was to 2 different people about a month or two apart frome ach others occurence. No matter what I do, I can not recreate this problem. Ideas? Thoughts? Concerns? Lets chat! On a side note, Any way to get http://forum.phpvms.net/topic/5342-to-get-the-pagination-for-the-schedules-to-work/page__hl__datatables that to work in the forum? My topics listing is getting quite long. I have tried to get that to work only to fail miserably. Quote
Fernando Posted March 28, 2013 Report Posted March 28, 2013 Hello, everyone! I'm having problem with the charset using this add-on. My language is portuguese. It has accents into some words. This, for example, should be... não tão bom, mas no momento não há diferença ... and it is being shown as... n?o ? t?o bom, mas no momento n?o h? diferen?a How can I move file to configure the language of the forum? Quote
Felipe Posted March 28, 2013 Report Posted March 28, 2013 Use Notepadd++ to edit all the add-on files. On the menu "Format" switch all of the to "UTF-8 without BOM". That's it. Quote
Fernando Posted March 28, 2013 Report Posted March 28, 2013 Are all files or just have some that I can change? Quote
Tom Posted March 28, 2013 Author Report Posted March 28, 2013 No you don't need to edit files you need to edit the database settings. Go into phpMyAdmin and change the charset on all the forum_ tables. And TAV1702 sorry I missed your post, best place to get me is on skype That's not a problem I've heard of before, and it's hard to work out why it would ever happen without seeing it. Add me on skype and we can talk it through Quote
Fernando Posted March 30, 2013 Report Posted March 30, 2013 Tom, Thanks, what I thought was the APP.CONFIG.PHP Line's 35,36,37 # Page encoding optionsConfig::Set('PAGE_ENCODING', 'utf8'); Config::Set('DB_CHARSET_NAME', 'utf8'); I change to "UTF-8 without BOM" Unfortunately it did not work the problem continues. Quote
Fernando Posted March 30, 2013 Report Posted March 30, 2013 Sorry, It worked, I changed the information in Forum_tables. thank you Quote
Kapitan Posted April 30, 2013 Report Posted April 30, 2013 Quick and helpful update to this: <script type="text/javascript" src="http://js.nicedit.com/nicEdit-latest.js"></script> <script type="text/javascript"> //<![CDATA[ bkLib.onDomLoaded(function() { nicEditors.allTextAreas() }); //]]> </script> <textarea style="width:100%; height:150px;"> </textarea> Replace your normal message textbox with that and you'll get a nice rich-text editor. This will: Prevent displaying a slash where the user enters an apostrophe Allows formatting such as bold, underline, italics etc Allows the importing of images and links Simples Sorry but when i use your text editor i have blank post's Quote
freshJet Posted April 30, 2013 Report Posted April 30, 2013 Yeah it needs more tweaking than I first thought Quote
Kapitan Posted April 30, 2013 Report Posted April 30, 2013 Yeah it needs more tweaking than I first thought When you fix it can u share here ? Quote
freshJet Posted April 30, 2013 Report Posted April 30, 2013 Could do with some help, anyone know how? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.