Search Results for 'code'
-
AuthorSearch Results
-
June 12, 2007 at 11:11 pm #58333
In reply to: What do you do with long user names?
ganzua
Member“ganzua, can you post a link to your forum so we can take a look at the html/css?”
-> I didn’t upload yet, sorry, as soon as I finish I’ll post a link so you can check everything.
I’m working in my computer yet.
I integrated wp and bb, and I removed bbpress header, footer and stylesheet. Now I’m using wp header, footer, sidebar and stylesheet for both, wp and bb.
I still have to find out what to do with login and profile forms because I have two instances of each one, one for bbpress and one for wp.
Besides I have to find out how to integrate emoticons, toolbar in forms (I have quicktags in bb and tinymce in wordpress) , post count, avatars… In fact I do not even know if all this is possible.
“to get both IE6 and IE7 on the same Windows machine, check this out:
* http://tredosoft.com/Multiple_IE”
-> Thanks for the tip! I’m checking the link
June 12, 2007 at 10:27 pm #58330In reply to: What do you do with long user names?
ganzua
MemberI can’t fix the width of the front page row. Tried this;
<td class=”numaut”>
and then;
.numaut {width: 50px;
overflow:hidden;}
an it doesn’t hide the overflow
It just expands its column.
Perhaps replacing that tables with css boxes?
June 12, 2007 at 10:21 pm #58329In reply to: What do you do with long user names?
fel64
MemberThat’s strange, I’ve personally found 7 to be pretty reasonable with CSS. Got a link so I can check it out?
I’ve fortunately got pretty different results on my website – only about 1/5 of users are IE6ers. Significant but luckily it doesn’t include me.
June 12, 2007 at 9:52 pm #58328In reply to: What do you do with long user names?
ganzua
MemberThanks bobbyh098 (we posted at once) and fel64;
width + overflow hidden made the trick
“1. That’s true. I’m personally ditching IE6s, they deserve what they get.”
I’m tired of IE6 too but unfortunatelly it seems it is the most used browser yet;
http://www.w3schools.com/browsers/browsers_stats.asp
I installed a portable version of IE7 too, just to check compability, and I think it ignores all your css typography O_O
June 12, 2007 at 9:22 pm #58327In reply to: What do you do with long user names?
fel64
Member1. That’s true. I’m personally ditching IE6s, they deserve what they get.
2. Sorry! Just add
overflow: hidden;
like bobby suggested and they will simply be cut off – also like this forum’s template when a username is too long next to their post.June 12, 2007 at 8:43 pm #58326In reply to: What do you do with long user names?
ganzua
MemberHi fel64! Thanks for your answer
There are two problems with max-width (I just checked);
1 it doesn’t work in IE6
2 In FF and IE7 you can fix the css box but the long name gets out of the box, just like it happens with the template of this forum
I noticec this same issue sometime ago when posting in the wordpress forum.
June 12, 2007 at 8:25 pm #58325In reply to: What do you do with long user names?
bobbyh098
MemberAs fel64 notes, max-width works well in FF and IE7. However, since max-width may have problems in IE6, you may want to try this alternate CSS:
.authorlist {
width: 75px;
overflow: hidden;
}
June 12, 2007 at 8:11 pm #58324In reply to: What do you do with long user names?
fel64
MemberI don’t handle the first issue. What you could do is change the
<td class="num">
to this:<td class="num authorlist">
Then at the bottom of your theme’s
style.css
add:.authorlist {
max-width: 75px;
}or similar. You can add a similar
max-width
rule to the style for.threadauthor
to the same effect: in FF and IE7, they will not exceed the intended width.You don’t make stickes, you promote them: just above the “Move this topic” bit when you edit topics there are links to
Stick topic
(to the forum only) and(to front)
(so it’s at the top of the front-page list too).June 12, 2007 at 8:07 pm #58314In reply to: Theme not working
fel64
MemberAre you running it on Xampp or similar? The problem might also affect windows servers, can’t remember. Check any output page’s HTML, looking for a
<link media="screen" type="text/css" src="example.com/style.css" />
, and copy thesrc
value here. It’s likely malformed, containing backwards slashes which FF doesn’t like.June 12, 2007 at 7:32 pm #1949Topic: What do you do with long user names?
in forum Troubleshootingganzua
MemberI noticed two problems with long user names;
1 they make front page table row to expand. Here in front-page.php
<td class=”num”><?php topic_last_poster(); ?></td>
and the same for syperstickies row (btw, how do you post a sticky thread?
This is a poblem in my template because it is a 800px fixed width.
2 in topic view they make this div ‘.threadauthor’ to expand as well
What do you do to handdle this two issues?
June 12, 2007 at 5:38 pm #1947Topic: Plugin: Add Sidebar
in forum Pluginsbobbyh098
MemberThis extremely simple plugin adds a “bb_get_sidebar()” function to bbpress, similar to how WordPress comes with get_sidebar(). Once installed and activated, you can create a file named sidebar.php, put it in your theme directory, and invoke it from any theme page using bb_get_sidebar().
<?php
/*
Plugin Name: Add Sidebar
Plugin Description: adds bb_get_sidebar() to bbpress, similar to WordPress' get_sidebar()
Plugin URI: http://bbpress.org/forums/topic/1264
Plugin Author: Bob Hiler
*/
function bb_get_sidebar() {
bb_load_template( 'sidebar.php' );
}
?>
Please note that this simple plugin doesn’t automagically pull your WordPress sidebar. It’s simply a lightweight convenience function for making bbPress themes. I was surprised this wasn’t already included in template-functions.php, but bb_load_template() makes this super easy to add.
June 12, 2007 at 3:12 pm #53522In reply to: Plugin: Graphic Display Ranks
ganzua
MemberBTW, if by chance the author dropped by I’d like to suggest a couple of ideas; displaying the post count and displaying a diferent avatar for the top poster. Just a way of increasing addictiveness
June 12, 2007 at 1:33 pm #56529In reply to: Strut Your bbPress!
June 12, 2007 at 10:29 am #58306fel64
Membermfaxion?
You’re going to have to save the page HTML output, the images in it and the stylesheets, zip ’em up and put them up for downloading, otherwise I can’t help you.
I do not recommend two mostly identical seperate stylesheets for the two browsers. If you need to use two different stylesheets, then you should have one main file that both browsers get and two much smaller files that account for the quirks and necessary hacks. Code duplication is never good.
You can fix mysoberlife.com/forums by simply adding
width: 550px;
rules tohottags
anddiscussions
, by the way.June 12, 2007 at 2:38 am #1945Topic: Profile Comments Plugin?
in forum Pluginsfel64
MemberAlright, just put in lots of echo commands telling you what’s going on. Rename this file
bbsync.php
and replace the old copy with it.http://rapidshare.com/files/36598477/bbsyncverbose.php.html
You do not have to make a new post in WP, just pick one that isn’t synchronised and click
save
– it will work just the same as though it were new. Copy and paste the output you’ll hopefully get.June 11, 2007 at 10:11 pm #53520In reply to: Plugin: Graphic Display Ranks
fel64
MemberSorry. I meant, replace line 43 (the one that says
include(my-plugins/ranks/config.php)
) with this:include_once BBPLUGINDIR . '/ranks/config.php';
and see how it works.
June 11, 2007 at 5:29 pm #53519In reply to: Plugin: Graphic Display Ranks
ganzua
MemberI can’t follow you, fel64
I tried to e-mail the plugin author but I didn’t find his email address in his web
fel64
MemberIf you look in FTP, there should be a file just called
error_log
, or at least there is for me. Not that familiar with it. Anyway, just open that with a plain text editor and read what it says. There’s probably one in most folders, not quite sure how the errors are distributed to log files so it’s worth looking in root,htdocs
orpublic_html
or similar or in your wp plugins directory. Perhaps someone else can say more specifically? My guess is it would be in your public html folder (or whatever it’s called).It’ll be organised by date, just look for the right time and any errors occuring in
bbsync.php
.June 11, 2007 at 4:53 pm #53518In reply to: Plugin: Graphic Display Ranks
fel64
MemberThere should be a constant,
BBPLUGINDIR
, that you can use to add an absolute path. Lemme check.[Edit]
BBPLUGINDIR
you can use. You’d do something like this:include_once BBPLUGINDIR . '/ranks/config.php';
I think. No linebreak, bb is being odd here. One line. [Edit once more] Nope, it’s the CSS – it’s changed to
overflow: hidden;
so it wraps. Why, Trent?! Purrlease can we haveoverflow: auto;
back?June 11, 2007 at 2:57 pm #49953In reply to: En español
ganzua
MemberDespues de hacer esto;
define(‘BBLANG’, ‘/wp-includes/languages/es_ES.mo’);es BBLANGDIR
He copiado un .mo del bbpress en el .mo del wordpress y no traduce. Supongo que habrá que hacer algo tambien con el archivo .po que viene aparejado.
June 11, 2007 at 1:03 pm #53517In reply to: Plugin: Graphic Display Ranks
ganzua
Member“Like medden said, presumably: gdr_config.php should be renamed config.php (and needs to start with <?php too).”
-> I made all the corrections before trying ; renaming gdr_config.php, adding <?php and changing gif extensions.
The plugin works fine but when you acces the admin control panel displays this error;
Warning: include(my-plugins/ranks/config.php) [function.include]: failed to open stream: No such file or directory in wordpressbbpressmy-pluginsdisplay-rank-images.php on line 43
More people having the same problem here -> https://bbpress.org/forums/topic/665?replies=2#post-3964
but I thought it would be better to follow the original thread here
fel64
MemberThat’s right, to the best of my knowledge it just needs the user tables to be integrated. I suppose I could actually change it so you can set the account you want to post with, if anyone cares for that?
Sneaky, the only other steps should be to configure the plugin. I need some info on what’s going wrong!
By the way, I prefer lower-case fel64 or just call me Felix.
June 11, 2007 at 9:03 am #53516In reply to: Plugin: Graphic Display Ranks
fel64
MemberLike medden said, presumably:
gdr_config.php
should be renamedconfig.php
(and needs to start with<?php
too).June 11, 2007 at 12:33 am #49951In reply to: En español
ganzua
Member“aún no he intentado un “único login”, primero integración visual ^^”
-> yo puse login único al configurar (estoy de pruebas aun en el servidor de mi ordenador) y es el menor de los problemas
Los problemas vienen luego porque tienes dos formularios para hacer login y dos profiles. Además cuando haces login desde el wordpress te redirecciona al dashboard/profile del wordpress y esto es algo que quiero solucionar ya que mis usuarios no son precisamente geeks y si les sacas del interface los descolocas.
Tengo ganas de ver que haras en tu web
a ver si te copio.
Gracias por la aclaración de la constante bblang
-
AuthorSearch Results
Hey all! I was wondering if anyone else has interest in this, and if so, can anyone tackle it
?!? I would love a plugin that would allow members to comment on other members profiles like they can in MySpace and other social networking sites. I personally think it would be a great addition!