Search Results for 'code'
-
AuthorSearch Results
-
January 3, 2012 at 2:38 pm #109523
bjj_pl
Participant@shooo, that was my solution. “^?” means any one character in a string. I had to repair the database sql file. One bbcode tag after another. Well, It works and looks ok now but it’s a lot of work.
Some bbcode tags had to be replaced with <span>. I don’t know if it is possible to define custom bbcode tags in wordpress. So I had to replace all with “<span class=”size150″>”, etc.
Rest of the tags work fine thanks to “bbPress2 BBCode” plugin.
I’ve got another question,
How to change parent forum for many topics ??? It would take ages to move topics one by one when there are hundreds and thousands of them.
January 3, 2012 at 1:39 pm #109522shooo
MemberHello, and congratulations on your wedding. I hope the honeymoon does not your too tired:)
bjj_pl did you find the solutions for [IMG:^?….]?
i’ve the same probleme.
after, i try to save the avatar and the url on post like
<!-- m --><a href="http://example.com">http://example.com<!-- m --></a>are all broken…pfff it’s a real mess
January 3, 2012 at 11:01 am #41614StevieBee
MemberHello everyone,
I’m new to this – and not an experienced coder – so I apologise if what I write doesn’t make much sense.
I’ve just taken over running our internal forum in my job and it’s a bit of a mess. We’re running bbPress 1.0.2 and we don’t really have much set up. For example, only admins can create new threads.
Anyhow, I’m trying to install a plugin to enable me to create user groups and levels of permission. Here’s the plugin link – http://bbpress.org/plugins/topic/role-manager/
I can download the plugin but can’t find anywhere to install it. Can anyone help please? I’d be very grateful!
Thanks, and a happy new year to you all,
StevieBee
January 3, 2012 at 7:12 am #111231In reply to: Blurry Topics?
Anointed
ParticipantIt’s your theme css:
h1, h2, h3, h4, h5, h6, .sf-menu.light ul li a, th, tr, #portfolio-filter span, .portfolio-view span, #section-tophat, .feature span, .superquote, .supertagline, #section-footer, #section-footer h5, .sf-menu.light li u {
text-shadow: 1px 0 1px #000000;
}The text-shadow is causing the problem.
January 3, 2012 at 1:51 am #111026In reply to: Integrating WP + BBP plugin + custom theme
Martin
ParticipantThanks so much for your help, Shawn.
At least now the forums have some framework and don’t look like a blank page

