Search Results for 'code'
-
AuthorSearch Results
-
January 3, 2007 at 8:58 pm #51827
In reply to: Plugin – Member List
Trent Adams
MemberMake it simple for now until Ardenfrost can answer! Change that line to:
<li class="view"><a href="http://navfm.org/bbpress/mlist.php">Member List</a></li>Just add in your actual URL (hardcode it!)
Trent
January 3, 2007 at 8:50 pm #51826In reply to: Plugin – Member List
yogaboat
MemberSorry, that was supposed to read, “adding this line:
<li class="view"><a href="<?php bb_memberlist_link(); ?>">Member List</a></li>“January 3, 2007 at 8:49 pm #51825In reply to: Plugin – Member List
yogaboat
MemberThe only bit of code I changed in front_page.php was adding this line:
<li class=”view”>“>Member List
?php if ( $bb_current_user->ID ) : ?><div id="viewdiv">
<h2><?php _e('Views'); ?></h2>
<ul id="views">
<?php foreach ( get_views() as $view => $title ) : ?>
<li class="view"><a href="<?php view_link(); ?>"><?php view_name(); ?></a></li>
<?php endforeach; ?>
<li class="view"><a href="<?php bb_memberlist_link(); ?>">Member List</a></li>
</ul>
</div>
<?php endif; else : // $forums ?>
I’m sure it’s something simple but i don’t know php.
January 3, 2007 at 8:23 pm #51824In reply to: Plugin – Member List
Trent Adams
MemberI would go to front-page.php and check that the code you entered for the link is /bbpress/mlist.php and not /forum/mlist.php because you would of had to enter the link yourself.
Trent
January 3, 2007 at 8:00 pm #52991In reply to: Request: Posts since last visit
d3x7r0
MemberI tried the beta but it doesn’t seem to be working for me
I have the onlinelist plugin and me and a friend of mine tried it like this:one made a post while the other wasn’t on the website (even the browsers where closed) and 5 minutes latter the other went to the site and tried to use the function.
The result? a blank page
January 3, 2007 at 7:57 pm #53062In reply to: Plugin Help
so1o
Participanthere you go bbolman
<phpadd_action('bb_head' , 'my_plugin_function_name');
function my_plugin_function_name() {
?>
stuff that you want to put
<?php
}
?>
January 3, 2007 at 7:55 pm #52714In reply to: Plugin – Avatar *UPDATE*
d3x7r0
MemberHum… never did thought of using css for it… still people would still load the entire image thus making my bandwidth issue valid
January 3, 2007 at 6:28 pm #52990In reply to: Request: Posts since last visit
ardentfrost
MemberYou should be able to do request 1 similarly to how I do it with the private message plugin. You fill the string separately, then just call it to be displayed. I haven’t looked at your code yet, but you should be able to have a function that does the if/else for you, then just call it from where you want the link placed.
January 3, 2007 at 6:05 pm #52989In reply to: Request: Posts since last visit
thomasklaiber
MemberThanks for this super great feedback Trent!
1) This is something my plugin can’t do. You have to change the views-template, because this message is also missing in any other view without contents. Maybe something for a trac-ticket?
Just add
<?php else: ?><p>Sorry, no matching posts found!</p>
in front of the last
<?php endif; ?>in the views template.2) I’ll implement a function for this

3) Maybe like the latest discussions on the front-page? … Yeah, it’s a good idea instead of leaving it blank!
4) Donno exactly. When I look at the views-code there seems to be paging functionality already?!
5) I thought of this issue, too. It adds a few queries on every page refresh, but I have no idea how to optimize this.
Thanks again man!
January 3, 2007 at 4:57 pm #51822In reply to: Plugin – Member List
yogaboat
MemberThanks guys! Y’all are a huge help to way unpolished hacks like myself.
January 3, 2007 at 3:05 pm #52986In reply to: Request: Posts since last visit
thomasklaiber
MemberIt will definitly be an additional plugin. But it won’t work without the onlinelist plugin installed.

