-
error processing bbcode I think
My test page
http://www.s2tg.com/testmonkey.php
go there and look in the first news post. I noticed its not creating the link from that bbcode.
Any ideas?
Nice script! Looks like you put a lot of time and hard work into it and I appreciate it!
-
error processing bbcode I think
First of all, I need to make sure that you are using the most recent version.
Please ensure that you are, the most recent version is 2.20.
Now, a couple of things are going on...
First, you have setup the script to automatically shorten the news post for a given length. This feature happens before BB code processing due to script conflicts that prevent post processing of this feature.
Therefore, the script cuts off the text wherever the limit is reached, regardless of bbcode that may exist around the text being cut. As a result, part of the bbcode is also cut, the [/url] part, and the bbcode is never parsed. I am working on this problem in the most recent version but I have not completely solved it yet. Consider this a bug for the time being.
The other problem of the bbcode not being parsed is the result of you incorrectly formatting the bbcode. You have a new within your url bbcode, which is invalid on most forum scripts and therefore is invalid for the entire script (the url bbcode is a global bbcode that is parsed as opposed to a bbcode that is parsed for that particular forum). To fix this problem, simply do not put newlines (don't press enter) in the url bbcode.
Therefore, to fix up your problems:
1) The first problem is a bug. You will just have to be careful when you make posts and ensure that no bbcode is being cut off (alternatively, you could use [break article] (or other keyword specified in the cc) to break the post at a specific point rather than having the script do it based on length.
2) The second problem is NOT a bug and can be fixed by you removing any new lines in the url bbcode. This was probably just a typo on your part in the first place anyway. Newlines are of course acceptable in other bbcode where they may appear, such as the quote bbcode, but they should never be in the url bbcode.
And yes, the script did take a bit of work, but it was spread out over several months (take a look at the readme file for release dates / feature additions) so it wasn't all that difficult. Similar to most of my scripts, this script was originally a private script for a private website that I decided to make available (as there really wasn't anything like it out there that worked with this many forums and would congregate news in this fashion).
-
error processing bbcode I think
Awesome! Thanks for the reply. I am using the latest version you mentioned above. Appreciate the response.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules