Forum Replies Created
-
In reply to: another problem when it's a single item
Here’s what I get when I print $bp in the code that ‘handles’ the navigation :
/classifieds/classified1234
[current_component] => classifieds [current_action] => [action_variables] => Array ( ) [current_item] => test11919 [is_single_item] => 1
/classifieds/classified1234/watch
[current_component] => classifieds [current_action] => watch [action_variables] => Array ( ) [current_item] => test11919 [is_single_item] => 1
When I print $bp in classifieds_screen_classified_home() :
/classifieds/classified1234
[current_component] => classifieds [current_action] => home [action_variables] => Array ( ) [current_item] => test11919 [is_single_item] => 1
/classifieds/classified1234/watch goes to profile page.
I still do not understand why classifieds_screen_classified_home isn’t “fired” when adding /watch since it still respond to the statement }else if ( $bp->is_single_item ) {.
I would rather prefer not do things like
if ($bp->current_component == $bp->classifieds->slug && $bp->current_action
&& 'watch' == $bp->action_vars[0]){since it makes my code more complex.
I would prefer use
if (‘watch’ == $bp->action_vars[0]) inside my function classifieds_screen_classified_home…
Possible ?
In reply to: filter content for all site (e.g. by country)Yes, it would also be interesting to get in touch with Burt.
Can you do this ?
PS : it must not be only about languages. As I said, I need this functionnality to filters different countries with the same language…
We should think at something that could be used for almost everything, e.g. filtering on a profile option (this could be a country, language,..job,..).
In reply to: FEATURES REQUEST Classifieds (Plugin)further developpement will be announced here :
http://bp-dev.org/forums/topic/creating-a-component-bp-classifieds#post-762
In reply to: Proposed Plugin: BuddifiedsIn reply to: filter content for all site (e.g. by country)anyone ?
In reply to: about globals, sessions & cookies.Hi John;
Yes this is it.
So I don’t need to store that in sessions ? I don’t need to do anything, except get_usermeta when I need to ?
Nice !
“the info is available without any additional queries to the db once the data is acquired for the first time”
…only on the page shown or for all plugin pages ?
In reply to: FEATURES REQUEST Classifieds (Plugin)Hello. I’ve started to work on it since a few weeks.
It starts to be interesting.
*are things not started yet or **planed for a even more later
TYPES & CATS
-customizable types and categories, nestables
**customizable fields for posting/showing classifieds in it
MODERATION :
-decide wether or not to allow public viewers
-decide wether or classifieds needs validation before being published
-*grant a user moderator for all classifieds or by type / category
SITE VIEW
-search, explore, filter (by categories, days, **custom fields)
MEMBER VIEW
-show my published classifieds
-show my- awaiting moderation [author/moderators only]
-show my unactive
-watched : when you click a button on a classified, it will be in your profile and you’ll be notified if someone posted a on the wire or if the author modify it +*watched types & cats
-single classified : see details, author, see & post on the wire, see watchers
MEMBER OPTIONS
-*email notifications for new classifieds, classifieds by type,category
-*email for new posts on wire (watched classifieds)
-**email for new classifieds of friends
-*filters for home page
POSTING
– user needs to agree terms & conditions (only once) before posting
-fields : title, description, type, category
-****customizable fields
-****photos
-enable wire
-*enable email notifications when editing (for watchers)
…maybe i’ll start with this

I also have to say that it is a huuuge work and I’ll probably open a project page with a PAYPAL button to encourage me (need it).
I’m not a professional coder but i’m trying to do the best possible.
Today i’ve almost finished the admin part.
Proud to say that I’ve find something to dynamically (jQuery) add types/cats and edit,order (nested!!),delete,save them. It works !!!
<img src=”http://img53.imageshack.us/img53/420/classifiedssetup.jpg” alt=”classifieds setup” >
PS : It’s not shown in this forum (don’t know why) but the print_r($json) returned by PHP is full of slashes in front of every “…
In reply to: Proposed Plugin: BuddifiedsI started it but don’t understand classes enough…
In reply to: Proposed Plugin: Buddifiedsany news about all this ?
This is the only thing missing for me to use Buddypress
In reply to: BP and a classified ads script with the same login?I’m very interested into all this.
Any news ?
In reply to: Proposed Plugin: BuddifiedsI also think that a classified plugin should be a priority !
Yours seems perfect !!!
Are you working on it ?