MyBB Community Forums

Full Version: OUGC Custom Promotion Field
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2020-04-25, 10:06 PM)Omar G. Wrote: [ -> ]Thank you @WallBB.

(2020-04-25, 12:22 PM)8guawong Wrote: [ -> ]haven't tried it yet but i have one question if i already already have set group promotion by posts
say 100 post you become an expert and if i use this plugin and set group promotion by reputations
say +5 rep you become a veteran

what will it happen if user have +5 rep and more than 100 posts?

I don't understand your inquiry as promotion by reputation is a default feature that doesn't require plugins.

This plugin is meant to be used to promote users based on fields that aren't supported by default or by plugins.

You can see one example to promote users based on their last post date in the following page:
https://ougc.network/entry?rule-promote-...-post-date

The plugin was coded specially for that field (users table and lastpost column) but you can try to figure others out.

hi i've installed the plugin and i know how it works now
good plugin Smile
Is there a way to have it use "users" and "additionalgroups" as the criteria? 

I'm trying to get group promotions to run when a user selects group 9 as their additional group. Below is an example of a few users from my database. I want to grab the two that show 0,9 in the additional group and use promotions to change their Primary membergroup. 

[attachment=46102]

I tried putting "users" and "additionalgroups" into the custom field and used "Equal To" 9 but that didn't work.
You mean to run a promotion when users join a new group ? If so then no, it would be not possible with the current code, although it might be feasible to add an IF CONTAINS conditional for it to work.
Could you use this to promote based on activity in a certain forum or topic? So if they posted 10 replies in a welcome forum or topic they'd be promoted?
(2024-01-22, 05:20 PM)Metallix Wrote: [ -> ]Could you use this to promote based on activity in a certain forum or topic? So if they posted 10 replies in a welcome forum or topic they'd be promoted?

I would like to point to RateU's plugin which might still be useful and usable :
http://mybbhacks.zingaburga.com/showthread.php?tid=1296

(2024-01-22, 05:20 PM)Metallix Wrote: [ -> ]Could you use this to promote based on activity in a certain forum or topic? So if they posted 10 replies in a welcome forum or topic they'd be promoted?

The stable (Extend) release of the plugin does not support the kind of configuration necessary for what you ask.

However, I just pushed modifications to the develop branch :
https://github.com/OUGC-Network/OUGC-Cus...ee/develop

Please read the REAME (documentation) file :
https://github.com/OUGC-Network/OUGC-Cus.../README.md

Basically, the major difference to the current stable (Extend) release is a new Custom Field: JSON Script setting, which allows administrators to set up more complex configurations which might otherwise require a plugin.

For instance, in the README (documentation) file you will find an example script for what you ask :
https://github.com/OUGC-Network/OUGC-Cus...rification

If you are updating :

For anyone updating this plugin note that the update process is as smooth and easy as described in the updating step :
https://github.com/OUGC-Network/OUGC-Cus....md#update

However, although no data should be lost, because the plugin logic has been updated previous custom fields using other table than the users table will stop working. You will need to update such fields to use the new Custom Field: JSON Script setting instead.

Please check the following preset for a example of how to update your custom fields if necessary :
https://ougc.network/entry?rule-promote-...ile-fields

Check the following page for additional presets :
https://ougc.network/module?faqs&filtert...otionfield

If anyone wants to share their presets or needs help getting some to work feel free to post in this thread.

Regards.
Pages: 1 2