vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Content Merchants (https://vborg.vbsupport.ru/showthread.php?t=249666)

pdtan 08-30-2010 10:00 PM

Content Merchants
 
1 Attachment(s)
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

Quote:

Originally Posted by fernas (Post 2092121)
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
Quote:

Originally Posted by Sayid (Post 2092552)
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.
Quote:

Originally Posted by thunder28 (Post 2092736)
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

Quote:

Originally Posted by pdtan (Post 2093030)

where's Email Notification? Report?

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

pdtan 09-05-2010 01:37 AM

Quote:

Originally Posted by thunder28 (Post 2093677)
The Thread Subscription a abonnement.
Notification Type: Instant Email notification.

thanks, let me see

r00028304 09-19-2010 03:04 PM

Quote:

Originally Posted by r00028304 (Post 2093262)
what about vbExperience Points?

any word on this?

pdtan 09-29-2010 12:03 AM

Quote:

Originally Posted by r00028304 (Post 2100532)
any word on this?

Quote:

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:
Code:

<SCRIPT language=Javascript src="ajax.php?do=content_merchant_js"></SCRIPT>
Apparently following plugin does not work correctly at my site:


PHP Code:

<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

Quote:

Originally Posted by biocyberman (Post 2125297)
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

Quote:

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

Quote:

Originally Posted by imported_stefan (Post 2131853)
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.


All times are GMT. The time now is 05:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01403 seconds
  • Memory Usage 1,773KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete