Theopt
Forum Replies Created
-
Forum: Plugins
In reply to: [Challonge] Widget not showingyeah I had it updated. It was probably a challonge bug. It fixed itself in a couple of hours. Sorry for this post 😡
Forum: Fixing WordPress
In reply to: Error loghelp? :\
Forum: Plugins
In reply to: [League Standings] QuestionI mean having a open ladder, where a registered member can register his own team and also challenge other teams on the same ladder.
Forum: Plugins
In reply to: [Challonge] Shortcode bugsubdomain: Strife HQ
http://strifehq.challonge.com/Forum: Plugins
In reply to: [Challonge] Shortcode bugWell, is there a way to check now after finished? All the advanced settings are the same.
Forum: Plugins
In reply to: [Challonge] Shortcode bugThe problem is that its not the latest 5. but actually the first 5 😡 We’ve hosted 9. and it shows from 1 to 5
Forum: Plugins
In reply to: [Challonge] Widget not workingthanks a lot! it was the subdomain. I though that was opcional. Is there a way to filter only the open tournaments and not all?
Well, then I did all that already 😐 so why its not working. because Im filling the DB with the values on idaccount.
I’ve inserted my id from the mysql table manually, and now shows that man in the hat instead of my custom avatar. so im actually requesting the ID wrongly 😡 u know why?
Well I think that but it doesnt make much sence, this is how im getting user id:
$current_user = wp_get_current_user(); $user = $current_user->user_login; $idaccount = $current_user->ID;this is how im getting the ID and using them when I need to fill new comments for instance. then I put them in the DB so I guess if anything is wrong is there.
this is the output of the comments:
while($row=mysql_fetch_array($sql)) { $name=$row['name']; $id=$row['Id_user']; //$email=$row['com_email']; $comment_dis=$row['body']; //$lowercase = strtolower($email); //$image = get_avatar( $id , 40 ); ?> <li class="panel" style="margin:10px; list-style-type: none;"> <? echo get_wp_user_avatar($id, 40); ?> <span class="com_name"> <?php echo $name; ?></span> <br /> <?php echo $comment_dis; ?></li> <?php } ?>I’ve reworked the code a bit, now it only shows default avatar image for users that didnt set a custom avatar.
http://www.dawnsource.com/display/?id=1
why is that?
Well, get avatar was working. but I needed your plugin because I left vbulletin so I dont have any sort of avatars for users atm. But wordpress comments are working and they do have avatar. I was making a comment system for a custom tool. The get_avatar was working there, but its not working now.
Well using <?php comments_template()?> wont work on that pages so I guess I cant really use wordpress comment system because the comments will go to display page and wont be distributed to display/id=x. Anyway, where can I check the comments_template php file to see how they are doing there? because the other solution ain’t working :\
No, Im making a comment system that uses the user avatar but its not for wordpress posts, its for a wordpress custom page. But I think I should had used the wordpress comments in the first place xD but anyway, that code is giving me the same output 😡
oh, you wanted from wordpress comments, where can I find that?