PDA

View Full Version : Miscellaneous Hacks - Content Merchants


pdtan
08-30-2010, 10:00 PM
What's it? It's a mod to allow members in your forum to buy/sell their content in posts (post only). However, you can also use this mod to hide content from guest :D

Requirement for this mod:
- Your forum needs to use a point/money system (if you have no one, you can use Reputation System :))

How to install? Very simple, you only upload cash.jpg to your images folder then import product file.


Note:
- my mod uses CHARGE tag, so if you want to try or use it, please disable other mod using this tag
- Do not set Report Box visible to all members (I'll fix this issue as soon as possible)


Live demo: http://movie2share.net/showthread.php?t=139

Updated v1.1:
- Fixed: Subscriptions via Email issue

prevb
08-31-2010, 03:46 PM
good nice my brother :D

ry215 copy big mod of him
now com vb.org
helllooo :D

fernas
08-31-2010, 06:18 PM
It is possible to use this mod with Post Thank You Hack? That would be perfect.

Great Mod!!

Sayid
09-01-2010, 06:56 PM
Nice one, is it work in 3.8?

I will try it with money systems soon

thunder28
09-02-2010, 10:04 AM
Hi
nice mod,

but in the Email Notification stands the hidden text:

"{CHARGE=1}Hidden Test Here{/CHARGE}"

greetz
thunder28

pdtan
09-02-2010, 11:13 PM
It is possible to use this mod with Post Thank You Hack? That would be perfect.

Great Mod!!
yes it is. The money field will be post_thanks_thanked_times
Nice one, is it work in 3.8?

I will try it with money systems soon
sorry, it's use in vB 4.0.x only.
Hi
nice mod,

but in the Email Notification stands the hidden text:

"{CHARGE=1}Hidden Test Here{/CHARGE}"

greetz
thunder28
where's Email Notification? Report?

r00028304
09-03-2010, 01:16 PM
what about vbExperience Points?

thunder28
09-04-2010, 01:31 PM
where's Email Notification? Report?

The Thread Subscription a abonnement.
Notification Type: Instant Email notification.

pdtan
09-05-2010, 01:37 AM
The Thread Subscription a abonnement.
Notification Type: Instant Email notification.
thanks, let me see

r00028304
09-19-2010, 03:04 PM
what about vbExperience Points?

any word on this?

pdtan
09-29-2010, 12:03 AM
any word on this?
DropField("user", "xperience");
DropField("user", "xperience_done");
DropField("user", "xperience_level");
DropField("user", "xperience_levelp");
DropField("user", "xperience_next_level");
DropField("user", "xperience_next_level_points");
DropField("user", "xperience_ppd");
DropField("user", "xperience_ppd7");
DropField("user", "xperience_ppd30");
DropField("user", "xperience_awardt");
DropField("user", "xperience_achievements");
DropField("user", "xperience_lastupdate");
DropField("user", "xperience_awardcount");
DropField("user", "xperience_promotioncount");
DropField("user", "xperience_achievementcount");
DropField("user", "xperience_awards");
DropField("user", "xperience_points");

choose one field you want to use

biocyberman
11-23-2010, 09:57 PM
Hi,

I tried with my vB 4.0.8 PL1 and vB 4.0.3 on Firefox and Chromes and there is one problem:
Clicking on "view" button to buy content does nothing. What's wrong?

Another question:

Is it known to work on Firefox/Chrome?

Update:
I had to add manually following code to headinclude template to make it work:

<SCRIPT language=Javascript src="ajax.php?do=content_merchant_js"></SCRIPT>

Apparently following plugin does not work correctly at my site:


<plugin active="1" executionorder="5">
<title>Content Merchants</title>
<hookname>global_setup_complete</hookname>
<phpcode><![CDATA[global $vbulletin;
if($vbulletin->options['dt_content_merchants_active']){
$headinclude .= "<script type=\"text/javascript\" src=\"{$vbulletin->options['bburl']}/ajax.php?do=content_merchant_js\"></script>";
}]]></phpcode>
</plugin>

biocyberman
11-24-2010, 10:18 AM
I have an other question:
When I wrapped CHARGE bbcode around a link with editor "money" button, it doesn't work because CHARGE tags get interconnect with URL tags. How to fix this?

pdtan
11-28-2010, 09:23 AM
I have an other question:
When I wrapped CHARGE bbcode around a link with editor "money" button, it doesn't work because CHARGE tags get interconnect with URL tags. How to fix this?
I dont understand the problem you give

andreamarucci
11-30-2010, 07:48 PM
However, you can also use this mod to hide content from guest

This is exactly what I would like to do. I've one usergroup of paying members and I would like that the text included inside two tags (like ) is shown only to that usergroup (and admin and supermod obviously) but not unregistered visitors.

I mean that I don't need the charge or buy function at all. I need just what I've said before...

How can I use it for this purpose?

dcuellar
11-30-2010, 11:51 PM
Oh my god. I love you. Dark told me he would not release this for vbcredits. It was a huge part of our forum and literally killed it when we upgraded to 4.0. This fills in a huge gap.

dcuellar
11-30-2010, 11:52 PM
Will this work on 4.1? I know it was just released today, but has anyone tried it?

And how would I get it working with vBcredits II Deluxe?

imported_stefan
12-10-2010, 11:59 AM
Which simple point/money system do you suggest?

pdtan
12-12-2010, 01:34 AM
Which simple point/money system do you suggest?
Reputation System, available on vBulletin

Paul M
01-01-2011, 09:31 PM
Please refrain from further comments on the origin of this code.

We have requested evidence to backup any claim, and at the moment I dont see anything to suggest this is a copy. It is most certainly not the same code with a few changes as suggested by previous posts. I have asked other staff members to take a look, but as it stands I see no reason to remove this.

rob01
06-22-2011, 11:31 PM
doesn't seem to work for vb4.1.4

Do not set Report Box visible to all members, why?

togotutor
08-11-2011, 02:30 AM
Interesting..

Aramist
08-11-2011, 06:22 AM
Same here...not working with 4.1.4

Probably does not wirks with the new editor

skyngp
04-15-2013, 01:45 PM
Hi pdtan, your mod is great. I am looking for a freelance programmer to do my site. Can you PM me? Thanks.