Search Results for 'code'
-
Search Results
-
Topic: How customized the "menu" ?
Hi,
Just one question : how customized the “menu class=”login”
for this structure :
<h2>Bienvenue</h2>
- <img src="" alt="useravatar">
- admin
- Profil
- Modifier
- Favoris
- Admin
- Déconnexion
- Messages Privés
Thanks and happy news year
Here are some questions related to translation of bbPress.
Is there any other word for “bozo” that is more common, because I don’t know how to translate this? In 0.9 branch I left this untranslated, but now I want to do complete translation.
What are “voices”? This is introduced in 1.0 branch.
What is “View” in this strings:
%1$s » View: %2$sand<abbr title="Really Simple Syndication">RSS</abbr>feed for this view?There is sting “Halting installation!” used in error log on install/upgrade. Does install/upgrade stop at that moment or what happens (I’m not sure how to translate it)?
In file bb-includes/functions.bb-core.php, there are strings
REQUEST_URIandPATH_INFO. Should we translate this or leave it (because it is mistakenly wrapped in__()function?Thanks in advance
I’d like to add the Add to Any code to a single forum post and I’m not sure which of the many php files to add it to. Code is here – from the WP plugin page:
<?php echo '<ul class="addtoany_list">';
if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') )
ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "
<li>", "html_wrap_close" => "</li>
") );
if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') )
ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "
<li>", "html_wrap_close" => "</li>
") );
echo ''; ?>Wary of adding it anywhere because I just tried a BBpress sitemap plugin that broke the forums. Thanks for the help.
Topic: Cannot see custom themes ?
Topic: custom category class
Inside my loop in front-page.php i want a custom class
like:
<tr class="bb-precedes-sibling bb-follows-sibling bb-child ????"><br />
<td><div class="nest"><a href="http://www.example.com/forum/example">Example</a><br /><small> Examples of examples</small></div></td><br />
<td class="num">99</td><br />
<td class="num">1029</td></p>
<p></tr>on the place of the questionmarks i would like to have a category id as a class.
so i can customise each category in css
can someone help me out?
I just lost 12k posts from my forum, and wanted to report what happened here in the bbPress forum! I was able to restore the posts thank goodness, but it was a chilling experience.
Here’s the scoop: I’ve always had great success with using the “delete forum” feature before… I would choose the option to enable “moving topics from this forum into [another forum]”, and it always worked great. But recently, I suffered massive data loss while using this feature (on the 0.9.x branch).
I deleted a forum and chose to move its topics into another forum… the forum was successfully deleted, but so was every single topic in the forum! I was able to restore the data from a backup, but still I wouldn’t wish that experience on anyone.
It took a while before a friend was able to audit the source code and create a hypothesis around what had happened. The preliminary analysis indicates that the “delete forum and move topics into another forum” routine ordinarily first moves the topics, and then deletes the topics and forum. But if the “move topics” algorithm times out before it can be completed, then the topic data appears to still be deleted even though the move wasn’t successful.
In other words, even though I asked bbPress to move the topics out of the forum before deleting the forum… bbPress appeared to fail to move the topics and then actually deleted the entire forum and all the topics still in it!
WHOA… scary stuff! If this bug really does exist, it could put a lot of bbPress data at risk.
This may only be an issue on slower servers or larger forums (this bbPress install has around 600k posts)… basically it appears that the bug only pops up if the “move topics” query times out.
Two thoughts here:
1) Can any developers out there audit the “delete topic” code and report back on worst case situations: i.e. what might happen if you choose to delete a forum and move the topics, but the “move topics” query times out?
2) In the meantime, until the existence of a bug is confirmed or not… I strongly suggest that you refrain from using the “delete forum” feature! Or if you must, make sure to have a fresh backup and also to doublecheck your topics immediate afterward deleting the forum to make sure your topics are all in the new forum!!