I added a description to the Relationships forum and it’s weird how the subforum titles show first and then the main forum description – I guess that’s some CSS stuff at play again.
Yeah, it’s a great looking theme indeed.
January 2, 2012 at 12:21 pm #109520bjj_pl
Participantebiznet88, yep, converter created 9 individual characters for each post.
Well, I am ashamed to say it, but I used MS Word 2003 to make changes in my sql file.
Seems to work fine and no errors occured later. Coded as UTF-8 text file with no additional MS WORD characters.
I used something like:
find
[/img:^?^?^?^?^?^?^?^?]
replace with
[/img]
and so on.
January 2, 2012 at 12:04 pm #106179In reply to: bbPress 2.0 – Theme Compatibility
bjj_pl
ParticipantHi there,
I’ve got a problem with custom page templates and wordpress pages with bbcode shortcodes.
I’ve created a page “Forum “with shortcode [bbp-forum-index] and made it main Forum Page. Since most of my pages use sidebar, the one with forum index was meant to be fullwidth. I tried to set a custom page template but with no effect. The Twenty One template uses only default theme template and keep displaying sidebar.
I do know how to create custom page templates for wordpress but they just don’t work with bbpress plugin
Anyway, I don;t know how to make bbpress work with my custom templates.Any ideas?
January 2, 2012 at 11:53 am #111212In reply to: Will bbpress plugin make my WordPress site slow?
Anointed
ParticipantNO, bbPress really shouldn’t slow your site down any more than adding in the same amount of pages to your site as the amount of topics and replies you have in your forums.
That is the nice part about bbPress. It basically used custom post-types and is totally native WordPress code.
There is no extra code loaded that I am aware of, other than a small javascript file, which is only loaded on bbPress pages anyhow.
No idea on the cache part, so can’t help there as I don’t use cache plugins.
January 2, 2012 at 11:28 am #111193In reply to: Theme malfunction
Anointed
ParticipantI don’t think that the template files are currently used, even if placed within your currently active theme. According to JJ< bbPress 2.1 should make this much easier.
Right now, the only way I know how to change the appearance in your own theme is to actually remove the shortcode actions and write your own custom shortcodes.
You can of course add a bbpress.php/forums.php page and place that within your theme to do some basic changes such as removing sidebars.
January 1, 2012 at 8:06 pm #111021In reply to: Integrating WP + BBP plugin + custom theme
seancam4
MemberHeeeeeeelp Please..
haha!
January 1, 2012 at 8:02 pm #109518bjj_pl
Participanti do have a question to all of You,
i mentioned that bbcode was generated with some unwanted code:
[img:33mwiaq9]. It is different for each and every post, so I can’t just use simple UPDATE to get rid of it in “wpp_posts” table.
Does anyone know how to do that?
I can’t use:
UPDATE wpp_posts SET post_content = replace(post_content,”[img:33mwiaq9]”,”“)
that would only fix one post and not thousands of them.
I’ve been thinking os using something like:
UPDATE wpp_posts SET post_content = replace(post_content,'[b%’,’‘)
but that wouldn’t work either. It is always 8 signs that I have to delete in each bbcode tag.
January 1, 2012 at 11:53 am #41586Topic: Will bbpress plugin make my WordPress site slow?
in forum InstallationSK
ParticipantI have a few sites running on WordPress. I love the simplicity and the expandability. However, I have experienced that the more plugins I add, the slower the site becomes. Techies tell me that this is because WordPress loads all the plugins every time a page loads.
My question is that if I install bbpress, will it make my WordPress site slow? Specifically, when I am on WordPress pages (not the bbpress part), will the bbpress code still be loaded?
Additionally, I have found that buddypress has this fatal flaw in that it wipes out the whole WordPress cache (not just buddypress parts) whenever someone logs in. Is this true for bbpress as well? I use a cheap shared host, and my site can not survive without caching as static, so this is critical…
December 31, 2011 at 4:41 pm #106854In reply to: Is there a topics tags cloud widget?
Steve D
ParticipantThank you babsmiles,
That did the trick!
I didn’t need to add the function in my case, the shortcode worked using a php widget plugin.
December 31, 2011 at 2:58 pm #106853In reply to: Is there a topics tags cloud widget?
babsmiles
MemberAdd this to your functions.php so that you can add shortcodes to the widgets –
add_filter(‘widget_text’, ‘do_shortcode’);
Add this to your text/html widget box:
[bbp-topic-tags]
http://www.wprecipes.com/how-to-add-shortcodes-in-sidebar-widgets
December 31, 2011 at 1:34 pm #111077Anointed
Participant#1 yeah, that’s kinda how it works right now. It’s in need of some love.
#2 https://wordpress.org/extend/plugins/bbpress-no-admin/ removes ability for users to post bbPress content in admin area.
#3 When doing it that way, there is a forum and topic selection dropdown on the right hand side above where you publish the post. The idea being that a user can select the forum and topic right there.
I really think that is more just a quick way for an admin to post a reply, though I can’t see why I would ever use it myself.
#4 probably a bug.
There are also plenty of code snippets online in order to completely remove the admin bar or remove menu’s from the bar if you want. Pretty much just decide what you want to do and check google for the code snippets or plugins.
December 31, 2011 at 1:26 pm #111203In reply to: Template files inheritance
Anointed
ParticipantHad a talk with JJ about a month ago or so about exactly this. At one point he was contemplating removing the templates all together and rather going with a shortcode only system.
I’m pretty sure that in the end this was decided against, but I have not checked the code lately to see what ended up happening.
I do know that in my current theme I was not able to easily use the templates to override the defaults. That was a change from prior, and I thought it was just me being stupid again.
Maybe it was left in limbo or something, we’ll probably have to wait until he jumps back in here and lets us know what changed.
December 31, 2011 at 1:16 pm #111173Anointed
ParticipantYeah, I’m not sure how to get it to work. I just tried it myself, and while I get no errors, I am not able to use shortcodes in my forum topics. Maybe JJ, or someone will jump in and let us know how to properly whitelist shortcodes.
*I know I have my site setup correctly as I can use shortcodes in my other custom post-types. Best guess is that bbPress has some rather strong filtering going on or something. Which btw is not a bad thing, would just help to know what/why it’s happening.
December 31, 2011 at 10:48 am #109517bjj_pl
Participant@ebiznet “I tried editing the post to the original bbcode but it doesn’t work. Does bbPress use bbcode at all? I thought it does…”
I suggest install and activate “bbPress2 BBCode” wordpress plugin.
December 31, 2011 at 5:47 am #111172Satish
ParticipantThanks a lot, but once I install that plugin, my forum goes down

I’m using the plugin version of bbpress.
I’m using WP-Syntax plugin to display some program codes on my blog.
It uses this syntax:
“Syntax highlighting using GeSHi supporting a wide range of popular languages. Wrap code blocks with <pre lang=”LANGUAGE” line=”1″> and where LANGUAGE is a geshi supported language syntax. The line attribute is optional.”
I want to use the same syntax even on my forum.
December 31, 2011 at 4:09 am #109516Stephen Edgar
KeymasterThese codes eg. “:twwr5fiw” are NOT added by the converter, they are actually in the raw phpbb database tables, phpbb strips these codes before rendering on the page display.
The converter is copying the content correctly and in essence before running the converter you need to strip these from your phpbb installation first.
I haven’t found an easy way to do this yet but that is what stage I am up to before trying my next conversion. More info can be found by looking around phpbb.com for “Magic URL” & “Short URL” though I haven’t found much that could actually help us out here. It looks like I will try replacing the eg. “:twwr5fiw” & “<! — m –>” info manually with search and replace SQL Update queries directly into the phpbb database tables before conversion.
December 31, 2011 at 3:54 am #109515ebiznet88
MemberThanks for your help in this, Anointed One

Happy New Year 2012, everyone here! May the new year be a good and happy one for all!
December 31, 2011 at 3:44 am #109514Anointed
ParticipantIf that extra info is being added during the conversion then something is wrong with the bbcodes converter that bbconverter is using. I will let AWJunkies know about it when he gets back in the office.
thanks for the heads up
December 31, 2011 at 2:29 am #109513ebiznet88
MemberOne solution I can think of to correct this issue is to go through the SQL file and do a search and replace of this string of characters.
But, as I said in my post earlier, I tried removing the characters so that the original bbcode is restored, in this case the [img]tags, but the post still did not display the image correctly.
Any thoughts on this, anyone?
December 31, 2011 at 2:28 am #111171Anointed
ParticipantIt kind of helps to know what plugin you are talking about.
There are a couple of plugins that might help though:
http://bbpressbbcode.chantech.org/
http://bbpressbbcode.chantech.org/shortcode-whitelist/
those allow you to use shortcodes in bbPress, and also choose which ones you allow users to use.
*allowing all shortcodes for users is dangerous, asking for trouble.
**I didn’t write the plugins, and don’t know much about them other than I tried them once and they worked. Just trying to help
December 31, 2011 at 2:26 am #109512ebiznet88
MemberI believe that bjj’s example shows the converted code. The original should be:
Stacks:
The converted added the characters “:twwr5fiw” to the post.
Just like in my example:
The original bbcode post:

The converted code:
[img:33mwiaq9]http://www.swafineart.com/images/30.4.07/images/NightOfHeros_lr.jpg[/img:33mwiaq9]
The converter added the characters “:33mwiaq9” to the bbcode tags.
I hope that clarifies the issue we are facing here.
-
AuthorSearch Results