It uses the Onlinelist db to retrieve the users last visit to the forum, this was the easyest method for me to handle it. This version of the plugin will be a super-simple version of this feature.
If you want to take a look at it:
http://la-school.com/2006/downloads/BETA_since-last-visit.zip
By doing it I thought about doing a second plugin which uses cookies and wont need the onlinelist plugin?! If you haven’t started working on this, I’ll do it?
January 3, 2007 at 2:51 pm #52975In reply to: post_form’s _wponce, what is it?
ardentfrost
MemberS010 – i think the _wpnonce is a security mechanism that checks for the posting source.
That’s what I was thinking the other day when looking for an answer to this question, but it wasn’t fully clear to me, so I didn’t bother responding
January 3, 2007 at 2:38 pm #52984In reply to: Request: Posts since last visit
thomasklaiber
MemberThis is just something a lot easyer to do. It requires just a small plugin, I’ll make one for this, ok?

The posts since last visit plugin is getting a bit more complicated then I thought. I’m doing it as plugin for my onlinelist plugin, cause I think doing this database driven is better … so you can view the posts since your last visit anywhere.
If you want to see how it looks like at the moment, go to
http://la-school.com/bbpress/ (Test / test) … not sure if you can really try it
January 3, 2007 at 2:07 pm #52974In reply to: post_form’s _wponce, what is it?
so1o
Participant_wpnonce doesnt have anything to do with the functionality.
you dont need to set the value of the variable. just call
bb_nonce_field($x);and when you are processing the $_POST call
bb_check_admin_referer( $x);you can put $x as ‘create-topic’ or ‘create-no-forum-specific-topic’ or anything else you want.. it will take care of itself
i think the _wpnonce is a security mechanism that checks for the posting source.
January 3, 2007 at 11:34 am #53038In reply to: Strange views
thomasklaiber
MemberBah … I’m sure it was to late… i forgot to add
global $topic;to my function -.-“January 3, 2007 at 1:16 am #1182Topic: Strange views
in forum Troubleshootingthomasklaiber
MemberHey,
Maybe it’s just getting too late now (02:12 am here in germany) or I am doing something wrong.
I’ve added a new view-section called Posts since last visit.
And when I’m on the specified view page it’s calling the right function added via plugin, if I put in a echo it is displayed on the very top of my page (yeah … it’s an echo in the plugin-file, this seems correct).
But everything I add to the variable
$topicswont be displayed, the variable is always empty?! I need to add the topics array to this variable because the whole views template uses it … but I can add anything, Nothing happens.Any ideas? Some small thing I’m missing?
January 3, 2007 at 12:04 am #51725In reply to: onvertigo.com forums
chrishajer
ParticipantWaiting for the gallery pics ….
January 2, 2007 at 9:56 pm #52813In reply to: Request: Topic title link to latest post
mriannnnnn
Memberok you have to edit these pages:
front-page.phpforum.php
tag-single.php
just three files not much.
January 2, 2007 at 9:03 pm #53017In reply to: (A few) Ideas for Plugins
spencerp
MemberI’d also like to see #4 implemented into bbPress, but I think we’ll have to at least get the “Forum Categories” plugin out first, then it might be a little easier for the subforums deal..
For #5, I thought I seen a post about this some where, where “they” were using the WP editor, with bbPress.. I could be wrong though..
All the other numbered requests sound good to me as well..
We’ll just have to see what comes out next lol.. [Mentally visualizes Josh, and the other plugin author’s rubbing their hands together.. and getting busy.. hahaha.. ]
spencerp
January 2, 2007 at 8:09 pm #52961In reply to: Plugins and Templates Site
thomasklaiber
MemberVery nice idea! Keep it up as good as it is so far! I’ve added it to my bookmarks.
btw: My Post Notification Plugin?
January 2, 2007 at 2:41 pm #52941In reply to: usually forums would have…
ardentfrost
MemberHopefully I’ll have more time soon to knock out a few more plugins. I plan on updating Private Messaging first so that it works out of the box for integrated people. I started working on a User Search feature, but I don’t know if I’ll be able to finish it (maybe if I stopped trying to be cool by using AJAX). After that there’s a few things I want to start working on including Spencer’s forum category thing

