|
Forums ⇒ Support ⇒ Modules & Blocks ⇒ Advanced bbcodes no longer working
Advanced bbcodes no longer workingNeed help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Go to page Previous 1, 2
|
View previous topic :: View next topic |
| Author |
Message |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8836 Location: Netizen
|
Posted: Sun Mar 11, 2012 4:40 am Post subject: Re: Advanced bbcodes no longer working |
|
The strike tag is also fpro.
From what I've seen on my own upgrades, you shouldn't be having issues - I haven't experienced issues from upgrading a site containing forumspro.
First, fpro uses includes/fpbbcode.php.
Second, it also uses includes/javascript/fpbbcode.js
Third, as I recall, you need to upload to your theme, the images they provide in:
themes/default/images/bbcode
themes/default/images/forumspro
Agreed - the sooner we do away with fpro, the better all round - that was a key factor in developing forumsplus in the first place. When we move to DF v10, there will be further enhancements.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
jeremy.smith Newbie


Offline Joined: Feb 28, 2012 Posts: 14
|
Posted: Sun Mar 11, 2012 5:35 am Post subject: Re: Advanced bbcodes no longer working |
|
I appreciate that, Phoenix, but I'm not just looking to put in bbcodes for FPro.
I make use of bbcodes in the news articles, etc, so I want to make globally-available bbcodes.
From doing some searching, it would appear I need to make changes in:
“includes/nbbcode.php”
“includes/javascript/bbcode.js”
“languages/english/bbcode.php”
Does that sound about right?
This is simply for the activation of a bbcode so that it gets properly converted into HTML, not the buttons for them.
jeremy.smith's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / 9.3.3
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8836 Location: Netizen
|
Posted: Sun Mar 11, 2012 5:56 am Post subject: Re: Advanced bbcodes no longer working |
|
I cannot recommend anyone to amend bbcode because of potential security risks.
However, if you're going to do it, use something like winmerge to compare those files with the respective fpro files, and adjust the code, and image paths, accordingly.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
layingback Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1206
|
Posted: Mon Mar 12, 2012 7:45 am Post subject: Re: BBCode Buttons Not Working |
|
| NanoCaiordo wrote: |
| No, our bbcode is still basic, there is an extended bbcode but I'm not sure if the spoiler tag is included or not, I think layingback could help you on this one. |
jeremy, As Phoenix points out changes to nbbcode have to be with great care so as not to open up a security hole.
If you want to wander over to my site (url in sig) we can discuss some of these. I do have strikethrough in the extended nbbcode already, and you should be able to use it as a pattern to add spoiler if you have an HTML model from fpro. img r/l may be possible too - although img is the one we have to be super careful about.
_________________ Pro_News CM™ - Content Management for Dragonfly CMS™ - Version 4 coming soon!
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
|
|
| Back to top |
|
 |
jeremy.smith Newbie


Offline Joined: Feb 28, 2012 Posts: 14
|
Posted: Mon Mar 19, 2012 11:13 pm Post subject: Re: Advanced bbcodes no longer working |
|
Thanks, Layingback.
Part of the reason I want to fix this is that the upgrade essentially broke a ton of news articles / blog entries / forum posts - it's not just in ForumsPro, and it's not really feasible to go through and manually edit every place that it's broken. I'll mosey on over.
jeremy.smith's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / 9.3.3
|
|
| Back to top |
|
 |
layingback Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1206
|
Posted: Wed Mar 28, 2012 3:34 pm Post subject: Re: Advanced bbcodes no longer working |
|
Not heard from you, but I have spoiler working now. Reason I didn't before is that all the implementations that I'd seen - not many I'll admit - had a clunky user interface for the reader, IMHO. But I've come up with one which looks really good to me.
Hidden text still occupies space, so visible text doesn't "jump" when the hidden stuff is unhidden. It's marked with a simple highlight in classic yellow highlighter. And you just need to roll your mouse over it to revert to visible text. Simple, clean.
Should be up on my site soon ...
_________________ Pro_News CM™ - Content Management for Dragonfly CMS™ - Version 4 coming soon!
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
|
|
| Back to top |
|
 |
alyssa Diamond Supporter


Offline Joined: Nov 15, 2004 Posts: 834
|
Posted: Fri Jun 22, 2012 1:58 am Post subject: Re: Advanced bbcodes no longer working |
|
So I'm curious ... I can't seem to do line breaks inside the table cells, <.br> (without the period, of course) will not work with the bracketed tags, and a hard return doesn't seem to work either ... is there a secret to this that I'm not getting?
alyssa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) [ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]
|
|
| Back to top |
|
 |
layingback Forum Admin


Offline Joined: Apr 19, 2004 Posts: 1206
|
Posted: Fri Jun 22, 2012 9:07 pm Post subject: Re: Advanced bbcodes no longer working |
|
If you are referring to my enhanced BBCode, then I can't think of any way to avoid this. I currently remove hard returns because it meant that you couldn't format the table codes when preparing the table - which made it very error prone.
But even if I allowed them, HTML placed all added line breaks before the start of the table anyway!
So no line breaks within tables unless someone can come up with a way ...
_________________ Pro_News CM™ - Content Management for Dragonfly CMS™ - Version 4 coming soon!
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
|
|
| Back to top |
|
 |
Kinsman Dragonfly addicted


Offline Joined: May 29, 2006 Posts: 415 Location: Australia
|
Posted: Sat Jun 23, 2012 2:12 am Post subject: Re: Advanced bbcodes no longer working |
|
While its true that Forums Pro did have those files, they never actually got around to using them.
NBBCODE includes a strikethrough and works with current forums no trouble.
Kinsman's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|