Search Results for 'code'
-
AuthorSearch Results
-
September 13, 2008 at 2:13 pm #67581
In reply to: bbPress Top 100 September '08 update
_ck_
ParticipantSeptember also features the first site to be purposely excluded from the listings. Not that I am passing judgement on it as there are other sites far more dubious that are in the list where the content is not their own.
find-answers.net
It’s impressive in that someone wrote a bbPress to Usenet gateway. But its not right to include it on the list since there will be millions of posts in no time at all and they use a fake subdomain for each group.
At least it proves bbPress can handle such a load. They are going to really want my Super Search plugin (not released yet).
I do wish they’d share the code they made to accomplish that however, especially considering they seem to be using my theme, my plugins, my favicon, etc.
(What I really want is a Mailman to bbPress gateway!)
September 12, 2008 at 5:42 pm #67565In reply to: WordPress Forums Theme
contoaberto
Participantthank u very much, Chris.
I thought you integrated themes with them.
anyway, it would be great of you if you could offer it for dummies.

It’s an elegant theme.
September 12, 2008 at 2:32 pm #67616In reply to: Punaji.com Art and Stuff
thion
MemberFirst impression – “where should I click? What the heck this website is about? I’m living…”
Second impression – “StumbleUpon – first impression count” and in the moment you’re reading this I’m 20 sites away
.
September 12, 2008 at 10:46 am #67606benzilla069
MemberWell I just want it to detect when [wiki]pagename[/wiki] is used so I can run a bit of code(I’m currently modifying your wikipost script to be more of a wiki system.) I want it to create a new post and link to that post.
Looking at the code again I’m starting to wrap my head around what’s going on.
$simple = array('b' => 'strong',); // cut and copied exampleTurns all instances of into the html equivalent <center></center> but I just want it to recognise all instances of [wiki]wikipagename[/wiki] and then allow me to run code. I’ve been tinkering with the code most of the day but most of the time it seems to want to run the code I’ve written for all the posts and not just one 😡
September 12, 2008 at 3:23 am #67605_ck_
ParticipantYou don’t need to tamper with the regex.
Essentially you are adding the attibutes incorrectly.
This is wrong:
'wiki' => array('a','href')That means set a new tag called “wiki” with the attributes “a” and “href”. But really only “href” is an attribute.
I could help you more if I understood what
<wiki></wiki>was supposed to do.September 12, 2008 at 12:09 am #66073In reply to: WordPress + bbPress Integration 101
isaacgreenspan
MemberThough I hesitate to say this out loud, it is possible to integrate bbPress 0.9.0.2 with WordPress 2.6.x (I have a site running the two and logins to one part work in the other, cookies are properly set and cleaned up, etc.), BUT it requires plugins to both bbPress and WordPress (or, alternately, modification of core code) and I’d venture to guess that it might substantially weaken the cookie security introduced in WP2.6. If anyone is desperately interested, I can share details, but it’s messy.
September 11, 2008 at 9:44 pm #3983benzilla069
MemberHi I’m currently modifying your wiki post script(source once i’ve finished it) and I’m combining looking at your bbcode plugin and I’m trying to add a simple <wiki>something</wiki> tag and I’m having a trouble getting my head around how you do it.
Looking at this code:
$complex1 = array('wiki' => array('a','href'),'img' => array('img','src'));
foreach($complex1 as $bbcode=>$html){
if($bbcode=='wiki') {
var_dump($text);
/*$text = preg_replace('/(.+?)[/'.$bbcode.']/is','<'.$html[0].' '.$html[1].'="$1">',$text);*/
}
else {$text = preg_replace('/(.+?)[/'.$bbcode.']/is','<'.$html[0].' '.$html[1].'="$1">$1</'.$html[0].'>',$text);}
}
Now I was thinking removing everything after ‘wiki’ would work but nothing works. It calls var_dump at the moment but it calls it for all posts in the topic.
Any ideas? I haven’t used regular expressions before so I’m a bit lost.
September 11, 2008 at 7:25 pm #56069In reply to: Spoiler plugin?
fantatier
MemberNo, as I can see out of the plugin code the Javascript files has to be called “enhancedss.js”. If it is not called like this, the plugin is not able to find it. Am I right?
September 11, 2008 at 1:32 am #67572In reply to: Integrating to WP has broken the static front page
jpope
MemberThanks for the input. I’m pretty sure I’m off in the wrong direction, I’m just trying to dig through what the WP and BB code are doing under the covers so that I have a better understanding of where this problem is coming from. It’s simply the analytical part of me wanting to understand the whole system.
As for why, I am currently calling a few bbpress functions from my wp pages.
I’m actually reviewing what I’m using now to see if I can just eliminate the use of the bbpress functions on the WP pages. I think I can probably just eliminate the need (at least for now).
That said, I still want to dig in and get to the bottom of this. It seems like there should be a really easy answer for this (btw — I don’t think it’s the 404 problem from the other thread you linked).
Thanks again for the feedback. Given I’m doing this on my own time, I may not get back to it for a while (I have funded development to finish for work). I’ll post back when I have a chance to re-review this.
September 10, 2008 at 5:19 pm #67598In reply to: Request: anonym.to plugin
Shagalaga
Membersure

put this Code:
<script src=”http://js.anonym.to/anonym/anonymize.js” type=”text/javascript”></script>
<script type=”text/javascript”><!–
protected_links = “”;
auto_anonymize();
//–></script>
in your footer.php, just before </body>
i dont know how secure it is, but i use it to avoid any trouble, my users could do, eg somebody post a link to an illegal site
i think it makes the backtracking harder
September 10, 2008 at 4:55 pm #67568In reply to: Integrating to WP has broken the static front page
jpope
MemberSo I have confirmed that this happens even if I set both bbpress and wordpress to the default themes, so it is definitely not something in the themes I’ve customized.
I really wish I could find the code where wp is determining the post ID of the home/front page as I suspect that is the best place to start trying to tackle this.
September 10, 2008 at 2:06 pm #67471In reply to: Accents in username
Amir Habibi
Membermeitershaker:
be patient!!
September 10, 2008 at 12:33 pm #67596In reply to: Request: anonym.to plugin
Shagalaga
Memberok, did it myself, with a little code in the footer
September 10, 2008 at 7:13 am #67578In reply to: bbPress Top 100 September '08 update
_ck_
ParticipantA new feature this month is an analysis of Server and PHP software popularity. What’s interesting is how Apache use is slowly being eroded by other options. Also, PHP4 is still VERY popular (1 in 3 servers use it!)
Server Popularity (alphabetical order)
Abyss/2.0.0.20-x2-win32 : 2
Apache : 800+
Apache/1.3 : 900+
Apache/2 : 40+
Apache/2.0 : 800+
Apache/2.2 : 1000+
Ideawebserver/v0.50 : 3
Lighttpd/1.4 : 15
Litespeed : 20
Microsoft-IIS/5.0 : 12
Microsoft-IIS/6.0 : 80+
Microsoft-IIS/7.0 : 2
Nginx : 19
Nginx/0.3 : 2
Nginx/0.5 : 17
Nginx/0.6 : 10
Nginx/0.7 : 2
Webserverx : 16
Zeus/4.3 : 2(abnormalities and unknown entities have been dropped)
PHP Popularity (by version)
4.3 : 200+
4.4 : 900+
5.0 : 40~
5.1 : 200+
5.2 : 2000+September 10, 2008 at 7:07 am #67577In reply to: bbPress Top 100 September '08 update
_ck_
ParticipantbbPress is being used in over 80 countries (or regions).
Here is a sample in order of popularity:
. 1. United States
2. Germany
3. Spain **
4. United Kingdom
5. Russian Federation
6. Italy
7. Turkey
8. France
9. Sweden
10. China
11. Denmark
12. Netherlands
13. Canada
14. Japan
15. Europe
16. Romania
17. Czech Republic
18. Brazil
19. Norway
20. Austria
21. Poland
22. Australia
23. Switzerland
24. Hungary
25. India
26. Chile
27. Belgium
28. Argentina **
29. Indonesia
30. Finland
31. Ukraine
32. Saudi Arabia
33. Greece
34. Lithuania
35. Israel
36. New Zealand
37. Slovakia
38. Latvia
39. Mexico **
40. South Africa** This list is subject to some inaccuracies based on guesstimates of language used or target audience. For example, a page in Spanish may be intended for an audience in Mexico, Argentina, or in Spain. A page in Arabic may be intended for several countries in the middle-east, etc.
September 10, 2008 at 6:55 am #67576In reply to: bbPress Top 100 September '08 update
_ck_
ParticipantbbPress is currently installed on at least 5,000 sites.
Here is a breakdown of bbPress forums by total posts:
Posts Count
0 - 99 3,000+
100 - 999 640
1,000 - 4,999 180
5,000 - 9,999 52
10,000 - 49,999 44
50,000 - 99,999 12
100,000 - 499,999 7
500,000 - 999,999 2By my calculations, a bbPress forum will break a million posts by the end of this year!
September 9, 2008 at 9:36 pm #67534In reply to: bbPress : blank page when opening forum
peterve
Memberyes – creating the autoload plugin apperently did the trick !!!
(I still need to test if all functionality works, but at least I can now see the posts
)thank, this issue is resolved for now
September 9, 2008 at 9:06 pm #67489In reply to: admin re-directs to index and unable to post.
threevisual
Membertried clearing cookies too, still have the same issue
September 9, 2008 at 9:06 pm #66708In reply to: bbPress 1.0 alpha
chrishajer
ParticipantSame database or same tables within the database? Same database, sure, just use a different table prefix, like bbalpha_ or something.
For the same tables, I would need to look at the schema changes between 0.9 and 1.0, but I *believe* there are changes, which means it would not work to use the same exact tables.
edit: _ck_ beat me to it
September 9, 2008 at 8:15 pm #58814In reply to: Which is better bbpress or wp-forum plugin ?
scott-hack
MemberI have high hopes that bbPress becomes everything that everyone wants it to be. I wish I was a coder, so I could contribute!
September 9, 2008 at 3:30 pm #67506meitershaker
Memberyes _ck_
September 9, 2008 at 2:59 pm #67408In reply to: Server Overload
clementine
Member_ck_ FINALLY I did it… The admins had to recompile my Apache… and we’ve had lots of problems… but now I have it….
(edit)
IT’S F****NG flying
Thanks So SO MUCH!!!!!
September 9, 2008 at 12:14 pm #67505_ck_
ParticipantDid you comment out the line I listed above in the plugin?
September 9, 2008 at 11:34 am #3970Topic: bbcode plugins URL not work
in forum Pluginsleoleoleo
MemberI installed BBcode Lite for bbPress and BBcode Buttons plugins in bbPress 1.0 Alpha. The URL button not work show the original code not URL.How to fix it? Thanks.
September 9, 2008 at 2:04 am #67541In reply to: Change width and height of gravatars
Sam Bauers
ParticipantThis can be changed in the templates just look for these functions in your templates and set $size to the integer you would like:
post_author_avatar($size)
post_author_avatar_link($size)
bb_get_avatar( $user->ID, $size ) -
AuthorSearch Results