I do have my personal forums setup to add feature requests for my plugins. And although I can’t promise results from requesting an entire new plugin, feel free to post them there. (at http://www.rayd.org/forums )
spencerp
MemberNice! Travel, thanks for this! Do you suppose anything in the database will need updated for this “fix”, or .. ? Just wondering..

spencerp
January 2, 2007 at 12:47 pm #52869In reply to: Plugin – bbPortal
Null
MemberThx spenc and 1.1 is dl 22 times and 1.0 over 50. There is just something wrong with the plugin when loading the admin page, its uploading then, but i don’t understand why the hell it does that
January 2, 2007 at 11:36 am #52868In reply to: Plugin – bbPortal
spencerp
MemberNull, I’m not sure what to say, I haven’t downloaded this, and tested this yet.. (I’m not sure how many others did either lol, because there are no replies in here, but your own..
) How many downloads have you had for this bbPortal so far? Maybe after some time here (after Holiday deal is over), and people get back into swing of things.. they’d start helping you figure this out..
I could download it, and try it locally once.. but, I myself is just swamped with stuff too..
I’ll see what I can do though.
spencerp
January 2, 2007 at 9:48 am #52896In reply to: MediaWiki, bbPress, and WordPress integration..
spencerp
MemberUPDATE: I just wanted to fill everyone in on what I have just done..
1) I downloaded and installed the Themed Login and Registration plugin for WordPress.
2) Upload it, then activate it as normal.
OR, If you are running WordPress version 2.1-alpha3.. Before uploading and installing this plugin, open the themed-logreg.php file..
Find this line:
require_once( ABSPATH . WPINC . ‘/registration-functions.php’);
Change it to this:
require_once( ABSPATH . WPINC . ‘/registration.php’);
This is because in the 2.1-apha3 version, they just renamed some of the files in the wp-includes/ directory..
3) I made a page called: Where To
Since I have pretty permalinks on, the page’s location is here for example: domain.net/where-to/
In the Where To page’s Write Window, I added the following text/urls for example:
“If you are seeing this page, you now have the ability to access the following places with your username and password.
The
<a href="wiki.yourdomain.net/">Codex</a>.The
<a href="yourdomain.net/forums/">Forums</a>.The
<a href="yourdomain.net/wp-admin/">Site Admin</a>. “4) Under Plugins => Login Register Options =>
A) Under the: Uninstallation Options => I put check in box for: Toggle Complete Uninstall:
Under the: Redirect After Login: => I changed wp-admin/ to where-to/If you have the normal setup for the permalinks, (for me on localhost this worked): /?page_id=11
Of course, change the actual number to your own..
C) Under the: Redirect After Logout: => I left this one at: wp-login.php
D) If you are using any other theme, then the “Gathering” theme, you might want to skip this section. And follow the directions for it, according to your theme’s layout!
Unless your sidebar call is like this.. in the index.php file:
<?php get_header(); ?><?php get_sidebar(); ?>Still in the Login Register Options, I left everything alone from there down TILL the part for the “Template Header Files: section..
D-1) Since I’m using the “Gathering” theme, the call for the sidebar, in the theme files is right after the header call.
<?php get_header(); ?><?php get_sidebar(); ?>D-2) In the Template Header Files: window, I made it like this:
header.php
sidebar.php
D-3) In the Template After Header HTML: window, I made it like this:
<?php get_header(); ?><?php get_sidebar(); ?><div id="maincontent">D-4) In the Template Before Footer HTML: window, I made it like this:
<?php endif; ?></div><!--index.php end--><!--include footer--><?php get_footer(); ?>D-5) In the Template Footer Files: window, I made it like this: footer.php
E) Scroll down to the User Email Template: window. Since he uses variables for his stuff.. here is what I used for mine, and it works because I got the email after doing a test sign up.

Username: ##username##
Password: ##password##
You now have the ability to access any of the following locations with your username and password.
The Site Admin
##siteurl##/wp-admin/
The Forums
##siteurl##/forums/
The Codex
http://yourwiki.yourdomain.net
Please note: Of course… change the The Codex and Forums urls to whatever your’s is.. example: ##siteurl##/my-forums-folder-name/
And for Codex/Wiki: http://yourdomain.net/yourwiki or whatever..
Then I click the Update Options button..
F) In my Theme’s CSS File, I added the following CSS Style references:
#login {margin:0 auto 0 auto;width:250px;}#login ul {margin:0;padding:0;}#login ul li {display:inline;margin-left:10px;}Everything seems to be working just fine! I hope this helps others..
http://spencerp.net/wp-login.php
http://spencerp.net/wp-register.php
After logging in, you should be taken to this page then:
Which of course.. can still be seen by everyone, either way. (But it’s not really made public either, because I don’t have the page itself, listed in the header nav bar, and sidebar nav section.)
However.. it’s not going to do much good to them, because if they aren’t registered and stuff.. they can’t access my blog’s wp-admin, forums or codex.. lmao!
Anyway, I just did TWO test signups.. and was able to login to my Codex, Forums, and the Blog’s wp-admin control panel.. whee!!
spencerp
-
AuthorSearch Results