Search Results for 'code'
-
AuthorSearch Results
-
December 2, 2006 at 7:29 pm #51812
In reply to: Plugin – Member List
spencerp
MemberYup, it works for me if I have pretty permalinks, and no pretty permalinks set. I did exactly as said on here:
https://bbpress.org/documentation/faq/#pretty-permalinks
And she’s working.. see it in action here:
http://spencerp.net/forums/mlist
YAY!! Thanks again!!
spencerp
December 2, 2006 at 7:24 pm #51558In reply to: Full Content of Most Recent Post on Front-Page?
Null
MemberHi,
I am stuck again. I wanted to split the code to the php part and the template part. I did this:
In index.php I’ve added (right after
require('./bb-load.php') ;
:$forum_id = 1;
$number_of_topics = 10;
$forum_one_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,$number_of_topics")
In front-page.php I’ve added:
<?php
foreach($forum_one_topics as $topic) :
$forum_one_topic_posts = get_thread( $topic->topic_id); ?>
<a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>
<?php echo $topic->topic_last_poster_name; ?><br/>
<?php echo $forum_one_topic_posts[0]->post_text;
endforeach;
?>
But this results in errors on the index.php file:
parse error, unexpected T_STRING on the first line after the code I’ve put in the index.php file.
What am I doing wrong?
December 2, 2006 at 7:23 pm #51811In reply to: Plugin – Member List
ardentfrost
Memberspencer, I have permalinks enabled and it works for me, trent doesn’t and it works for him now too (and you too), so I think that bug is fixed.
Trent, I know what you mean… that’s why that deletion part of the plugin is so cool
I can delete all spam users in literally a few seconds.
December 2, 2006 at 7:12 pm #51809In reply to: Plugin – Member List
spencerp
MemberHi guys, sorry.. was offline for a bit there. I didn’t have pretty permalinks enabled, and still don’t. But, after uploading those new files of your’s. It seems to be working fine now..
Would you like me to try with pretty permalinks enabled then too, or..? Please let me know ok, I’ll test it.
spencerp
December 2, 2006 at 7:08 pm #51808In reply to: Plugin – Member List
ardentfrost
MemberI thought about that, but there’s two things: 1. post count is another plugin altogether… not too big of a deal, making a function that is commented out by default is easy to do. 2. Post count isn’t a db entry, so to do it I’d have to sort results after I got them (whereas now I do it all with SQL queries).
I do hope to add it in at a later time, I just gotta figure out the best way to do it first
December 2, 2006 at 6:00 pm #51805In reply to: Plugin – Member List
ardentfrost
MemberThere’s some commented out code in memberlist.php in your templates folder. Just take out the comments (I wrote some words in there too)
December 2, 2006 at 5:51 pm #51803In reply to: Plugin – Member List
ardentfrost
MemberTrent, you have my post count plugin installed, you should enable post counts on the member list page
December 2, 2006 at 5:48 pm #51410In reply to: Plugin: Simple Onlinelist
Null
MemberAny progress about:
“Would be nice to add total guests too”
– Good idea … i’ll give it a try
“Great plugin, if you made this one AJAXED it would be even greater!”
– Thought about it, but this would be easer to realize with next version of bbpress (current version only loads bb_head() when topic is displayed)
??
December 2, 2006 at 5:11 pm #51794In reply to: Plugin – Member List
ardentfrost
Memberwell, dang, now I gotta figure out how to deal with if you don’t have that enabled
Did you enable it? I want to test the plugin out on your site
December 2, 2006 at 5:01 pm #51793In reply to: Plugin – Member List
Trent Adams
MemberThat would be why. Neither of us has pretty permalinks enabled. Not sure why we don’t though….
Trent
December 2, 2006 at 4:20 pm #52014In reply to: Site Options Plugin
so1o
Participantyes i have used standard functions like get_option and update_options..
and whenever we get the code in the core i will write a function to import all the options from this table to the core..
December 2, 2006 at 4:18 pm #52013In reply to: Site Options Plugin
Trent Adams
MemberThis will defintely change this! No more hard coding options in plugin code! Options saved in db! Yeah! This will be the bridge until Micheal and Matt get this in the core I would imagine?
Trent
December 2, 2006 at 1:01 pm #50204In reply to: About Freshness
Emre Erkan
MemberThanks,
The problem is that we have 10 hours of difference with our server.
December 2, 2006 at 12:11 pm #51790In reply to: Plugin – Member List
spencerp
MemberI just tried it, and for some reason.. the link is taking me to a 404 page..
Everything was done, per the READ ME file.. Any thoughts?
spencerp
/Even styled it, and located it where you have on your forums mentioned above lol.
December 2, 2006 at 12:08 pm #51409In reply to: Plugin: Simple Onlinelist
fuuk
MemberGreat Plugin thanks
December 2, 2006 at 12:06 pm #52010In reply to: Who is online
fuuk
MemberGood to see you here Hasan. Thanks for your suggestion
December 2, 2006 at 9:12 am #1048Topic: Who is online
in forum Requests & Feedbackfuuk
MemberCan there be a section where the online people are represtented ?
That would be a great oppurtunity for admins to see who are online like in the other forum softwares
December 2, 2006 at 7:48 am #52008In reply to: A request for Private Message(s) plugin..
spencerp
MemberOh! Ok.. sweet! Good luck guys, and hopefully something works out!
spencerp
December 2, 2006 at 7:43 am #52007In reply to: A request for Private Message(s) plugin..
ardentfrost
MemberI think both me and box87 are attempting this with plugins.
It’s certainly not an easy task though
December 2, 2006 at 7:37 am #1047Topic: A request for Private Message(s) plugin..
in forum Pluginsspencerp
MemberI was just curious.. would someone be willing to make up a “Private Message” system, just like phpBB has? Or do you think that will be too complicated? Just was wondering..
spencerp
December 2, 2006 at 7:35 am #51789In reply to: Plugin – Member List
spencerp
MemberOh! Ok.. awesome! Once my host’s server gets back online again.. I’ll implement it! Thanks again!
spencerp
December 2, 2006 at 7:32 am #51787In reply to: Plugin – Member List
spencerp
MemberAh dang, mine is with the integration too.. and being that I’m not a coder.. I’ll probably have to wait until something is worked out then..
spencerp
December 2, 2006 at 7:03 am #51782In reply to: Plugin – Member List
ardentfrost
Memberdid you not get the link? are you just pointing to mlist.php?
use the bb_memberlist_link() to get to the page, not just directly.
use it like this:
<a href="<?php bb_memberlist_link(); ?>">Member List</a>
December 2, 2006 at 6:39 am #51778In reply to: Plugin – Member List
Trent Adams
MemberIt works, but it does give me an error at the top of the page:
Warning: Invalid argument supplied for foreach() in /var/www/forum/my-plugins/bb-memberlist.php on line 54
Ideas?
Trent
December 2, 2006 at 6:36 am #51777In reply to: Plugin – Member List
ardentfrost
MemberThanks
I think private messages is another big factor keeping people away. I’ve been working on it, but it’s a decent size task. Every new plugin I do, though, teaches me more I need to know about bbpress to get pm’s working. Doing the member list taught me some very important things. Maybe I can get it done in the next week.
-
AuthorSearch Results