Status
Not open for further replies.
Editing a post with charge tags will properly load the charge tag content for editing if you use the Standard and Basic editors for the time being. I am looking into why it has stopped working for the new Enhanced editor.
 
Think this will do the trick:

step 1)
Find the plugin called "vBCredits II - Charge Content Strip" using the "bbcode_parse_complete" hook (this is an important distinction to find the right one, because there are 4 plugins using that title)
Replace and save the Plugin PHP Code with:
PHP:
if (strtolower(get_class($this)) == 'vb_bbcodeparser_plaintext') $text = VBCREDITS::charge_strip_raw($text);

step 2)
Add a new plugin with vBCredits II deluxe as the product, "bbcode_create" as the hook location, "vBCredits II - Charge Content Load" as the title, 1 as the execution order, Yes for plugin is active
and this for Plugin PHP Code:
PHP:
if (strtolower(get_class($this)) == 'vb_bbcodeparser_wysiwyg' AND $charge = $this->registry->options['credits_action_content_bbcode']) $this->unparsed_tags[] = $charge;

Save it, and you should be all set to edit charge content tags in all cases.
 
hello, when i go to advanced editing. the whole charge tag area disappeared. so it doesn't work. please test it before let us try it.
thank you very much

it works now.

thank you
 
Last edited:
I did test it, locally and here on dbtech - its working great.
Did you do the plugin edits I posted previously?
 
Charge tag problem (new ones)

how to set the administrator, moderators or special group to view charge content without paying?

1st: Right now it seems that everybody has to pay to view content, but if i don't select the group (administrator, moderators or special group) in the "Activity Amounts Configuration" - content area, there is no charge event, it won't even show the charge area.

2nd: when i edit threads, i got award again. do you know how to set up only award for new thread. not award for editing thread?



please help.
thank you
 
Last edited:
1) Currently no way to mark a usergroup for free content viewing, but those groups should have the ability to quick-edit posts and thus see the content that was being charged for (thanks to the patch I just helped you with)

2) That is by design - make sure you are setting a negation value in your event. It needs to recalculate itself by negating and reawarding should anything change like the length of the post or if it becomes soft deleted.
 
2: how to set up a negation value in event? and where to set up it?
please give detail information.

what is the post charge? i don't how how to get this one work. Post event.


thank you
 
Status
Not open for further replies.

Similar threads

Legacy vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
846
Customer rating
0.00 star(s) 0 ratings
Back
Top