Forum Replies Created
@r-a-y yes it’s totally safe but in order to maintain forwards compatability with the plugin it’s best to only use on installations that currently don’t have any groups
@roydeanjr the current way the plugin is designed allows the admin to create the categories for which the users can create their own sub groups under… The problem with doing the way you mentioned is that in the drop down all groups would be included this becomes a hassle when there is a few hundred groups. In my design it only includes the category groups that the admin creates in the drop down when selecting a parent category. And about someone being added to the upper level categories when they join a sub group is something I hope to implement in the future… The current implementation of the plugin is just a starting point it is not near close to having the functionality I need for quite a few websites I’m working on.
@vshafer well I just released it now.. and no its not its not a premium plugin its a freemium… lol bad joke but heres the link https://wordpress.org/extend/plugins/bp-group-categoriestypes/ …. its my first upload to the repo so tell me if the download doesn’t work or something
@el_terko Scheduled for a pre beta release tomurrow. Has all the basic features for a groups hierarchy. And for standalone forums I plan to add in a feature like this in future versions too. Anyway @modemlooper this does sound like something I need for a future version for one of my sites. I’ll defiantly do some looking around and try to whip something up. I’ll post back here if I find anything.
lol nvm the substr thing was easier than i thought lol
I don’t understand why but for some reason I added in the wp nonce check and it worked..(posted this just incase anyone is experiencing similar issues)
oh I see lol my bad I thought he meant sticky posts.. in that case its not too hard and rich’s way is the easiest way to do it…
well i don’t know how buddypress works with bb but in the wp_bb_topics table (created using the default bb install using buddypress) there is a topic sticky field and the default value is 0… I think if you set it too one it would become a sticky but I’m not sure how buddypress works with bb… let me test it..
I am almost done writing a categories plugin which you can use to do this… also after releasing the categories plugin an online league/competition plugin is my next…
alright I figured this out with a one line core hack, but I decided that it almost doesn’t make since to hide it from the activity stream… I don’t know if that’s what I want it to do anymore or not… I don’t know what does everyone else think?
EDIT: I just don’t know if it’s worth the time to do this… maybe we should just make it look like a group… but just hide the members and send invites tabs….
@pcwriter hmm yeah I guess I could make a new status type… I know in a future release of buddypress though there is one more status type which is in between public and private like we need here… I’ll check it out on the trac…. that only problem is I’d like a quick solution with no core hacks so I can just get the plugin released and then if people want I could show them how to hack the core to do something like this…
@pcwriter actually thanks for posting this will work so much better because I would still like to have activity for the group just not show up anywhere, but on that group page so this will work great! I’ll still have to do some poking around though in order to make sure people can join without being invited… but thanks this is a great start.
Well I don’t know the best way to do this but you could just wrap a div around the activity if bp_activity_id is an admin id and just format that div with css… the hooks you need are ‘bp_before_activity_entry’ and ‘bp_after_activity_entry’
Ok an update on this…. You can now categorize groups as much as you want… like game_consoles->game_publishers->genres->games or whatever…. but I have been thinking that for genres or something you may want to organize this by tags?
Right now the meta tags that this requires for each group are ‘parent_cat’ which holds the parent groups id (-1 if global category or 0 if it has no parent (the 0 value is meant for user created groups which don’t go under any category and are just a general group..)) and the other meta tag is ‘group_type’ which is used to check whether the group is an admin created group and is for a category or if it is a user created group (which means it can’t have any sub groups tied to it)
Do you think this is structured enough for pretty much all uses? Also would you like me to create a separate plugin which works with this one in order to add tagging to groups?
support ticket #1706 is already addressing this….I am going to stop looking into this for now and I’m going to finish up some other plugins I’m working on…
edit: nvm decided this is too important for a site i’m making to wait…
I planned on preserving the present group structure for the sub category groups… but all these different ‘types’ of groups I believe still should be made by extending the current groups code… because otherwise wouldn’t I just be recreating the wheel? Also I love the idea of organizing group categories with the tabs great idea!
I’ve been thinking a little more about the way to reorganize the groups page for this and I have come up with something, but I’ll share it later because I have no more time to type anything out…. I’ll be back later…
It also allows a user to sort through activity much easier…Because you have sitewide activity… then category activity then sub category activity…
I think for my use I would just skip over certain blog types, but to answer @viniciusandre ‘s question I’d say that in order to achieve this you would have to change the query in the core… but it depends on which blogs you want to filter such as Paul brought up…
+1 if you create a plugin for this it would be really useful for a group types plugin I’m going to be finishing up in hopefully a few weeks
Hey thanks so much it worked to help debug the sql …. It was actually a really dumb mistake….wrong col names… lol
here is what gets passed to the $wpdp->query()
UPDATE wp_bp_mlgfantasy_user SET pick_one = ‘Walshy’, pick_two = ‘Neighbor’, pick_three = ‘Roy’, pick_four = ‘Legit’ WHERE owner_id = 1
is that what it should look like?
oh ok that’s exactly what i was looking for..I saw this in the skeleton plugin, but I didn’t know what all the parameters were and what the function name was..
oh ha I guess i didn’t really ask anything…I was wondering how one would go about created different page number links like 1,2,3,4…246,247 that kind of a thing like at the bottom of google but just being inside of a function so i can use shortcode…should i use php get functions or something similar?